Re: Different export route target for different prefixes of a same VRF

2023-06-13 Thread Ondrej Zajicek
On Tue, Jun 13, 2023 at 10:47:08AM +0530, Ramanathan Selvamani wrote: > Hi Team, > > I configured l3vpn in BIRD and I was able to see the routes are learnt and > advertised based on RT. > > All the routes in this VRF are advertised with RT (1:11) to neighbors. Hi I am glad you tried this MPLS

Re: [PATCH] adding custom options in radv protocol, strict ipv6 regex

2023-06-12 Thread Ondrej Zajicek
On Mon, Jun 12, 2023 at 03:32:20PM +0200, Maria Matejka wrote: > We can simply change the lexer state externally from the parser as soon as > the hex( prefix is seen, and provide the result directly from the lexer. > > This way, we can allow all the syntaxes like hex(de-ad-be-ef), >

Re: [PATCH] adding custom options in radv protocol, strict ipv6 regex

2023-06-12 Thread Ondrej Zajicek
On Mon, Jun 12, 2023 at 01:08:15PM +0200, Alexander Zubkov via Bird-users wrote: > Hi, > > The main concern is that a 6-byte bytestring conflicts with the MAC address > representation. Bird does not have the type for it currently, but who > knows, it might need it in the future. So we might need

Re: [PATCH] adding custom options in radv protocol, strict ipv6 regex

2023-06-12 Thread Ondrej Zajicek
On Mon, Jun 12, 2023 at 02:40:42PM +0200, Maria Matejka via Bird-users wrote: > Hello! > > I think using hex() and base64() with adding these two tokens to the > "kw_sym:" non-terminal. This way, no current config should break. I would prefer hex:XX:YY:... to hex(XX:YY:...) to emphasize it is

Re: Pending bird patches and discussions for proto/babel

2023-06-01 Thread Ondrej Zajicek
On Thu, Jun 01, 2023 at 11:21:36PM +0200, Toke Høiland-Jørgensen via Bird-users wrote: > > I have some more changes to make to the dampening patch, but if we're in > > agreement that this direction is the way to go I'll get a v1 out ASAP. > > > > You can merge Toke's patches independently of that

Re: Strange behaviour on filtering bgp_large_community ...

2023-05-18 Thread Ondrej Zajicek
On Mon, May 15, 2023 at 12:59:11PM +0200, Tim Weippert via Bird-users wrote: > Hi List, > > maybe i'm doing something wrong, but if i use some quick and dirty > filter on the CLI all is working as expecting: > > show route where bgp_large_community ~ [(65000, 0, 1001)] > show route where

Re: RFC 9234 (BGP roles) possible bug

2023-05-18 Thread Ondrej Zajicek
On Thu, May 11, 2023 at 05:27:01PM +0200, Ondrej Zajicek wrote: > Hi > > Yes, it is a bug in BIRD. When BGP capability option is parsed, the > capability structure is initialized with the proper default value, but > when there is no BGP capability option altogether (lik

Re: IGP(OSPF) learned route not used for iBGP?

2023-05-12 Thread Ondrej Zajicek
On Fri, May 12, 2023 at 05:15:43PM +0200, Nico Schottelius via Bird-users wrote: > > Hello fellow bird users, > > a quick IGP/iBGP question: > > Why does apu-router1 that should learn the IPv6 default route from > server138 complain about not accepting the route? > > May 12 17:13:18

Re: RFC 9234 (BGP roles) possible bug

2023-05-11 Thread Ondrej Zajicek
On Thu, May 11, 2023 at 03:06:48PM +0300, Mikhail Grishin wrote: > Hi, > > We ran BGP roles at 1000+ BGP sessions. > About 0.5 - 1% of them affected by some issue. Probably all of them - > Juniper with the old junos. > > At the same time, question to the stage 3) - why Bird gererate such message?

Re: OTC attribute

2023-05-11 Thread Ondrej Zajicek
On Thu, May 11, 2023 at 10:19:04AM +0200, Marek Küthe wrote: > Hello, > > I have a few questions about RFC 9234 or `local role role-name` in > bird. Is the OTC attribute kept even if you don`t have a `local role`? Hello Yes, it is handled as any optional transitive attribute. > If yes, how to

Re: BGP as-override in BIRD

2023-05-11 Thread Ondrej Zajicek
On Thu, May 11, 2023 at 09:31:08AM +, Mazur, Dariusz via Bird-users wrote: > Hello Bird users, > I was trying to find how to configure BGP as-override in BIRD, but without > success. Hello There is 'allow local as' BGP option:

Re: Adding more then one bgp community at once

2023-05-05 Thread Ondrej Zajicek
On Fri, May 05, 2023 at 01:10:10PM +0300, Mikhail Grishin wrote: > Hi, > > I tried the same at BIRD 2.13 . It reports "Can't add set". > > At the same time in docs > -- > |add(/C/,/P/)| adds pair (or quad) /P/ to clist /C/ and returns the result. > If item /P/ is already in clist /C/, it does

Re: Missing checking the lsa_length in ospf

2023-05-02 Thread Ondrej Zajicek
On Mon, Apr 24, 2023 at 03:51:22PM -0400, Mingwei Zheng wrote: > Hi, > > I am doing testing work on network protocols and here is one possible issue I > noticed in OSPF. > > I noticed that you have checked the length of lsa in your function > ospf_dump_lsupd in lsupd.c >

Re: О(log n^2) config parser time regression in 2.0.11

2023-04-27 Thread Ondrej Zajicek
On Wed, Apr 26, 2023 at 12:28:59AM +0300, Yanko Kaneti wrote: > Hello, > > The recent bird1 EOL announcement nudged me to try a 1 to 1 (or close to > it) migration of a legacy 1.6 config to 2.0. Without using any of the > fancy new 2.0 features to keep things lazy. > > The old config has a giant

Re: О(log n^2) config parser time regression in 2.0.11

2023-04-25 Thread Ondrej Zajicek
On Wed, Apr 26, 2023 at 12:28:59AM +0300, Yanko Kaneti wrote: > Hello, > > The recent bird1 EOL announcement nudged me to try a 1 to 1 (or close to > it) migration of a legacy 1.6 config to 2.0. Without using any of the > fancy new 2.0 features to keep things lazy. > > The old config has a giant

Re: Potential issue in RIP: missing handing rtes in rip_receive_request

2023-04-23 Thread Ondrej Zajicek
On Sun, Apr 23, 2023 at 07:37:02PM -0400, Mingwei Zheng wrote: > Hi, > I am doing testing work on network protocols and there is one possible issue > I noticed in RIP: > When packet command is RIP_CMD_UPDATE_REQUEST, the protocol will call > function rip_receive_request to respond to

Re: [PATCH] IPv4 over IPv6 nexthop support on FreeBSD

2023-04-20 Thread Ondrej Zajicek
On Mon, Apr 17, 2023 at 04:46:13PM +0200, Luiz Amaral wrote: > Hello Ondrej, > > Did you have a chance to check out the patch? I am happy to adjust it if > needed. Hello Thanks for a notice, i just merged that (with minor modification):

Re: BIRD is taking too much time to converge 106362 prefixes from a non-client iBGP neighbor

2023-04-17 Thread Ondrej Zajicek
On Thu, Apr 13, 2023 at 11:47:12PM +0600, saiful...@fiberathome.net wrote: > Hi, > > Thanks for your feedback. The topology is BIRD is connected with total 8 > neighbors (1 is non-client and 7 are in client mode) for my setup. The > non-client neighbor is actually a high end central RR router

Re: BIRD is taking too much time to converge 106362 prefixes from a non-client iBGP neighbor

2023-04-13 Thread Ondrej Zajicek
On Wed, Apr 12, 2023 at 10:19:29PM +0600, saiful...@fiberathome.net wrote: > Dear Concern, > > After installing BIRD, I made iBGP neighbor with 8 routers. From a > non-client neighbor it should receive about 106362 prefixes but I found it > is taking huge time to process and converge the

Re: BGP med attribute

2023-04-03 Thread Ondrej Zajicek
On Mon, Apr 03, 2023 at 05:08:43PM +0800, Edward Sun wrote: > Hi, > Starting from bird v2.0.11, BGP med attribute will not be zero and > propagate to the external BGP neighbor. How to empty the BGP med > attribute when export? Hi This is a bug, thanks for the bugreport. You can workaround it by

Re: [PATCH] Fixed crash when requesting a BFD session on an unnumbered interface

2023-03-30 Thread Ondrej Zajicek
On Thu, Mar 30, 2023 at 03:17:46PM +0800, Miao Wang wrote: > > Thanks for the bugreport. The code in static_update_bfd() has a clear > > bug, but i am not sure if just putting IPA_NONE to bfd_request_session() > > is a reasonable fix, i will have to check BFD code to see how much it > > assumes

Re: [PATCH] Fixed crash when requesting a BFD session on an unnumbered interface

2023-03-29 Thread Ondrej Zajicek
On Thu, Mar 30, 2023 at 06:02:38AM +0800, Miao Wang wrote: > Hi, > > The bug can be reproduced with the following steps: > > 1. create an unnumbered interface: > > # ip link add dummy0 type dummy > # ip link set dummy0 up > # ip neigh replace 169.254.0.1 lladdr dev dummy0 > > 2. Create a

Re: Extended communities ASN wildcard.

2023-03-13 Thread Ondrej Zajicek
On Mon, Mar 13, 2023 at 01:01:16PM +, Ochalski, Radoslaw via Bird-users wrote: > Hi, > > I was wondering if there is a way to match extended communities via all ASNs > wildcard? > > As per https://bird.network.cz/?get_doc=16=bird-5.html, it’s not possible: > > EC sets use similar

Re: Radv proto sending adverts on wrong interface

2023-03-12 Thread Ondrej Zajicek
On Sun, Mar 12, 2023 at 02:36:50PM +0100, d...@darkboxed.org wrote: > I noticed something in tcpdump just now, when using -iany the incorrect RA > advert shows up as an "M" (multicast) as opposed to "Out" on the correct > interface. This only happens when sending an RA on enp2s0 not any of the >

Re: Radv proto sending adverts on wrong interface

2023-03-12 Thread Ondrej Zajicek
On Sat, Mar 11, 2023 at 06:28:58AM +0100, Daniel Gröber wrote: > Hi, > > I'm using bird as a replacement for radvd since the latter has a > longstanding issue with sending adverts on unconfigured interfaces under > complex conditions. > > Turns out bird has a similar issue :) > > Looking at the

Re: Expiration for ROA tables until when the VRP is valid?

2023-03-07 Thread Ondrej Zajicek
On Tue, Mar 07, 2023 at 01:01:36AM +0100, Robert Scheck wrote: > On Sun, 19 Sep 2021, Robert Scheck wrote: > > rpki-client recently implemented the "expires" instruction for roa-sets > > that OpenBGPD provides [1][2]. As of writing, BIRD does not seem to have > > something similar...any chance for

Re: [PATCH] Printf: libc independent I/O error test

2023-03-06 Thread Ondrej Zajicek
On Sun, Mar 05, 2023 at 04:34:40PM +0100, Petr Vaněk wrote: > Printf test suite fails on systems with musl libc because tests for "%m" > and "%M" formats expect "Input/output error" message but musl returns > "I/O error". Proposed change compares the printf output with string > returned from

Re: iBGP RR IPv6 link-local next-hop not kept

2023-02-28 Thread Ondrej Zajicek
On Tue, Feb 28, 2023 at 02:57:54PM -0500, Mirai Azayaka wrote: > Hello, > > I am trying to send routes from my DHCPv6 prefix delegation server to > my router using iBGP. Those delegated prefix routes on the DHCPv6 > server are installed in its kernel table, such as 2001:db8:db8::/56 > via . I

Re: Bird MPLS route issue on Centos 7

2023-02-21 Thread Ondrej Zajicek
On Tue, Feb 21, 2023 at 07:39:30PM -0500, Charles Butera wrote: > Hello, > > I am unable to get bird static routes with MPLS labels installed in the > kernel routing table on Centos 7 (with upgraded kernel 5.12). Hello I thing Centos 7 has too old kernel headers and BIRD packages are built

Re: https://github.com/CZ-NIC/bird repo sync

2023-02-21 Thread Ondrej Zajicek
On Tue, Feb 21, 2023 at 10:39:15AM +, Alexander Chernikov wrote: > Dear bird team, > > The GitHub cz-nic/bird repository mirror looks stale - the last commit there > is from October 5, 2020? > Is this intentional? Hello Well, i was not even aware of such mirror. At least it seems it is an

Re: duplicate device routes on linux

2023-02-20 Thread Ondrej Zajicek
On Mon, Feb 20, 2023 at 02:47:39PM +0100, ico wrote: > Hello all, > > Here at $work we are using bird for OSPF at some 30 linux boxes. Works > great. But there is a thing that confuses me: > ... > When I run bird with this configuration, it inserts another route: > > # ip route > 10.0.0.0/24 dev

Re: [PATCH] IPv4 over IPv6 nexthop support on FreeBSD

2023-02-19 Thread Ondrej Zajicek
On Sat, Feb 18, 2023 at 03:41:31PM +0100, Luiz Amaral wrote: > Hello, > > While experimenting in FreeBSD 13.1 with IPv4 over IPv6 nexthop routes, I > realized that BIRD was unable to read routes from the kernel as well as > export routes to the kernel. The support for it was implemented in

Re: Binding to some interfaces only for multihop bgp

2023-02-19 Thread Ondrej Zajicek
On Sun, Feb 19, 2023 at 06:28:03PM +0100, Sebastian Hahn wrote: > Hi Alexander, > > thanks a lot for the fast response. > > > On 19. Feb 2023, at 16:31, Alexander Zubkov wrote: > > Hi, > > > > I doubt that strict bind option is incompatible with multihop. Do you have > > some problems with

Re: [PATCH] Babel: add RFC9229 (v4 via v6) support

2023-02-14 Thread Ondrej Zajicek
On Tue, Feb 14, 2023 at 06:25:33PM +0100, Juliusz Chroboczek wrote: > > 1) Changed the name of the option to 'extended next hop', for consistency > > with BGP (and in the future also with other protocols). As the option is > > enabled by default, the name likely does not matter that much. > > I

Re: [PATCH] Babel: add RFC9229 (v4 via v6) support

2023-02-14 Thread Ondrej Zajicek
On Tue, Feb 14, 2023 at 06:04:33PM +0100, Andreas Rammhold wrote: > > Please check it, if it is acceptable for you, i will merge it to the master > > branch. > > These all sound fine. I've run it through my bird<->bird<->babeld<->babeld > test network and it passed. > > The changes look fine if

Re: [PATCH] babel: Keep separate auth PC counters for unicast and multicast

2023-02-14 Thread Ondrej Zajicek
On Thu, Jan 26, 2023 at 11:42:33AM +0100, Toke Høiland-Jørgensen wrote: > Ondrej Zajicek writes: > > > On Tue, Jan 24, 2023 at 08:05:41PM +0100, Toke Høiland-Jørgensen wrote: > >> > I think that simple sequence numbers work in two cases - if there is > >> >

Re: [PATCH] Babel: add RFC9229 (v4 via v6) support

2023-02-14 Thread Ondrej Zajicek
On Wed, Jan 11, 2023 at 03:57:47PM +0100, Andreas Rammhold wrote: > Any chance you could give this a look yet? Hi Finally i got to process the patch and prepare it for merging. I did some changes, mainly: 1) Changed the name of the option to 'extended next hop', for consistency with BGP (and in

Re: Bird bfd configuration

2023-02-13 Thread Ondrej Zajicek
On Mon, Feb 13, 2023 at 02:56:56PM +, LIU Chris wrote: > Hi Zajicek, > > Many thanks for your reply. > No any problem to set just one BFD instance. In my case, I have multiple BGP > instances, I set bfd on inside each BGP instance. > If just one bfd instance, how do bird correlate with

Re: [PATCH v3] Babel: Replace internal route selection by bird's nest

2023-02-11 Thread Ondrej Zajicek
On Sat, Feb 11, 2023 at 02:02:05PM +0100, d...@darkboxed.org wrote: > Hi Maria, > > On Mon, Feb 06, 2023 at 02:19:53PM +0100, Maria Matejka wrote: > > Picking up this, hoping that it is still relevant. > > Yes, absolutely :) > > > You can do this as the import/export limits in BGP do exactly

Re: Bird bfd configuration

2023-02-11 Thread Ondrej Zajicek
On Fri, Feb 10, 2023 at 03:58:04PM +, LIU Chris via Bird-users wrote: > Anyone comment this issue ? > > From: Bird-users On Behalf Of LIU Chris via > Bird-users > Sent: Tuesday, January 24, 2023 4:01 PM > To: bird-users@network.cz > Subject: RE: Bird bfd configuration > > Hello, > > I am

Re: [PATCH v3] Babel: Replace internal route selection by bird's nest

2023-01-31 Thread Ondrej Zajicek
On Tue, Jan 31, 2023 at 07:49:03PM +0100, d...@darkboxed.org wrote: > > > Couple of comments on the code below: > > > > > > > Changes in v3: > > > > - Subsume FIB_RESTART v2 patch: instead of restarting FIB iteration > > > >we keep lists of actions to perform after FIB iteration is finished.

Re: [PATCH] Babel: add RFC9229 (v4 via v6) support

2023-01-31 Thread Ondrej Zajicek
On Tue, Jan 31, 2023 at 05:59:25PM +0100, Martin Weinelt wrote: > Hi, > > thanks for the patch. I'm running it on a few machines and it simplifies > address management significantly, since it allows us to deallocate lots of > address pairs from all tunnel interfaces. > > Want to repeat the

Re: [PATCH v3] Babel: Replace internal route selection by bird's nest

2023-01-31 Thread Ondrej Zajicek
On Tue, Jan 31, 2023 at 12:38:25PM +0100, Toke Høiland-Jørgensen via Bird-users wrote: > Daniel Gröber writes: > > This allows for filtering routes from specific interfaces and > > neighbours. With the current internal route selection proto babel exports > > only up to one route and an admin

Re: [PATCH] Babel: Remove unecessary FIB_ITERATE restart

2023-01-31 Thread Ondrej Zajicek
On Mon, Jan 30, 2023 at 11:07:59PM +0100, d...@darkboxed.org wrote: > Hi Toke, > > On Mon, Jan 30, 2023 at 10:50:14PM +0100, Toke Høiland-Jørgensen wrote: > > Daniel Gröber writes: > > > > > The route expiration code appears to have been stolen from rip.c, in that > > > code the rt_notify

Re: [PATCH] babel: Initialise source seqno from incoming message

2023-01-31 Thread Ondrej Zajicek
On Tue, Jan 31, 2023 at 11:55:50AM +0100, Toke Høiland-Jørgensen via Bird-users wrote: > When creating a new babel_source object we initialise the seqno to 0. The > caller will update the source object with the right metric and seqno value, > for both newly created and old source objects. However

Re: [Babel-users] Babel: Possible segfault in bird unfeasible update handling code

2023-01-30 Thread Ondrej Zajicek
On Mon, Jan 30, 2023 at 11:10:28PM +0100, Toke Høiland-Jørgensen via Bird-users wrote: > Juliusz Chroboczek writes: > > >> The problematic bit is, I think, 's' in babel_handle_update can be NULL > >> because nothing ensures the babel_source for a particular neighbour > >> actually exists here:

Re: [PATCH] babel: Fix missing modulo comparison of seqnos

2023-01-30 Thread Ondrej Zajicek
On Mon, Jan 30, 2023 at 11:15:52PM +0100, Toke Høiland-Jørgensen via Bird-users wrote: > Juliusz noticed there were a couple of places we were doing straight > inequality comparisons of seqnos in Babel. This is wrong because seqnos can > wrap: so we need to use the modulo-64k comparison function

Re: [PATCH] [RFC] Babel: Replace internal route selection by bird nest

2023-01-30 Thread Ondrej Zajicek
On Mon, Jan 30, 2023 at 04:44:27AM +0100, Ondrej Zajicek wrote: > > Note that this does very much represent a breaking change as now export > > filters have to explicitly re-export babel routes which was implicit > > before, using say `source = RTS_BABEL`. > > > > I

Re: [PATCH] [RFC] Babel: Replace internal route selection by bird nest

2023-01-29 Thread Ondrej Zajicek
On Mon, Jan 30, 2023 at 12:54:15AM +0100, Daniel Gröber wrote: > The main motivation for this change is to allow for ingress route > filtering. With the current internal route selection proto/babel exports > only the one route it selected and an admin cannot decide which > neighbours/interfaces to

Re: ABR sets E-bit (and B-bit) in router LSA

2023-01-27 Thread Ondrej Zajicek via Bird-users
On Fri, Jan 27, 2023 at 02:18:36PM +, Kenth Eriksson wrote: > I have a setup as in the attached drawing. I can see that the bird ABR > node (R2) sets the E-bit and the B-bit in the router LSA. The B-bit seems > correct as it is the ABR, but it is not an ASBR. Hi It depends on config. if

Re: [PATCH] babel: Keep separate auth PC counters for unicast and multicast

2023-01-25 Thread Ondrej Zajicek
On Tue, Jan 24, 2023 at 08:05:41PM +0100, Toke Høiland-Jørgensen wrote: > > I think that simple sequence numbers work in two cases - if there is > > sufficient interval between packets, or there is only one packet > > flying (e.g. LSREQ-LSUPD ping-pong in OSPF). That is approach used in > > OSPFv2

Re: [PATCH] babel: Keep separate auth PC counters for unicast and multicast

2023-01-24 Thread Ondrej Zajicek
On Tue, Jan 24, 2023 at 12:12:19AM +0100, Toke Høiland-Jørgensen via Bird-users wrote: > The issue has been described in draft-ietf-babel-mac-relaxed, which is > currently pending RFC publication. That also describes two mitigation > mechanisms: Keeping separate PC counters for unicast and

Re: [PATCH] feature to keep protocol's state while configuring

2023-01-23 Thread Ondrej Zajicek
On Mon, Jan 23, 2023 at 03:19:43AM +0100, Alexander Zubkov wrote: > Hello, > > Not sure if those are forgotten or are unwanted modifications. Please let > me know. > > And I also have another idea regarding the subject. The idea is to > configure the file where bird will keep the states of the

Re: rename symbols

2023-01-23 Thread Ondrej Zajicek
On Tue, Jan 24, 2023 at 07:44:47AM +0100, Maria Matejka wrote: > >Hello > > > >I thing that the most elegant way how to handle renaming of objects > >during reconfiguration is to allow multiple names / aliases. There could > >be be more symbols pointing to given object (but the object points back

Re: rename symbols

2023-01-23 Thread Ondrej Zajicek
On Tue, Jan 24, 2023 at 06:57:01AM +0100, Maria Matejka via Bird-users wrote: > Hello! > > > For example I may want to refactor the naming scheme for > > protocols/tables in my bird config. But when I apply the new config with > > the new names, such renamed protocols will be recreated or

Re: Multiple ebgp neighbours to the same peer

2023-01-23 Thread Ondrej Zajicek
On Mon, Jan 23, 2023 at 12:40:30AM +0100, Alexander Zubkov wrote: > Hi all, > > A quick try to fix the problem. But I'm not sure in complete correctness > though. Hi That looks more-or-less OK, will merge. > -ipa_equal(x->addr, y->addr); > +ipa_equal(x->addr, y->addr) && > +

Re: small fix of indenting

2023-01-23 Thread Ondrej Zajicek
On Mon, Jan 23, 2023 at 02:48:13AM +0100, Alexander Zubkov via Bird-users wrote: > Hello, > > I found some bad indenting of if/else statements. Please see the attached > patch. Hello Merged. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org) OpenPGP

Re: [PATCH] Set PR_SET_DUMPABLE before switching uid to allow core dumps.

2023-01-22 Thread Ondrej Zajicek
On Fri, Jan 13, 2023 at 03:21:36PM +0100, Thomas Liske wrote: > Signed-off-by: Thomas Liske > --- > > This patch sets the PR_SET_DUMPABLE capability before switching > to a unprivileged user to allow core dumps (see also the paragraph > about set-user-ID in `man 5 core`) > > Background: While

Re: Limit OSPF interface pattern matching to VRFs

2023-01-22 Thread Ondrej Zajicek
On Sun, Jan 22, 2023 at 04:37:08PM +0100, Ondrej Zajicek wrote: > On Sun, Jan 22, 2023 at 03:32:52PM +0100, Marcel Menzel via Bird-users wrote: > > Hello list, > > > > Is there a way to instruct BIRD to only match OSPF interfaces that are > > enslaved to a certai

Re: Limit OSPF interface pattern matching to VRFs

2023-01-22 Thread Ondrej Zajicek
On Sun, Jan 22, 2023 at 03:32:52PM +0100, Marcel Menzel via Bird-users wrote: > Hello list, > > Is there a way to instruct BIRD to only match OSPF interfaces that are > enslaved to a certain VRF (or only the main VRF / not enslaved to any VRF)? Hello It should work by default, seems that there

Re: Multiple ebgp neighbours to the same peer

2023-01-21 Thread Ondrej Zajicek
On Sat, Jan 21, 2023 at 06:05:16PM +, Prem Anand wrote: > Hi all, > New user here > > I am trying to get 2 ebgp neighbours on bird to peer with a remote bgp > endpoint on frr node. > One between 10.100.101.1 <—> 10.100.1.1 and other between 10.100.102.1 <—> > 10.100.1.1 > >

Re: OSPF NSSA

2023-01-21 Thread Ondrej Zajicek
On Sat, Jan 21, 2023 at 04:18:47PM +0100, Konrad Kręciwilk wrote: > As you can see show ospf state from R1 has extrenal 10.7.100.0/24 via > 212.127.92.29 (which is local link via vlan4001) which is interrupted (L2). > Its look like R3 does not update database (via) when neighbor is lost >

Re: OSPF NSSA

2023-01-20 Thread Ondrej Zajicek
On Thu, Jan 19, 2023 at 11:45:01PM +0100, Konrad Kręciwilk via Bird-users wrote: > Hello Team, Hello > but when on the switch remove e.g. vlan4001 to R3 (broken L2 connectivity), > R1 still see via vlan4001 (all dead times have expired - configured bfd). So even if OSPF neighbor is

Re: ospf type 4 LSA:s generated by bird

2023-01-18 Thread Ondrej Zajicek
On Wed, Jan 18, 2023 at 05:35:04PM +, Kenth Eriksson wrote: > Is there any way to control if bird generates type 4 LSAs? If bird originates > type 4 LSA:s, does that mean that bird has taken the role as an ASBR? Hi Type 4 LSAs are generated automatically on ABR (not ASBR), i.e. if there are

Re: [PATCH] allow setting the 'onlink' route attribute in filters

2023-01-17 Thread Ondrej Zajicek
On Tue, Jan 17, 2023 at 04:51:44PM +0100, Radu CARPA wrote: > Hi bird users, > > I recently came across the following thread [1] when trying to build an > IP-in-IP overlay network with bird. Unfortunately, those patches where never > merged upstream. Calico still uses a very old fork of bird with

Re: Potential OSPF authentication issues with Mikrotik routers

2023-01-14 Thread Ondrej Zajicek
On Sat, Jan 14, 2023 at 12:25:11AM +, Theera Kittichareonpot wrote: > Hello, > > OSPF with cryptographic authentication does work now. In Mikrotiks 7.7, the > auth-id is defaulted to 0. https://help.mikrotik.com/docs/display/ROS/OSPF > Changing that to 1 does fix the problem. ^^ Hello

Re: [PATCH] Log message before aborting

2023-01-12 Thread Ondrej Zajicek
On Wed, Jan 11, 2023 at 08:02:23PM -0800, Mike Crute wrote: > I think it's okay that this only prints to the debug log file/stderr. I > think a person would try debug mode first when they encouter a crash before > doing more invasive debugging. > > Here's a revised patch that incorporates your

Re: Question about babel over bird

2023-01-12 Thread Ondrej Zajicek
On Thu, Jan 12, 2023 at 03:47:11PM +0100, Oriol Rico wrote: > The problem is that all antennas that advertise this route are over the > same interface in the rest of the antennas, over wlan interface You only need to set link cost for the two antennas advertising the 10.0.0.0/8. Therefore you

Re: [PATCH] Log message before aborting

2023-01-11 Thread Ondrej Zajicek
On Wed, Jan 11, 2023 at 11:51:12AM -0800, Michael Crute wrote: > On Wed, Jan 11, 2023, at 08:36, Ondrej Zajicek wrote: > > 1) vlog() (which is internally caled from bug()) is not safe to call from > > a signal handler, as it internally takes a mutex, if the signal is re

Re: bird-1.6.8: Withdrawals during an enhanced route-refresh process

2022-10-14 Thread Ondrej Zajicek via Bird-users
On Fri, Oct 14, 2022 at 01:28:27AM +0200, Garri Djavadyan via Bird-users wrote: > Hello everyone, > > I noticed that the legacy Bird version behaves strangely while it is in > an enhanced route-refreshing process, but I am not sure whether it is a > known/expected behaviour for version 1.6.8.

Re: Notification on network update (BABEL)

2022-10-14 Thread Ondrej Zajicek via Bird-users
On Fri, Oct 14, 2022 at 08:07:09AM +0200, Martin Vystrčil via Bird-users wrote: > Good morning, > > is there any possibility to be notified on network update. We are using bird > to manage BABEL in our product (embedded system). > > Main usage would be to send SNMP notification on BABEL network

Re: Bird 2.07: BFD with multiple BIRD processes

2022-10-12 Thread Ondrej Zajicek via Bird-users
On Thu, Oct 13, 2022 at 12:59:47AM +0100, Mihai via Bird-users wrote: > Hi, > > On the same server I am running two BIRD processes each configured with OSPF > and iBGP (toward the same neighbors, using different local addresses). > Should BFD for iBGP work on both processes? > In my case all BFD

Re: Bird 2.0.10: ipv6 static onlink route updates after each scan time

2022-10-12 Thread Ondrej Zajicek via Bird-users
On Wed, Oct 12, 2022 at 05:00:07PM +0200, Ondrej Zajicek via Bird-users wrote: > On Wed, Oct 12, 2022 at 11:04:52AM +, Saklak, Marcin via Bird-users wrote: > > Hi, > > I have an issue with onlink static routes bird constantly remove and add > > them to kernel. >

Re: Bird 2.0.10: ipv6 static onlink route updates after each scan time

2022-10-12 Thread Ondrej Zajicek via Bird-users
On Wed, Oct 12, 2022 at 11:04:52AM +, Saklak, Marcin via Bird-users wrote: > Hi, > I have an issue with onlink static routes bird constantly remove and add them > to kernel. > > Is this expected behavior that for ipv6 onlink route bird after each scan > time remove and add route? for other

Re: Link local vs global v6 next hop for BGP rotuer

2022-10-10 Thread Ondrej Zajicek via Bird-users
Note that for gw_mode == GW_DIRECT, even before the patch we prefererred the global next hop to link-local (see bgp_apply_next_hop()), so that why there is a different default based on gw_mode, but the second part (switching next hop to link-local for gw_mode == GW_DIRECT) is not implemented yet. &

Re: Link local vs global v6 next hop for BGP rotuer

2022-10-09 Thread Ondrej Zajicek via Bird-users
se global next hop instead of link-local: https://gitlab.nic.cz/labs/bird/-/commit/8f79e6b93e32a4eb7e4dda9bd4a9d04400b79d45 > On 9/20/22, 6:11 PM, "Ondrej Zajicek" wrote: > > On Mon, Sep 19, 2022 at 01:23:28PM +, Mazur, Dariusz via Bird-users > wrote: > &

Re: Missing IPv6 default route on protocol kernel and table master6

2022-10-09 Thread Ondrej Zajicek via Bird-users
On Sun, Oct 09, 2022 at 07:43:56PM +0200, Bernd Naumann via Bird-users wrote: > On 2022-10-07 18:32, Ondrej Zajicek wrote: > > Does the pppoe-wan have link-local address range? Does BIRD know about it? > > What is What is the output from BIRD command 'show interfaces'? >

Re: Missing IPv6 default route on protocol kernel and table master6

2022-10-07 Thread Ondrej Zajicek via Bird-users
On Fri, Oct 07, 2022 at 11:29:33AM +0200, Bernd Naumann via Bird-users wrote: > Update: > > I would ratter prefer to understand why bird is unable to pick up the ipv6 > default route on this pppoe device. Hi Does the pppoe-wan have link-local address range? Does BIRD know about it? What is

Re: Missing IPv6 default route on protocol kernel and table master6

2022-10-06 Thread Ondrej Zajicek via Bird-users
On Thu, Oct 06, 2022 at 11:37:18AM +0200, Bernd Naumann via Bird-users wrote: > I may should have had a look at the log before :/ > > ``` > Thu Oct 6 09:32:51 2022 daemon.err bird: KRT: Received route ::/0 with > strange next-hop fe80::f6cc:55ff:fe42:1a94 > ``` > > But why is this a strange a

Re: New RIP MD5 interface option to avoid sequence check

2022-10-04 Thread Ondrej Zajicek via Bird-users
On Mon, Oct 03, 2022 at 04:20:51AM +0200, Olivier Benghozi via Bird-users wrote: > Hello, > > I'm currently using RIP/Ripng with md5 auth with some Cisco/Juniper and > Quagga gears. > I'm looking to switch from quagga to Bird(2). > > I would have a feature request about the RIP MD5 sequence

Re: Netlink: No route to host

2022-10-04 Thread Ondrej Zajicek via Bird-users
On Mon, Oct 03, 2022 at 07:07:58PM +0200, Marek Küthe via Bird-users wrote: > Hello, > > I hope this is the right place to ask my question: > > I used bird2.0.10 (from debian backports) since some time I get the > message "Netlink: No route to host", however in the bird log it does > not specify

Re: bgp keepalive and expired issues on bird 1.6.8

2022-10-04 Thread Ondrej Zajicek via Bird-users
On Wed, Sep 28, 2022 at 12:22:10PM +0900, 안상혁 via Bird-users wrote: > Hello, > > we have encountered some issues using bird 1.6.8 > > there are two issues : > > 1) sometimes bird looks like doesn't handle neighbor's bgp keepalive > messages. It is good idea to check which are effective

Re: EBGP ECMP w/o add paths capability

2022-10-04 Thread Ondrej Zajicek via Bird-users
On Tue, Sep 20, 2022 at 12:18:48PM +, Milovancevic, Nemanja via Bird-users wrote: > Dear all, > > Since some of our customers have devices which are not supporting EBGP > add-path capability, I was wondering would there be an option that BIRD > announces also other “not only best” paths,

Re: BIRD Crashes

2022-10-04 Thread Ondrej Zajicek via Bird-users
On Fri, Aug 19, 2022 at 09:13:55AM +0100, Ian Chilton wrote: > Hi Barry! > > On Thu, 18 Aug 2022, at 6:08 PM, Barry O'Donovan (INEX) wrote: > > As you're running Bird 2.0.8 this should be no longer necessary. Per > > 2.0.8's release logs: > > > Version 2.0.8 (2021-03-18) > > > o Automatic

Re: Bird 2.0.9 Crash when 16K routes sent from our App to Bird module

2022-09-27 Thread Ondrej Zajicek via Bird-users
On Fri, Sep 23, 2022 at 02:38:59PM +, mukund via Bird-users wrote: > > Hi, > We are using bird version 2.0.9.  We have IXIA traffic which is sending 16K > OSPF  routes to our App which we send to Bird. Issue is seen when we restart > our App. As part of our restart app handling, we

Re: Link local vs global v6 next hop for BGP rotuer

2022-09-20 Thread Ondrej Zajicek via Bird-users
On Mon, Sep 19, 2022 at 01:23:28PM +, Mazur, Dariusz via Bird-users wrote: > Hello, > In my setup I have iBGP session with peer , and I learn v6 route. It is iBGP > so we have 2 next hops global and link-local. By default bird uses link-local > when route is exported to kernel. Is there any

Re: Garbage collection of unused dynamic BGP neighbours

2022-09-20 Thread Ondrej Zajicek via Bird-users
On Tue, Sep 20, 2022 at 09:32:31AM +0200, Tore Anderson via Bird-users wrote: > Hi > > Is it possible to garbage collect unused dynamic BGP neighbours? Hi i think that 'configure' CLI command should remove unused dynamic BGP instaces as a side-effect of its unused protocols cleanup code, even

Re: MPLS L3VPN using bird

2022-09-15 Thread Ondrej Zajicek
On Thu, Sep 15, 2022 at 08:08:09PM +, Jose Miguel Bentue wrote: > Hello, > > The goal is to gain communication from a linux based host to another PE-CE by > using MPLS L3VPN. > > To your question: > > * "configure the PE functionality, connecting to other PE via BGP with > MPLS (AFI 1

Re: bind RIP protocol to specified address

2022-08-25 Thread Ondrej Zajicek
On Wed, Aug 24, 2022 at 05:23:16PM +0500, Ivan wrote: > Hi all. > I use bird2 (2.0.7) on linux, I want to configure the RIP protocol so that > it uses the specified source address. I have two addresses assigned on the > network interface, for example 192.0.2.1/32 and 198.51.100.1/31. > bird

Re: OSPF default metric

2022-08-10 Thread Ondrej Zajicek
On Wed, Aug 10, 2022 at 01:40:17PM +0200, Marcus Büttemeyer wrote: > Hello again, > I'm wondering how OSPF default metrics are calculated by BIRD? > Background: I'm running 4 Linux VMs with BIRD under Hyper-V and BIRD gives > me a metric of 10 for every connection, be it 10G (which seems to be the

Re: Fwd: Filter OSPF to kernel routes

2022-08-07 Thread Ondrej Zajicek
On Sun, Aug 07, 2022 at 04:24:22PM +0200, Marcus Büttemeyer wrote: > OK, the problem seems to have been the name of the filter. BIRD says > "syntax error, unexpected DEFAULT" so I renamed the filter to > "reject_default" and that works. What did BIRD not like about > "default-reject"? Hi BIRD

Re: [PATCH] Netlink: Propagate ecmp nexthop weight to kernel for inet6 routes

2022-07-24 Thread Ondrej Zajicek
On Sat, Jul 23, 2022 at 04:00:53PM +0200, d...@darkboxed.org wrote: > Hi Ondrej, > > did you ever see my v2 patchset? > > [PATCH v2 1/2] Netlink: Drop ECMP route splitting hacks > [PATCH v2 2/2] Netlink: Propagate ECMP nexthop weight to kernel for inet6 > routes > > Since I never heard

Re: [PATCH] Netlink: Propagate ecmp nexthop weight to kernel for inet6 routes

2022-07-23 Thread Ondrej Zajicek
On Sat, Jul 23, 2022 at 04:00:53PM +0200, d...@darkboxed.org wrote: > Hi Ondrej, > > did you ever see my v2 patchset? > > [PATCH v2 1/2] Netlink: Drop ECMP route splitting hacks > [PATCH v2 2/2] Netlink: Propagate ECMP nexthop weight to kernel for inet6 > routes > > Since I never heard

Re: [PATCH] krt: Dump routing tables separetely on linux to avoid congestion

2022-07-23 Thread Ondrej Zajicek
On Tue, Apr 19, 2022 at 04:06:57PM +0200, Toke Høiland-Jørgensen wrote: > Ondrej Zajicek writes: > > > On Sat, Apr 16, 2022 at 07:28:59PM +0200, Toke Høiland-Jørgensen wrote: > >> Daniel Gröber writes: > >> > >> > When dumping the routing tabl

Re: BGP session local capabilities / announced AF

2022-07-20 Thread Ondrej Zajicek
On Wed, Jul 20, 2022 at 09:01:42AM -0400, Robert Blayzor wrote: > Bird 2.0.10 > > > I have BGP neighbors I only want to advertise ipv4 or ipv6 to, not both. It > appears BIRD assumes both even though I only have either a ipv4 or ipv6 > channel configured for the protocol. (not both) Is v4

Re: [RFC] Automatic MP peering with IPv6 link local peers

2022-07-14 Thread Ondrej Zajicek
On Thu, Jul 14, 2022 at 05:36:20PM +0200, Marco d'Itri wrote: > On Jul 14, Ondrej Zajicek wrote: > > > > RFC 8950 is what has been implemented in Cumulus. > > Not sure how that is relevant, RFC 8950 is just IPv6 next hop for IPv4 > > routes, it does not handle BGP neig

Re: [RFC] Automatic MP peering with IPv6 link local peers

2022-07-14 Thread Ondrej Zajicek
On Thu, Jul 14, 2022 at 05:17:25PM +0200, Marco d'Itri wrote: > On Jul 14, Ondrej Zajicek wrote: > > > The main issue is that dynamic range works primarily as passive, as there > > is no neighbor discovery. I think there is some RFC draft for BGP neighbor > > discovery,

Re: [RFC] Automatic MP peering with IPv6 link local peers

2022-07-14 Thread Ondrej Zajicek
On Sat, Jul 09, 2022 at 10:53:28AM +0200, Nico Schottelius wrote: > > Good morning^2, > > as virtually all parts in our datacenters have become IPv6 only, I was > wondering if it was easy to add a feature to bird to automatically BGP > peer with all alive link local neighbours? > > Motivation

Re: Dynamic reconfigurations of bird - how?

2022-07-14 Thread Ondrej Zajicek
On Sat, Jul 09, 2022 at 10:44:26AM +0200, Nico Schottelius wrote: > > Good morning fellow bird users, > > I was wondering how you handle "dynamic reconfigurations" such as > rerouting, adding filters, changing the priority of routes in case of > attacks? > > In particular I wonder if there is a

Re: [PATCH] bgp: Implement RFC 9234

2022-07-12 Thread Ondrej Zajicek
On Tue, Jul 12, 2022 at 01:54:15PM +0300, Eugene Bogomazov wrote: > Hello, > > I've reviewed all the changes and am happy with them. Had some misgivings > about renaming 'strict mode ' to 'required roles' , but since this option > can be easily found by searching for a phrase in the

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