Re: deterministic order for include by wildcard

2015-12-28 Thread Ondrej Zajicek
On Mon, Dec 28, 2015 at 08:42:19PM -0200, Henrique de Moraes Holschuh wrote: > On Mon, 28 Dec 2015, Ondrej Zajicek wrote: > > Results are alphabetically sorted. The wildcard expansion is implemented > > by standard glob() libc function, and unfortunately both Single UNIX > > specification and GNU C

Re: generic extended communities support

2015-12-28 Thread Ondrej Zajicek
On Mon, Dec 28, 2015 at 02:19:23PM -0800, Warren Turkal wrote: > Bird folks, > > Is there any chance that the transitive part of the following RFC draft > will be implemented in BIRD? > https://tools.ietf.org/html/draft-ietf-idr-as4octet-extcomm-generic-subtype-08 > > I only ask as the implementa

Re: deterministic order for include by wildcard

2015-12-28 Thread Henrique de Moraes Holschuh
On Mon, 28 Dec 2015, Ondrej Zajicek wrote: > Results are alphabetically sorted. The wildcard expansion is implemented > by standard glob() libc function, and unfortunately both Single UNIX > specification and GNU C library documentation are lacking details about > that. I would expect that it is a

generic extended communities support

2015-12-28 Thread Warren Turkal
Bird folks, Is there any chance that the transitive part of the following RFC draft will be implemented in BIRD? https://tools.ietf.org/html/draft-ietf-idr-as4octet-extcomm-generic-subtype-08 I only ask as the implementation seems like it might be trivial since one can already do something like (

Re: deterministic order for include by wildcard

2015-12-28 Thread Ondrej Zajicek
On Mon, Dec 28, 2015 at 10:32:37AM -0800, Warren Turkal wrote: > Hey folks, > > Do wildcards in includes resolve in a deterministic order? I'd like to just > put something like the following in my bird.conf: > > include "/etc/bird.d/*.conf" > > If I do that, can I rely on 10-common.conf to be in

Re: deterministic order for include by wildcard

2015-12-28 Thread Warren Turkal
According to an IRC discussion with someone named Elrond: rv = glob(patt, GLOB_ERR | GLOB_NOESCAPE, NULL, &g); char *fname = g.gl_pathv[i]; This seems good to me. Seems like it might be useful to mention that the glob is sorted in the docs. wt On Mon, Dec 28, 2015 at 10:32 AM, Warren

deterministic order for include by wildcard

2015-12-28 Thread Warren Turkal
Hey folks, Do wildcards in includes resolve in a deterministic order? I'd like to just put something like the following in my bird.conf: include "/etc/bird.d/*.conf" If I do that, can I rely on 10-common.conf to be included before 20-bgp_to_other_place.conf so that I can define templates in a co

Re: Trouble with inter and intra area filtering between two areas.

2015-12-28 Thread Ondrej Zajicek
On Tue, Dec 15, 2015 at 05:38:11AM +0100, LU wrote: > Hello. > > Here's my setup with 4 routers: > >area 0 > / \ > R1 R2 > | | > | | > R3 -- R4 > \ area1 / > > What I am trying is to prevent routes that fall in 10.0.0.0/8 range from > being announ

Re: route withdraws on BGP route-refresh

2015-12-28 Thread Ondrej Zajicek
On Mon, Dec 28, 2015 at 10:41:26AM +0200, Christos Trochalakis wrote: > On Thu, Dec 10, 2015 at 12:10:35PM +0200, Christos Trochalakis wrote: > >Hello all, > > > >While debugging a route-refresh issue we discovered that when a route-refresh > >is received, bird, instead of just sending an update co

Re: [bird-ospf] LSA forward-address is incorrect

2015-12-28 Thread Ondrej Zajicek
On Wed, Dec 23, 2015 at 03:17:10PM +0300, danilov wrote: > Hello. > > I have a small network with several bird routers as bgp and ospf routers. > > EBGP-session has been established between one of our bgp-routers and customer > router with multihop feature through OSPF-domain and iBGP-domain. >

Re: route withdraws on BGP route-refresh

2015-12-28 Thread Stefan Jakob
I dont know the bird internals exactly, but iirc this is implemented to save tracking as you mentioned in the code. According to RFC 2918 Otherwise, the BGP speaker shall re- advertise to that peer the Adj-RIB-Out of the carried in the message, based on its outbound route filtering policy. -->

Re: route withdraws on BGP route-refresh

2015-12-28 Thread Christos Trochalakis
On Thu, Dec 10, 2015 at 12:10:35PM +0200, Christos Trochalakis wrote: Hello all, While debugging a route-refresh issue we discovered that when a route-refresh is received, bird, instead of just sending an update containing the exported routes, also withdraws **all known routes** from its peer. I