Re: OSPF & cost

2012-01-18 Thread Ondrej Zajicek
On Wed, Jan 18, 2012 at 06:23:59PM +0400, Peter Andreev wrote: > >All works good and I see lo1, lo3 addresses on neighbours but with > >path-costs equal to 0. What should I do to fix this problem? > > Could you send the output of 'show ospf state' command? >

Re: BSD and carp take 2

2012-01-20 Thread Ondrej Zajicek
On Wed, Jan 18, 2012 at 07:27:46PM +0100, fredrik danerklint wrote: > Hi. > > I've made an patch that I would like to know if this is how it should be > done. > > What I want to achieve is to only announce a carp interface if it is in > the master state. Otherwise ignore it. Hopefully someone e

Re: VRRP Question

2012-01-20 Thread Ondrej Zajicek
On Thu, Jan 19, 2012 at 02:56:15AM -0500, dspaz...@epicup.com wrote: >Hi there. I have started selling bandwidth in a data center, using bird >as my main router, and it's working well. > > > >I need to put in a redundant router though, and so was starting to look >into that. >

Re: FreeBSD bugs ;)

2012-01-22 Thread Ondrej Zajicek
On Thu, Jan 19, 2012 at 03:34:30PM +0400, Alexander V. Chernikov wrote: > >> So you removed it? Or renamed? > > I removed it, so another interface took it's interface id, but bird > > kept associating previous name (vlan's) with this id. - renaming fails > > in principally the same way: bird kee

Re: FreeBSD bugs ;)

2012-01-22 Thread Ondrej Zajicek
On Sun, Jan 22, 2012 at 05:41:40PM +0400, Alexander V. Chernikov wrote: > Ondrej Zajicek wrote: > > On Thu, Jan 19, 2012 at 03:34:30PM +0400, Alexander V. Chernikov wrote: > >>>> So you removed it? Or renamed? > >>> I removed it, so another interface took it

Re: FreeBSD bugs ;)

2012-01-23 Thread Ondrej Zajicek
On Sun, Jan 22, 2012 at 08:30:18PM +0400, Alexander V. Chernikov wrote: > > BTW, i already have some minor fixes in iface scanning code in GIT i > I saw, RSS is a useful thing :) > > discovered yesterday. I would merge your patch and my comments to > > fix these bugs. > Okay, so you'll finish this

Re: Route aggregation in BIRD - how?

2012-01-23 Thread Ondrej Zajicek
On Mon, Jan 23, 2012 at 08:14:28PM +0400, Alexander V. Chernikov wrote: > On 23.01.2012 20:01, Maciej Wierzbicki wrote: >> Hello. >> >> Case study: >> * importing full BGP table from various uplinks >> * some routes received by BGP are being exported via OSPF to core1, >> using filters: >> (source

Re: Route aggregation in BIRD - how?

2012-01-24 Thread Ondrej Zajicek
On Mon, Jan 23, 2012 at 10:30:48PM +0400, Alexander V. Chernikov wrote: > On 23.01.2012 22:00, Ondrej Zajicek wrote: >> On Mon, Jan 23, 2012 at 08:14:28PM +0400, Alexander V. Chernikov wrote: >>> On 23.01.2012 20:01, Maciej Wierzbicki wrote: >>>> Hello. >>>&

Re: OSPF: LSA disappeared

2012-01-30 Thread Ondrej Zajicek
On Wed, Jan 25, 2012 at 03:14:10PM +0100, Bjoern Engels wrote: > Hi, > > we're running redundant pairs of routers using keepalived for VRRP and > BIRD for OSPF. (bird-1.3.3 through bird-1.3.6 actually) > > Static routes are configured in BIRD so when keepalived transitions to > master state it ad

Re: Unable to fetch route from tunnel device

2012-02-17 Thread Ondrej Zajicek
On Tue, Feb 14, 2012 at 11:57:07AM -0600, Dave Lloyd wrote: >I'm trying to set up an OpenVPN server that routes for multiple sites and >I'm having a bit of trouble getting Bird to add the routes that go through >the tun0 device. I've configured Bird to import routes from both the OS >

Re: RIPng (Sorry for beating a dead horse!)

2012-02-18 Thread Ondrej Zajicek
On Fri, Feb 17, 2012 at 05:09:39PM -0500, David Splittberger wrote: >So I've just started using bird and just wanted to verify with you all >what I'm seeing in RIPng. I've scoured the mailing list archives so I'm >pretty sure this is the same bug that has been reported before but I >

Re: Some small OSPF changes

2012-02-27 Thread Ondrej Zajicek
On Fri, Feb 24, 2012 at 11:30:19PM +0400, Alexander V. Chernikov wrote: > Hello list! > > There are several improvements that can be applied to OSPF: > > 1) At the moment TTL is not explicitly set in per-interface sockets, so > multicast messages are sent with default OS ttl (which is 255 on *BSD).

Re: Strange error message

2012-02-27 Thread Ondrej Zajicek
On Sun, Feb 26, 2012 at 10:59:09PM +, Alexander V. Chernikov wrote: > On 26.02.2012 17:28, fredrik danerklint wrote: >> Hi! >> >> I'm trying to turn the session up against a peer to no success. What >> I've got was this: > It seems that peer has its multiprotocol capabilities disabled/not > c

Re: BIRD-1.3.6 - show bgp summary command

2012-02-27 Thread Ondrej Zajicek
On Sat, Feb 25, 2012 at 03:33:13PM +0200, Alexander Shikoff wrote: > On Thu, Feb 23, 2012 at 04:48:00PM +0200, Dean Belev wrote: > > Hi there, > > > > Is the patch for 1.3.4 > > (http://marc.info/?l=bird-users&m=132155489919052&w=2 > > ) usab

Re: Neighbor lost for bird6

2012-02-27 Thread Ondrej Zajicek
On Thu, Feb 23, 2012 at 03:13:12PM +0100, Simone Morandini wrote: > Stefan Jakob wrote: >> Am 23.02.12 13:17, schrieb Simone Morandini: >> >>> Any clue on what could be the cause? >>> >> >> Can you please check, if your route for the peering lan is still on your >> interface? >> >> > > d

Re: Route aggregation in BIRD - how?

2012-02-27 Thread Ondrej Zajicek
On Thu, Feb 23, 2012 at 01:13:16AM +, Alexander V. Chernikov wrote: > On 24.01.2012 22:12, Alexander V. Chernikov wrote: >> Ondrej Zajicek wrote: >>> On Mon, Jan 23, 2012 at 10:30:48PM +0400, Alexander V. Chernikov wrote: >>>> On 23.01.2012 22:00, Ondrej Zajic

Re: Prefix to blackhole

2012-02-27 Thread Ondrej Zajicek
On Mon, Feb 27, 2012 at 04:58:01PM +0100, fredrik danerklint wrote: > Hi! > > I want to be able to set a router prefix via bgp to blackhole. > > What I have is this: > > if ((my_as, 666) ~ bgp_community) then { > print "blackhole '", net, "' from AS", bgp_path.last, " via AS", > bgp_path.first, "

Re: Some small OSPF changes

2012-02-29 Thread Ondrej Zajicek
On Tue, Feb 28, 2012 at 02:51:49AM +, Alexander V. Chernikov wrote: > On 27.02.2012 10:20, Ondrej Zajicek wrote: >> On Fri, Feb 24, 2012 at 11:30:19PM +0400, Alexander V. Chernikov wrote: >>> Hello list! >>> >>> There are several improvements that can b

Re: Community operations got broken after upgrade to 1.3.6 from 1.2.4

2012-03-04 Thread Ondrej Zajicek
On Fri, Mar 02, 2012 at 05:46:37PM +0200, Alexander Shikoff wrote: > Hello! > > After upgrade my Route Servers from 1.2.4 to 1.3.6 community processing > got broken. Simple function > > function check_community () > pair set wrong; > { > # > # Delete disallowed communities >

Re: Mismatch between code and documentation for default pipe mode

2012-03-05 Thread Ondrej Zajicek
On Sun, Mar 04, 2012 at 11:51:24PM +0100, Benjamin Cama wrote: > Hi, > > I had a headache trying to understand why my pipe ???preference??? option > was ignored, and then found out about pipe ???mode???. The documentation > says that the default mode is ???opaque??? (see > http://bird.network.cz/?

Re: bgp community loggin/export

2012-03-08 Thread Ondrej Zajicek
On Wed, Mar 07, 2012 at 12:46:03PM +0200, Tapio Haapala wrote: > Hello, > What is easiest or efficent way to get bgp commynity info out from bird? > Our need is make some iptables forward rules for traffic accounting > based by bgp communities. As cmmunities already answered by others, i just

Re: community features request

2012-03-08 Thread Ondrej Zajicek
On Wed, Mar 07, 2012 at 03:45:42PM +0400, Oleg wrote: > So, what's wrong. It works fine, but the code seems some strange: > > 1. If we have empty clist or empty pair set constructions, we can do > if ( allowed = [] ) then >instead of hack with (0,0) community; You could have empty pair s

Re: how to define a prefix

2012-03-09 Thread Ondrej Zajicek
On Fri, Mar 09, 2012 at 02:03:44PM +0400, Oleg wrote: > Hello. > > When I want to define a prefix: > > define our_net = 192.168.110.0/24; > > "bird> configure" says me: > > /etc/bird.conf, line 18: syntax error. Unfortunately, define only allows numerical constants. -- Elen sila lume

Re: exporting routes to kernel

2012-03-19 Thread Ondrej Zajicek
On Thu, Mar 15, 2012 at 03:14:31PM +0100, Tomasz Głuch wrote: > Is there any reason to not accept routes other than RTS_STATIC_DEVICE, > assuming that > possible loops are filtered out? Is other approach for this issue? The same > problem occurs > when routes origin from OSPF. This is here mainl

Re: exporting routes to kernel

2012-03-19 Thread Ondrej Zajicek
On Thu, Mar 15, 2012 at 08:56:49PM +0100, Tomasz Głuch wrote: > On czw, mar 15, 2012 at 05:33:19 +0100, Benjamin Cama wrote: > > Hi Thomasz, > > > > Le jeudi 15 mars 2012 ?? 15:14 +0100, Tomasz Głuch a écrit : > > > Is there any reason to not accept routes other than RTS_STATIC_DEVICE, > > > assu

Re: community features request

2012-03-19 Thread Ondrej Zajicek
On Fri, Mar 09, 2012 at 12:53:32AM +0400, Oleg wrote: > > The code: > > comm = filter(bgp_community, allowed); > > bgp_community.delete([(myas,*)]); > > bgp_community.add(comm); > > > > could be done if comm would be clist and adding clist to clist would > > be implemented (which i cou

Re: Some small CLI changes

2012-03-19 Thread Ondrej Zajicek
On Tue, Mar 06, 2012 at 10:49:19PM +0400, Alexander V. Chernikov wrote: > Hello list! > > Two small additions: > > 1) Type filter can be specified in 'show symbols' command, like: > 'show symbols table' > > 2) lsa database can be filtered by adv-router ID, like: > 'show ospf lsadb advrouter 1.2.3.4

Re: Incorrect usage of dirname() in sysdep/unix/main.c causes segfault

2012-03-19 Thread Ondrej Zajicek
On Sun, Mar 18, 2012 at 10:53:32AM -0300, Henrique de Moraes Holschuh wrote: > According to POSIX, dirname() is allowed to modify the string passed to > it. In fact, according to dirname(3), glibc's will do just that when > libgen.h is in use. The manpage even warns you that it will segfault > wh

Re: [PATCH] Allow to match on the kernel route protocol in filters

2012-03-19 Thread Ondrej Zajicek
On Wed, Mar 14, 2012 at 08:50:24PM +0100, Jérémie Dimino wrote: > Hi, > > I made a patch that allow to access the protocol field of routes > learned from the kernel. The goal is to be able to filter on the > protocol that added the route. For example FDN [1] need it to filter > routes added by a p

Re: community features request

2012-03-19 Thread Ondrej Zajicek
On Tue, Mar 20, 2012 at 12:37:51AM +0400, Oleg wrote: > One question. Is "! ( comm ~ [(0,0)..(65535,65535)] )" construction fast? Yes, it is. BTW, you could write it as !(comm ~ [(*,*)]). -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted

Re: Implementing RTBH filtering / BGP tagging

2012-03-20 Thread Ondrej Zajicek
On Mon, Mar 19, 2012 at 04:59:59PM -0700, Gregg Berkholtz wrote: > In working to streamline our utilization of each upstream's RTBH filtering > mechanisms (e.g. http://www.he.net/adm/blackhole.html ), I'm having a heck of > a time configuring BIRD to "mirror" Cisco product behaviors. > > Here's

Re: adding bgpsec to bird

2012-03-20 Thread Ondrej Zajicek
On Tue, Mar 20, 2012 at 07:23:19PM +0100, Matthias Waehlisch wrote: > Hi Mike, > > do you also intend to implement prefix origin validation according to > IETF/SIDR specs? > > Maybe as a side note: We implemented the RTR protocol as a lightweight > and very efficient C library, which allows

Re: adding bgpsec to bird

2012-03-20 Thread Ondrej Zajicek
On Tue, Mar 20, 2012 at 11:11:44AM -0700, Michael Baer wrote: > > Hi All, > > We've been working on an extension to BIRD supporting the BGPSec > protocol that is currently being discussed in the IETF SIDR Working > Group. And I had some questions I wanted to ask the BIRD developers. > If the use

Re: Implementing RTBH filtering / BGP tagging

2012-03-20 Thread Ondrej Zajicek
On Tue, Mar 20, 2012 at 11:42:05AM -0700, Kelly Cochran wrote: > > Or much simpler solution - remove secondary tables, add blackhole routes > > to bird config as static routes (in static protocol) and have everything > > in the master table. > > Which is exactly what I wound up doing when testing

Re: Show inverted filter result

2012-03-20 Thread Ondrej Zajicek
On Tue, Mar 20, 2012 at 10:50:33AM +0100, Matej Vadnjal wrote: > Hi list. > > Is there an easy way to list routes that do NOT match filter? Sorry, AFAIK it is not currently possible. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted e-ma

Re: Show inverted filter result

2012-03-22 Thread Ondrej Zajicek
On Thu, Mar 22, 2012 at 09:08:15AM +0100, Matej Vadnjal wrote: > On Tuesday 20 of March 2012 23:31:04 Ondrej Zajicek wrote: > > On Tue, Mar 20, 2012 at 10:50:33AM +0100, Matej Vadnjal wrote: > > > Is there an easy way to list routes that do NOT match filter? > > &g

Re: [PATCH] Allow to match on the kernel route protocol in filters

2012-03-22 Thread Ondrej Zajicek
On Thu, Mar 22, 2012 at 12:26:00PM +0100, Benjamin Cama wrote: > Hi, > > I'm the one who suggested coding the ???filtering on kernel proto??? on > another mailing-list (after getting the idea from here) and Jérémie > offered to code it. > > Le lundi 19 mars 2012 ?? 13:

Re: [PATCH] Allow to match on the kernel route protocol in filters

2012-03-22 Thread Ondrej Zajicek
On Thu, Mar 22, 2012 at 02:42:06PM +0100, Benjamin Cama wrote: > > I guess a good solution would be to fill some relevant krt_proto on BSD > > (probably the value of RTF_PROTO* flags). One minor downside is that > > kernel route value would be system-dependend (0 on BSD, ipp_kernel (i.e. 2) > > on

Re: One router - Two ASN

2012-03-25 Thread Ondrej Zajicek
On Sat, Mar 24, 2012 at 10:23:37AM -0300, Henrique de Moraes Holschuh wrote: > On Sat, 24 Mar 2012, Oleg wrote: > > On Sat, Mar 24, 2012 at 09:00:34AM +0100, Mi??osz Oller wrote: > > > How can I run two asn on one router? > > > > > > Example: > > > > > > ISP1 > > > | > > > ---

Re: [PATCH] Allow to match on the kernel route protocol in filters

2012-03-25 Thread Ondrej Zajicek
On Thu, Mar 22, 2012 at 02:42:06PM +0100, Benjamin Cama wrote: > Le jeudi 22 mars 2012 ?? 13:14 +0100, Ondrej Zajicek a écrit : > > On Thu, Mar 22, 2012 at 12:26:00PM +0100, Benjamin Cama wrote: > > > We debated offline whether we should include both or not, but I didn&#x

Re: bird under heavy cpu load

2012-03-25 Thread Ondrej Zajicek
On Mon, Mar 12, 2012 at 11:22:10PM +0400, Oleg wrote: > On Mon, Mar 12, 2012 at 02:27:23PM +0400, Alexander V. Chernikov wrote: > > On 12.03.2012 13:25, Oleg wrote: > > >Hi, all. > > > > > >I have some experience with bird under heavy cpu load. I had a > > >situation when bird do frequent updates o

Re: Unifying filters and functions? [Was: Re: Show inverted filter result]

2012-03-25 Thread Ondrej Zajicek
On Thu, Mar 22, 2012 at 02:57:20PM +0100, Benjamin Cama wrote: > Hi Ondrej, > > Le jeudi 22 mars 2012 ?? 11:45 +0100, Ondrej Zajicek a écrit : > > One possible way is to write filters as functions (returning true or false) > > and then use 'where' to cr

Re: Unifying filters and functions? [Was: Re: Show inverted filter result]

2012-03-26 Thread Ondrej Zajicek
On Mon, Mar 26, 2012 at 10:20:04PM +0200, Martin Mares wrote: > Hello! > > > IMHO functions are more general that filters, i don't really see why there > > are explicit named filters here. One minor advantage is that named filters > > are displayed in 'show protocols all'. > > One possible use is

Re: bird under heavy cpu load

2012-03-27 Thread Ondrej Zajicek
On Tue, Mar 27, 2012 at 07:13:11PM +0400, Alexander V. Chernikov wrote: > On 26.03.2012 03:25, Ondrej Zajicek wrote: >> On Mon, Mar 12, 2012 at 11:22:10PM +0400, Oleg wrote: >>> On Mon, Mar 12, 2012 at 02:27:23PM +0400, Alexander V. Chernikov wrote: >>>> On 12.03.20

Re: Distributing default route dynamically through OSPF / passive interfaces

2012-03-28 Thread Ondrej Zajicek
On Tue, Mar 27, 2012 at 03:11:29PM -0400, Thomas York wrote: >I am looking to replace Quagga with Bird for our OSPF deployment. >Currently, we have all of our plants with PtP links (either through PtP >T1s or OpenVPN links). We use static routes to get the tunnels and such >up, then

Re: bird under heavy cpu load

2012-03-29 Thread Ondrej Zajicek
On Mon, Mar 26, 2012 at 06:02:17PM +0400, Oleg wrote: > On Mon, Mar 26, 2012 at 01:25:32AM +0200, Ondrej Zajicek wrote: > > Hello > > > > Answering collectively for the whole thread: > > > > I did some preliminary testing and it on my test machine exporting full

Re: Setting MED (?) for a specific BGP route

2012-04-02 Thread Ondrej Zajicek
On Mon, Apr 02, 2012 at 03:26:51PM +1200, Michal Ludvig wrote: > export filter { > if source = RTS_OSPF then { > bgp_path.prepend(64526); > } > [...] > } > But that didn't make any difference. > Just quick answer: > Now I've got these qu

Re: BGP community not being set on outbound BGP updates

2012-04-07 Thread Ondrej Zajicek
On Thu, Apr 05, 2012 at 03:21:52PM +0200, Lex van Roon wrote: > Hi All, > > I'm building a s/RTBH setup based on bird 1.3.7. I'm using a single > route injector which has iBGP peerings with my route-reflector cluster. > The setup looks like this (with the injector running on > OpenBSD-4.9/Alpha an

Re: Setting MED (?) for a specific BGP route

2012-04-07 Thread Ondrej Zajicek
On Tue, Apr 03, 2012 at 10:58:20AM +1200, Michal Ludvig wrote: > On 04/03/2012 10:38 AM, Michal Ludvig wrote: >> Is there any way to autogenerate MED from IGP? For instance in my case >> I've got: >> if source = RTS_OSPF then { >> bgp_med = 200; >> } >> >> That wor

Re: SIGSEGV on rt-prune-step, v1.3.7 and git HEAD

2012-04-07 Thread Ondrej Zajicek
On Thu, Apr 05, 2012 at 01:22:11PM -0300, Henrique de Moraes Holschuh wrote: > I am trying to build a bit more advanced border router here capable of uRPF. > For that reason, each eBGP peer gets its own kernel table, and bird is used > to feed RST_BGP, RTS_STATIC and RTS_DEVICE routes to these supp

Re: bird init state

2012-04-07 Thread Ondrej Zajicek
On Mon, Apr 02, 2012 at 09:40:19PM +0300, Tapio Haapala wrote: > Hello, > Is this allready fixed on svn version? > > With old bird we had problem that some times it leave ospf serrions to > init state. > With 1.3.5 bird looks that there is still problem that if remote ospf > peer get hanged "ri

Re: bird under heavy cpu load

2012-04-07 Thread Ondrej Zajicek
On Tue, Mar 27, 2012 at 09:29:10PM +0400, Alexander V. Chernikov wrote: >>> CLI interface can easily be another abuser: >>> bird> show route count >>> 2723321 of 2723321 routes for 407158 networks >>> >>> If I do 'show route' for such table this can block bird for 10? seconds. >> >> Really? show r

Re: Fwd: Received route with strange next-hop

2012-04-17 Thread Ondrej Zajicek
On Mon, Apr 16, 2012 at 10:41:08PM +0200, Christian Kölpin wrote: > Hello Community > > First I have to say, the problem occurs in a lab/soho environment, so it > might be unusal to normal bird purposes. > > I'am running two routers who uses bird/OSPF to exchange their routing > tables. One route

Re: Preserving device routes with kernel protocol

2012-04-17 Thread Ondrej Zajicek
On Tue, Apr 17, 2012 at 11:37:52AM +0100, Howden Nick wrote: >Hi, > >I tried to post this to the mailing list but to no avail. Don't know why it wasn't delivered. >I wonder if you can shed some light on the problem we are having with >devices not being preserved when Bird updates

Re: feature request: extend clist operations with pair sets

2012-04-17 Thread Ondrej Zajicek
On Fri, Apr 13, 2012 at 05:00:40PM -0300, Henrique de Moraes Holschuh wrote: > Well, we cannot have clist literals, only pair set literals. That makes > this limitation of clist operations rather unfortunate. > > Can BIRD be extended to allow operating on clists using pair sets? > > I.e. clist.a

Re: Fwd: Received route with strange next-hop

2012-04-17 Thread Ondrej Zajicek
On Tue, Apr 17, 2012 at 09:54:40PM +0200, Christian Kölpin wrote: > > Hello > > > > BIRD generally assumes tha that gateway of routes is a direct neighbor > > according to IP addresses on interfaces, not according to routing tables. > > So having /32 device route does not help. But you could add pt

Re: Fwd: Received route with strange next-hop

2012-04-18 Thread Ondrej Zajicek
On Tue, Apr 17, 2012 at 11:21:26PM +0200, Christian Kölpin wrote: > Am 17.04.2012 23:14, schrieb Ondrej Zajicek: > > On Tue, Apr 17, 2012 at 09:54:40PM +0200, Christian Kölpin wrote: > >>> Hello > >>> > >>> BIRD generally assumes tha that gateway of r

Re: bird + arp

2012-04-26 Thread Ondrej Zajicek
On Sat, Apr 21, 2012 at 10:00:23PM +0200, Amadeus wrote: > Hi, > > is there any easy way right now to advertise host routes > from kernel's arp table as soon as they appear? No, entries in ARP table are not routes and BIRD does not care for them. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago

Re: 2 routers and 4 peers route export selection

2012-04-26 Thread Ondrej Zajicek
On Fri, Apr 20, 2012 at 02:32:57PM +0200, Laurent GUERBY wrote: > Hi, > > I have two debian BIRD routers R1 and R2 connected by an iBGP session, > both R1 and R2 are connected to two eBGP peers each: > > P1 <==> R1 <===> R2 <===> P3 > P2 <==> || <===> P4 > > Some routes are imported by

Re: Blackhole routes using a filter?

2012-05-04 Thread Ondrej Zajicek
s preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so." commit 182a78957d60a4c91c1ff8d1ff0f09b1b64b70ba Author: Ondrej Zajicek Date: Sun Apr 29 01:35:52 2012 +0200 Allows some modifications of dest attribute in filters. diff

Re: Fwd: Received route with strange next-hop

2012-05-04 Thread Ondrej Zajicek
On Thu, May 03, 2012 at 10:16:59PM +0200, Christian Kölpin wrote: > Hello > > Did the debug-output helps you to determine what is going wrong? I have some idea what probably happened, but the fix is not simple and will need more work. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (

Re: BIRD 1.3.7

2012-05-09 Thread Ondrej Zajicek
On Sun, May 06, 2012 at 06:21:11PM +0200, Gustavo Ponza wrote: > Hi everyone, developers and users, > > having played (for the *first* time) the last > three months with the 'quagga' suite, incidentally, > just some days ago, I discovered the BIRD program > and want to try it... the router compiled

Re: Blackhole routes using a filter?

2012-05-09 Thread Ondrej Zajicek
On Mon, May 07, 2012 at 08:13:53AM +0200, Dan Luedtke wrote: > > On Fri, 04 May 2012, Ondrej Zajicek wrote: > > It is not directly possible in current version, but patch is already in > > GIT (see attachment). With that, you could use 'dest = RTD_UNREACHABLE;' > >

Re: Interface Instance IDs in OSPFv3

2012-05-09 Thread Ondrej Zajicek
On Wed, May 09, 2012 at 06:18:19PM +0200, Benjamin Paterson wrote: >I am intrigued by the following bit of code in BIRD 1.3.7 >proto/ospf/iface.c >void >ospf_ifa_notify(struct proto *p, unsigned flags, struct ifa *a) >{ >[...] >if (flags & IF_CHANGE_UP) >{ >

Re: Interface Instance IDs in OSPFv3

2012-05-11 Thread Ondrej Zajicek
On Thu, May 10, 2012 at 10:15:58AM +0200, Benjamin Paterson wrote: >Great, that definitely makes more sense then :) >I'm still wondering, shouldn't this block: >if (ip->instance_id == 0) >done0++; > iid = ip->instance_id + 1; >instead read: >

Re: Cannot build with --enable-ipv6 on master branch

2012-05-11 Thread Ondrej Zajicek
On Thu, May 10, 2012 at 10:26:14AM +0200, Benjamin Paterson wrote: >At commit 95616c820248018f472cad315f2da60e4960 (4 May 2012) >I get an error towards the end of the build process when running make >after ./configure --enable-ipv6 >gcc -o ../bird nest/all.o filter/all.o proto/

Re: Interface Instance IDs in OSPFv3

2012-05-14 Thread Ondrej Zajicek
On Thu, May 10, 2012 at 02:28:53AM +0200, Ondrej Zajicek wrote: > >In addition, I haven't seen any option to manually set Instance IDs. > > Oops, it seems that i forgot to add this option, probably in dilemma > whether it should be syntactically a regular option or som

Re: Fwd: real broadcast mode

2012-05-14 Thread Ondrej Zajicek
On Thu, May 10, 2012 at 05:33:09AM +0300, Tapio Haapala wrote: > Again we get problems with multicast (all aour routers stop sending igmp > last night). So I must ask that what kind possibility is get that real > broadcast feature to bird? It solve many problem when you have dozens of > route

Re: Possible bug in ospf_lsupd_receive

2012-05-14 Thread Ondrej Zajicek
On Mon, May 14, 2012 at 02:37:39PM +0200, Benjamin Paterson wrote: >Hi guys, >I think there's an endianness problem in ospf_lsupd_receive. On the lines >where the program checks lsa->type or uses the LSA_SCOPE macro, it has not >previously converted lsa->type to host representation.

Re: Patch for renaming sk_new()

2012-06-12 Thread Ondrej Zajicek
On Fri, Jun 08, 2012 at 02:38:45PM -0700, Wes Hardaker wrote: > > The sk_new() function within bird is identically named to an openssl > function. We needed to link against openssl to support BGPSEC, which > Michael Baer wrote you about back in March, so I wrote a short patch to > rename sk_new()

Re: Multiple interface per link support in BIRD OSPFv3

2012-06-16 Thread Ondrej Zajicek
On Fri, Jun 15, 2012 at 03:31:30PM +0200, Benjamin Paterson wrote: >Is this supported? (RFC5340 section 4.9) If not, any plans to support it? >It'd be great for example to maintain a pointer in each ospf_iface to the >active interface for the link, or at least have a way to tell if two

Re: rip is broken?

2012-07-23 Thread Ondrej Zajicek
On Thu, Jul 19, 2012 at 10:27:20PM +0400, Alexander V. Chernikov wrote: > Hello list! > > It seems that rip-ng changes introduced in f7615037 broke RIP so bird > dumps core on first RIP packet: Hello Interesting, it works for me without problems. I do not think that commit f7615037 is relevant,

Re: Linux route caching and busy Bird protocols

2012-07-23 Thread Ondrej Zajicek
On Fri, Jul 13, 2012 at 01:26:03AM -0500, Michael Vallaly wrote: > > Hello again fellow bird users, > > Not sure if anyone has run across this before or not, but poking around > with a couple of bird (1.3.7 and 1.3.3) instances on Linux (2.6 - 3.3), > it seems that something related to bird is fl

Re: RPKI support

2012-07-23 Thread Ondrej Zajicek
On Sun, Jul 08, 2012 at 01:29:40PM +0300, Alexander Shikov wrote: > Hello! > > Is there plans for RPKI support in bird? We already have support for ROA tables, which implement prefix matching according to RPKI specs, but no other infrastructure (for automatic updating ROA records from RPKI), so t

Re: default route problem

2012-07-25 Thread Ondrej Zajicek
On Wed, Jul 25, 2012 at 10:26:27AM +0200, e...@piekielko.pl wrote: > Hi, > I've got very simple config: > -- bird.conf -- > log "/var/log/bird.log" { debug, trace, info, remote, warning, error, auth, > fatal, bug }; > debug protocols all; > router id 172.0.0.1; > protocol kernel { > learn; >

Re: Need some help about static routing tables on two hosts.

2012-07-25 Thread Ondrej Zajicek
On Wed, Jul 25, 2012 at 11:46:10PM +0300, Eliezer Croitoru wrote: > i' kind of new in some of this stuff so i need basically directions. > > i am working on a lab for a real implementation. > the way things works now is like that: > > 10 proxies behind 2 LB that works based o linux route policies.

Re: default route problem

2012-07-26 Thread Ondrej Zajicek
On Thu, Jul 26, 2012 at 09:46:02AM +0200, e...@piekielko.pl wrote: > Hello > Problem is in both cases: when bird starts and when it's reconfigured. > > When bird starts log is: > MyOSPF: Flushing AS-external-LSA for 0.0.0.0/0 > MyOSPF: Premature aging self originated lsa! > MyOSPF: Type: 0005, I

Re: BGP commands enquiry - advertised-route, received-route, and many more

2012-07-26 Thread Ondrej Zajicek
On Thu, Jul 26, 2012 at 12:45:33PM +0400, Alexander V. Chernikov wrote: > I've translated part of our internal wiki page, regarding bird: > http://bird.mpls.in/projects/mpls-bird/wiki/Bird_cheatsheet If you agree, i would copy CLI cheatsheet to BIRD wiki. Note that there is one error in the chea

Re: pptp + bird

2012-08-07 Thread Ondrej Zajicek
On Thu, Aug 02, 2012 at 08:56:40PM +0200, Amadeus wrote: > Hello list, > > is there any best practise to advertise static routes when interface > names change? I have many ppp uplinks running on a server (ppp0, ppp1, > ppp2 etc.) with static routes on them which I configure like this: > >> prot

Re: add-path support in bird?

2012-08-07 Thread Ondrej Zajicek
On Sat, Aug 04, 2012 at 07:01:11PM +0200, Job Snijders wrote: > Hi fellow bird fanatics, > > Does BIRD support the BGP "Add Path" feature? You mean this http://tools.ietf.org/html/draft-ietf-idr-add-paths-07 ? That is not implemented, but it could be ;-) . Seems not too complicated. > I opera

Re: bird-lg, another looking glass

2012-08-07 Thread Ondrej Zajicek
On Tue, Aug 07, 2012 at 12:07:54PM +0200, Job Snijders wrote: > > Just curious - what is this BIRD installation (ring.nlnog.net)? > > It seems that it receives full BGP feeds, so i guess it is not > > a common route server. Some distributed BGP monitoring? > > The NLNOG RING is an international d

Re: bird-lg, another looking glass

2012-08-07 Thread Ondrej Zajicek
On Tue, Aug 07, 2012 at 12:33:37PM +0200, Job Snijders wrote: > Hi Ondrej, > > On 7 aug. 2012, at 12:51, Ondrej Zajicek wrote: > > > So BIRD there just receives several full BGP feeds through EBGP multihop > > session > > and exports nothing? > > Spot on.

Re: pptp + bird

2012-08-09 Thread Ondrej Zajicek
On Wed, Aug 08, 2012 at 11:56:41PM +0200, Amadeus wrote: >> if that client reconnects, 169.254.0.1 would become accessible and >> route should reappear (with possibly different iface). > > Here comes the problem: bird is not adding any routes back, only if I > restart it the static protocol set

Re: Route aggregation in BIRD - how?

2012-08-14 Thread Ondrej Zajicek
On Wed, Aug 15, 2012 at 12:01:54AM +0400, Alexander V. Chernikov wrote: > On 28.02.2012 05:06, Alexander V. Chernikov wrote: >> Next version. Various protocol filters seems to be handled correctly now. > > Another new version. > > Major rewrite. Many bugfixes, cleaner code, documentation updated.

Re: pptp + bird

2012-08-15 Thread Ondrej Zajicek
On Fri, Aug 10, 2012 at 02:45:18PM +0200, Amadeus wrote: > b) it is also present in birdc: > > show interfaces > ppp5 up (index=923) > PtP Multicast AdminUp LinkUp MTU=1446 > 169.254.0.1/32 (Primary, opposite 169.254.40.52, scope univ) > > c) the interface has been rescanned by bird as ppp5: > 10-

Re: BGP commands enquiry - advertised-route, received-route, and many more

2012-08-15 Thread Ondrej Zajicek
On Tue, Jul 31, 2012 at 10:48:48AM +0800, Jimmy Halim wrote: > Hi Alexander, guys, > > Thanks a lot for your input. Actually it is great if someone has tried > a work around to display the equivalent command of "show ip bgp > neighbors 1.1.1.1 received-routes" in BIRD. We are able to do this in >

Re: New release 1.3.8

2012-08-15 Thread Ondrej Zajicek
On Tue, Aug 07, 2012 at 03:27:08PM +0200, Ruben Laban wrote: > On 8/7/2012 2:01 PM, Ruben Laban wrote: >> On 8/7/2012 11:51 AM, Ondrej Filip wrote: >>>o History deduplication in BIRD client. >> >> Nice! This feature alone pretty much is reason enough to upgrade all my >> instances :-) > > Minor

Re: Route aggregation in BIRD - how?

2012-08-15 Thread Ondrej Zajicek
On Wed, Aug 15, 2012 at 07:59:18PM +0200, Jérôme Nicolle wrote: > - May agregate on the following criterias : > * Same AS-path (with or without stripping prepending) > * Same next-hop > * Every attributes matching (only the prefix lenght differs but the > longer is contained in the shorter, therefo

Re: pptp + bird

2012-08-16 Thread Ondrej Zajicek
On Fri, Aug 10, 2012 at 02:45:18PM +0200, Amadeus wrote: > When I look at the timestamps it seems as if the old interface is not > down before the new one comes up which means that bird won't be able to > set the new routing information as it is still present on the old > interface, does that make

Re: Next-hop issue using iBGP

2012-08-17 Thread Ondrej Zajicek
On Fri, Aug 17, 2012 at 08:38:42AM +0300, Dean Belev (Neterra NMT) wrote: >Hi all, > >I was performing a home lab and decided to test a new scenario including >iBGP between a router and RS. >That's a brief scheme of the lab: > >### > 5.5.5.1 5.5.5.2

Re: bird and OSPF on p2p

2012-08-22 Thread Ondrej Zajicek
On Tue, Aug 21, 2012 at 08:29:20PM +0600, Eugene M. Zheganin wrote: > Hi, guys ! > > I'm trying to use bird/OSPF on a bunch of gre tunnels. > Though I'm using it successfully with ipv6 on same tunnels, I have no > clue why it doesn't announce the networks when on ipv4. > > My typical setup is as

Re: bird and OSPF on p2p

2012-08-22 Thread Ondrej Zajicek
On Wed, Aug 22, 2012 at 04:32:24PM +0600, Eugene M. Zheganin wrote: > Hi. > > On 22.08.2012 14:39, Ondrej Zajicek wrote: >> As i understand it correctly, you have Quagga at one end and BIRD >> on the other? AFAIK there is some problem related to unnumbered >> ptp l

Re: Unnumbered interface incorrectly marked DOWN

2012-08-22 Thread Ondrej Zajicek
On Wed, Aug 22, 2012 at 02:32:39PM +0200, Tore Anderson wrote: > $ birdc show static > BIRD 1.3.8 ready. > 172.40.33.3/32 dev nat64 > 172.40.60.0/26 dev nat64 > $ ip route show proto bird > 172.40.33.3 dev nat64 > 172.40.60.0/26 dev nat64 > > While this is an acceptable workaround for me, this beh

Re: Several ptmp OSPF sessions over a single interface

2012-08-27 Thread Ondrej Zajicek
On Mon, Aug 27, 2012 at 01:58:27PM +0200, Ruben Laban wrote: > Hello, > > I'm currently performing some experiments to find the "best" way to > inter-connect a bunch of routers using a shared medium. A common > scenario would be a set of 4 routers, for instance a pair of border > routers and

Re: OSPFv3: link-local address required on loopback interface?

2012-08-28 Thread Ondrej Zajicek
On Tue, Aug 28, 2012 at 03:08:00PM +0200, Tore Anderson wrote: > I've run across a rather weird behaviour in BIRD 1.3.8 regarding the > interaction between address(es) on the loopback interface and the OSPFv3 > protocol. It seems that if there's no link-local address on the > interface, BIRD fails

Re: Several ptmp OSPF sessions over a single interface

2012-08-28 Thread Ondrej Zajicek
On Tue, Aug 28, 2012 at 12:09:32PM +0200, Ruben Laban wrote: > > So far the testing with (3) has shown it to be a rather nice solution > problem. It even seems to handle the additional use case where there's > floating (high-available) IP addresses involved (as aliases) properly. > Just one sma

Re: Several ptmp OSPF sessions over a single interface

2012-08-29 Thread Ondrej Zajicek
On Mon, Aug 27, 2012 at 04:49:06PM +0200, Ondrej Zajicek wrote: > I see three possibilities: > > (2) ptp links using ptp addresses for each link > ... > (2) generally should work and you can use half the addresses than in the > first case as you can share local address for eac

Re: OSPFv3: link-local address required on loopback interface?

2012-08-29 Thread Ondrej Zajicek
On Wed, Aug 29, 2012 at 08:00:34AM +0200, Tore Anderson wrote: > * Ondrej Zajicek > > >> Also, why did the ?Primary? address change as a result of fe80:: being > >> added? > > > > This is a bug in primary address selection. > > [...] > > >

Re: bird and OSPF on p2p

2012-08-30 Thread Ondrej Zajicek
On Wed, Aug 22, 2012 at 04:32:26PM +0200, Joakim Tjernlund wrote: > owner-bird-us...@atrey.karlin.mff.cuni.cz wrote on 2012/08/22 15:34:54: > > > > On Wed, Aug 22, 2012 at 04:32:24PM +0600, Eugene M. Zheganin wrote: > > > Hi. > > > > > > On 22.08.201

Re: bird and OSPF on p2p

2012-08-30 Thread Ondrej Zajicek
On Thu, Aug 30, 2012 at 01:33:09PM +0200, Joakim Tjernlund wrote: > > Therefore, i think about putting local IP address for ptp links with ptp > > addresses (i.e. merging the patch i sent before). Although it could be > > argued that it is contrary to RFC 2328 12.4.1 [*], the ifindex value > > is u

<    1   2   3   4   5   6   7   8   9   10   >