Re: Bird 2.0.0 memory leak

2017-12-15 Thread Jan Maria Matejka
Hi! On 12/15/2017 02:45 PM, Miłosz Oller wrote: > Hi > > After install bird 2.0.0 from sources, bird has memory leak. After running it > c.a. 15min daemon used ~24G of RAM. > > Compile options: ./configure --enable-client --enable-libssh > > Debian 9, kernel 4.9.69 Could you please send in

Re: Bird 2.0.0 -- unknown filter instructions

2017-12-17 Thread Jan Maria Matejka
Hello! On 12/16/2017 04:10 PM, Luis Ressel wrote: > I've been experimenting with bird 2.0.0 for a few days now. Apart from > the memory leak (which Ondrej's patch appears to fix), the most serious > issue I've run into is a spurious bird crash caused by the filter code. > Twice so far, bird died

Re: BGP filter

2018-04-27 Thread Jan Maria Matejka
On 04/25/2018 03:26 PM, Jan Maria Matejka wrote: > [...] > > On 04/25/2018 12:38 PM, Arvin Gan wrote: >> Thanks, I will try. > > We found out that it may coredump on reconfiguration as instruction > comparison happens > there and the format() instruction has no compar

Re: Debugging the RIP code

2018-05-21 Thread Jan Maria Matejka
Hello! Disclaimer: There is no sarcasm in this mail. It may look like sarcasm but I'm absolutely serious. > I would like to get more understanding about one simple routing protocol > (e.g. RIP) in BIRD by debugging the code step-by-step. However, I have > got stuck at configuring the first step

Re: Package repositories

2018-05-23 Thread Jan Maria Matejka
Hello! > On Wed, May 23, 2018 at 3:05 PM Ondrej Zajicek > wrote: > We plan to have some transition in packages to keep both 1.6 and 2.0 as > independent packages in repository without automatic update, similarly to > how

Re: BIRD - Config Support for RFC 3107 - Carrying Label Information in BGP

2018-06-14 Thread Jan Maria Matejka
There are switches in the code to drop MPLS labels when the kernel doesn't support it. If you run $ grep '^#define HAVE_MPLS_KERNEL' config.log (config.log is a product of ./configure) it should show that it is defined to 1. If not, try running ./configure to check whether it shows you Kernel

Re: BIRD router/route server functions

2018-06-11 Thread Jan Maria Matejka
Remove the old one, install the new one, shutdown the old one, run the new one. BIRD is simple. No docker images, no upgrade procedures. Maria On 06/11/2018 05:35 AM, Isaac HO wrote: > Could provide me the upgrade procedure? Thanks. > > Rae > > __  > > > 2018-06-06 14:10 GMT+08:00 Rae Ho

Re: route withdrawals are not sent upon protocol removal

2018-06-05 Thread Jan Maria Matejka
Hello! > Do you mean route withdrawals for routes received from that removed > protocol? > Send to other peers? This should not be an issue - when a protocol is > removed > or disabled, all its routes are removed and withdrawals should be sent to > other protocols. > >   > Yes,

Re: Flowspec Extended communities

2018-06-25 Thread Jan Maria Matejka
>> We are working on a way to specify flow actions in more user-friendly manner. > > That would be great but if it works it is ok :) Please check the show-route branch and give me some feedback. I think it is OK and working but we never had enough time to test it properly. Thank you in advance

Re: [PATCH] Makefile.in: Only set git version if .git directory exists

2018-05-03 Thread Jan Maria Matejka
Hi! On 05/02/2018 06:43 PM, Toke Høiland-Jørgensen wrote: > If Bird is compiled from a release tarball, but there is a git repository > somewhere in a parent directory, the Makefile git version logic will pick > up that version and use it as the Bird version, which is obviously not > desirable>

Re: Bird-2.0.0 uid 0: exited on signal 6 (core dumped)

2018-01-04 Thread Jan Maria Matejka
Hi David! On 01/04/2018 06:17 AM, David S. wrote: > I just installed Bird 2.0.0 on FreeBSD 10.4-STABLE #0 r326382 > I use source file from ftp://bird.network.cz/pub/bird/bird-2.0.0.tar.gz. > > Sometimes bird will be dead when I run "configure" in birdc and I found the > following error

Re: Compilation on FreeBSD 11.1

2018-01-09 Thread Jan Maria Matejka
Hello! >> I have FreeBSD XXX 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 >> 02:08:28 UTC 2017 r...@releng2.nyi.freebsd.org >> :/usr/obj/usr/src/sys/GENERIC amd64 >> >> I installed these packages: hs-readline gauche-readline >> >> But I

Re: Bird-2.0.0 uid 0: exited on signal 6 (core dumped)

2018-01-09 Thread Jan Maria Matejka
Hello all! On 01/04/2018 11:16 AM, Jan Maria Matejka wrote: > On 01/04/2018 06:17 AM, David S. wrote: >> I just installed Bird 2.0.0 on FreeBSD 10.4-STABLE #0 r326382 >> I use source file from ftp://bird.network.cz/pub/bird/bird-2.0.0.tar.gz. >> >> Sometimes b

Request for Comments: Filter behavior on undefined values

2018-01-09 Thread Jan Maria Matejka
Hello all! There are many cases when the filter reads an undefined route attribute. We have several variants how to behave then, all of them have their pros and cons. The current behavior is inconsistent and sometimes strange. Variants we thought about when an undefined attribute is to be

Re: Kernel Protocol not supports IPv4 and IPv6 channels in one protocol instance

2018-02-12 Thread Jan Maria Matejka
Hello! On 02/11/2018 02:22 PM, Michael Rack wrote: > Hi Guys, > > can anyone explain why the KENREL-Protocol does not support IPv4 and > IPv6 Channels in one instance? BGP, OSPF and so on also supports that, > what is so special on KERNEL that this is not supported? That makes a > huge

Re: how to specify pid file ? (for newsyslog)

2018-02-15 Thread Jan Maria Matejka
On 02/15/2018 06:56 AM, Илья Шипицин wrote: > hi, > > on freebsd I need to specify pid file in order to send a signal to rotate log: > > /etc/newsyslog.conf: > > /var/log/bird.log 600 7 100 @0101T JC > /var/run/bird.pid SIGHUP > ... > > > is there a way to write

Re: Cannot block flows with BGP FlowSpec

2018-02-20 Thread Jan Maria Matejka
Hello! On 02/20/2018 12:08 PM, Giorgos Dimopoulos wrote: > I'm using ExaBGP to send FlowSpec rules to BIRD. BIRD correctly lists the > received rules when running 'show route table flowtab4' but the respective > flows are not affected (i.e. drop traffic to a destination prefix). > > Is this

Re: vpn6-mpls routes on BIRD 2

2018-08-24 Thread Jan Maria Matejka
I suspect you are missing the "extended next hop" option in your BGP protocol config. Thanks Maria On 08/24/2018 07:02 PM, Chris Herdt wrote: > When I run bird in debug mode, I do see a lot of messages about missing next > hop: > > bird: peer1: Missing next hop address > bird: peer1: Invalid

Re: feature query

2018-03-07 Thread Jan Maria Matejka
Hello! > I work for a satellite operator and we are looking for a vrouter that > integrates with VPP. > > We are looking for the following functionalities: > > 1)full VRF support not VRF LITE Don't exactly know what you mean with this. If speaking the Cisco way, the router daemon supports

Re: Cannot connect two ospf-instances over tun-interface

2018-04-04 Thread Jan Maria Matejka
Hmmm ... will try it on my own network some time this week. If I don't send any report until Monday (April 9th), please ping me. M. On 04/04/2018 11:35 AM, dawid k wrote: > > > 2018-04-04 10:59 GMT+02:00 Jan Maria Matejka <jan.mate...@nic.cz > <mailto:jan.mate...@nic.cz

Re: BGP filter

2018-04-25 Thread Jan Maria Matejka
Hi! > 1.   bird>show route filter {if format(net) = "0.0.0.0/0" then accept;}   > //correct result > > /* show route filter {if net = "0.0.0.0/0" then accept;}  // incorrect result >  */ compare net = 0.0.0.0/0 – the "0.0.0.0/0" is a string literal, the 0.0.0.0/0 is a prefix literal. >

Re: BGP filter

2018-04-25 Thread Jan Maria Matejka
>> 2.   config-file: >> >>   filter filter_bgp1{ >> >>  if format(net) = "0.0.0.0/0" then accept;  // “format(net) >> = …” , bird coredump ??? >> >>  /* if net = "0.0.0.0/0" then accept;  // “ net= …” ,  not >> bird coredump*/ >> >> }

Re: BGP filter

2018-04-25 Thread Jan Maria Matejka
[...] On 04/25/2018 12:38 PM, Arvin Gan wrote: > Thanks, I will try. We found out that it may coredump on reconfiguration as instruction comparison happens there and the format() instruction has no comparator. Please look into your log, there should be something like >>Bug: Unknown

Re: Can't Log information about a double

2018-04-04 Thread Jan Maria Matejka
Yes, there is a branch named 'show-route'. Quite old. Updated now to current int-new, it builds but may be highly unstable. Sorry for misleading hints. M. On 04/03/2018 05:54 PM, Mattia Milani wrote: > I didn't find any branch with "flowspec" in the name :( did you find > something?  > >

Re: Cannot connect two ospf-instances over tun-interface

2018-04-04 Thread Jan Maria Matejka
Hello, please could you enable 'debug all' for the ospf protocol at server? It should tell you whether it receives the packets and what is it doing with them. OpenVPN in TUN mode does quite strange things with routing. Have you tried routing by static routes first (to see whether it works or

Re: MPLS Support Question

2018-03-19 Thread Jan Maria Matejka
On 03/19/2018 03:12 PM, t a wrote: > We use BIRD in our production network and are considering rolling out a > work-around to partially support MPLS functionality.  However, before > doing so we were wondering what the timeline is for adding > additional support for MPLS label support on v2.0+.

Re: constant not available everywhere and passing variables from protocols

2018-03-21 Thread Jan Maria Matejka
On 03/21/2018 10:00 AM, Saku Ytti wrote: > My config: > > define local_ip = 129.250.14.127; > define default_candidate_net = 129.250.0.0/16; > define default_candidate_ip = 129.250.0.0; > define default_net = 0.0.0.0/0; > include "common.conf"; > > protocol static { >

Re: constant not available everywhere and passing variables from protocols

2018-03-21 Thread Jan Maria Matejka
> Are there considerations in future to pass bgp_neighbour object to > filter, to discriminate on neighbor address, ifname, asn, etc? JunOS > allows this. This would allow me to keep single 'define backup_int = > "XYZ". On ingress I'd match against protocol, on egress I'd match > against

Re: bird systemd startup init debian

2018-03-06 Thread Jan Maria Matejka
> root@rs1f:/etc/bird# systemctl status bird.service [...] > Process: 510 ExecStartPre=/usr/sbin/bird -p (code=exited, status=1/FAILURE) Here is the problem, this command failed. > root@rs1f:/etc/init# cat /lib/systemd/system/bird.service [...] > ExecStartPre=/usr/sbin/bird -p Here it