Re: Sync with userspace instead of kernel

2021-09-05 Thread Ondrej Zajicek
On Sun, Sep 05, 2021 at 05:08:09PM -0400, Cody Doucette wrote: > Hi, > > I was able to achieve this with a few small custom changes to bird: > > https://github.com/cjdoucette/bird/commits/gatekeeper > > I don’t know if this ability has been added to the bird mainline since I > did this. Hi

Re: BGP on GRE Idle

2021-08-03 Thread Ondrej Zajicek
On Sun, Aug 01, 2021 at 11:32:42PM +0800, 智慧雨泽 wrote: > Hi,My configuration file can work normally on the wireguard tunnel, but GRE > does not work. > > Server1 > > 11: home_1_vpn: mtu 1280 qdisc noqueue > state UNKNOWN group default qlen 1000 >link/none >inet 5.101.92.125/32 scope

Re: [PATCH] Bus error on ARMv7 when using OSPF

2021-08-03 Thread Ondrej Zajicek
On Tue, Aug 03, 2021 at 09:34:36AM +0100, Matthew Reeve wrote: > Hi Ondrej, > > just wondering if you'd had a chance to look at this any further yet please? Hi Sorry, not yet. Will check it soon. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org)

Re: default protocol preference values

2021-08-03 Thread Ondrej Zajicek
On Tue, Aug 03, 2021 at 10:00:45AM +0300, Kseniya Blashchuk wrote: > Hello! > I could not find any information about default protocol preference values > (administrative distance) for bird. Can anybody please help with it? Are > there any default values for OSFP, BGP, static, etc.? Or is it better

Re: Handling IPv6 BGP routes with :: next-hop

2021-08-03 Thread Ondrej Zajicek
On Tue, Aug 03, 2021 at 10:13:09AM +0300, Alexander Shikov wrote: > Hello! > > Yesterday we noticed a strange behavior of Bird 1.6.8 with handling > one IPv6 BGP route: > > >birdc6 show route for 2a09:8387::: all > BIRD 1.6.8 ready. > 2a09:8387:::/48 via 2001:7f8:63::f2 on bge0

Re: ospf external type 2 and igp_metric

2021-07-29 Thread Ondrej Zajicek
On Thu, Jul 29, 2021 at 03:14:39PM -0400, Dave Johnson wrote: > > > Hi, > > I'm trying to get igp_metric to work for iBGP based on an OSPF > metric. > > > Here's my setup: > > I would like to make use of the iBGP igp_metric as a tie-breaker if > BGP gets down that far in the route selection

Re: route reflector setup problem

2021-07-29 Thread Ondrej Zajicek
On Thu, Jul 29, 2021 at 11:34:18AM +0200, SC SCx wrote: > Hi, > > I am trying to setup two route reflectors (that also pass traffic) that > peer with ebgp (and exchange routes via ibgp between themselves). So > something like. > > This works, but with some problems. > > Prefixes learned from

Re: The internal BGP route was successfully exported but could not be imported

2021-07-28 Thread Ondrej Zajicek
On Wed, Jul 28, 2021 at 08:18:44PM +0800, 智慧雨泽 wrote: > Hello everyone,I use a pure BGP network to form internal routes (because I > want to keep the as-path), and the ASN of each router is the same. > > The vserver of LL_IX successfully export the route > bird> show route for 2602:feda:ab2::/48

Re: comparing open source BGP stacks performance

2021-07-28 Thread Ondrej Zajicek
On Tue, Jul 27, 2021 at 11:39:52AM -0700, Justin Pietsch wrote: > Hi all, because I couldn't find many results of performance tests of open > source routing stacks, I did some tests and wrote up > https://elegantnetwork.github.io/posts/comparing-open-source-bgp-stacks/. > It compares BIRD,

Re: BIRD Setup for B.A.T.M.A.N. Advanced network.

2021-07-26 Thread Ondrej Zajicek
On Wed, Jul 21, 2021 at 04:48:53PM -0600, Maurice Smulders wrote: > Network description (simplest form) > Two internet gateways > GW1: 192.168.30.1/24, DHCP Range 192.168.30.10 ... 192.168.30.39 > GW2: 192.168.30.2/24, DHCP Range 192.168.30.40... 192.168.30.70 > > Both GWs are connected to

Re: Filter babel routes on a per-neighbor or per-interface basis

2021-07-26 Thread Ondrej Zajicek
On Thu, Jul 22, 2021 at 08:17:54PM +0200, Toke Høiland-Jørgensen wrote: > > Would it be possible to send all feasible babel routes to the bird > > table? > > I don't think this would be the right approach; rather, there should be > a filtering step before routes are input into the babel route

Re: changing BGP default bgp_local_pref resets protocol

2021-07-25 Thread Ondrej Zajicek
On Sun, Jul 25, 2021 at 02:47:55AM -0400, Ross Tajvar wrote: > Hi, > > When I change the "default bgp_local_pref" value for a bgp protocol, it > causes the session to drop and re-establish. Here is an example config: > > Is this supposed to happen? Is there a way to get it not to happen? Hi

Re: Problems configuring multihop BGP setup

2021-07-23 Thread Ondrej Zajicek
On Fri, Jul 23, 2021 at 05:29:54PM +0200, Rainer Kulow wrote: > Thank you for the detailed explanation. > I understand, since "multihop" was specified, it tried to resolve the > gateway recursively - which didn't work because the matching routes were > missing in the routing table. > > When I

Re: BIRD - iBGP between RS over IPv6 lead to crash (segfault)

2021-07-23 Thread Ondrej Zajicek
On Tue, Jul 20, 2021 at 01:41:06PM +0300, Javor Kliachev wrote: > Hello Ondrej, > > Many thanks for the advise. > > We have upgraded BIRD to the latest 1.6.8 version. > In this version seems the crash issue is resolved but the second issue with > - iBGP between RS-RS over IPv6 still exists.

Re: Problems configuring multihop BGP setup

2021-07-22 Thread Ondrej Zajicek
On Thu, Jul 22, 2021 at 10:04:29PM +0200, Rainer Kulow wrote: > Hello, > > Thank you very much for your response. > Actually, this is just an extracted example from a larger setup to show the > problem in a simpler way. Therefore, the use of BGP seems perhaps a bit > superfluous here. > > In

Re: Log and Filter Question

2021-07-13 Thread Ondrej Zajicek
On Fri, Jul 09, 2021 at 08:11:56PM +0200, pr0j3ctx wrote: > Hi. > > > >> 1. I've seen that you can use "debug channels all;" can turn on the > >> channel log. Unfortunately I couldn't do that. Is this right? > > This should work in 2.0.8, would not work if you have older version. > I am on

Re: Multiple router IDs

2021-07-13 Thread Ondrej Zajicek
On Tue, Jul 13, 2021 at 03:43:43PM +1000, William wrote: > Hi all, > I'm wondering if there's a way to present a different router ID to different > BGP (or other) peers? Hi You can set router ID on per-protocol basis: https://bird.network.cz/?get_doc=20=bird-3.html#proto-router-id -- Elen

Re: Log and Filter Question

2021-07-09 Thread Ondrej Zajicek
On Fri, Jul 09, 2021 at 01:39:15PM +0200, pr0j3ctx wrote: > Hello. > > I have two questions about bird2. > > 1. I've seen that you can use "debug channels all;" can turn on the > channel log. Unfortunately I couldn't do that. Is this right? Hello This should work in 2.0.8, would not work if

Re: BIRD - iBGP between RS over IPv6 lead to crash (segfault)

2021-07-09 Thread Ondrej Zajicek
On Fri, Jul 09, 2021 at 11:43:53AM +0300, Javor Kliachev wrote: > Hello, > > We're using BIRD 1.6.4 as Route Server. > > Recently we have decided to establish an internal BGP session between both RS > over IPv6 > > But when we added our config in BIRD then it has crashed immediately with

Re: direct routes and SLAAC addresses

2021-07-08 Thread Ondrej Zajicek
On Thu, Jul 08, 2021 at 10:56:18AM +0100, George Ross wrote: > Many thanks for answering my stubnet question a couple of weeks or so back. > I have a supplementary direct-protocol question now... > > We have a Linux router running BIRD 2.0.8. It has some interfaces on which > we configure IPv6

Re: BIRD 2.0 Syntax issue with defined()

2021-07-08 Thread Ondrej Zajicek
On Thu, Jul 08, 2021 at 01:53:21PM +0200, Elmar K. Bins wrote: > Hello fellows, > > I have my bird config failing on something as trivial as > > if defined (some_variable_never_defined) > then ... ; > > with "syntax error, unexpected CF_SYM_UNDEFINED" on the "some_...". > > Am I wrongly

Re: RFC: Separate import/export tables

2021-06-24 Thread Ondrej Zajicek
On Sat, Jun 19, 2021 at 09:22:35AM +0200, Maria Matejka wrote: > Hello! > > I'm quite confused by what you're trying to achieve. How would you choose > the routes that are likely to be exported? Hello I understood it that as small AS, you have small set of 'your' (or customers') prefixes (say

Re: [PATCH] Bus error on ARMv7 when using OSPF

2021-06-24 Thread Ondrej Zajicek
c:468 > #4  0x00061574 in timers_fire (loop=0xc4878 ) at > lib/timer.c:235 > #5  0x00012ca8 in io_loop () at sysdep/unix/io.c:2195 > #6  main (argc=, argv=) at > sysdep/unix/main.c:939 > (gdb) > > On 18/06/2021 16:16, Ondrej Zajicek wrote: > > On Mon, Jun 14,

Re: Question Regarding Extracting BGP RIB and FIB data from BIRD

2021-06-24 Thread Ondrej Zajicek
On Mon, Jun 21, 2021 at 07:49:41PM +, Ali Monfared wrote: > Hello BIRD team, > > We have recently started to use BIRD in an internal project as a router > server which is expected to perform most of the regular operations that our > BGP routers do. > On that note, we are looking for best

Re: Importing (and then exporting) stubnet routes

2021-06-24 Thread Ondrej Zajicek
On Mon, Jun 21, 2021 at 12:49:38PM +0100, George Ross wrote: > I'm sure I've seen something like this discussed recently, but I can't find > it in the mailing list archives, so apologies if I'm duplicating something. > > Router A defines some OSPF stubnets. Those are happily propagated to our

Re: [PATCH] Bus error on ARMv7 when using OSPF

2021-06-18 Thread Ondrej Zajicek
On Mon, Jun 14, 2021 at 04:25:04PM +0100, Matthew Reeve wrote: > Hi, > > when using bird 2.0.8 on openwrt 21.02 (and other versions) on a Netgear > R7800 router, if the OSPF protocol is used, either v2 or v3, bird > immediately crashes on startup with: > > Fri Jun 11 14:41:11 2021 daemon.info

Re: BGP with BIRD2 and MikroTik CCR1072-1G-8S+

2021-06-18 Thread Ondrej Zajicek
On Fri, Jun 18, 2021 at 11:12:39AM +0200, Kees Meijs | Nefos wrote: > Hi list, > > Using tcpdump(8) I was able to pin point the issue. > > Please note the difference (BIRD): > > > Optional parameters, length: 8 > >    Option Capabilities Advertisement (2), length: 6 > >       32-Bit AS

Re: Changing OSPF attributes in pipe filter - Bug?

2021-06-15 Thread Ondrej Zajicek
On Mon, Jun 14, 2021 at 03:31:45PM +0200, Ondrej Zajicek wrote: > On Sat, Jun 12, 2021 at 12:51:37PM -0400, Paul Donohue wrote: > > I'm importing BGP and OSPF routes from several interfaces, and I would > > like to use the OSPF metrics as-is on the local router. However, I'

Re: overriding static routes in FreeBSD

2021-06-15 Thread Ondrej Zajicek
On Tue, Jun 15, 2021 at 02:50:09PM +0200, Alexander Zubkov wrote: > Hi, > > I think it is intentional so that bird should not meddle with "foreign" > routes. In Linux, for example, it uses it's own protocol label and > does not touch other routes. It can import them, but does not change them. Hi

Re: Changing OSPF attributes in pipe filter - Bug?

2021-06-14 Thread Ondrej Zajicek
On Sat, Jun 12, 2021 at 12:51:37PM -0400, Paul Donohue wrote: > I'm importing BGP and OSPF routes from several interfaces, and I would > like to use the OSPF metrics as-is on the local router. However, I'm > exporting these routes via OSPF on several other interfaces, and I'd like > to

Re: Debugging named function filters properly

2021-06-14 Thread Ondrej Zajicek
On Sat, Jun 12, 2021 at 10:15:54AM +0300, Skyler Mäntysaari wrote: > Hi there, > > How does one debug filters properly as I'm getting lots of: > 2021-06-12 09:02:35 filters, line 82: Argument 1 of instruction > FI_CONDITION must be of type T_BOOL, got 0x00 > 2021-06-12 09:02:35 filters, line

Re: [PATCH 1/2] Add mips Debian 8 container

2021-06-11 Thread Ondrej Zajicek
On Thu, Jun 10, 2021 at 04:19:45AM +0300, Skyler Mäntysaari wrote: > Hi, > > Has this been tested at all yet? I would like to know if it works, so that I > can maybe fix it if it doesn't. Hi We tested that and it seemes to be usable, but works only on local Gitlab instance, not on our regular

Re: [PATCH v4 0/8] Add MAC authentication support to the Babel protocol

2021-06-11 Thread Ondrej Zajicek
On Tue, Jun 08, 2021 at 11:42:25AM +0200, Toke Høiland-Jørgensen wrote: > > Hi > > > > Merged to master. There are few more issues i noticed during testing, see > > b174cc0abc0a9d7e84cc6fae46d9e19b714fbcfb for details. Two of these issues > > were related to bad value of auth_tx_overhead, which

Re: [PATCH v4 0/8] Add MAC authentication support to the Babel protocol

2021-06-06 Thread Ondrej Zajicek
On Fri, Jun 04, 2021 at 12:42:54AM +0200, Toke Høiland-Jørgensen wrote: > Ondrej Zajicek writes: > > > On Sun, May 30, 2021 at 11:12:04PM +0200, Toke Høiland-Jørgensen wrote: > >> >> Toke Høiland-Jørgensen writes: > >> >> > >> >> &

Re: [BMP] BIRD socket best practice

2021-06-06 Thread Ondrej Zajicek
On Thu, Jun 03, 2021 at 11:19:32PM +, Maslanka, Pawel wrote: > Hi BIRD team! > > We found a case when BMP code is trying to connect with BMP collector service > with sk_open(), this causes increasing CPU utilization. To reproduce this > case, you have just: > > 1. Server machine where

Re: BIRD traffic

2021-05-26 Thread Ondrej Zajicek
On Wed, May 26, 2021 at 02:26:05PM +0200, Mike Marchal wrote: > Hi there, > > I use BIRD for my personal network and i'm trying to figure out if i can see > a traffic consumed per IP somewhere, or create that output to php. Hi No, BIRD is not responsible for traffic forwarding (that is done

Re: [PATCH 1/2] Add mips Debian 8 container

2021-05-24 Thread Ondrej Zajicek
On Mon, May 24, 2021 at 04:12:33PM +0300, Skyler Mäntysaari wrote: > Hi! > > I hope that this will work and help with the mips package building. > I originially had forgotten to do the pkg gitlab steps too. > > Please let me know if I can help with that in any other way and disregard the >

Re: BIRD packages in Gitlab CI

2021-05-21 Thread Ondrej Zajicek
On Fri, May 21, 2021 at 08:08:26AM +0300, Skyler Mäntysaari wrote: > Unfortunately, doesn't change the fact that Bird 2.0.8 is not available on > mips. > The Gitlab CI should be extended to include that too. Hi We plan to expand BIRD Gitlab CI to more platforms (probably armhf, arm64 and perhaps

Re: config.Y grammar for a new protocol

2021-05-21 Thread Ondrej Zajicek
On Fri, May 21, 2021 at 04:57:07AM +, Vinod Padmanabhan wrote: > Hi, > > I would like to know how to add a config.Y file for any new protocol in > Bird2.0. For example, if my config file looks like: > > ipv4 table xyz; > > protocol new { > ipv4 { > table xyz; >

BIRD packages in Gitlab CI

2021-05-20 Thread Ondrej Zajicek
Hello Finally we managed to integrate apkg into Gitlab CI and now we not only have apkg metafiles in the master branch (so anybody can use apkg to build deb or rpm packages for their distribution), but we also have automatic build of packages in Gitlab CI for most mainstream distributions

Re: Exact Definition of numbers-match bitmask-match and fragmentation-type

2021-05-18 Thread Ondrej Zajicek
On Mon, May 17, 2021 at 08:27:10PM -0400, Matt Corallo wrote: > On 5/17/21 19:44, Ondrej Zajicek wrote: > > On Mon, May 17, 2021 at 01:48:19PM -0400, Matt Corallo wrote: > > You are right. My comment above is true for numeric ops, but for bitmask > > ops the ',' is t

Re: Exact Definition of numbers-match bitmask-match and fragmentation-type

2021-05-17 Thread Ondrej Zajicek
On Mon, May 17, 2021 at 01:48:19PM -0400, Matt Corallo wrote: > > > On 4/3/21 13:57, Ondrej Zajicek wrote: > > On Fri, Apr 02, 2021 at 03:30:17PM -0400, Matt Corallo wrote: > > > The match classifiers for flowspec (numbers-match bitmask-match and > > >

Re: [PATCH] Filter: Add MPLS label route attribute

2021-05-17 Thread Ondrej Zajicek
On Tue, May 11, 2021 at 04:18:14PM -0700, Trisha Biswas wrote: > Hi Ondrej, > > Thanks for the response. Yes, adding this limited attribute as 'gw_mpls' > with a note in the documentation makes sense to me. Thanks, merged. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email:

Re: Using bird 1.x

2021-05-13 Thread Ondrej Zajicek
On Wed, May 12, 2021 at 08:26:18PM -0400, Peter Mitchell wrote: > Hello, > > I am researching BIRD 1.x for my computer science security in an > open-source project and I noticed that its last update was in late 2019. > I want to understand it from a maintenance perspective and I would like to >

Re: [PATCH] Filter: Add MPLS label route attribute

2021-05-11 Thread Ondrej Zajicek
On Fri, May 07, 2021 at 03:54:40PM -0700, Trisha Biswas wrote: > Hi all, > > While BIRD 2.x has underlying support for MPLS (applying labels to static > routes and syncing with kernel), there is no option to set labels via > configuration. The attached patch adds support to set or read labels

Re: [PATCH] babel: Log the reason when refusing to run on an interface

2021-05-10 Thread Ondrej Zajicek
On Tue, Apr 20, 2021 at 12:27:05AM +0200, Toke Høiland-Jørgensen wrote: > The babel protocol code checks various properties of an interface before > starting it: whether the interface is up, whether it supports multicast, > and whether it has a link-local address assigned. However, it doesn't give

Re: [PATCH] sysdep/bsd: propagate OS-level IFF_MULTICAST to internal IF_MULTICAST flag

2021-05-10 Thread Ondrej Zajicek
On Tue, Apr 20, 2021 at 12:26:53AM +0200, Toke Høiland-Jørgensen wrote: > The BSD code did not propagate the OS-level IFF_MULTICAST flag to the > Bird-internal IF_MULTICAST flag, which causes problems with Wireguard > interfaces on FreeBSD. The Linux sysdep code does propagate the flag > already,

Re: ospf ptp link sending unicast packets instead of multicast; peer address config not required

2021-05-10 Thread Ondrej Zajicek
On Thu, May 06, 2021 at 05:09:53PM +, Senthil Kumar Nagappan wrote: > Hi, > I did sent this message a week back but I could not see it in the mailing, > moreover just now subscribed to this mailing list, so sending this again. > I’m seeing some issues with ospf adj over ptpnumbered/unnumbered

Re: ospf ptp link sending unicast packets instead of multicast; peer address config not required

2021-05-09 Thread Ondrej Zajicek
On Sat, May 08, 2021 at 04:03:34PM +, Joakim Tjernlund wrote: > Meanwhile I did this: > --- a/proto/ospf/packet.c > +++ b/proto/ospf/packet.c > @@ -415,7 +415,7 @@ ospf_rx_hook(sock *sk, uint len) > * that (src_local || dst_local), therefore we are eliminating all > * such cases. >

Re: ospf ptp link sending unicast packets instead of multicast; peer address config not required

2021-05-09 Thread Ondrej Zajicek
On Sat, May 08, 2021 at 03:45:36PM +, Joakim Tjernlund wrote: > On Fri, 2021-05-07 at 14:03 +, Senthil Kumar Nagappan wrote: > > Hi Jocke, > > > > yes i missed to take care of the ospfv3/ipv6 cases wherever im sending > > using allospfrouters as src ip. > > your are right, mcast changes

Re: ospf ptp link sending unicast packets instead of multicast; peer address config not required

2021-05-07 Thread Ondrej Zajicek
On Fri, May 07, 2021 at 01:46:18PM +, Senthil Kumar Nagappan wrote: > Hi Ondrej, > using latest bird cloned a week back and using montavista linux.yes, > i verified using tcpdump, in one of the interface capture where the > adj is stuck in exstart state, only hello packets and unresolved arp

Re: Loopback interface as OSPF stub interface (IPv6)

2021-05-07 Thread Ondrej Zajicek
On Fri, May 07, 2021 at 11:37:03AM +, Kenth Eriksson wrote: > > OSPFv3 uses link-local addresses, while OSPFv2 uses regular addresses. > > Loopback has regular address (both IPv4 and IPv6) but does not have > > link-local address, so it is skipped by OSPFv3 iface scanning code. > > Perhaps it

Re: ospf ptp link sending unicast packets instead of multicast; peer address config not required

2021-05-07 Thread Ondrej Zajicek
On Fri, May 07, 2021 at 11:14:27AM +, Joakim Tjernlund wrote: > On Fri, 2021-05-07 at 13:09 +0200, Ondrej Zajicek wrote: > > On Fri, May 07, 2021 at 04:53:44AM +, Senthil Kumar Nagappan wrote: > > >  Hi Joakim, > > > Thanks for your response. > > > Will

Re: ospf ptp link sending unicast packets instead of multicast; peer address config not required

2021-05-07 Thread Ondrej Zajicek
On Thu, May 06, 2021 at 05:09:53PM +, Senthil Kumar Nagappan wrote: > Hi, > I did sent this message a week back but I could not see it in the mailing, > moreover just now subscribed to this mailing list, so sending this again. > I’m seeing some issues with ospf adj over ptpnumbered/unnumbered

Re: ospf ptp link sending unicast packets instead of multicast; peer address config not required

2021-05-07 Thread Ondrej Zajicek
On Fri, May 07, 2021 at 04:53:44AM +, Senthil Kumar Nagappan wrote: > Hi Joakim, > Thanks for your response. > Will try to elaborate point2 with sample config. > 1. Config at Router R1 > lo interfaceinterface loopback lo has ip addr 100.100.100.125  > eth1for unnumbered borrowing the lo

Re: Loopback interface as OSPF stub interface (IPv6)

2021-05-05 Thread Ondrej Zajicek
On Wed, May 05, 2021 at 02:50:18PM +, Kenth Eriksson wrote: > Tried setting a loopback interface as an IPv6 OSPF stub interface, but this > is not picked up as an OSPF interface. Doing the same on IPv4 loopback > interface picks it up as an OSPF interface and announcing it as a stub in the

Re: Per-route MTU for static route

2021-05-05 Thread Ondrej Zajicek
On Wed, May 05, 2021 at 11:00:57AM +0200, Tibor Kiss wrote: > Hello All, > > I wanted to configure per-route MTU for a static route, something I'd > configure manually like this: > ... > I figured this is not possible with BIRD right now, MTU cannot be defined > for a static route. Did I miss

Re: Possibility to treat /32 and /128 non-gateway routes as onlink on BSD?

2021-04-23 Thread Ondrej Zajicek
On Fri, Apr 23, 2021 at 05:06:11PM +0200, Stefan Haller wrote: > Hi, > > first of all thanks for your reply. It became clear that there were some > misunderstandings on my side. Hi Glad to help you. > > Yes, the main issue is that (sans onlink flag) BIRD validates next-hops > > against

Re: Not able to configure bgp with BIRD

2021-04-23 Thread Ondrej Zajicek
On Fri, Apr 23, 2021 at 09:52:15AM +0530, Dhruv Bhagadia wrote: > Hi all, > > I was trying to configure bgp using BIRD on a server running rhel 7.6. The > issue I am facing is that the neighbor AS seems to be rejecting the routes > sent by my local AS. However, my server seems to be learning

Re: All BFD sessions are handled on single thread?

2021-04-19 Thread Ondrej Zajicek
On Mon, Apr 19, 2021 at 09:56:57PM +0200, Alexander Zubkov wrote: > Hello, > > Currently, everything in the BIRD is working in the single thread. Hello That is true for the rest of the BIRD, but the BFD protocol was always in a separate thread. -- Elen sila lumenn' omentielvo Ondrej

Re: Possibility to treat /32 and /128 non-gateway routes as onlink on BSD?

2021-04-19 Thread Ondrej Zajicek
On Sun, Apr 18, 2021 at 08:55:12PM +0200, Stefan Haller wrote: > Hi everyone, > > In a recent change in the FreeBSD Wireguard kernel module the > POINTTOPOINT interface flag is dropped for wg interfaces[1]. This > behaviour will probably not change, because Wireguard is not > peer-to-peer or a

Re: [PATCH] babel: Drop check for IF_MULTICAST interface flag

2021-04-19 Thread Ondrej Zajicek
On Mon, Apr 19, 2021 at 03:55:18PM +0200, Toke Høiland-Jørgensen wrote: > Ondrej Zajicek writes: > > > Is there a reason why to disregard the IF_MULTICAST flag? This seems to me > > more like a bug in FreeBSD Wireguard implementation that should be fixed > > there. Is th

Re: CI: distro releases coverage

2021-04-19 Thread Ondrej Zajicek
On Mon, Apr 19, 2021 at 04:32:23PM +0200, Jakub Ružička wrote: > Hello, > > I was pleased to discover BIRD has a very good distro coverage in its > [CI] (~25 different releases). > > [CI] https://gitlab.nic.cz/labs/bird/-/pipelines > > However, some latest releases are missing so I suggest

Re: [PATCH] BSD: Fix invalid pointer derefence in logging code

2021-04-19 Thread Ondrej Zajicek
On Sun, Apr 18, 2021 at 06:50:51PM +0200, Stefan Haller wrote: > For logging purposes a stack allocated net_addr struct was passed by > value as vararg (instead of the expected pointer). This resulted in a > segfault when the specific error condition got logged. Thanks, merged:

Re: [PATCH] babel: Drop check for IF_MULTICAST interface flag

2021-04-19 Thread Ondrej Zajicek
On Thu, Apr 15, 2021 at 03:44:50PM +0200, Toke Høiland-Jørgensen wrote: > The babel protocol code was checking interfaces for the IF_MULTICAST flag > and refusing to run if this isn't present. However, there are cases where > this flag doesn't correspond to the actual capability of sending

Re: BIRD 2.0.8

2021-04-14 Thread Ondrej Zajicek
On Wed, Apr 14, 2021 at 12:45:28PM +0200, Jakub Ružička wrote: > Oh, I see! I checked history and this versioned requirement was added as > part of "Bump the dephelper compatibilty level to 12" in Debian package > which is a change specific to latest debian release. It's quite likely > that this

Re: [BUG] BMP memory leak

2021-04-14 Thread Ondrej Zajicek
On Wed, Apr 14, 2021 at 10:56:14AM +, Macek, Dawid wrote: > Hello, > > We’ve built Bird from origin/bmp branch and found out that BMP most likely > introduces memory leak. > > In the experiment, the device has 4 BGP peers (see attached bird.conf). > The device is flooded with massive number

Re: [BUG] stack smashing in mrt_open_file & tm_format_real_time

2021-04-12 Thread Ondrej Zajicek
On Mon, Apr 12, 2021 at 06:03:10AM +, Wydrych, Piotr wrote: > I took a look at the code and I found something that worries me. First, > mrt_open_file uses 4kB buffers for path pattern and final name while > tm_format_real_time uses only 32B buffer for pattern. Second, in call to > strfusec, it

Re: BIRD 2.0.8

2021-04-10 Thread Ondrej Zajicek
On Sat, Apr 10, 2021 at 06:22:40PM +0200, Kees Meijs | Nefos wrote: > Hi Benjamin, > > Thank you for your reply and good work! > > Don't worry: I won't break protocol in terms of the freeze. > > For now I focus on the testing / unstable version that you commited for > a backports basis. Hi I

Re: BIRD 2.0.8

2021-04-10 Thread Ondrej Zajicek
On Sat, Apr 10, 2021 at 02:46:25PM +0300, Skyler Mäntysaari wrote: > Please also keep in mind that they do not run normal Debian, but EdgeOS > which is a fork of vyatta which uses Debian. Several years ago, i run original Edgerouter (ERLite-3) with vanilla Debian, just with kernel from EdgeOS. >

Re: BIRD 2.0.8

2021-04-10 Thread Ondrej Zajicek
On Sat, Apr 10, 2021 at 12:33:34PM +0300, Skyler Mäntysaari wrote: > Hi, > > Reference: https://wiki.debian.org/MIPSPort Hi BTW, we thought about adding some Edgerouter or similar hardware to our CI pool, as it seems to be the only reachable big-endian machine. What is the state of Debian on

Re: BIRD 2.0.8

2021-04-08 Thread Ondrej Zajicek
On Fri, Apr 09, 2021 at 04:55:15AM +0200, Jakub Ružička wrote: > Hello, > > I've been recently tasked with updating Debian and Ubuntu bird packages > and I'm probably going to maintain all bird packaging (including Debian > downstream) from now on as I do with Knot DNS and Knot Resolver packages

Re: iproute2 identifiers >256

2021-04-07 Thread Ondrej Zajicek
On Wed, Apr 07, 2021 at 09:32:20AM -0400, Patrick Hemmer wrote: > Right now it looks like the functionality of Bird that allows using > iproute2 named identifiers (e.g. /etc/iproute2/rt_table as ipt_*) is > restricted to values <=256 >

Re: Exact Definition of numbers-match bitmask-match and fragmentation-type

2021-04-06 Thread Ondrej Zajicek
On Tue, Apr 06, 2021 at 07:26:39PM -0400, Matt Corallo wrote: > Hmm, actually, I take that back, sorting them would require re-serializing > the wire format, which I've thus far entirely avoided. I suppose I could > drop the whole birdc thing, spin up a BGP daemon and use that, but that's a > lot

Re: Exact Definition of numbers-match bitmask-match and fragmentation-type

2021-04-06 Thread Ondrej Zajicek
On Tue, Apr 06, 2021 at 04:55:16PM -0400, Matt Corallo wrote: > Ah, indeed, I have not upgraded. > > One more (hopefully last) question - it does seem that the order of the > flowspec rules isn't 100% consistent on the far side of a BIRD<->BIRD BGP > connection. Is that a known bug or reason for

Re: Exact Definition of numbers-match bitmask-match and fragmentation-type

2021-04-06 Thread Ondrej Zajicek
On Tue, Apr 06, 2021 at 12:48:07PM -0400, Matt Corallo wrote: > One other comment, the NET_FLOW type docs (copied below) seem to indicate > that I should be able to do net.src... or net.dst... in a filter importing a > flowspec rule, but BIRD seems to refuse to allow that. That was added in the

Re: Minor docs issue

2021-04-03 Thread Ondrej Zajicek
On Thu, Apr 01, 2021 at 09:11:34PM -0400, Matt Corallo wrote: > Under IPv4 Flowspec, the example provided for dscp is bogus, quoted below (it > mentiones lengths). > > dscp numbers-match > > Set a matching DiffServ Code Point number (e.g. length > 1500;). Thanks, fixed -- Elen sila

Re: Exact Definition of numbers-match bitmask-match and fragmentation-type

2021-04-03 Thread Ondrej Zajicek
On Fri, Apr 02, 2021 at 03:30:17PM -0400, Matt Corallo wrote: > The match classifiers for flowspec (numbers-match bitmask-match and > fragmentation-type) don't appear to be exactly specified in the > documentation anywhere. eg Hi It is described in the article in 'Flowspec' section (although not

Re: Exporting routes to kernel fail with EHOSTUNREACH

2021-04-02 Thread Ondrej Zajicek
On Fri, Apr 02, 2021 at 02:27:45PM +0200, Joachim Desroches wrote: > What I've checked: > > * The upstream is up, pings, routes, etc... > * Bird has the proper routes in the master6 table: it really is only >the kernel that refuses to install the route. > * I've rebooted the router (who

Re: Bird crash on interface disable

2021-04-01 Thread Ondrej Zajicek
On Thu, Apr 01, 2021 at 01:53:53PM +0300, Anes Mukhametov wrote: > Hi! > > Got an issue with 2.0.7. > The daemon crashes on `ip link down`. > Fix attached. Hi Already fixed in 2.0.8: https://gitlab.nic.cz/labs/bird/-/commit/3343088a7164a54b1e6c6cf9648d8036a61e9827 -- Elen sila lumenn'

Re: ignore max length as an argument of roa_check

2021-03-30 Thread Ondrej Zajicek
On Tue, Mar 30, 2021 at 09:31:32PM +0200, Pier Carlo Chiodi wrote: > Hi, > > > Let's assume an IXP has member A who has customer B, who propagates some > address range. Who is responsible for originating blackhole route for IP > addres from such range propagated to the IXP? > > FWIW, my

Re: ignore max length as an argument of roa_check

2021-03-30 Thread Ondrej Zajicek
On Tue, Mar 30, 2021 at 10:04:08AM -0300, Douglas Fischer wrote: > It does make sense! A LOT! > > It is the only way I see that is possible to use RPKI as a source of > information to validate RTBH with the available information existent now. > > P.S.: I even mentioned some about that on SIDROPS

Re: BGP connect retry time

2021-03-29 Thread Ondrej Zajicek
On Sun, Mar 28, 2021 at 11:28:44PM +0200, d...@kou.li wrote: > Hello, > > I am running bird's BGP on a slower link with accounted data. I would > like to lower connection attempt frequency when the peer is down. I > found only two parameters mentioning connection delays: 'connect delay > time'

Re: BMP protocol support - request for review and merge

2021-03-29 Thread Ondrej Zajicek
On Sun, Mar 28, 2021 at 09:05:30PM +, Maslanka, Pawel wrote: > Hi BIRD devs, > > Akamai team have implemented basic subset of BMP (BGP Monitoring Protocol) > specification for BIRD project (according to RFC 7854). We are happy to share > our work with BIRD community and would ask for review

Re: Incorrect setting of BGP Path Attribute Extended Length flag breaks MRT output

2021-03-28 Thread Ondrej Zajicek
On Sat, Mar 27, 2021 at 03:20:05PM +, Simon Marsh wrote: > Hi, > > i run bird as a route collector in DN42 and so get a variety of different > BGP daemons peering with and passing routes to the collector. > We recently ran in to an issue where MRT dumps from bird were not readable > by any of

Re: A ifname counterpart for the "from" attribute

2021-03-26 Thread Ondrej Zajicek
On Fri, Mar 26, 2021 at 01:00:52PM +0100, Marcel Krüger wrote: > Hi, > > is there any way to identify in a filter the interface the route was > learned from? So basically an attribute which relates to "from" like > ifname and ifindex relate to "gw"? This would be particularly useful > when "from"

Re: Foreign upstream gateway for remote maintenance

2021-03-26 Thread Ondrej Zajicek
On Fri, Mar 26, 2021 at 09:58:17AM +0100, Bernd Naumann wrote: > Good morning Nils, > > On 26.03.21 08:47, Nils van Lück wrote: > > Hello! > > > > I am using the latest Bird version from the git repo under Debian. I > > have one dedicated NIC for the LAN, one dedicated NIC for BGP sessions > >

Re: BIRD 2.0.8

2021-03-25 Thread Ondrej Zajicek
On Thu, Mar 25, 2021 at 02:33:40PM +0100, Chriztoffer Hansen wrote: > On Wed, 24 Mar 2021 at 20:39, Peter Hurtenbach > wrote: > > You can take a look at the Debian Git repository: > > https://salsa.debian.org/debian/bird2 > > I suppose the CI/CD script is "slightly" outdated... >

Re: BIRD 2.0.8

2021-03-24 Thread Ondrej Zajicek
On Wed, Mar 24, 2021 at 07:03:57AM +0200, Skyler Mäntysaari wrote: > Hi, > > Who is responsible for the Debian packages at the moment? > I couldn't find the build scripts for those at gitlab.nic.cz and would > like to get them so I can setup mips64 and mipsel architecture deb builds. Hi Debian

Re: BIRD 2.0.8

2021-03-23 Thread Ondrej Zajicek
On Tue, Mar 23, 2021 at 07:51:00PM +0100, Vincent Bernat wrote: > >> Never mind, I found that I should also read the notes :D > >> Notes: > >> > >> Automatic channel reloads based on RPKI changes are enabled by default, > >> but require import table enabled when used in BGP import filter. >

Re: BIRD 2.0.8

2021-03-23 Thread Ondrej Zajicek
On Tue, Mar 23, 2021 at 06:34:09PM +0100, Stefan Plug wrote: > Hi all > > Never mind, I found that I should also read the notes :D > Notes: > > Automatic channel reloads based on RPKI changes are enabled by default, > but require import table enabled when used in BGP import filter. > Looks

Re: [PATCH v4 0/8] Add MAC authentication support to the Babel protocol

2021-03-21 Thread Ondrej Zajicek
On Tue, Mar 02, 2021 at 11:15:24PM +0100, Toke Høiland-Jørgensen wrote: > Toke Høiland-Jørgensen writes: > > > This series adds MAC authentication support to the Babel protocol as > > specified > > in in RFC8967: > > > > https://www.rfc-editor.org/rfc/rfc8967 > > > > I have performed basic

Re: OSPFv3 auth problem

2021-03-16 Thread Ondrej Zajicek
On Tue, Mar 16, 2021 at 08:35:20AM +, Joakim Tjernlund wrote: > Sent a proper patch, let us know what you think. Hi Your patch is ok, i just wanted something more verbose (it is IMHO a notable change to log) and there is already a section in ospf_receive_hello() to handle such changes:

Re: Weird behavior of link local gateway assignments

2021-03-15 Thread Ondrej Zajicek
On Mon, Mar 15, 2021 at 04:43:19PM +0100, Ondrej Zajicek wrote: > It makes sense to add workaround for link-local addresses so that setting > link-local gw is resolved in existing iface, so at least things like: > > ifname = "eno1"; > gw = fe80::4242; > > or

Re: OSPFv3 auth problem

2021-03-15 Thread Ondrej Zajicek
On Mon, Mar 15, 2021 at 03:54:59PM +, Joakim Tjernlund wrote: > > I think that the best solution would be to update OPT_AT flag in > > n->options based on received Hello packets. Will make a patch. > > What about IPv4? Does it also need some tweaking is this case? No, IPv4 behavior is

Re: Weird behavior of link local gateway assignments

2021-03-15 Thread Ondrej Zajicek
On Mon, Mar 15, 2021 at 06:56:24AM +0100, Marcel Krüger wrote: > Hi, > > I encountered some issues when trying to set the gateway to a link-local > IPv6 address in a filter and am wondering if there is a trick I am > missing: > > When assigning a link-local address (say fe80::4242%eno1) > to

Re: OSPFv3 auth problem

2021-03-15 Thread Ondrej Zajicek
On Mon, Mar 15, 2021 at 02:25:18PM +, Kenth Eriksson wrote: > I believe the "options" of the neighbor object is only updated as a > result of NEIGHBOR_EXSTART. If the authentication is enabled after > unauthenticated neighbor adjacency, then this does not result in a new > NEIGHBOR_EXSTART.

Re: OSPFv3 auth problem

2021-03-11 Thread Ondrej Zajicek
On Thu, Mar 11, 2021 at 12:35:40PM +, Joakim Tjernlund wrote: > We have a ring of routers(5 of them) running unnumbered pppoe links between > them. Adding OSPF authentication (auth trailer) works OK. > However, removing OSPFv3 on ONE interface causes big problem in some cases, > we loose

Re: OSPFv3 auth problem

2021-03-11 Thread Ondrej Zajicek
On Thu, Mar 11, 2021 at 12:35:40PM +, Joakim Tjernlund wrote: > We have a ring of routers(5 of them) running unnumbered pppoe links between > them. Adding OSPF authentication (auth trailer) works OK. > However, removing OSPFv3 on ONE interface causes big problem in some cases, > we loose

Re: Release schedule for 2.0.8

2021-03-01 Thread Ondrej Zajicek
On Mon, Mar 01, 2021 at 06:38:46PM +0100, Nico Schottelius wrote: > > Good evening, > > about a year ago [0] we discussed the lack of support for IPv4 routes > via IPv6 in bird 2.0.7, which lead to the hint of support in 2.0.8. > > As we are in the final phase of removing IPv4 from our network,

<    1   2   3   4   5   6   7   8   9   10   >