Re: Filters do not auto-reload on called function changes

2019-09-23 Thread Maria Jan Matejka
On 9/20/19 10:21 AM, Maria Matejka wrote: > Hello! > > On 9/20/19 8:45 AM, Maria Matejka wrote: >> Hello! >> >> On 9/19/19 8:02 PM, Matt Corallo wrote: >>> Upon upgrading from 2.0.4 to 2.0.6, filters which call changed functions >>> (at least when those functions are in included from external file

Re: bird 1.6 seems to ignore ipv6 kernel routes on 4.19

2019-08-21 Thread Maria Jan Matejka
Hello! >> I recently updated some virtual machine hosting nodes to Debian Buster from >> Stretch, and I'm having an interesting problem with IPv6 kernel routes. My >> example uses 1.6.6 but 1.6.7 shows the same behaviour, so I'm just wondering >> what I am missing. v4 is all working as expected.

Re: Segmentation fault on 2.0.5

2019-08-13 Thread Maria Jan Matejka
>> define myvar = false; >> >> function something () { >> if myvar then { >> return false; >> } >> >> return true; >> } >> >> protocol device DEVICE { >> >> } >> >> Could this be because of the new filter code or something else? > > Hello > > Thanks for bugreport. Yes, it is t

Re: Multithreaded BIRD plans [Was: BGP table size]

2019-08-13 Thread Maria Jan Matejka
On 8/13/19 2:51 PM, Cybertinus wrote: > On 2019-08-13 13:08, Maria Jan Matejka wrote: >>> 1. Will this be done only in the 2.x branch, or also in the 1.6.x? >> >> Only in 2.x; these changes include sh*tload of changes in route propagation >> which we won't do tw

Re: Multithreaded BIRD plans [Was: BGP table size]

2019-08-13 Thread Maria Jan Matejka
On 8/13/19 1:43 PM, Łukasz Jarosz wrote: > I am not an expert here, but VPP seems like an obvious example.   > I will probably have to write some proof concept and come back with it. > Due to multithreading, how big changes to internal API are planned? If you are working in BGP-like mode (single p

Re: Multithreaded BIRD plans [Was: BGP table size]

2019-08-13 Thread Maria Jan Matejka
On 8/13/19 1:24 PM, Łukasz Jarosz wrote: > Hello, > Do you have aby plans for integrating BIRD with non kernel data planes? I > mean something along the lines of FIB protocol which dumps routes into data > plane. What non-kernel data planes would you like? We have currently no plan to implement

Multithreaded BIRD plans [Was: BGP table size]

2019-08-13 Thread Maria Jan Matejka
> This is very interesting news! Can you tell me more about this (maybe in a > separate thread, to not pollute this one)? first few questions I do have: Changing the subject, it should be enough. > 1. Will this be done only in the 2.x branch, or also in the 1.6.x? Only in 2.x; these changes inc

Re: sets in bgpmasks ?

2019-08-06 Thread Maria Jan Matejka
> On 31/07/2019 22:34, Clemens Schrimpe wrote: >> Hello all - > >> I wonder: Is there a "nice" syntax to have sets (lists of ASs) >> inside of bgpmasks? > >> I.e., > >> [= 123 [234, 345] * =] > >> does not work (syntax error). Any other ideas? > > I have also run into this use case, but haven'

Re: segmentation fault

2019-07-30 Thread Maria Jan Matejka
On 7/30/19 3:01 PM, Илья Шипицин wrote: > are you going to make new release ? Surely, we're just finalizing the new features and fixing last found bugs. It's to be released soon. Maria smime.p7s Description: S/MIME Cryptographic Signature

Re: segmentation fault

2019-07-30 Thread Maria Jan Matejka
On 7/28/19 6:35 PM, Ondrej Zajicek wrote: > On Sun, Jul 28, 2019 at 06:58:06PM +0500, Илья Шипицин wrote: >> hello, >> >> I'm running bird git-master >> >> ... >> on SIGHUP sometimes bird crashes >> >> >> (gdb) bt >> #0 _IO_vfprintf_internal (s=0x0, format=0x4ddaf9 "%s <%s> ", >> ap=ap@entry=0x7f9

Re: BIRD 2.0.4 and protocol RPKI in the config file

2019-07-12 Thread Maria Jan Matejka
On 7/12/19 1:30 PM, Irene Lalioti wrote: >> Have you compiled BIRD yourself, or are you using a package?> It is the >> CentOS package from the official website.. You're right. That package really doesn't have RPKI compiled in. We'll look at it, thank you for reporting! Maria smime.p7s Descript

Re: Which linux OS are you using?

2019-07-09 Thread Maria Jan Matejka
On 7/9/19 1:31 PM, Isaac HO wrote: > Dear all,  > Thanks,  > our system team would like to use RedHat / CentOS. But > > Bird support would you mind giving me suggestions if we will use RedHat or > CentOS for installing Bird 2.0. ./configure && make -j && make install or the packages

Re: Crash when filtering routes in BGP protocol

2019-07-08 Thread Maria Jan Matejka
Hello! Sorry for the delay, we were somehow busy. On 6/25/19 7:57 PM, Vincent Bernat wrote: > When filtering routes in BGP, I get the following crash with BIRD master: > > #v+ > Program received signal SIGSEGV, Segmentation fault. > 0x5558ccdd in rta_free (r=0x5558adc0 ) at > ../nes

Re: Configuration help to split the knowledge

2019-06-30 Thread Maria Jan Matejka
Hello! Thank you for checking this. Please send your proposed changes as a patch for the appropripate git repository, https://gitlab.labs.nic.cz/labs/bird.wiki.git … or if you are going to draw the figures, also a pull request is OK in this case. Thanks! Maria On 6/29/19 4:48 PM, Mattia Milani

Re: BIRD 2 does not re-validate RPKI status?

2019-06-21 Thread Maria Jan Matejka
Hello! On 6/21/19 9:09 AM, Tim Bruijnzeels wrote: > I am not sure if this is an artefact of my set-up, or a missing feature / bug > in Bird. Yes, it is a documented missing feature in Bird, see the RPKI chapter in documentation: You can validate routes (RFC 6483) using function

Re: Code style?

2019-06-11 Thread Maria Jan Matejka
On 6/11/19 3:49 PM, Ondrej Zajicek wrote: > On Tue, Jun 11, 2019 at 01:37:42PM +, Kenth Eriksson wrote: >> Is there a code style guide to be used when submitting patches to bird? >> An emacs file, clang-format or similar would be useful. > > Hi > > Well, historically different parts of BIRD

Re: Kernel protocol and different namespaces

2019-06-07 Thread Maria Jan Matejka
Hello! On 6/7/19 3:15 PM, b...@ipv2.de wrote: > I disagree. I am quite sure this is technologically possible. As in, the > Linux kernel should allow you to do this. Well, it is definitely possible, yet it probably is not feasible nor reasonable. > From my understanding of (network) namespace, a

Re: BIRD 2.0.4 segfaulting on ARM

2019-04-26 Thread Maria Jan Matejka
On 4/26/19 1:08 PM, lor...@irmhil.de wrote: > Hello, > > after a "make clean", "./configure" and "make" I got this compile-time > warning: > > --- snip --- > > sysdep/unix/io.c: In function ‘times_init’: > sysdep/unix/io.c:135:45: warning: comparison is always false due to limited > range of d

Re: Learning BIRD source

2019-04-17 Thread Maria Jan Matejka
On 4/15/19 3:17 PM, Maria Matějka wrote: > > > On April 15, 2019 3:03:38 PM GMT+02:00, Brian Topping > wrote: >>> On Apr 14, 2019, at 11:07 PM, Maria Matějka >> wrote: >>> >>> And couldn't you just share what IDE you are trying to setup with >> BIRD and what exact problems you have? It should

Re: How to update from v1.6 to v2.0

2019-03-11 Thread Maria Jan Matejka
Hello! > Would I need to uninstall v1.6 or could update the version by simply steps? Generally, you don't need to uninstall v1.6. These are anyway conflicting in all distributions I'm aware of. > For v1.6 un-installation, would you mind providing me the steps? or > would you please providing me t

Upcoming master branch reset in BIRD repository

2019-01-16 Thread Maria Jan Matejka
Dear users, we are announcing here that we are going to rename branches in BIRD repository. 1st step (already done): a new branch >> legacy << is now the main branch for 1.6.x development. 2nd step (to be done between Jan 22 and Jan 24): the >> master << branch will be reset to w

Re: roa_check not re-evaluating after roa table update

2017-06-09 Thread Jan Matejka
Hi! On 06/09/2017 01:17 PM, Stefan Plug wrote: > Bird 1.6.3 > > Just testing about with the RPKI roa_check and it seems that my routes are > not being re-evaluated after a "configure" when my roa table is updated. > I do this check during the import phase so the routes are already in the > tabl

Re: Increasing the granularity of internal timers in Bird?

2017-06-05 Thread jan . matejka
Hello! Sorry for top reply, my phone is too dumb to reply inline. Please check the recent "timers" branch - there should be what you're looking for. MQ Quidquid latine dictum sit, altum videtur. -Original Message- From: "Toke Høiland-Jørgensen" To: bird-users@network.cz Sent: Mon

Re: Filter based on condition or watchdog

2017-06-02 Thread Jan Matejka
On 06/02/2017 12:59 PM, Войнович Андрей Александрович wrote: > Hi all! > > > > Does BIRD allow to write a filter, where I can define a condition when it > should import/export some route(s) and when it should not? To clarify my > question, example: I want to check whether some process (lets s

Re: BGP flowspec support

2017-04-24 Thread Jan Matejka
Hello! On 04/24/2017 09:58 AM, Maximilian Eschenbacher wrote: > am I correct in assuming that bird does currently not support sending > bgp flowspec rules (RFC5575) which uses MP_REACH_NLRI attributes? In > proto/bgp/bgp.h I found these lines: > > /* We don't support these: */ > #define BA_DPA

Re: BGP Community Filter Static Route

2017-03-25 Thread jan . matejka
Instead of that route line, use dest = RTD_UNREACHABLE; Quidquid latine dictum sit, altum videtur. -Original Message- From: Michael McConnell To: bird-users@network.cz Sent: Sat, 25 Mar 2017 5:39 AM Subject: BGP Community Filter Static Route Trying to run a bgp filter like so; if (ne

Re: multithreading ospf

2017-03-13 Thread Jan Matejka
you can not force multi core? > > Enviado do meu iPhone > > Em 12 de mar de 2017, às 17:33, Jan Matejka <mailto:jan.mate...@nic.cz>> escreveu: > >> Hello! >> Bird is single-threaded. Only when BFD is used, Bird spawns a separate >> thread for it as the main internal timer is too slow for BFD. >> MQ

Re: multithreading ospf

2017-03-12 Thread Jan Matejka
On 03/12/2017 11:39 AM, Fernando Galvão wrote: >> Hello guys, I wanted your help to validate if the bird with ospf is >> running with multi thread. I have a dell r410 server with 2 x56 quad >> core xeon processors totaling 16 cores. This server was serving pppoe >> server with accel-ppp + quagga os

Re: [PATCH 1/9] Adding configuration option --enable-sadr.

2017-03-07 Thread Jan Matejka
>> (2) make sure that SADR routes and non-SADR routes can coexist in the >> same routing table. > > Is that something that can be fixed in BIRD? Isn't it just a kernel > problem? Kernel may be fixed once. Or you may have two kernel protocols mapping the BIRD's table to one kernel table with SADR a

Re: Use Variables / Defines in include statements

2017-01-17 Thread Jan Matejka
On 01/17/2017 11:03 AM, Tim Weippert wrote: > Hi, > > i currently try to do different includes, based on an variable/define > within the config. > > for example: > > function test(int asn) { > > [ do something general ] > > include "/etc/bird/" . asn . "-special.conf"; > > } > > As this

Re: OSPF socket error on "bge0" invalid argument

2017-01-07 Thread Jan Matejka
Now your bge0 is set as stub. It won't connect on that interface. > protocol ospf { > import none; > export none; This blocks all the routes send through ospf, beware. > area 0 { > interface "bge0" { > cost 5; > };

Re: Upgrade to 1.6.3

2016-12-30 Thread Jan Matejka
Hi! > 2016-12-30 12:02:43 Kernel dropped some netlink messages, will > resync on next scan. > 2016-12-30 12:02:43 Kernel dropped some netlink messages, will > resync on next scan. > 2016-12-30 12:02:52 Kernel dropped some netlink messages, will > resync on next scan. > 2016-12-30 12:03:03 Kern

Re: Linux 'local' table (255) import into BIRD?

2016-11-25 Thread Jan Matejka
Hello! If you want to export these routes via OSPF3, it should be enough to add the interfaces as stub: interface "eth5" { stub; } where "eth5" is the interface that creates the route you need to export via OSPF3. (Writing without looking into doc, the syntax may be slightly different.) MQ On

Re: Out of memory crash of 3000 routes in BGP

2016-10-12 Thread Jan Matejka
Hi! Please try the last commit in GIT, branch master. Commit ID 2e7fb11a6e31324151c6db98df2fe26d2d6cffab. Attaching the patch as well. Thank you both for reporting this issue. Jan On 10/12/2016 02:10 PM, Justin Cattle wrote: > Good stuff - once again, please let me know if you want to me test

Re: Minimalist BGP Anycast Lab Built from VMs?

2016-10-03 Thread Jan Matejka
Hi! For testing, consider using Linux network namespaces. It is much more lightweight than complete virtualization through virtualbox. On my laptop, I'm able to use more than 100 namespaces, which means more than 100 distinct pseudovirtual machines sharing everything but network. http://blog.scot

Re: merge paths on gives syntax error

2016-08-09 Thread Jan Matejka
Hi Eelco, use the iproute2 tool: # ip route show Testing this on my workstation: # ip route add 66.66.66.66/32 nexthop via 55.55.55.1 nexthop via 55.55.55.3 # ip route show ... 66.66.66.66 nexthop via 55.55.55.1 dev du weight 1 nexthop via 55.55.55.3 dev du weight 1 ... # route

Re: mpls-new and generate encap mpls route?

2016-06-22 Thread Jan Matejka
Hi! > currently i playing with mpls on linux and bird mpls-new branch, as i created > an test l3vpn i > haven't found a way to configure bird for creating encap mpls routes from > bird. MPLS Routes > are generated and successfully installed within the kernel. First of all, beware! We have rece

Re: New "channels" feature in future version of Bird?

2016-06-17 Thread Jan Matejka
Hi! First of all, thank your for your question. It's good to know that the rework is really watched by the community. > I am very curious about the new "channels" feature from the int-new > branch. > > I understand it is supposed to replace import and export filters by > connecting protocols to

Re: [PATCH] netlink: update struct msghdr

2016-05-10 Thread Jan Matejka
Hi Stijn, On 05/10/2016 03:45 PM, Stijn Tintel wrote: > The netlink code assumes an order for the members of struct msghdr. > This breaks recvmsg and sendmsg with musl libc on mips64. Fix this by > using designated initializers instead. > > Signed-off-by: Stijn Tintel Thank you for your patch. W

Re: Version 1.6.0

2016-05-02 Thread Jan Matejka
On 05/02/2016 12:12 PM, Ondrej Zajicek wrote: > On Mon, May 02, 2016 at 10:44:28AM +0200, Jan Matejka wrote: >>> In function 'strncpy', >>> inlined from 'rip_fill_authentication.isra.9' at >>> ../../../proto/rip/packets.c:215:5: >

Re: Version 1.6.0

2016-05-02 Thread Jan Matejka
On 04/30/2016 01:08 PM, Vladimir Lettiev wrote: > On Fri, Apr 29, 2016 at 06:35:33PM +0200, Ondrej Filip wrote: >> Dear Bird users, >> the long expected version is out: >> >> Version 1.6.0 (2016-04-29) >> o Major RIP protocol redesign > > Looks like the same issue with -D_FORTIFY_SOURCE=2 raised

Re: RFC 5549

2016-04-21 Thread Jan Matejka
Hi, Bird doesn't support it as it can't handle IPv4 and IPv6 in one binary together. This will be possible in the integrated version. I do not promise anything more about rfc5549 than it will be possible to implement it then. MQ On 04/21/2016 12:04 PM, Łukasz Trąbiński wrote: > Hi > > I can’t f

Re: iBGP unreachable

2016-04-11 Thread Jan Matejka
On 04/11/2016 05:13 PM, Panda RoboLegs wrote: > Hello, > I am new to Bird and I am trying to set up a Looking-Glass. > > I have configured a iBGP-Session with a route-reflector to gather the > needed routes. > > When I do a "show route". Every route I got via BGP is unreachable. Is your IGP tabl

Re: bird-1.5.0 ipv4 segfaults on configure - is it safe to change bgp protocol names runtime?

2016-03-19 Thread Jan Matejka
On 03/18/2016 10:28 AM, Bartosz Radwan wrote: > On 18.03.2016 10:07, Jan Matejka wrote: >> Can you please send in a reduced config set that still causes this bug? >> I'd like to reproduce it locally and fix it thereafter. >> >> Thanks a lot. > Minimal confi

Re: bird-1.5.0 ipv4 segfaults on configure - is it safe to change bgp protocol names runtime?

2016-03-19 Thread Jan Matejka
Hi! On 03/18/2016 08:36 AM, Bartosz Radwan wrote: > Hi bird users, > > General question is: is it safe to change bgp protocol name runtime? It generally should be; I just assume that Bird doesn't know about rename. Therefore, after configure, it just kills the old BGP and starts a new instance o

Re: bird-1.5.0 ipv4 segfaults on configure - is it safe to change bgp protocol names runtime?

2016-03-19 Thread Jan Matejka
On 03/18/2016 10:44 AM, Jan Matejka wrote: > On 03/18/2016 10:28 AM, Bartosz Radwan wrote: >> On 18.03.2016 10:07, Jan Matejka wrote: >>> Can you please send in a reduced config set that still causes this bug? >>> I'd like to reproduce it locally and fix it

Re: AW: BIRD crashes with 1000 peers

2016-03-11 Thread Jan Matejka
On 03/07/2016 11:33 AM, Ondrej Filip wrote: > On 7.3.2016 11:24, Stuart Henderson wrote: >> On 2016/03/07 09:38, Milan Strakoš wrote: >>> Hello Daniel, >>> >>> did you find any solution? >>> >>> Thanks, Milan >> >> Switching from select() to poll() would probably be a better idea here.. > > I agre

Re: Bird as an MPLS RR

2016-02-17 Thread Jan Matejka
Hi Matjaž, we're currently working on VPN address support in Bird's supported protocols, as well as MPLS routing. We partially reuse Alexander's code with lots of thanks for it. Due to the nature of those changes, it's virtually impossible to implement it in the 1.x branch but the 2.0 version