Re: Problem with ECMP

2018-04-02 Thread Ondrej Zajicek
On Mon, Apr 02, 2018 at 04:11:32PM -0300, André Carlim wrote: > I'm trying to use ECMP, but without success, I'll leave my conf below, does > anyone know where I'm going wrong? > > Q. I have two routers announcing the default route for this "client". See 'merge external' OSPF option. -- Elen

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

2018-03-29 Thread Ondrej Zajicek
On Thu, Mar 29, 2018 at 03:02:52PM +0200, dawid k wrote: > Here my configuration (client): > > ifconfig tun0: > tun0 Link encap:UNSPEC HWaddr > 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 > inet addr:10.29.0.10 P-t-P:10.29.0.9 Mask:255.255.255.255 > > bird_ospf.conf

Re: BIRD 1.6.3 + ROA crashing issue

2018-03-22 Thread Ondrej Zajicek
On Wed, Mar 21, 2018 at 04:29:13PM +0200, Javor Kliachev wrote: > Hi, > > Thank you very much for the fast response. > > The patch has completely fixed the issue! > > One more question about the ROA: > > Is it possible to use roa_check() into another function and first parameter > of the

Re: BIRD 2.0.2 and 1.6.4

2018-03-22 Thread Ondrej Zajicek
On Thu, Mar 22, 2018 at 01:36:55PM +0100, Ondrej Filip wrote: > Dear BIRD users, > we just released two new versions - 1.6.4 and 2.0.2. There is an > important security bugfix in both. Upgrade is highly recommended. Note that the security issue is limited to DoS (crash) triggerable from birdc

Re: OSPF over OpenVPN

2018-03-22 Thread Ondrej Zajicek
On Wed, Mar 21, 2018 at 05:38:33PM -0600, Michael McConnell wrote: > Thank you very much, it looks like that is the issue on the client side of > the VPN connection. "show interfaces” returns nothing, which seems odd… Do you have protocol 'device' in BIRD config? BTW, you do not need

Re: BIRD 1.6.3 + ROA crashing issue

2018-03-21 Thread Ondrej Zajicek
On Wed, Mar 21, 2018 at 12:45:54PM +0200, Javor Kliachev wrote: > Hello, > > We have been using BIRD 1.6.3 on Ubuntu 16.04 as Route Server for a long > time. > > Recently we decided to implement a ROA check filtration but we're > experiencing the daemon is crashing whenever > removing roa table

Re: [BGP] add atribute explanation

2018-03-16 Thread Ondrej Zajicek
On Wed, Mar 14, 2018 at 10:16:15PM +0100, Mattia Milani wrote: > Hello all, i want to add an atribute to bgp protocol in the update message. > > i already added it to the file attrs.c in bgp_attr_table[]. > > now i want to add this atribute to update message before send it, i read > the

Re: Authentication in OSPFv3

2018-03-16 Thread Ondrej Zajicek
On Fri, Mar 16, 2018 at 01:58:33AM +, Derek Pan wrote: > Hi Job and Stuart, > > Thanks for your reply. > > I know the ospfv3 authentication relies on IPsec. > But I'm still a little confused with the words: > "The default cryptographic algorithm for OSPFv2 keys is Keyed-MD5 and for >

Re: BGP Listen Port

2018-03-09 Thread Ondrej Zajicek
On Sat, Mar 10, 2018 at 12:28:23AM +, Joshua McQuistan wrote: > Hello, > > From BIRD 2.0.0 I can see that the "listen bgp" command has been replaced > with "strict bind". However this means that BIRD can no longer listen on a > specific port. > > This is something I am using with 1.6.3 to

Re: [PATCH] babel: Use acknowledged retractions when losing a prefix

2018-03-09 Thread Ondrej Zajicek
On Thu, Mar 08, 2018 at 10:25:56PM +0100, Toke Høiland-Jørgensen wrote: > > This patch implements the above behaviour. It adds a generic facility to > > the Babel protocol which allows for sending sequences of acknowledgement > > requests to a number of neighbours, and executing a callback

Re: OSPF in VRF

2018-03-09 Thread Ondrej Zajicek
On Fri, Mar 09, 2018 at 10:02:08AM +, Ticlea Alexandru wrote: > Indeed, with 4.15 it worksIn my former kernel 4.9, the > net.ipv4.tcp_l3mdev_accept was missing. > That's the cause or 4.15 has another vrf implementation? The Linux kernel VRF implementation was implemented by several

Re: Bird2: BGP password & setkey

2018-03-08 Thread Ondrej Zajicek
On Thu, Mar 08, 2018 at 10:02:32PM +, Leo Vandewoestijne wrote: > Hello, > > > The setkey option caught my attention when reading the 2.x manual... > > I'm using FreeBSD 11.1 and was trying to have Bird manage the IPSEC (MD5 > checksum), > which I've succesfully done already in OpenBGPd

Re: OSPF in VRF

2018-03-08 Thread Ondrej Zajicek
On Thu, Mar 08, 2018 at 09:55:03PM +, Ticlea Alexandru wrote: > Hello > Is possible to run ospf instance over an interface which is part of an VRF?I > make a config but I see I see no package from local instance on VRF > interfaceThe log shows the Hello package are sent out using physical

Re: [bird2]: babel compile bug?

2018-03-07 Thread Ondrej Zajicek
On Mon, Mar 05, 2018 at 11:58:49AM +0100, Toke Høiland-Jørgensen wrote: > Leo Vandewoestijne writes: > > > Was I trieng something impossible, or is this an error? > > Is RIP a dependency for Babel? > > It shouldn't be, but it seems I may have missed a keyword in the Babel >

Re: Bgp 4 peer problems, 2 peer stay in connect

2018-03-07 Thread Ondrej Zajicek
On Wed, Mar 07, 2018 at 04:45:55PM +0100, Mattia Milani wrote: > yeah they are a /8, so bird doesn't support /8? > now i'll try to modify them. > > but sorry, why bird doesn't support /8? BIRD of course supports /8 (and any other prefix lengths), but your network setup have more networks with

Re: BGP Monitoring Protocol (BMP) support in Bird?

2018-03-07 Thread Ondrej Zajicek
On Mon, Mar 05, 2018 at 02:02:06PM +0200, Ori Finkelman wrote: > Hi again, > Any chance anyone knows if BMP is on the roadmap and time frame ? Well, it is something we want to implement, but i cannot say specific time frame. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email:

Re: Bgp 4 peer problems, 2 peer stay in connect

2018-03-07 Thread Ondrej Zajicek
On Tue, Mar 06, 2018 at 05:49:02PM +0100, Mattia Milani wrote: > Hello everyone, I'm writing you because i have a problem with the > implementation of BGP on 4 peer in 4 different AS in line. > I use bird 2.0.1, and the four peer is virtualized on my pc > The 4 peer is in this form > > AS2

Re: Export to kernel table - no gateway

2018-03-07 Thread Ondrej Zajicek
On Wed, Mar 07, 2018 at 03:31:23PM +, Tom Funken wrote: > I know :D > Already used this setup before some times. > > But since around a week, I'm not able to use it. > As soon as I use this as a filter/import rule, everything will be > filtered/nothing imported. > > Is there any know bug

Re: How do I configure BIRD to support multiple Linux kernel routing tables?

2018-03-07 Thread Ondrej Zajicek
On Sun, Feb 25, 2018 at 11:51:26AM -0700, Grant Taylor wrote: > I think the key that I was missing was the "table deftab;" outside of > "protocol kernel". > > I also needed to remove the "main" and "default" from the "protocol kernel" > lines. > > And the apparent table name limitation got me.

Re: Export to kernel table - no gateway

2018-03-07 Thread Ondrej Zajicek
On Sun, Feb 25, 2018 at 08:40:54PM +, Tom Funken wrote: > > Hey, > > is there a way to define the gateway when export to the kernel table? > I've seen some others using "filter { gw = 10.0.0.0; accept; }" on the > import. But, when I do it, it will filter all import routes and non of them

Re: bird systemd startup init debian

2018-03-07 Thread Ondrej Zajicek
On Tue, Mar 06, 2018 at 12:26:02PM +0100, Toke Høiland-Jørgensen wrote: > Rob Lister writes: > > > root@rs1f:/etc/bird# service bird start > > Job for bird.service failed because the control process exited with > > error code. > > See "systemctl status bird.service" and

Re: Support for dual AS and AS migration

2018-03-07 Thread Ondrej Zajicek
On Mon, Mar 05, 2018 at 07:22:22AM +0100, Tore Anderson wrote: > * Lennert Buytenhek > > > Somewhat related to this, I wrote this patchset last year: > > > > > > http://trubka.network.cz/pipermail/bird-users/2017-March/thread.html#11084 > > > > The idea was to let

Re: Bug: BFD confuses sessions with identical IPv6 link-local addresses

2018-03-07 Thread Ondrej Zajicek
On Sun, Mar 04, 2018 at 07:50:13PM +0100, Julian Brost wrote: > Hi, > > I just tried to enable BFD for some OSPF and BGP connections and ran > into an issue which BFD sessions flapping up and down and Bird logging > many messages like these: > > bfd1: Bad packet from fe80::2 - unknown session

Re: route filter by bgp_path

2018-02-26 Thread Ondrej Zajicek
On Mon, Feb 26, 2018 at 01:44:55PM +0800, 彭勇 wrote: > i would like to filter route which last as is 4134 or the second last > AS is 4134. > > the following command only show second last AS is 4134: > > show route where (bgp_path ~ [= * 4134 ? =] > > > how can i do it? I don't think this could

Re: Advertise loopback IP into BGP - BIRD 2.0.1

2018-02-26 Thread Ondrej Zajicek
On Mon, Feb 26, 2018 at 10:04:59PM +, LAKSHMANAN, THIRUVAZHIYA wrote: > Hi, > Can you please help me on this? > > On Mon, Feb 26, 2018 at 09:25:43PM +, LAKSHMANAN, THIRUVAZHIYA wrote: > > Hi team, > > I am trying to a Proof of Concept of BIRD agent version 2.0.1 in our lab. > > The

Re: several issues migrating to bird 2.0.1

2018-02-26 Thread Ondrej Zajicek
On Mon, Feb 26, 2018 at 10:39:02PM +0100, Bjoern Franke wrote: > >> 2. without "kernel table", I get bird started, but it rejects configured > >> BGP connections: > >> HE: Incoming connection from 2001:7f8:33::a100:6939:1 (port 8002) rejected > >> Config for HE: > > > > This message means that

Re: several issues migrating to bird 2.0.1

2018-02-26 Thread Ondrej Zajicek
On Mon, Feb 26, 2018 at 08:03:33PM +0100, Bjoern Franke wrote: > Hi, > > I'm trying to transition a config from 1.6.3 to 2.0.1. > > 1. What's the pendant to > > protocol kernel { > kernel table 42; > scan time 45; > [...] > } > > "kernel table" produces a syntax error. Hi No idea,

Re: How do I configure BIRD to support multiple Linux kernel routing tables?

2018-02-25 Thread Ondrej Zajicek
On Sat, Feb 24, 2018 at 09:03:28PM -0700, Grant Taylor wrote: > Pre Script: I'm a BIRD n00b > > How do I configure BIRD to support multiple Linux kernel routing tables? > > I have found and tried a few different things on the web, but none seem to > be doing what I want. > > I want to export

Re: Support for dual AS and AS migration

2018-02-18 Thread Ondrej Zajicek
On Sun, Feb 18, 2018 at 05:00:36PM +, Adam Król wrote: > Is there any description how does AS path look like in that kind of > configuration? > > Let's consider that scheme: > > PEER A<-> ISP (bird - one instance) <-> > PEER B > AS 65499 <->

Re: Howto bind BGP to single interface?

2018-02-14 Thread Ondrej Zajicek
On Wed, Feb 14, 2018 at 01:20:59PM -0500, Michael Wayne wrote: > Trying to determine what is wrong with "strict bind yes;" under "protocol > bgp". The docs suggest that my syntax is correct. > > protocol bgp vultr { > local as 1234; > source address 111.22.33.44; > #

Re: bird2: Symbolic constants for bgp_origin don't work

2018-02-13 Thread Ondrej Zajicek
On Mon, Feb 12, 2018 at 03:54:09AM +0100, Luis Ressel wrote: > Hello, > > According to the docs, the bgp_origin route attribute can have the > values ORIGIN_IGP, ORIGIN_EGP and ORIGIN_INCOMPLETE. However, filter > conditions such as "bgp_origin = ORIGIN_IGP" don't appear to match > anything.

Re: [PATCH] Add cscope Makefile target

2018-02-13 Thread Ondrej Zajicek
On Tue, Feb 06, 2018 at 08:51:31PM +0100, Toke Høiland-Jørgensen wrote: > For those who prefer cscope to etags Thanks, merged. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To

Re: [PATCH v3] babel: Add source-specific routing support

2018-02-13 Thread Ondrej Zajicek
On Tue, Feb 06, 2018 at 08:46:22PM +0100, Toke Høiland-Jørgensen wrote: > This adds support for source-specific routing to the babel protocol. It > changes the protocol to support both NET_IP6 and NET_IP6_SADR channels > for IPv6 addresses, preferring the NET_IP6_SADR channel. If only a > NET_IP6

Re: [PATCH] babel: Fix accidental bitwise or assignment

2018-02-13 Thread Ondrej Zajicek
On Sun, Feb 11, 2018 at 06:43:03PM +0100, Toke Høiland-Jørgensen wrote: > Fix an accidental bitwise or assignment that was supposed to be a > comparison. Thanks, merged. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted e-mails

Re: Bird 1.6.3 filters breaking down on reconfigure.

2018-02-08 Thread Ondrej Zajicek
On Wed, Feb 07, 2018 at 09:20:50PM +0100, Pavlos Parissis wrote: > On 06/02/2018 04:30 μμ, Ondrej Zajicek wrote: > > On Mon, Feb 05, 2018 at 11:05:05PM +0100, Roelf "rewbycraft" Wichertjes > > wrote: > >> Hello everyone, > >> > >> I am experi

Re: bird 1.6.3 crashes on configure

2018-02-08 Thread Ondrej Zajicek
On Wed, Feb 07, 2018 at 03:57:26PM +0100, Alarig Le Lay wrote: > Hi, > > I run a bird daemon on a 11.1-RELEASE FreeBSD. > If I try to reload the configuration (even without modifying it), the > daemon crashes. > ... > Is it possible to release 1.6.4 or something like that in order to ask > the

Re: Crash on reconfigure with kernel table

2018-02-07 Thread Ondrej Zajicek
On Wed, Feb 07, 2018 at 09:22:49AM +0100, Toke Høiland-Jørgensen wrote: > Ondrej Zajicek <santi...@crfreenet.org> writes: > > > On Tue, Feb 06, 2018 at 08:50:52PM +0100, Toke Høiland-Jørgensen wrote: > >> While testing the babel sadr patch, I ran into this crash on rec

Re: Crash on reconfigure with kernel table

2018-02-06 Thread Ondrej Zajicek
On Tue, Feb 06, 2018 at 08:50:52PM +0100, Toke Høiland-Jørgensen wrote: > While testing the babel sadr patch, I ran into this crash on reconfigure > of the kernel protocol: Hi Likely it is reconfiguration of table tab1 (changing net type) that does not work. You could try to rename it during net

Re: [PATCH 1/2] Add IP6_SADR support to Bird Core

2018-02-06 Thread Ondrej Zajicek
On Tue, Feb 06, 2018 at 05:20:25PM +0100, Toke Høiland-Jørgensen wrote: > It's mandatory, otherwise you can get routing loops. See > https://tools.ietf.org/html/draft-ietf-babel-source-specific-03#section-6 > > I figure the packet parser needs to be aware of whether it is configured > to support

Re: [PATCH 1/2] Add IP6_SADR support to Bird Core

2018-02-06 Thread Ondrej Zajicek
On Tue, Feb 06, 2018 at 04:57:43PM +0100, Toke Høiland-Jørgensen wrote: > What, we have to be nice to the users now? ;) > > Fair enough, I'll add support for both types of channels. Should it be > possible to connect the same instance to both an ipv6 and and ipv6_sadr > channel type, or is it OK

Re: [PATCH 1/2] Add IP6_SADR support to Bird Core

2018-02-06 Thread Ondrej Zajicek
On Tue, Feb 06, 2018 at 04:38:59PM +0100, Toke Høiland-Jørgensen wrote: > > I did not check 2/2 yet, but i think it should support both regular > > ipv6 and ipv6 SADR channels/tables, not just the SADR ones. > > Hmm, well, my assumption was that since sadr tables can hold normal ipv6 > routes as

Re: bird 2.0.1: SIGSEGV in nexthop_size

2018-02-06 Thread Ondrej Zajicek
rfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so." commit 28b3b551222ab58456a067a9be4790824cdbb60e Author: Ondrej Zajicek (work) <santi...@crfreenet.org> Date: Tue Feb 6 16:08:45 2018

Re: Bird 1.6.3 filters breaking down on reconfigure.

2018-02-06 Thread Ondrej Zajicek
On Mon, Feb 05, 2018 at 11:05:05PM +0100, Roelf "rewbycraft" Wichertjes wrote: > Hello everyone, > > I am experiencing a problem where upon issuing "birdc configure" (or "birdc6 > configure") some strange things happen. > ... > A lot of these issues sound like bird simply not properly re-applying

Re: [PATCH 1/2] Add IP6_SADR support to Bird Core

2018-02-06 Thread Ondrej Zajicek
On Mon, Feb 05, 2018 at 03:33:25PM +0100, Toke Høiland-Jørgensen wrote: > Will fix and resubmit. What about the issue with 'learn'? :) Fixed in 28b3b551222ab58456a067a9be4790824cdbb60e -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted

Re: [PATCH 1/2] Add IP6_SADR support to Bird Core

2018-02-05 Thread Ondrej Zajicek
On Mon, Feb 05, 2018 at 03:08:51PM +0100, Ondrej Zajicek wrote: > "ipv4 sadr" to be consistent with table keywords? Should be "ipv6 sadr" instead of "ipv4 sadr". -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org) Op

Re: [PATCH 1/2] Add IP6_SADR support to Bird Core

2018-02-05 Thread Ondrej Zajicek
On Sat, Feb 03, 2018 at 09:40:56PM +0100, Toke Høiland-Jørgensen wrote: > This adds support for source-specific IPv6 routes to Bird core. This is > based on Dean Luga's original patch, with the review comments addressed. > Sadr support is added to network address parsing in confbase.Y and to > the

Re: [PATCH 1/2] Add IP6_SADR support to Bird Core

2018-02-04 Thread Ondrej Zajicek
On Sat, Feb 03, 2018 at 09:40:56PM +0100, Toke Høiland-Jørgensen wrote: > This adds support for source-specific IPv6 routes to Bird core. This is > based on Dean Luga's original patch, with the review comments addressed. > Sadr support is added to network address parsing in confbase.Y and to > the

Re: Bird 2.0.1/ RR VPNv6 Issue

2018-02-01 Thread Ondrej Zajicek
On Thu, Feb 01, 2018 at 03:49:44PM +, Gilles Friang wrote: > Hello, > > I am testing Bird 2.0.1 as a RR in order to replace very old Cisco Hardware > RR. > > Everything was fine until I tried VPNv6 RR. Bird seems to ignore all vpnv6 > routes: >

Re: Bird 1.6.3 removing IPv6 device routes on Linux (3.10.0)

2018-02-01 Thread Ondrej Zajicek
On Wed, Jan 31, 2018 at 02:06:22PM +, Ben Arblaster wrote: > Hi, > > I’m seeing an issue with bird 1.6.3 where IPv6 device routes are unexpectedly > removed from the kernel table on Linux (3.10.0, CentOS 7) when bird removes a > matching route learned via another protocol (in this case

Re: bird 2.0.1: SIGSEGV in nexthop_size

2018-01-29 Thread Ondrej Zajicek
On Sun, Jan 28, 2018 at 06:39:46PM +0100, Svenne Krap wrote: > Ok, I send you the files privately. > > Svenne Hi The first attached patch (fix-nexthop.patch) should fix the crash. But seems like there are some strange factors in your setup that triggered the issue: jan 28 14:59:29 R1

Re: bird 2.0.1: SIGSEGV in nexthop_size

2018-01-28 Thread Ondrej Zajicek
On Sun, Jan 28, 2018 at 03:43:19PM +0100, Svenne Krap wrote: > While trying to setup bird on a new multi-host setup on Arch Linux. > > We have two routers with two (diverse) directs paths using a /31 (so > please ignore the missing broadcast warnings).. > > At this point we try to get both IPV4

Re: Making a wish ... errr ... *four* wishes! 

2018-01-24 Thread Ondrej Zajicek
On Wed, Jan 24, 2018 at 09:15:36AM +0100, Clemens Schrimpe wrote: > Gentlepeople (especially those from the BIRD development team) - > > being an avid BIRD user for some time now I always kept a small list of > „it would be nice, if …“-things for BIRD 1.x, which I kept for myself, as > I knew

Re: [PATCH] Unix IO: Set socket priority after setting family specific options

2018-01-23 Thread Ondrej Zajicek
On Mon, Jan 22, 2018 at 10:52:05AM +0100, Vincent Bernat wrote: > From: Vincent Bernat > > On Linux, setting the ToS will also set the priority and the range of > accepted values is quite limited (masked by 0x1e). Therefore, 0xc0 is > translated to a priority of 0, not

Re: IPv6 multipath static routes with different weights and BFD supervision

2018-01-23 Thread Ondrej Zajicek
On Mon, Jan 22, 2018 at 03:39:06PM +, ?? ?? wrote: > Hi BIRD experts, > I face some problems on static routes on IPv6. I try to configure multipath > static routes that are supervised with BFD. I use the following conf: > route multipath > via weight 10 bfd > via

Re: BIRD 2.0.1 Segmentation fault when configured with merge paths

2018-01-23 Thread Ondrej Zajicek
} Hello Attached patch should fix it. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so." commit ace3072e0

Re: Community for small IX - problem with 4B ASN

2018-01-22 Thread Ondrej Zajicek
On Mon, Jan 22, 2018 at 02:00:27PM +0100, Piotr Marciniak wrote: > Dear Advisors ;], > > Thank you for all posts. But still I do not know how to make Bird working > with 4B communities and if I may do this - whether it will be accepted for > our peers? In short - I do not know how to adapt to 4B

Re: BIRD 2.0.1 Segmentation fault when configured with merge paths

2018-01-19 Thread Ondrej Zajicek
On Fri, Jan 19, 2018 at 04:22:24PM +0200, Petko Bordjukov wrote: > Hello, > > Example config file that causes the SEGFAULT: > > router id 192.168.1.1; > > protocol kernel { > merge paths; > ipv6 { > export all; > }; > } > > I am able to provide core dump

Re: Set SRC PREF for routes when injecting routes to kernel

2018-01-15 Thread Ondrej Zajicek
On Mon, Jan 15, 2018 at 03:00:52PM +0100, Olda Plchot wrote: > Hi everybody, > I am wondering what is the state of krt_prefsrc or something similar that > would work in FreeBSD? I was experimenting with this some time ago and I > ended up having to do NAT on the inner address for the router to

Re: Multiple FIBs on FreeBSD

2018-01-10 Thread Ondrej Zajicek
On Sat, Jan 06, 2018 at 05:47:09PM -0500, Azerty32 wrote: > Hello, > > I found one older topic about multiple FIBs on FreeBSD ( > http://bird.network.cz/pipermail/bird-users/2013-July/003731.html ). Which > status is now about this? BIRD must be running inside Fib0? Hello AFAIK, BIRD should

Re: Request for Comments: Filter behavior on undefined values

2018-01-09 Thread Ondrej Zajicek
On Tue, Jan 09, 2018 at 06:42:23PM +0100, Martin Mares wrote: > Hello! > > > Variants we thought about when an undefined attribute is to be read: > > > > 1 the filter fails with an error. > > 2 the value is set to default (zero or whatever) and then used > > 3 it is propagated as undefined

Re: System freezes with Bird running on FreeBSD 11.1

2018-01-03 Thread Ondrej Zajicek
On Wed, Jan 03, 2018 at 11:30:48AM -0200, Clistenes Viana wrote: > Hello Guys, > > Let me do a question about bird 1.6.3 to see if you can help me on > this, we are trying to running it in a server with freebsd 11.1, but > the system freeze every 20 seconds, looking for the logs we found some >

Re: BGP_Next_Hop link local

2018-01-02 Thread Ondrej Zajicek
On Tue, Jan 02, 2018 at 10:34:29AM +0100, Claude Tompers wrote: > Hello, > > I'm trying to build a setup which includes changing the > bgp_next_hop of the bgp announcements. In IPv6 I would like to include > both global and link local addresses of the changed next hop, however > I'm struggeling

Re: Community for small IX

2017-12-28 Thread Ondrej Zajicek
On Thu, Dec 28, 2017 at 05:41:44PM +0100, Piotr Marciniak wrote: > Hello, > > We are running a small IX for around 20 members. A few months ago we moved on > Bird and actually I am trying to add some standard communities to prepend or > stop annoucing own prefixes to other members but can’t

Re: BIRD v2.0.0-11-gc36a298 segmentation fault

2017-12-27 Thread Ondrej Zajicek
On Wed, Dec 27, 2017 at 06:20:44PM +0100, Clemens Schrimpe wrote: > The fix came from Ondrej Zajicek, who also -I think- put it back upstream?! No, that fix is just workaround, i did not make yet a proper fix for the upstream. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (em

Re: The newest version of bird 2.0.

2017-12-27 Thread Ondrej Zajicek
On Tue, Dec 26, 2017 at 11:09:20AM +0100, Ondrej Zajicek wrote: > On Tue, Dec 26, 2017 at 10:08:39AM +0100, Mike Neo wrote: > > Hi, > > > > please tell me where can I download the newest version of bird 2.0 with > > patch? > > Hi > > The current 2.0.0 so

Re: The newest version of bird 2.0.

2017-12-26 Thread Ondrej Zajicek
On Tue, Dec 26, 2017 at 10:08:39AM +0100, Mike Neo wrote: > Hi, > > please tell me where can I download the newest version of bird 2.0 with > patch? Hi The current 2.0.0 source with all patches can be downloaded from GIT: git://git.nic.cz/bird.git branch 'int-new'. -- Elen sila lumenn'

Re: Bird Installation Guide

2017-12-23 Thread Ondrej Zajicek
On Fri, Dec 22, 2017 at 11:38:27AM +0530, Pardeep Sharma wrote: > Hi All, > > We are purposing L3 IXP design to one of our customer as below, where all > ISP routers will have one eBGP peering with Quagga/Bird Route-Server. As > we are new in IXPs design so would like to take your suggestions if

Re: bug in bird6 1.6.2 and 1.6.3

2017-12-23 Thread Ondrej Zajicek
On Fri, Dec 22, 2017 at 03:54:10PM +0300, Михаил Манерко wrote: > Hello. > > I'm using a bird6 1.6.3. > it runs ospfv3 and radv protocols on all interfaces of the system. Hello According to config, it runs OSPFv3 just on vlan7. Is that true? > Today I noticed that the launch of birdc6, causes

Re: Reacting to Link Failure

2017-12-23 Thread Ondrej Zajicek
On Fri, Dec 22, 2017 at 08:46:28AM -0500, Liam Kelly wrote: > Is there any way for other programs to listen for Bird events regarding Link > Failure (IE: OSPF/BFD dead neighbor)? > > Bird is great, but the modems and device drivers I am working with are > not. I can get some pretty odd ‘zombie’

Re: Protocol direct

2017-12-23 Thread Ondrej Zajicek
On Fri, Dec 22, 2017 at 08:41:30AM +0100, Daniel Czerwonk wrote: > > Miłosz Oller > > 22. December 2017 at 00:46 > > protocol direct { > > ipv4; > > ipv6; > > interface "*"; > > } > > > > And it doesn't announced any local prefix to upstream peers, only to >

Re: Bird 2.0.0 and reconfiguring

2017-12-20 Thread Ondrej Zajicek
On Wed, Dec 20, 2017 at 03:10:06PM +0100, Miłosz Oller wrote: > Hi > > Tell me please, why in one definition of protocol can be only one neighbor > and can be two channels. Because one protocol = one BGP session = one TCP connection = one neighbor IP address. But routes of multiple address

Re: vmtoolsd 100% CPU with bird6

2017-12-20 Thread Ondrej Zajicek
On Wed, Dec 20, 2017 at 12:25:18PM +, Andrea Verni wrote: > Hi guys, > > I noticed that the VM where I have deployed BIRD is having ~5 sec of 100% cpu > used by the "vmtoolsd". This started to happened since I introduced a IPv6 > peering (full table). > > I found a discussion where someone

Re: Bird 2.0 AS path prepending

2017-12-20 Thread Ondrej Zajicek
On Wed, Dec 20, 2017 at 06:11:42PM +0100, Daniel Czerwonk wrote: > Hello bird users, > > I just started to test bird 2.0 and converted the existing bird 1.6 > configuration to bird 2.0. I compiled bird 2.0.0 on my fedora test VM > and got it running. But when I use path prepending in BGP (the

Re: Bird 2.0 - vpnv4/vpnv6 configuration examples

2017-12-18 Thread Ondrej Zajicek
On Tue, Dec 19, 2017 at 01:20:38AM +, Efrain Martinez wrote: > Hello I'm looking for some configuration examples about VPN4 and VPN6 BGP > Peering. > > I'm testing the Bird2.0 version, but I've couldn't find how to enable the > session using VPN4 and VPN6 > The BGP Example posted in the

Re: Bird 2.0.0 and reconfiguring

2017-12-17 Thread Ondrej Zajicek
17.12.2017 o 03:26, Ondrej Zajicek pisze: > > > On Sat, Dec 16, 2017 at 04:25:50PM +0100, Miłosz Oller wrote: > > > Hi > > > > > > I fix it. Please tell me how I must define ipv6 session. There must be two > > > bgp protocols definitions? > > Hi > >

Re: Bird 2.0.0 and reconfiguring

2017-12-16 Thread Ondrej Zajicek
On Sat, Dec 16, 2017 at 04:25:50PM +0100, Miłosz Oller wrote: > Hi > > I fix it. Please tell me how I must define ipv6 session. There must be two > bgp protocols definitions? Hi That depends if yo want one BGP session with both ipv4 and ipv6 AFIs, or two independent BGP sessions, each for one

Re: Bird 2.0.0 and (filter) code deduplication

2017-12-16 Thread Ondrej Zajicek
On Sun, Dec 17, 2017 at 01:37:39AM +0100, Luis Ressel wrote: > Hello *, > > Could you please add a way to check the current channel's AFI/SAFI from > within filter code? That way, I could keep my bar() function unmodified > and merge the two foo() implementations using a 'if afi = "ipv4" then > {

Re: Bird 2.0.0 and reconfiguring

2017-12-16 Thread Ondrej Zajicek
On Sat, Dec 16, 2017 at 09:55:03AM +0100, Miłosz Oller wrote: > Hi > > Why bird restart all sessions when I type 'configuration soft' in birdc > after add one definition of protocol bgp? CPU usage is 100%, bird console > hang for 2-3mins. > > With version 1.6.3 bird doesn't restart all sessions.

Re: Bird 2.0.0 memory leak

2017-12-15 Thread Ondrej Zajicek
On Fri, Dec 15, 2017 at 03:42:03PM +, Rhys Williams wrote: > Hey, > > I am also seeing this memory leak on Ubuntu 16.04, kernel 4.10.0-36. > > The memory leak seems to occur when the scan timer lapses on the kernel > protocol leaking about the full tables worth of memory each time until >

Re: (unfortunately) more BIRD-2.0.0 woes ...

2017-12-15 Thread Ondrej Zajicek
On Fri, Dec 15, 2017 at 07:14:36PM +0100, Ondrej Zajicek wrote: > On Fri, Dec 15, 2017 at 05:59:09PM +0100, Clemens Schrimpe wrote: > > I forgot: > > > > 4. „dest = RTD_BLACKHOLE“ does appear to no longer be functioning as well … > > ;-( > > Works for me. How a

Re: (unfortunately) more BIRD-2.0.0 woes ...

2017-12-15 Thread Ondrej Zajicek
On Fri, Dec 15, 2017 at 05:59:09PM +0100, Clemens Schrimpe wrote: > I forgot: > > 4. „dest = RTD_BLACKHOLE“ does appear to no longer be functioning as well … > ;-( Works for me. How and where it does not work? -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email:

Re: Bird 2.0.0 memory leak

2017-12-15 Thread Ondrej Zajicek
On Fri, Dec 15, 2017 at 03:42:03PM +, Rhys Williams wrote: > Hey, > > I am also seeing this memory leak on Ubuntu 16.04, kernel 4.10.0-36. > > The memory leak seems to occur when the scan timer lapses on the kernel > protocol leaking about the full tables worth of memory each time until >

Re: (unfortunately) more BIRD-2.0.0 woes ...

2017-12-15 Thread Ondrej Zajicek
On Fri, Dec 15, 2017 at 05:56:09PM +0100, Clemens Schrimpe wrote: > Hello again - > > a couple of days ago I converted one of my test route-server setups from > „dual BIRD-1.6.3“ to „single BIRD-2.0.0“ by simply „merging“ bird6.conf and > bird.conf into a single (unified) new bird.conf - also

Re: birdc 2.0.0 crashes

2017-12-15 Thread Ondrej Zajicek
On Fri, Dec 15, 2017 at 04:16:31PM +0100, Clemens Schrimpe wrote: > > Could you try to build bird/birdc (without any patches i sent before) using: > > > > make CLIENT_LIBS="-lreadline -ltinfo" > > > > ? > > And indeed, this fixes it and persistent history still works! > > PS: for your

Re: birdc 2.0.0 crashes

2017-12-14 Thread Ondrej Zajicek
On Thu, Dec 14, 2017 at 04:50:20PM +0100, Clemens Schrimpe wrote: > > > On 14.12.2017, at 14:18, Ondrej Zajicek <santi...@crfreenet.org> wrote: > > > > What is output of ldd birdc for 1.6.3? > > # for 2.0.0 > newnoc:~/builds/bird-2.0.0# ldd birdc >

Re: birdc 2.0.0 crashes

2017-12-14 Thread Ondrej Zajicek
On Thu, Dec 14, 2017 at 04:48:37PM +0100, Clemens Schrimpe wrote: > > And "p history_offset"? Should be 0. > > Nope - it is 2: > > Program received signal SIGSEGV, Segmentation fault. > 0x779b6a0b in previous_history () at > /build/readline6-RKA9OI/readline6-6.3/history.c:185 > 185

Re: bird 2.0.0 issues

2017-12-14 Thread Ondrej Zajicek
On Thu, Dec 14, 2017 at 09:19:32PM +0200, Radu Anghel wrote: > On 14.12.2017 21:09, Ondrej Zajicek wrote: > Hi, > > I can confirm that keeping only one channel definition fixes both #1 and > #2. A check warning/rejecting this would be nice :) Hi Tested add-path between old and

Re: bird 2.0.0 issues

2017-12-14 Thread Ondrej Zajicek
On Thu, Dec 14, 2017 at 08:23:01PM +0200, Radu Anghel wrote: > Hello, > > I just installed bird 2.0.0 on a test machine to try it out and I have > some issues: > (CentOS 7 / kernel 4.14.5-1.el7.elrepo.x86_64) > > 1) the kernel protcol sees no routes (both ipv4 and ipv6) and doesn't > export any

Re: birdc 2.0.0 crashes

2017-12-14 Thread Ondrej Zajicek
On Wed, Dec 13, 2017 at 10:56:49PM +0100, Clemens Schrimpe wrote: > >> Yes, works fine. And it also appears to be read when I restart birdc, > >> because now I can crash it with ^P or ↑ without having typed a command > >> before. > >> (strace confirmed: .birdc_history is read successfully) > >

Re: birdc 2.0.0 crashes

2017-12-13 Thread Ondrej Zajicek
On Tue, Dec 12, 2017 at 04:52:42PM +0100, Clemens Schrimpe wrote: > > Note that .birdc_history is created during exit from birdc, not during > > start of birdc. Do you get .birdc_history if you use new birdc, do some > > commands and exit from it without crashing it? > > Yes, works fine. And it

Re: BIRD 2.0.0: RFC8097 extended communities and rpki-light

2017-12-13 Thread Ondrej Zajicek
0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so." commit d807ea087f8d60e25eaef8c10168a40ca6545c57 Author: Ondrej Zajicek (work) <santi...@crfreenet.org> Date: Wed Dec 13 15:57:44 2017 +0100 BGP: Fix non-transitive ext communities diff

Re: BIRD Error

2017-12-13 Thread Ondrej Zajicek
On Wed, Dec 13, 2017 at 04:43:12PM +0200, k.abda...@q-ab.com wrote: > I tried this but " reload " in birdc shell , Reload config just for > current running config file , there is no option for reconfig / Reload > different file You mixed up 'reload' command (which does something different)

Re: BIRD 2.0.0: RFC8097 extended communities and rpki-light

2017-12-12 Thread Ondrej Zajicek
On Tue, Dec 12, 2017 at 06:47:44PM +0100, Pier Carlo Chiodi wrote: > Hello, > > while I was running some tests on BIRD 2.0.0 I've noticed that the > handling of RFC8097 extended communities is different from 1.6.3. > The results I get follow: > > - when 1.6.3 is used on the route server, BIRD

Re: birdc 2.0.0 crashes

2017-12-12 Thread Ondrej Zajicek
On Tue, Dec 12, 2017 at 04:00:23PM +0100, Clemens Schrimpe wrote: > Hello all - > > I just compiled and installed BIRD 2.0.0 on a x86_64 Ubuntu 16.04.3 LTS (with > ZFS root) test-machine and (most) things look pretty dandy so far. > > Though ... birdc crashes inside lib-readline when I attempt

Re: Version 2.0.0

2017-12-11 Thread Ondrej Zajicek
On Mon, Dec 11, 2017 at 10:11:03AM +0100, Ondrej Filip wrote: > Dear BIRD users, > It took a long time, but it happened. Let me announce a new final > version 2.0.0! > > Please test it and send some feedback. Hi There is a brief overview of configuration changes of BIRD 2.0: Notes for

Re: Decode BGP Shutdown Communication messages (RFC 8203)

2017-11-14 Thread Ondrej Zajicek
On Mon, Nov 13, 2017 at 07:56:47AM +0300, Dmitry S. Nikolaev wrote: > Hi. > > So, can we expect an answer ? Hi I hope that i answered: http://trubka.network.cz/pipermail/bird-users/2017-October/011623.html -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email:

Re: Decode BGP Shutdown Communication messages (RFC 8203)

2017-10-31 Thread Ondrej Zajicek
On Thu, Oct 26, 2017 at 04:40:45PM +0300, Mikhail Grishin wrote: > > Hi, > > 1) You also implemented > enable bgp2 "enable message" > This message currently seen only at local side and doesn't seen at > remote peer. > > Scenario: You made maintenance work with the shutdown message "Session >

Re: [PATCH] babel: Ignore Hello TLVs with unicast flag set

2017-10-31 Thread Ondrej Zajicek
On Mon, Oct 30, 2017 at 02:30:25PM +0100, Toke Høiland-Jørgensen wrote: > RFC6126bis introduces a flags field for the Hello TLV, and adds a unicast flag > that is used to signify that a hello was sent as unicast. This adds parsing of > the flags field and ignores such unicast hellos, which

Re: conf ch -> kill bird

2017-10-20 Thread Ondrej Zajicek
On Fri, Oct 20, 2017 at 05:30:58PM +0300, Mikhail Mayorov wrote: > bird ~ # birdc > BIRD 1.6.3 ready. > bird> configure check > Reading configuration from /usr/local/etc/bird/bird.conf > Configuration OK > bird> configure > Connection closed by server > > Can't catch an error in a configuration

Re: Issues in Babel

2017-10-19 Thread Ondrej Zajicek
On Thu, Oct 19, 2017 at 01:23:45PM +0200, Toke Høiland-Jørgensen wrote: > Ondrej Zajicek <santi...@crfreenet.org> writes: > > > 1) Hello expiration was not properly implemented, as i understand > > RFC, it should reset the timer based on last packet hello interval > >

<    6   7   8   9   10   11   12   13   14   >