Re: sets in bgpmasks ?

2019-08-06 Thread Ondrej Zajicek
ame it on a computer is even more so." commit ef113c6f725349a2ab52f3cbef18403f82c84134 Author: Ondrej Zajicek (work) Date: Tue Aug 6 16:58:13 2019 +0200 Filter: Allow to use sets in path masks diff --git a/filter/config.Y b/filter/config.Y index 8171a7c2..a67a72a8 100644 --- a/filter/config.Y +

Re: BIRD 2.0.5 build failures on RHEL/CentOS 6 and 7

2019-08-06 Thread Ondrej Zajicek
On Tue, Aug 06, 2019 at 12:37:49AM +0200, Robert Scheck wrote: > Hello Ondrej, > > On Mon, 05 Aug 2019, Ondrej Zajicek wrote: > > I think we started to require newer bison (although it should be checked > > by configure and complained there). We aim to be compatible with 5

Re: BIRD 2.0.5 build failures on RHEL/CentOS 6 and 7

2019-08-05 Thread Ondrej Zajicek
On Mon, Aug 05, 2019 at 09:35:43PM +0200, Robert Scheck wrote: > Hello all, > > I'm seeing the following build failures with BIRD 2.0.5 on RHEL/CentOS 6, > while BIRD 2.0.4 worked fine (just did a BIRD version bump, not more): > --- snipp --- > BUILDSTDERR: obj/conf/cf-parse.y: In function

Re: Option --runstatedir in BIRD 2.0.4 broken?

2019-08-05 Thread Ondrej Zajicek
On Mon, Aug 05, 2019 at 07:57:49PM +0200, Robert Scheck wrote: > On Fri, 29 Mar 2019, Ondrej Zajicek wrote: > > On Fri, Mar 29, 2019 at 01:08:18AM +0100, Robert Scheck wrote: > > > + ./configure --build=x86_64-redhat-linux-gnu > > > --host=x86_64-redhat

Re: BIRD 2.0.5 and 1.6.7

2019-08-05 Thread Ondrej Zajicek
On Mon, Aug 05, 2019 at 07:07:37PM +0200, Vincent Bernat wrote: > ❦ 5 août 2019 18:28 +02, Ondrej Zajicek : > > >> You mean I can do: > >> > >> protocol bgp XXX { > >> neighbor; > >> interface eth0; > >> /* ... */ > >&g

Re: BIRD 2.0.5 and 1.6.7

2019-08-05 Thread Ondrej Zajicek
On Mon, Aug 05, 2019 at 06:03:53PM +0200, Vincent Bernat wrote: > ❦ 5 août 2019 17:24 +02, Ondrej Zajicek : > >> Notably: > >> > >> - establish a BGP session using an interface name and the associated > >>link-local IPv6 address, > > > >

Re: BIRD 2.0.5 and 1.6.7

2019-08-05 Thread Ondrej Zajicek
On Mon, Aug 05, 2019 at 04:52:25PM +0200, Vincent Bernat wrote: > ❦ 5 août 2019 09:54 +02, Ondrej Filip : > > > o BGP: Dynamic BGP > > o BGP: Promiscuous ASN mode > > That's great! Is there a roadmap for additional features around that? In future, I would like to implement automatic BGP

Anyone used 'missing lladdr' option?

2019-08-05 Thread Ondrej Zajicek
Hi I just noticed that since transition to 2.0, BGP option 'missing lladdr' is not implemented. I wonder if anyone used this option or whether we should just remove it. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted e-mails preferred

Re: BIRD 2.0.5 and 1.6.7

2019-08-05 Thread Ondrej Zajicek
On Mon, Aug 05, 2019 at 12:13:06PM +0400, Dmitry Melekhov wrote: > 05.08.2019 11:54, Ondrej Filip пишет: > > Dear BIRD users, > > we just released two new versions - 1.6.7 and 2.0.5. Many thanks > > to Santiago and Maria! > > > > Version 1.6.7 > >o BFD: Support for VRFs > >o Several

Re: [PATCH] RPKI: fix allocation of hostname when using an IPv6 address

2019-07-29 Thread Ondrej Zajicek
Thanks, merged. -- 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."

Re: segmentation fault

2019-07-28 Thread Ondrej Zajicek
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=0x7f9954af06d8) ... > in case someone interested,

Re: Limitation on stubnet prefixes

2019-07-26 Thread Ondrej Zajicek
On Fri, Jul 26, 2019 at 03:32:04PM +0200, Andre Cunha wrote: > Thanks Ondrej, that makes sense. Is there a way to add routes on the > fly then, instead of putting them all in the config file? Or any other > suggestion on how I could generate 5 type-1 LSA. You can just add add them as static

Re: Limitation on stubnet prefixes

2019-07-26 Thread Ondrej Zajicek
On Fri, Jul 26, 2019 at 10:49:31AM +0200, Andre Cunha wrote: > Hello, > > Is there a limit on the number of stubnet prefixes that we can configure?  I > have configured 5 stubnets but my router receives only 1084 routes. Hello Yes, stubnet prefixes are announced as a part of the

Re: OSPF MD5 Authentication Fails When Using Instance ID

2019-07-25 Thread Ondrej Zajicek
On Thu, Jul 25, 2019 at 06:46:01PM +, St. Hilaire, Joshua wrote: > OSPF MD5 authentication appears to fail with an unknown auth type 1026 > when you specify an "instance ID" in BIRD, regardless of whether you > specify the instance ID on the interface or not. Removing all occurrences > of

Debian packages for BIRD 2

2019-07-24 Thread Ondrej Zajicek
Hello Several days ago i received info that BIRD 2.0.4 is now packaged in Debian (unstable): https://packages.debian.org/sid/bird2 Thanks to Ondrej Sury and others. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted e-mails preferred

Re: NSSA translate TYPE7->TYPE5

2019-07-23 Thread Ondrej Zajicek
On Thu, Jul 18, 2019 at 03:07:21PM +0200, Konrad Kręciwilk wrote: > Hello > > In practice AREA6 contains much more routes (about 150), I send a small > segment. The same router (R1) has other area NSSA - AREA61: Hello Could you build BIRD 1.6.6 with attached patch (which adds some more log

Re: BIRD 2.0.4 and protocol RPKI in the config file

2019-07-23 Thread Ondrej Zajicek
On Fri, Jul 19, 2019 at 04:29:11PM +0200, Irene Lalioti wrote: > Hello Maria! > > I am coming back to you to just ask you what else we need except for the > libssh enable in the spec file of bird in the rpm, so that we have the > RPKI functionality in the 2.0.4. Hello You do not really need to

Re: bfd does not work in a vrf

2019-07-23 Thread Ondrej Zajicek
On Thu, Jul 18, 2019 at 04:23:00PM +0200, Alexander Zubkov wrote: > Hi, > > I have attached a patch to check if there are any vrf-base bfd > protocols. And if there are none of them, then protocol non-vrf bfd > protocols takes all sessions. Otherwise it takes only non-vrf > sessions. I added a

Re: lib/printf regression on raspberry

2019-07-17 Thread Ondrej Zajicek
On Wed, Jul 17, 2019 at 10:33:32PM +0200, Maximilian Eschenbacher wrote: > Hey everyone, > > the following patch creates a testcase on top of the master branch for > bsprintf with %lR which fails on both my raspberrys (Raspbian Buster, > armv6l and armv7l, gcc version 8.3.0). I noticed it by

Re: bfd does not work in a vrf

2019-07-17 Thread Ondrej Zajicek
On Wed, Jul 17, 2019 at 03:08:45PM +0200, Alexander Zubkov wrote: > On Wed, Jul 17, 2019 at 2:47 PM Ondrej Zajicek wrote: > > Hello > > > > This would work, it is necessary to also set sk->vrf for bfd_open_tx_sk() > > foir multihop BFD. It is not necessary t

Re: bfd does not work in a vrf

2019-07-17 Thread Ondrej Zajicek
On Wed, Jul 17, 2019 at 12:05:49PM +0200, Alexander Zubkov wrote: > Hello, > > I made small fix for myself, that allow bfd to work in one VRF, > defined in the configuration: > > --- a/proto/bfd/packets.c > +++ b/proto/bfd/packets.c > @@ -413,6 +413,7 @@ bfd_open_rx_sk(struct bfd_proto *p, int

Re: bfd does not work in a vrf

2019-07-16 Thread Ondrej Zajicek
Hello Yes, this is currently not implemented properly, i forgot about it. Would require some substantial work. There are two possibilities: - Multiple BFD instances, each in VRF, with proper dispatch of BFD requests to instances based on VRF. - One BFD instance, with multiple listening sockets,

Re: NSSA translate TYPE7->TYPE5

2019-07-14 Thread Ondrej Zajicek
> Hello, > > I have problem with selective no-translation TYPE7 LSA to TYPE5 LSA on ABR. > Scheme: https://ibb.co/mhbxwmy Hello Just tested that, works for me (with routes from your example). What is your output of 'show ospf state'? Don't you have any suspicious messages in logs? -- Elen

Re: [bird-users] Optional attribute error peering BGP with FRR

2019-07-11 Thread Ondrej Zajicek
On Thu, Jul 11, 2019 at 04:23:18PM +0200, Ondrej Zajicek wrote: > On Thu, Jul 11, 2019 at 04:01:19PM +0200, Hansen, Christoffer wrote: > > Derrick, > > > > Donald is right. Ignore earlier comment. (rfc4760[0], p. 5) > > > > > From the pcap this loo

Re: [bird-users] Optional attribute error peering BGP with FRR

2019-07-11 Thread Ondrej Zajicek
On Thu, Jul 11, 2019 at 04:01:19PM +0200, Hansen, Christoffer wrote: > Derrick, > > Donald is right. Ignore earlier comment. (rfc4760[0], p. 5) > > > From the pcap this looks like FRR is sending an empty NLRI and > > according to RFC 2858: > > > >An UPDATE message that carries no NLRI,

Mailing list delivery issue

2019-07-09 Thread Ondrej Zajicek
Hello I just noticed that for about last 3 weeks, mails from bird-users mailing list are not delivered to me. Still working on the issue. So excuse me for not answering to your mails earlier. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org) OpenPGP

Re: [PATCH] Doc: fix typo in BGP dynamic names feature description

2019-07-09 Thread Ondrej Zajicek
Thanks, merged. -- 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."

Which linux OS are you using?

2019-07-09 Thread Ondrej Zajicek
> Hi all and support, > Which OS you prefer to install BIRD2.0? Hi It is mostly developed and tested on Debian, so i would recommend that. Although BIRD supports both Linux and BSDs, Linux support is generally better. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email:

Re: [PATCH] Add CLI command to test reconfiguration status

2019-06-14 Thread Ondrej Zajicek
On Thu, Jun 13, 2019 at 11:29:32AM +, Kenth Eriksson wrote: > The reply text for reply code 3 (CONF_DONE) is "Daemon is up and > running". Is that on purpose? I would have expected something like > "Re-configuration done" or similar. Yes, because the same message is reported after start,

Re: [PATCH 2/3] Fix issue where cli socket buffer may get full

2019-06-12 Thread Ondrej Zajicek
On Wed, Jun 12, 2019 at 07:29:51AM +, Kenth Eriksson wrote: > > Also, better way to handle 1/3 is to add condition on line io.c line > > 2211, so that if we have full buffer, we do not try to check POLLIN, > > so that we do not even call sk_read() in such case instead of try it > > to handle

Re: [PATCH] Add CLI command to test reconfiguration status

2019-06-12 Thread Ondrej Zajicek
On Wed, Jun 12, 2019 at 11:08:36AM +, Kenth Eriksson wrote: > > Hi > > > > We could add this feature, but it should also report more cases > > (the submitted patch covers just first two): > > > > - progress > > - done > > - progress+queued > > - config timeout running > > > The first

Re: Code style?

2019-06-11 Thread Ondrej Zajicek
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 used different coding styles, now we try to converge

Re: [PATCH] Add CLI command to test reconfiguration status

2019-06-11 Thread Ondrej Zajicek
On Tue, Jun 11, 2019 at 02:58:33PM +0200, Kenth Eriksson wrote: > This adds the CLI command 'configure status' so that it is possible to > check if reconfiguration is done. Hi We could add this feature, but it should also report more cases (the submitted patch covers just first two): -

Re: radv/OpenWRT: "propagate routes yes" syntax error

2019-06-11 Thread Ondrej Zajicek
On Tue, Jun 11, 2019 at 07:33:45AM +0200, Marvin Gaube wrote: > Hello, > > I'm currently trying to run bird6 on a Gluon-Device (Gluon is build upon > OpenWRT) to announce Router Advertisments. I need to announce more > specific routes, > ... > Every time I'm trying to start bird with "propagate

Re: Introduce Wireguard support to bird

2019-06-07 Thread Ondrej Zajicek
On Fri, Jun 07, 2019 at 06:21:42PM +, Janne Heß wrote: > Hey everyone, > > as advertised, I have completed the Wireguard support. > You might see that I am not really a C expert, but I hope the code is good > enough. > If you need me to change anything or have additional questions, just let

Re: adding MED to + bgp_med

2019-06-05 Thread Ondrej Zajicek
On Wed, Jun 05, 2019 at 11:30:25PM +0200, Łukasz Trąbiński wrote: > > Hi again > > I answer myself. "bgp_med = bgp_med + 100” works only when "rs client” is > set. Is it feature or bug? Hi It works the same in 1.6.4 and 1.6.6. But you are right that it does not on regular EBGP sessions. That

Re: How to determine when reconfiguration is complete?

2019-06-04 Thread Ondrej Zajicek
On Tue, Jun 04, 2019 at 09:04:39PM +0200, Cybertinus wrote: > > Hi! > > > > How can I tell when bird is done with reconfiguration? E.g. bird can > > respond: "Reconfiguration in progress", but how do you know when it is > > ready? Invoking configure again will trigger full re-configure again I >

Re: Submitting code? (Wireguard)

2019-05-30 Thread Ondrej Zajicek
On Thu, May 30, 2019 at 09:16:42PM +, Janne Heß wrote: > Hey everyone, > > I wrote code that adds Wireguard support (new kernelspace VPN) to Bird 2. > The problem is that with the cryptokey routing of Wireguard, it needs to know > which IPs are behind which peers. > The patch does exactly

Re: [PATCH] Fix an issue where bird may accidently close a socket

2019-05-29 Thread Ondrej Zajicek
On Mon, May 27, 2019 at 03:29:26PM +, Kenth Eriksson wrote: > On Mon, 2019-05-27 at 17:12 +0200, Ondrej Zajicek wrote: > > CAUTION: This email originated from outside of the organization. Do > > not click links or open attachments unless you recognize the sender > >

Re: [PATCH] Fix an issue where bird may accidently close a socket

2019-05-27 Thread Ondrej Zajicek
On Mon, May 27, 2019 at 02:28:52PM +0200, Kenth Eriksson wrote: > Datagram sockets may return 0 and stream sockets can return 0 > if the requested number of bytes to read is 0. Hi You mean that if count arg to read() is 0? How that may happen? -- Elen sila lumenn' omentielvo Ondrej

Re: Simple two bird BGPs two Uplinks one Peering Provider config

2019-05-20 Thread Ondrej Zajicek
On Mon, May 20, 2019 at 05:17:08PM +, Yves Illi wrote: > Hi there, > > I am really new to the complete topic of BGP. So please have a bit mercy with > me if I ask something very stupid. But I am trying to build that for the > first time ever and I am feeling like a donkey in front of a big

Re: bgp add paths to select only equal routes

2019-05-16 Thread Ondrej Zajicek
On Wed, May 15, 2019 at 07:51:55PM +0200, Alexander Zubkov wrote: > Hello, > > If "add paths" config option is enabled for a bgp protocol than it > sends every route matching the filter on export. But I would like to > have an option to send only the best route with routes similar to it > (equal

Re: Received route with strange next-hop

2019-05-16 Thread Ondrej Zajicek
On Wed, May 15, 2019 at 09:09:34AM +, Adrichem, N.L.M. (Niels) van wrote: > Hello, > > Additionally, the bird.log file throws the following error: > 2019-05-15 10:27:21.869 Started > 2019-05-15 10:27:21.902 Missing broadcast address for interface vxlan0 > 2019-05-15 10:27:29.329 KRT:

Re: show route for ... filtered (not working)

2019-05-13 Thread Ondrej Zajicek
On Mon, May 13, 2019 at 07:12:53AM -0700, Terra Nova wrote: > Hi Alexander, > > On Sun, May 12, 2019 at 12:21 AM Alexander Zubkov wrote: > > > Hi, > > > > I suppose it could happen because "for" is looking for an active route > > for the given destination. And filtered routes would not be

Re: 'prefer older' does not work?

2019-05-13 Thread Ondrej Zajicek
On Mon, May 13, 2019 at 12:49:06PM +0300, Alexander Shikov wrote: > Hello! > > All of our BGP peers have 'prefer older' option enabled. > But I noticed that best route is not the oldest one: Hi The option 'prefer older' is a bit misnomer, it does not mean the one with the oldest timestamp, but

Re: ibgp bird 1.6 vs 2.0

2019-04-30 Thread Ondrej Zajicek
On Tue, Apr 30, 2019 at 04:02:36PM +0200, Matěj Grégr wrote: > > > On 30.04.2019 15:56, Ondrej Zajicek wrote: > > On Tue, Apr 30, 2019 at 03:34:59PM +0200, Matěj Grégr wrote: > >> Hello, > >> we have encountered a different ibgp behavior between bird 1.6

Re: ibgp bird 1.6 vs 2.0

2019-04-30 Thread Ondrej Zajicek
On Tue, Apr 30, 2019 at 03:34:59PM +0200, Matěj Grégr wrote: > Hello, > we have encountered a different ibgp behavior between bird 1.6 and > bird2, and I am not sure if it's an intentional change in bird2 or a > bug. Let's consider the following topology: > > 192.168.1.0/24

Re: Full (regression) test suite?

2019-04-30 Thread Ondrej Zajicek
On Sat, Apr 27, 2019 at 10:53:44PM +0200, Robert Scheck wrote: > Hello Ondrej, > hello Maria, > > On Fri, 26 Apr 2019, Ondrej Zajicek wrote: > > The suite of basic unit tests can be run by 'make test'. > > that one fails for BIRD 2.0.4 on RHEL/CentOS 7 on

Re: [PATCH] Nest: "Last route change" timestamp for routing tables

2019-04-30 Thread Ondrej Zajicek
On Mon, Apr 29, 2019 at 10:54:34AM +, Tom Petty wrote: > I¹ve written a patch which adds a ³last route change² timestamp to the > routing table statistics. This diff is against the Œmaarten¹ branch, where > the code adding the ³show table statistics² command is currently located. Hi Seems

Re: static default route not always pushed to kernel (2.0.4)

2019-04-30 Thread Ondrej Zajicek
On Mon, Apr 29, 2019 at 03:46:09PM +, Kenth Eriksson wrote: > On Mon, 2019-04-29 at 15:42 +0200, Ondrej Zajicek wrote: > > CAUTION: This email originated from outside of the organization. Do > > not click links or open attachments unless you recognize the sender > >

Re: RFC8203bis

2019-04-30 Thread Ondrej Zajicek
On Tue, Apr 30, 2019 at 01:24:50AM +0300, Alexander Azimov wrote: > Hi all, > > I've just submitted a two-line patch to make BIRD compliant with RFC8203bis > : > https://github.com/BIRD/bird/pull/5 > > Please let me know if you have

Re: static default route not always pushed to kernel (2.0.4)

2019-04-29 Thread Ondrej Zajicek
On Mon, Apr 29, 2019 at 01:01:13PM +, Kenth Eriksson wrote: > > 'ip' tool, perhaps harder in other cases). It would be great if there > > existed sysctl option for default IPv4 route metric. > > > > There is no overwrite involed here. The default route in the kernel > here has metric 100. As

Re: RFC7772 Unicast RAdv Replies

2019-04-29 Thread Ondrej Zajicek
On Sun, Apr 28, 2019 at 06:14:58AM +0200, Martin Weinelt wrote: > Hi all, > > we're users of Birds RAdv implementation in a mesh networking project > with many opportunistic WiFi users on mobile devices. > > We and our users would likely profit from a reduced rate of router > advertisments that

Re: Static dormant routes not shown

2019-04-29 Thread Ondrej Zajicek
On Mon, Apr 29, 2019 at 09:11:22AM +, Kenth Eriksson wrote: > Hi! > > Why does not static routes in dormant state show of up in the routing > table? I expexted all routes to be visible in 'show route'. If the > route is not installed into the kernel, then that should be some way > (in bird

Re: [PATCH] BGP: Output Local AS number in show protocol

2019-04-29 Thread Ondrej Zajicek
On Mon, Apr 29, 2019 at 09:46:56AM +0200, Jan-Philipp Litza wrote: > This eases the implementation of agents implementing the SNMP-BGP MIB, > which requires the local AS of a session to be specified. Thanks, will merge. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email:

Re: BIRD 2.0.4 segfaulting on ARM

2019-04-26 Thread Ondrej Zajicek
On Fri, Apr 26, 2019 at 01:08:24PM +0200, lor...@irmhil.de wrote: > Hello, > > after a "make clean", "./configure" and "make" I got this compile-time > warning: Hello Could you try to build it with "./configure --enable-debug" ? > --- snip --- > > sysdep/unix/io.c: In function ‘times_init’:

Re: Full (regression) test suite?

2019-04-26 Thread Ondrej Zajicek
On Fri, Apr 26, 2019 at 11:16:09AM +0200, Robert Scheck wrote: > Hello Maria, > > On Fri, 26 Apr 2019, Maria Matějka wrote: > > We have a test environment (much limited) for running basic configuration > > patterns and a suite of basic unit tests. > > is somewhere documented how to run this

Re: BIRDv2 OSPF: Stub for loopback potentially broken: Invalid Prefix in LSA

2019-04-24 Thread Ondrej Zajicek
On Wed, Apr 24, 2019 at 01:10:31PM +, Joakim Tjernlund wrote: > On Tue, 2019-04-23 at 21:03 +, Joakim Tjernlund wrote: > > On Tue, 2019-04-23 at 19:33 +0200, Ondrej Zajicek wrote: > > > On Tue, Apr 23, 2019 at 12:40:04PM +, Joakim Tjernlund wrote: > > > &g

Re: BIRDv2 OSPF: Stub for loopback potentially broken: Invalid Prefix in LSA

2019-04-23 Thread Ondrej Zajicek
On Tue, Apr 23, 2019 at 12:40:04PM +, Joakim Tjernlund wrote: > > I think the standard just does not consider the case of 'unnumbered' > > link with both local and remote address but without subnet and assumes > > 'real' unnumbered PtP link with no local IP address associated with > > the

Re: BIRDv2 OSPF: Stub for loopback potentially broken: Invalid Prefix in LSA

2019-04-23 Thread Ondrej Zajicek
On Tue, Apr 23, 2019 at 10:28:46AM +, Kenth Eriksson wrote: > > The second case is more complex. In OSPFv2, it always does not > > propagate > > /32 local addresses and it propagates /32 peer addresses only if > > configured as stub. In OSPFv3, this is not implemented and neither > > local > >

Re: BIRDv2 OSPF: Stub for loopback potentially broken: Invalid Prefix in LSA

2019-04-18 Thread Ondrej Zajicek
On Mon, Apr 15, 2019 at 12:56:24PM +, Kenth Eriksson wrote: > > > Does OSPFv3 (RFC5340 / RFC5838) handle unnumbered (/32) differently > > > from OSPFv2? > > > > Not in a significant way. > > > > So a /32 shall be implicitly re-distributed in the OSPF area both for > OSPFv2 and OSPFv3? I

Re: BIRDv2 OSPF: Stub for loopback potentially broken: Invalid Prefix in LSA

2019-04-15 Thread Ondrej Zajicek
On Mon, Apr 15, 2019 at 12:21:12PM +, Kenth Eriksson wrote: > On Fri, 2019-04-12 at 14:24 +0200, Ondrej Zajicek wrote: > > CAUTION: This email originated from outside of the organization. Do > > not click links or open attachments unless you recognize the sender > >

Re: BIRDv2 OSPF: Stub for loopback potentially broken: Invalid Prefix in LSA

2019-04-12 Thread Ondrej Zajicek
On Thu, Apr 11, 2019 at 08:38:44PM +0200, bauen1 wrote: > Hello, > > I've been playing around with BIRD and OSPF for a while now and ran > across an error I don't quite understand, while trying to get BIRD to > advertise ip addresses on the loopback interface on a debian 10 server. Fixed by

Re: Reporting issues

2019-04-12 Thread Ondrej Zajicek
On Sat, Apr 06, 2019 at 01:11:32PM -0600, Brian Topping wrote: > Hi all, I think I looked in all the regular places and inferred that > reporting issues might best be done here. The gitlab issue tracker shows no > issues. Hi Yes, this is proper place for reporting issues. > The problem I

Re: Setting route destination for DNAT addresses

2019-04-12 Thread Ondrej Zajicek
On Sun, Apr 07, 2019 at 10:52:23PM -0600, Brian Topping wrote: > The problem is when a service on the same host as the container needs > to connect to the DNAT address presented for the container. Because the > local kernel routing table is set to blackhole for an address, the > traffic is

Re: Bird, RPKI/RTR and issues with SSH

2019-04-12 Thread Ondrej Zajicek
On Thu, Apr 11, 2019 at 05:52:59PM -0700, Louis Poinsignon wrote: > Hello everyone, > I hope this mailing list is the correct place for my message. Hello Yes, it is correct place. > While it's not impacting, when the RTR server returns a NO DATA, the client > will bomb of requests as shown by

Re: BIRDv2 OSPF: Stub for loopback potentially broken: Invalid Prefix in LSA

2019-04-12 Thread Ondrej Zajicek
On Thu, Apr 11, 2019 at 08:38:44PM +0200, bauen1 wrote: > Hello, > > I've been playing around with BIRD and OSPF for a while now and ran > across an error I don't quite understand, while trying to get BIRD to > advertise ip addresses on the loopback interface on a debian 10 server. Hi It seems

Re: Error msg on "make install"

2019-04-04 Thread Ondrej Zajicek
On Thu, Apr 04, 2019 at 05:14:45AM +, Toru Nozaki (tonozaki) wrote: > Hi experts, > > I’m trying to build Bird v2.0.4 on my environment. > > Ubunts 16.4 LTS > > $ uname -a > Linux Y01-JUMP-01 4.4.0-87-generic #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC > 2017 x86_64 x86_64 x86_64 GNU/Linux >

Re: Two IPv4s lead to "Missing broadcast address for interface"?

2019-03-29 Thread Ondrej Zajicek
On Fri, Mar 29, 2019 at 02:17:14AM +0100, Robert Scheck wrote: > Hello folks, > > since upgrading from BIRD 2.0.2 to 2.0.4 I'm seeing the message "Missing > broadcast address for interface bond0" on one out of two systems in syslog > e.g. when starting BIRD. > > System cr0 with "Missing

Re: Option --runstatedir in BIRD 2.0.4 broken?

2019-03-29 Thread Ondrej Zajicek
On Fri, Mar 29, 2019 at 01:08:18AM +0100, Robert Scheck wrote: > Hello folks, > > when trying to use --runstatedir in BIRD 2.0.4, it looks like this here: > > + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu > --program-prefix= --disable-dependency-tracking

Re: bird 2.0.4 autodetects /30 as ptp

2019-03-27 Thread Ondrej Zajicek
On Tue, Mar 26, 2019 at 07:49:56AM +, Kenth Eriksson wrote: > I can see the rationale of saying that a /30 network can run with OSPF > interfaces in ptp mode since there are only 2 hosts on it. That said, I > *believe* the Cisco routers defaults to broadcast mode for a /30 which > would cause

Re: Import filter on 2nd ASN in AS path?

2019-03-27 Thread Ondrej Zajicek
On Thu, Mar 28, 2019 at 12:25:29AM +0100, Robert Scheck wrote: > Hello Maria, > hello Alexander, > > first of all, thank you very much for your suggestions. > > On Tue, 26 Mar 2019, Maria Matějka wrote: > > Did you try using BGP path mask? Like > > if (bgp.path ~ [= ? bogon bogon * =]) … > > I

Re: BGP import_table & graceful restart issue

2019-03-25 Thread Ondrej Zajicek
On Mon, Mar 25, 2019 at 06:35:43AM +, Arvin Gan wrote: > Hi Ondrej, > Thanks for your answer :). > I checked the RFC 4271 and RFC 4274, maybe what you said it's correct > behavior based on RFC4271, " The phrase "the BGP connection is closed" means > the TCP connection has been

Re: bird 2.0.4 autodetects /30 as ptp

2019-03-25 Thread Ondrej Zajicek
On Mon, Mar 25, 2019 at 03:06:29PM +, Kenth Eriksson wrote: > It seems as bird autodetects a /30 OSPF interface as ptp. > > bird> show ospf interface > ospfv2_1: > Interface eth0 (10.210.138.32/30) > Type: ptp > Area: 0.0.0.0 (0) > State: PtP > Priority: 0 >

Re: How to ignore OSPF MTU checking?

2019-03-25 Thread Ondrej Zajicek
On Mon, Mar 25, 2019 at 07:23:02AM +, Kenth Eriksson wrote: > > On Fri, Mar 22, 2019 at 09:24:58PM +0100, Piotr Marciniak wrote: > > > Cisco switches require this for proper OSPF operation, if MTU is > > > set > > > different on equipment. But afaik it does not hit Bird. We have > > > such > >

Re: How to ignore OSPF MTU checking?

2019-03-23 Thread Ondrej Zajicek
On Fri, Mar 22, 2019 at 09:24:58PM +0100, Piotr Marciniak wrote: > Cisco switches require this for proper OSPF operation, if MTU is set > different on equipment. But afaik it does not hit Bird. We have such > sessions between Cisco and Bird. And works fine without this setting on > Bird. But maybe

Re: OSPF authentication problem between Cisco and Bird

2019-03-23 Thread Ondrej Zajicek
On Sat, Mar 23, 2019 at 06:25:47PM +0100, Jérémie Vandeville wrote: > Hi everyone > > I apologise in advance, english is not my native language... > > For study purpose, I'm trying to setup OSPFv2 between Bird 1.6.6 and a > Cisco router. > > protocol ospf test { > instance id 42; > area

Re: IGP Metric to MED

2019-03-22 Thread Ondrej Zajicek
On Fri, Mar 22, 2019 at 02:56:21PM -0500, Corban Johnson wrote: > > If you want, i can send you patch to fix > > that. > > That would be very helpful, thank you :) Attached (untested). It adds read-only integer property nh_cost to access that. The name of the property is horrible (that is why

Re: LSA type-3

2019-03-22 Thread Ondrej Zajicek
On Sun, Mar 17, 2019 at 05:32:12PM +, Ticlea Alexandru wrote: > Hello > Is a way to control what subnets are sent by ABR to another area in LSA > type3? > I can use "hidden" to declare what subnets must not be propagated, but I want > to do it in oppositeside. > > Area 0.0.0.10 contains

Re: BGP import_table & graceful restart issue

2019-03-22 Thread Ondrej Zajicek
On Thu, Mar 21, 2019 at 05:54:00AM +, Arvin Gan wrote: > Hi All, > I am using BIRD 2.0.4, the configuration of bgp.ipv4 for import > table and graceful restart are yes . when BGP remote peer is restarting, > the graceful restart is detected by the local peer, using "show route >

Re: IGP Metric to MED

2019-03-22 Thread Ondrej Zajicek
On Fri, Mar 22, 2019 at 12:54:57PM -0500, Corban Johnson wrote: > Hello, > I am trying to set MED on a BGP route using the metric value from OSPF, but > the attributes of the next-hop route do not seem to be available in filter > evolution. Am I missing something? > > The problem seems to be

Re: bird version 2.0.4 - peering with cisco version ios xe 16.3.5 - invalid open message

2019-03-13 Thread Ondrej Zajicek
On Mon, Mar 11, 2019 at 09:44:16AM +0100, Marco van Tol wrote: > Hi > > > What version of Cisco is that? > > What I wrote in the subject and the first message, ios xe 16.3.5 :-) > If you need more info in this area let me know. I have close to no > experience with Cisco, but I have someone

Re: BFD multihop with Junos

2019-03-12 Thread Ondrej Zajicek
On Tue, Mar 12, 2019 at 01:04:28PM -0400, Arzhel Younsi wrote: > Bingo! As soon as I the system TTL to 255, the session went up. Thanks a lot! > > Now that we know where to look, we started to dig a bit in the code to not > have to change the TTL system wide but only for Bird. > > It seems like

Re: all protocol state debug

2019-03-11 Thread Ondrej Zajicek
On Mon, Mar 11, 2019 at 08:41:19PM +0500, Eugene M. Zheganin wrote: > Hello, > > > I want to log all protocols state changes, and I have a question: > > debug all { states } > > is valid in birdc, but why > > debug all { >     states > }; > > > is invalid in bird.conf ? Hello I cannot say

Re: bird version 2.0.4 - peering with cisco version ios xe 16.3.5 - invalid open message

2019-03-11 Thread Ondrej Zajicek
On Mon, Mar 11, 2019 at 09:44:16AM +0100, Marco van Tol wrote: > > What version of Cisco is that? > > What I wrote in the subject and the first message, ios xe 16.3.5 :-) > If you need more info in this area let me know. I have close to no > experience with Cisco, but I have someone around who

Re: BFD multihop with Junos

2019-03-10 Thread Ondrej Zajicek
On Thu, Mar 07, 2019 at 07:13:58PM -0500, Arzhel Younsi wrote: > Thanks for your reply Ondrej, > > I changed the port range as suggested, confirmed that BFD packets were > leaving from a correct port, but the BFD session still stays down. 208.80.153.77Down 0.000

Re: bird version 2.0.4 - peering with cisco version ios xe 16.3.5 - invalid open message

2019-03-10 Thread Ondrej Zajicek
On Fri, Mar 08, 2019 at 04:09:58PM +0100, Marco van Tol wrote: > Op 8 mrt. 2019, om 14:45 heeft Ondrej Zajicek het > volgende geschreven: > > On Fri, Mar 08, 2019 at 01:51:31PM +0100, Marco van Tol wrote: > >> Hi, > >> > >> So I replaced bird 2.0.4 for wh

Re: Showing local router ID for BGP protocols

2019-03-08 Thread Ondrej Zajicek
On Fri, Mar 08, 2019 at 03:32:29PM +, Marcin Dulinski wrote: > show status? > > On 08/03/2019 13:46, Jakub Nowacki wrote: > > Hi, > > > > I'm trying to find a command that will allow me to verify router ID > > being used for particular BGP session. > > When using 'show protocols all ' it

Re: bird version 2.0.4 - peering with cisco version ios xe 16.3.5 - invalid open message

2019-03-08 Thread Ondrej Zajicek
On Fri, Mar 08, 2019 at 01:51:31PM +0100, Marco van Tol wrote: > Hi, > > So I replaced bird 2.0.4 for which I downloaded the rpm from your site with > bird 2.0.2 which I installed using yum on a centos 7 system. > > I noticed 2 things: > - The Centos 7 2.0.2 rpm makes the bird daemon drop

Re: bird version 2.0.4 - peering with cisco version ios xe 16.3.5 - invalid open message

2019-03-08 Thread Ondrej Zajicek
On Fri, Mar 08, 2019 at 12:35:30PM +0100, Marco van Tol wrote: > Hi there, > > I'm trying to setup iBGP peering with a cisco router which is giving me an > "invalid open message" that I can't seem to fix. > > - The same router is peering with Juniper and other bird 1.6.3 routers > without

Re: BFD multihop with Junos

2019-03-05 Thread Ondrej Zajicek
On Tue, Mar 05, 2019 at 05:21:44PM -0500, Arzhel Younsi wrote: > Hi, > > I'm trying to setup BFD multihop session between Bird 1.6.3 and a Juniper MX > router to fast failover eBGP multihop sessions. Hi I guess this could be strict src port checking in Juniper, see

Re: Route redistribution between OSPF instances

2019-03-05 Thread Ondrej Zajicek
On Mon, Mar 04, 2019 at 04:54:10PM +0300, Yaroslav Dronskii wrote: > Hello, I need some help in understanding bird. Route redistribution between > ospf instances doesn't work for me. > I tried everything I could think of short of debugging source code, and > narrowed it down to route type. > If

Re: OSPF authentication supported for IPv6 / OSPFv3?

2019-03-04 Thread Ondrej Zajicek
On Mon, Mar 04, 2019 at 08:56:10PM +0100, Cybertinus wrote: > Hello Bird users, > > I'm trying to get authentication enabled on my OSPF sessions. I'm running > Bird 1.6.4 on Debian 9.8. I have the following config in my ospf.conf: Hi OSPFv3 in base spec does not have authentication. BIRD

Re: show route output explained

2019-03-01 Thread Ondrej Zajicek
On Fri, Mar 01, 2019 at 05:35:30PM +0500, Eugene M. Zheganin wrote: > Hello, > > Since the documentation doesn't specify the exact output format, could > anyone please explain it to me ? > > > 0.0.0.0/0  via 192.168.57.60 on re0 [ospfv4 11:17:31] ! E2 > (150/10/1) [192.168.100.254]

Re: bird 2.0.3 does not install multipath route in kernel

2019-03-01 Thread Ondrej Zajicek
On Fri, Mar 01, 2019 at 11:46:28AM +, Kenth Eriksson wrote: > > > We don't have multipath enabled in our kernel > > > (CONFIG_IP_ROUTE_MULTIPATH). How does bird tell whether the kernel > > > supports multipath? Probing run time via netlink? Didn't find any > > > configure.ac option. > > > >

Re: bird 2.0.3 does not install multipath route in kernel

2019-02-28 Thread Ondrej Zajicek
On Thu, Feb 28, 2019 at 01:15:02PM +, Kenth Eriksson wrote: > We have some multi-path routes that fails to get pushed into the > kernel. We are running bird 2.0.3 and kernel 4.14.92+. > > > bird> show route > ... > Table master4: > > 10.210.138.3/32 unicast [ospf1 13:24:23.022] E1

Re: Log limit

2019-02-21 Thread Ondrej Zajicek
On Thu, Feb 21, 2019 at 04:54:51PM +, Ticlea Alexandru wrote: > Hello > According to user guide, the next line looks correct but it leads to a syntax > error > log "/var/log/bird.log"  102400  "/var/log/bird.log-prev" { info, remote, > warning, error, auth, fatal, bug }; > Can we help me to

Re: bird 2.0.3 pushes connected routes to kernel

2019-02-19 Thread Ondrej Zajicek
On Thu, Feb 14, 2019 at 02:28:52PM +, Kenth Eriksson wrote: > After upgrading from bird 2.0.2 to 2.0.3 we discovered that bird pushes > connected routes to the kernel. Tried to alter the preference values > for kernel and device, but bird still pushes the connected routes, > resulting in

Re: minimal protocols support now needs RIP?

2019-02-11 Thread Ondrej Zajicek
On Mon, Feb 11, 2019 at 09:06:59AM +, Leo Vandewoestijne wrote: > Hello, > > I'm not the FreeBSD port maintainer for bird, however did wrote the initial > bird2 port. > In there I created the interface to "assemble" which protocols you wish, by > un/checking checkboxes. > This allows to

Re: Unknown instruction 8574 in same (~) Bug

2019-02-10 Thread Ondrej Zajicek
On Sun, Feb 10, 2019 at 12:12:58PM +, firas73...@yahoo.com wrote: > Hello BIRD-users, > I am running BIRD version 1.6.3 for about one year now and everything seems > to be ok. I've just changed some configuration (set next-hop of a route to > some IP address) and then issued a "configure"

<    3   4   5   6   7   8   9   10   11   12   >