Re: bgp soft reconfiguration inbound

2009-11-20 Thread Ondrej Zajicek
On Fri, Nov 20, 2009 at 02:19:05PM +0100, Wolfgang Hennerbichler wrote: Fellow Bird Users, Now I realized that if I changed the definition for 'allnet' and do a 'configure soft' these routes that are added or removed to 'allnet' are not rejected or added, because it seems that there is no

Re: state of ipv6

2009-11-23 Thread Ondrej Zajicek
On Mon, Nov 23, 2009 at 08:06:31PM +0100, Martin Kraus wrote: Hi. I'd like to ask what is the state of ipv6 in bird. I know it doesn't support OSPFv3 but last time I tried, ipv6 RIP didn't work either. Has something changed or do I have to use a different routing daemon for ipv6? OSPFv3

Re: bgp soft reconfiguration inbound

2009-11-24 Thread Ondrej Zajicek
On Tue, Nov 24, 2009 at 04:03:32PM +0100, Wolfgang Hennerbichler wrote: - per protocol request for route refresh hm. I'm not exactly sure how you mean this - something like: bird restart protocol R1234 soft Yes. like bird configure route-refresh = i'd prefer the per protocol thing

Re: filter position in config file.

2009-11-26 Thread Ondrej Zajicek
On Tue, Nov 24, 2009 at 03:45:49PM +, openbsd misc wrote: I had a script generate some filters and add them to the very end of bird.conf (latest version 1.1.6) and if I do a birdc - configure it complains no such filter. If move the filters above the bgp protocol section they are found

Re: unequal cost load balancing?

2009-11-26 Thread Ondrej Zajicek
On Thu, Nov 26, 2009 at 12:54:15AM +0100, KORN Andras wrote: Hi, we have a 5Mbps symmetric microwave uplink with one static IP and a /30 subnet. We're contemplating getting an additional ADSL connection to serve as backup. If the ISP cooperates, is there a way for me to load-balance and

Re: [Euro-ix-rs-vwg] New release 1.2.0

2010-01-21 Thread Ondrej Zajicek
On Thu, Jan 21, 2010 at 06:41:15PM +0300, Mikhail A. Grishin wrote: Hi, Another one question regarding looking glass output. Is it possible to show current prefix count in 'show protocols' output? Right now, if we want to collect prefix counters, we need to apply 'show route protocol

Re: Command Syntax for BIRD configuration

2010-01-25 Thread Ondrej Zajicek
On Mon, Jan 25, 2010 at 05:19:09PM +0800, Affandi INDRAJI wrote: Hi Ondrej, Thanks for prompt reply. A couple of question: 1. How to configure based on match AS for example in cisco, they have regular expression like _7898$, what is the equivalent of this command in BIRD config file (do

Re: [Euro-ix-rs-vwg] New release 1.2.0

2010-01-25 Thread Ondrej Zajicek
On Mon, Jan 25, 2010 at 03:15:14PM +0300, Mikhail A. Grishin wrote: Yes, we had some filters on pipes for every client. Upon your explanation, we transfered filters from pipes to the protocol bgp section of the config. Now show protocols all output shows all needed information. Just a note

Re: [Euro-ix-rs-vwg] New release 1.2.0

2010-01-28 Thread Ondrej Zajicek
On Thu, Jan 28, 2010 at 12:54:03PM +0300, Mikhail A. Grishin wrote: First of all, thank you for patch and for fast respond! After applying both patches (date patch and well-known communities) on production server, we got some strange errors: Jan 28 12:02:04 msk-rsm2 bird: R34485x1: Error:

Re: MRT

2010-02-26 Thread Ondrej Zajicek
On Sat, Feb 20, 2010 at 12:47:47PM +, Andy Davidson wrote: On 14/01/2010 10:19, Ondrej Filip wrote: [Upon announcing 1.2.0] o Implements MRTdump - binary logging protocol compatible with other routing daemons. Only BGP part of MRTdump is yet implemented. Is any body using this

Re: bird crashes when re-configuring with route limit

2010-03-11 Thread Ondrej Zajicek
On Wed, Mar 10, 2010 at 09:06:29PM +0100, Arnold Nipper wrote: On 10.03.2010 20:57 Arnold Nipper wrote Where to put the core and the binary? Unfortunately both bird as well as bird6 dump to core. Is there any way to have them dump to something like core{4,6}-mmmddHHMMSS The

Re: Touble ospf md5 authentication

2010-03-19 Thread Ondrej Zajicek
On Fri, Mar 19, 2010 at 01:57:36PM +0200, Vitaliy Kolodinsky wrote: Dear, bird-us...@atrey.karlin.mff.cuni.cz. Who has a working BIRD 1.2.1 ospf md5 authentication and Cisco? ---Log File-- Mar 16 17:34:52 vulture2 bird: MyOSPF: OSPF_auth: size mismatch (88 vs 124) Mar 16 17:34:52

Re: Touble ospf md5 authentication

2010-03-19 Thread Ondrej Zajicek
On Fri, Mar 19, 2010 at 04:15:27PM +0159, Vitaliy Kolodinsky wrote: Dear, Ondrej Zajicek. ?? ?? 19 ? 2010 ?., 16:05:04: On Fri, Mar 19, 2010 at 01:57:36PM +0200, Vitaliy Kolodinsky wrote: Dear, bird-us...@atrey.karlin.mff.cuni.cz. Who has a working BIRD 1.2.1 ospf md5

Re: Touble ospf md5 authentication

2010-03-19 Thread Ondrej Zajicek
On Fri, Mar 19, 2010 at 05:52:04PM +0159, Vitaliy Kolodinsky wrote: Hmm, it seems that Cisco just sends some trash after the end of OSPF packet. Perhaps it would suffice to remove the check in BIRD, but i personally don't test this compatibility. In area 0.0.0.2 works some Cisco routers,

Re: Feature-Request: Syslog-name of Bird6

2010-03-22 Thread Ondrej Zajicek
On Mon, Mar 22, 2010 at 03:33:09PM +0100, Ondrej Filip wrote: On 22.3.2010 15:29, Martin Mares wrote: On Mon, Mar 22, 2010 at 08:41:16AM +0100, Wolfgang Hennerbichler wrote: Good Morning Ondrej Ondrej, would it be possible to let bird6 log with the bird6 prefix to syslog instead of

Re: OSPF Ring network

2010-03-25 Thread Ondrej Zajicek
On Fri, Mar 26, 2010 at 12:23:53AM +0100, Ondrej Zajicek wrote: 2) You probably don't want 'export all' to protocol ospf. That would lead to export routes from direct protocol to ospf protocol, whis is not what you want (protocol ospf generates routes for connected devices itself so

Re: BGP path selection

2010-03-29 Thread Ondrej Zajicek
On Sun, Mar 28, 2010 at 10:19:59PM +0100, David J Craigon wrote: Hello, Here's what I want to do. I've got bird running BGP to two transit network providers. I want my path selection to be like this: 1) Choose the shortest AS path. 2) If the AS path is equal in length, prioritise one

Re: Problems with rr cluster id

2010-04-08 Thread Ondrej Zajicek
On Wed, Apr 07, 2010 at 07:28:18PM -0600, Neil Davidson wrote: Working with a new BIRD 1.2.1 build and am trying to get route reflection set up. I cannot get BIRD to accept the rr cluster id command. I get the following error message ... Hello This is known bug, you can use attached patch or

Re: BGP: Malformed attribute list

2010-04-09 Thread Ondrej Zajicek
On Thu, Apr 08, 2010 at 02:44:11PM +0200, Wolfgang Hennerbichler wrote: Allright, reply to myself: This seems to be a bug in BIRD. What I actually added was a rule that certain communities should be deleted: if ((1120,1)) ~ bgp_community then bgp_community.delete((1120,1)); this

Re: another bug: system time change

2010-04-09 Thread Ondrej Zajicek
On Fri, Apr 09, 2010 at 10:22:05AM +0200, Wolfgang Hennerbichler wrote: Hi Ondrejs, I think I found another bug. For some mysterious reason our system time jumped forward (more than 30.000 seconds) on one of our route-servers. I don't know why this happened, but I suspect a broken ntp

Re: Very simple bird.conf

2010-04-14 Thread Ondrej Zajicek
On Wed, Apr 14, 2010 at 07:09:17PM +0200, Ondrej Filip wrote: Yes, would replacing direct { } with static { route 0.0.0.0/0 via 84.45.39.149; route 91.203.56.0/23 via eth0; } be more idiomatic here? The second route has one side-effect - it is exported to the

Re: Socket: Broken pipe

2010-04-18 Thread Ondrej Zajicek
On Fri, Apr 16, 2010 at 12:39:07PM +0200, Stefan Jakob wrote: Am 16.04.2010 12:21, schrieb Stefan Jakob: ird show protocol R123 name prototablestate since info R123 BGP Ttablename start 2010-04-16 09:36:35 Idle Socket: Broken pipe restart R123 removed the

Re: New release 1.2.2

2010-04-18 Thread Ondrej Zajicek
On Sat, Apr 17, 2010 at 01:08:31AM +0200, Arnold Nipper wrote: Version 1.2.2 (2010-04-10) o Many bugfixes in BGP, OSPF, filters, ... does this include the timestamp fix? Yes. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted

Re: OSPF performance/SPF calculations

2010-04-21 Thread Ondrej Zajicek
On Wed, Apr 21, 2010 at 09:41:47AM +0200, Joakim Tjernlund wrote: I am using Quagga ATM but I had a quick look at BIRD and I got a few observations. Hello. Thank you for your tips and notes. The LSA/checksum code seem very inefficient. LSAs are built allocating/reallocing bits of memory.

Re: OSPF performance/SPF calculations

2010-04-23 Thread Ondrej Zajicek
On Fri, Apr 23, 2010 at 08:27:40AM +0200, Joakim Tjernlund wrote: Yes, but not at the moment. The endian problem should be addressed when you build the lsa. Does this help at all? In any case, the (int) cast should be there. Removing of endianity swap is correct only if the Fletcher

Re: OSPF performance/SPF calculations

2010-04-23 Thread Ondrej Zajicek
On Fri, Apr 23, 2010 at 01:06:20PM +0200, Joakim Tjernlund wrote: I must be missing something then(not surprising as I just started looking at BIRD). Why do you need the separate allocation for the body of the LSA then? Why not just adding entries to the allocated LSA header? Ahh, I am

Re: OSPF performance/SPF calculations

2010-04-23 Thread Ondrej Zajicek
On Fri, Apr 23, 2010 at 04:12:27PM +0200, Joakim Tjernlund wrote: As i looked on the Fletcher checksum, it seems that you cannot just swap the result instead of swapping the checked data. Then there is a bug else where. Fletcher as such does not depend on host endian. It operates on bytes

Re: OSPF performance/SPF calculations

2010-04-23 Thread Ondrej Zajicek
On Fri, Apr 23, 2010 at 05:29:09PM +0200, Joakim Tjernlund wrote: But you also need LSAs in host endianity when doing SPF calculation. Although it would be probably possible to change SPF calculation to use directly BE values it would be huge work and it is questionable whether it wouldn't

Re: [PATCH] ipsum_calc_block: Optimize size and speed

2010-04-23 Thread Ondrej Zajicek
On Fri, Apr 23, 2010 at 07:40:28PM +0200, Joakim Tjernlund wrote: So there isn't really difference in performance of both implementations. Even on slow embedded AMD Geode CPU, it gives ~ 180 MB/s. No difference? what does 1.2 mean? to me this means 20% which is a lot Yes,

Re: [PATCH] ipsum_calc_block: Optimize size and speed

2010-04-23 Thread Ondrej Zajicek
On Fri, Apr 23, 2010 at 07:40:28PM +0200, Joakim Tjernlund wrote: Martin Mares m...@ucw.cz wrote on 2010/04/23 19:23:18: Hello! So there isn't really difference in performance of both implementations. Even on slow embedded AMD Geode CPU, it gives ~ 180 MB/s. No

Re: OSPF performance/SPF calculations

2010-04-25 Thread Ondrej Zajicek
On Sun, Apr 25, 2010 at 06:08:04PM +0200, Joakim Tjernlund wrote: This is not a problem because both SPF and calc_next_hop() chooses the cheapest (full) ptp link. They both uses the same (local) metrics. Our ptp links typically have the same cost between the same two routers so it is not

Re: [PATCH 0/5] IP checksum improvements

2010-04-25 Thread Ondrej Zajicek
On Sun, Apr 25, 2010 at 11:41:17AM +0200, Joakim Tjernlund wrote: Here are a series of performance improvements on the Internet checksum. With these changes applied I get about 20-30% better performance on x86 and PowerPC. Although i agree with Martin Mares that such kind of optimizations

Re: VRRP, OSPF and 1-way state.

2010-04-25 Thread Ondrej Zajicek
On Sun, Apr 25, 2010 at 06:13:58PM -, Rob Epping wrote: Hi list, Today I spend a lot of time debugging why BIRD doesn't get our IPSO VRRP cluster in 2WAY state, while junos and IOS routers do. ... Both IPSO routers send OSPF messages with RID .3, see below. ... My guess is that

Re: OSPF performance/SPF calculations

2010-04-26 Thread Ondrej Zajicek
On Mon, Apr 26, 2010 at 01:04:44AM +0200, Joakim Tjernlund wrote: BIRD does not use link availability information, therefore if you pull the cable, BIRD keeps the whole subnet in the router-LSA (if it is a stub network). If you do(any plans?), my vote is to leave a host stub in the R-LSA

Re: [PATCH 0/5] IP checksum improvements

2010-04-26 Thread Ondrej Zajicek
On Mon, Apr 26, 2010 at 01:57:29AM +0200, Joakim Tjernlund wrote: Ah, now I think I know. The while(buf end) is optimized for post inc so that is why. tested little and was surprised, only 3-5% slower with the while loop compared to my for loop, it is mainly the post increment that does

Re: Patch ping

2010-04-27 Thread Ondrej Zajicek
On Mon, Apr 26, 2010 at 10:31:18AM +0200, Joakim Tjernlund wrote: I missed this patch. Shouldn't autoconf also set linker binary name to some variable (for crosscompiling)? You would think that, but you need libtool for that. It is better not to use LD directly if you can avoid it.

Re: fletcher checksum

2010-04-27 Thread Ondrej Zajicek
On Tue, Apr 27, 2010 at 04:39:37PM +0200, Joakim Tjernlund wrote: I think I mentioned this in passing but the fletcher checksum impl. is fragile. Try changing u16 length to u32 length and watch it break for no apparent reason. Yes, i noticed that and will fix that. Thanks. You know

Re: Patch ping

2010-04-27 Thread Ondrej Zajicek
On Tue, Apr 27, 2010 at 10:58:39PM +0200, Martin Mares wrote: (BTW where we rely on GCC?) There are several frequent GCCisms in the code, like 'struct abc b = {field: 123}', '? :' or ({ ... }). -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santi...@crfreenet.org) OpenPGP

Re: [PATCH 1/2] flex: Avoid REJECT name conflict.

2010-04-29 Thread Ondrej Zajicek
On Wed, Apr 28, 2010 at 09:07:29AM +0200, Joakim Tjernlund wrote: While we are in cf-lex.l, this looks like a bug: -0x{DIGIT}+ { +0x{XIGIT}+ { Definitely, thank you. I will merge that bugfix. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santi...@crfreenet.org) OpenPGP

Re: bird6 segfault

2010-05-28 Thread Ondrej Zajicek
On Fri, May 28, 2010 at 02:26:51PM +0200, Arjan Filius wrote: Hello, Hello, thanks for the bugreport. an update. added listen bgp v6only; in the global section of my bird6.conf seems to solve it. a mistery still why it kept running with exchange connection then, that put me on the

Re: ospf netmask mismatch

2010-07-12 Thread Ondrej Zajicek
On Mon, Jul 12, 2010 at 01:39:25PM +0200, Martin Kraus wrote: Hi. I have bird 1.2.2 running on debian lenny on two routers connected by a nonbroadcast configuration. first router has 212.71.191.77/30 on its interface, the second 212.71.191.78/30. They can't negotiate ospf and I get this in

Re: ospf netmask mismatch

2010-07-12 Thread Ondrej Zajicek
On Mon, Jul 12, 2010 at 05:49:21PM +0200, Martin Kraus wrote: On Mon, Jul 12, 2010 at 03:53:31PM +0200, Ondrej Zajicek wrote: On Mon, Jul 12, 2010 at 01:39:25PM +0200, Martin Kraus wrote: The private /25 prefixes uses private IP addresses? There was a change in BIRD that interface

Re: Error after I add RTS_OSPF_EXT in filter

2010-07-14 Thread Ondrej Zajicek
On Wed, Jul 14, 2010 at 04:41:12PM +0400, ? ?? wrote: filter import_exclude_default { if ( source = RTS_OSPF_INT net != 0.0.0.0/0 ) then { ... what protocol has told me about this route. Possible values: RTS_DUMMY, RTS_STATIC, RTS_INHERIT, RTS_DEVICE, RTS_STATIC_DEVICE,

Re: bird6 spontaneous crash

2010-07-22 Thread Ondrej Zajicek
On Wed, Jul 21, 2010 at 01:19:13PM +0200, Robert Wein wrote: Hello, in our testing environment I experienced two strange spontaneous crashes with bird6 1.2.3, running on debian 5.0.5 (amd64). Thanks, fixed. You can use the attached patch to fix the problem. It is IPv6 specific. -- Elen

Re: scan time of protocol kernel

2010-07-28 Thread Ondrej Zajicek
On Wed, Jul 28, 2010 at 01:54:32PM +0400, ? ?? wrote: Hi, Now 'scan time' set to 60 sec. The bird load system up to 100% during 10-12 sec every 60 sec. There is probably something broken in your setup. I have full BGP in kernel routing table and periodic scanning took just a

Re: Can't compile bird on sparc arch

2010-08-04 Thread Ondrej Zajicek
On Wed, Aug 04, 2010 at 12:04:21PM +0200, Joakim Tjernlund wrote: fe...@majklik:~/src/git/bird$ patch -p1 ld.patch patching file tools/Rules.in That patch breaks cross compile. Please look at http://hackage.haskell.org/trac/ghc/ticket/3791 Perhaps passing -mno-relax and/or -r will do it?

Re: Memory seems to grow endless

2010-09-01 Thread Ondrej Zajicek
On Wed, Sep 01, 2010 at 10:18:53AM +0200, Stéphane Bunel wrote: Hi, Morning at 09:54 (GMT+2) r...@srtools:~# birdc BIRD 1.2.4 ready. bird show memory BIRD memory usage Routing tables: 12 MB Route attributes: 4592 B Protocols: 34 kB Total: 12 MB Memory

Re: Deleting wildcard bgp communitities in an outbound filter

2010-09-03 Thread Ondrej Zajicek
On Fri, Sep 03, 2010 at 02:07:43PM +0200, Peter Lieven wrote: Hi, i would like to hide some traffic engineering communities from bgp advertisements to peers. I'm using Bird 1.2.4 and from what I have read in the Changelog it should be possible to have something like this in an outbound

Re: Memory seems to grow endless

2010-09-03 Thread Ondrej Zajicek
On Tue, Aug 31, 2010 at 02:36:38PM +0200, Stéphane Bunel wrote: Hi there, I'm working on a use case with two routers (foundry) emiting RIPv2 messages in multicast over an ethernet link and one Ubuntu/Linux/64 server with BIRD configured as a quiet RIP listener. Configuration is

Re: Deleting unallowed communities

2010-09-06 Thread Ondrej Zajicek
On Mon, Sep 06, 2010 at 07:45:15PM +0300, Alexander Shikoff wrote: Hello, is it possible in filter to delete all communities except ones which are stored in pre-defined list? It is possible to do that, but you have to manually invert the list of communities. For example instead of a list of

Re: Deleting unallowed communities

2010-09-07 Thread Ondrej Zajicek
On Tue, Sep 07, 2010 at 01:50:58PM +0300, Alexander Shikoff wrote: This code works for me. This is a recent feature, perhaps you are using an old version of BIRD. Try version 1.2.4 . I'm using 1.2.4. Where do you call a function from? In my configuration it is called from filter: I

Re: Community lists and ~ operator

2010-09-13 Thread Ondrej Zajicek
On Mon, Sep 13, 2010 at 08:50:23PM +0300, Alexander Shikoff wrote: Hello, I have a problem with implementing following logic: if route has any of communities 31210:0 ... 31210:65535 then do nothing else add community 31210:31210. I tried next control: if ! ( (31210,*) ~

Re: Netlink: File exists

2010-09-14 Thread Ondrej Zajicek
On Mon, Sep 13, 2010 at 08:48:50PM +0200, Timo Weingärtner wrote: Hi, Am Dienstag, 2. Februar 2010 schrieb Ondrej Zajicek: On Tue, Feb 02, 2010 at 06:57:14PM +, Chris Webb wrote: This seems to work fine, apart from the message bird: Netlink: File exists appearing in syslog every

Re: Deleting communities from outgoing prefixes

2010-09-14 Thread Ondrej Zajicek
On Mon, Sep 13, 2010 at 09:56:07PM +0300, Alexander Shikoff wrote: Hello, I want to store prefixes in RIB with communities but I want to delete communities when prefix is being announced to peer. I'm trying following function: function bgp_out (int peer_as) { if ! (source =

Re: Deleting unallowed communities

2010-09-14 Thread Ondrej Zajicek
On Mon, Sep 13, 2010 at 07:57:49PM +0300, Alexander Shikoff wrote: There is a bug in community set delete. Try attached patch to fix it. Thank you very much! This patch fixes a problem. Ondrej, do you plan to implement invertion of community lists? Not invertion of community lists, but

Re: Deleting wildcard bgp communitities in an outbound filter

2010-09-29 Thread Ondrej Zajicek
On Wed, Sep 29, 2010 at 09:44:57PM +0200, Peter Lieven wrote: i tried to run this command on bird 1.2.4 bgp_community.delete([(64960,*)]); but i get the following error: filters, line 4676: Can't add/delete non-pair any hints? Hello See this:

Re: How to add IPv6 support?

2010-09-29 Thread Ondrej Zajicek
On Wed, Sep 29, 2010 at 09:16:40PM +0200, Christoph Biedl wrote: Or should I really start bird6 as a second routing daemon to handle the IPv6 prefixes? Yes. This is silly since this means duplication of the configuration file and all the peer detection and route switching is not

Re: Deleting wildcard bgp communitities in an outbound filter

2010-09-29 Thread Ondrej Zajicek
On Wed, Sep 29, 2010 at 10:26:37PM +0200, Peter Lieven wrote: http://www.mail-archive.com/bird-users@atrey.karlin.mff.cuni.cz/msg00681.html And perhaps also this, but it is unrelated: http://www.mail-archive.com/bird-users@atrey.karlin.mff.cuni.cz/msg00688.html ok, i guess this will

Re: How to add IPv6 support?

2010-10-01 Thread Ondrej Zajicek
On Thu, Sep 30, 2010 at 07:16:34PM +0200, David Rohleder wrote: It seems silly for the first moment, but it has several advantages. IPv4 and IPv6 usually needs slightly different configs, different filters (esp. addresses in filters) and having separate IPv4 sessions and IPv6 sessions

Re: ECMP/multipath support

2010-10-04 Thread Ondrej Zajicek
On Mon, Oct 04, 2010 at 04:55:12PM +0100, Andrew Lemin wrote: As long as multipath is implemented in the RIP protocol too, then go for the first method as it is the proper place for it. We NEED ECMP in RIP though. Please.. :) The point I was trying to make is by adding the functionality to the

Re: Detecting link state, FreeBSD

2010-11-02 Thread Ondrej Zajicek
On Tue, Nov 02, 2010 at 11:00:39AM -0700, Mahlon E. Smith wrote: I'm running bird 1.2.4 on a series of FreeBSD OSPF routers. Had a backhoe go through some fiber this morning (really), and was surprised to find that bird didn't update routes automatically. ... I don't see anything else to

Re: Detecting link state, FreeBSD

2010-11-04 Thread Ondrej Zajicek
On Wed, Nov 03, 2010 at 07:39:48AM -0700, Mahlon E. Smith wrote: On Tue, Nov 02, 2010, Ondrej Zajicek wrote: BIRD currently does not check or use link up/down state. OSPF routers generally check reachability using HELLO packets, not by reported link state, although sometimes this is also

Re: keepalive timer

2010-11-06 Thread Ondrej Zajicek
On Sat, Nov 06, 2010 at 03:27:06PM +0100, Arnold Nipper wrote: Just came across Keepalive timer: -22205673/60 Weird, isn't it? It is in most BGP sessions or only in a few? -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted

Re: keepalive timer

2010-11-06 Thread Ondrej Zajicek
On Sat, Nov 06, 2010 at 07:31:38PM +0100, Arnold Nipper wrote: On 06.11.2010 19:26 Ondrej Zajicek wrote On Sat, Nov 06, 2010 at 03:27:06PM +0100, Arnold Nipper wrote: Just came across Keepalive timer: -22205673/60 Weird, isn't it? It is in most BGP sessions or only

Re: bird problem

2010-11-06 Thread Ondrej Zajicek
On Fri, Nov 05, 2010 at 09:05:03AM +0100, Jaroslav Jirásek wrote: Hi, I have this bird.conf : This configuration makes immediate crash of bird, with this syslog message: Nov 4 23:34:39 router user.info kernel: bird[5236]: segfault at 34 ip 0805f8d6 sp bfb262f0 error 4 Nov 4 23:34:39

Re: keepalive timer

2010-11-06 Thread Ondrej Zajicek
On Sat, Nov 06, 2010 at 09:05:38PM +0100, Arnold Nipper wrote: I guess small negative values may occur. Or not? Yes these may occur if the router is loaded. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID

Re: ECMP/multipath support

2010-11-12 Thread Ondrej Zajicek
On Thu, Nov 11, 2010 at 10:38:55AM +, Andrew Lemin wrote: Hi all, What does the BIRD dev team think? Is there anything more I can do to help with adding this functionality. Hello, currently i am finalizing link state detection for OSPF. After that i would probably look at ECMP. --

Re: bug or feature?

2010-11-30 Thread Ondrej Zajicek
On Tue, Nov 30, 2010 at 10:36:22AM +0100, Arnold Nipper wrote: birdc show route 65.52.0.0/15 BIRD 1.2.2 ready. IP address expected Perhaps a probem caused by a shell? Try: birdc show route '65.52.0.0/15' -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email:

Re: bug or feature?

2010-12-01 Thread Ondrej Zajicek
On Wed, Dec 01, 2010 at 01:58:21AM +0100, Arnold Nipper wrote: On 30.11.2010 10:49 Ondrej Zajicek wrote On Tue, Nov 30, 2010 at 10:36:22AM +0100, Arnold Nipper wrote: birdc show route 65.52.0.0/15 BIRD 1.2.2 ready. IP address expected Perhaps a probem caused by a shell? Try

Re: bug or feature?

2010-12-01 Thread Ondrej Zajicek
On Wed, Dec 01, 2010 at 10:05:10AM +, Matthew Walster wrote: On 1 December 2010 00:58, Arnold Nipper arn...@nipper.de wrote: birdc show route '65.52.0.0/15' BIRD 1.2.2 ready. IP address expected Try: birdc show route 65.52.0.0/15 i.e. don't use the apostrophes either side of

Re: bird6 crashed

2010-12-13 Thread Ondrej Zajicek
On Sat, Dec 11, 2010 at 09:22:57PM +0100, Arnold Nipper wrote: A couple of hours ago bird6 crashed. Core dump may be found at http://download.de-cix.net/rs6-l_1292066402_bird6_11.gz MD5sum is 9509d3ac560da9588ac36c763547227c Could you also send me appropriate bird binary? Arnold btw:

Re: bug or feature?

2010-12-13 Thread Ondrej Zajicek
On Mon, Dec 13, 2010 at 11:00:25AM +0100, Ondrej Zajicek wrote: On Fri, Dec 10, 2010 at 06:03:47PM +0100, Arnold Nipper wrote: So, what is the conclusion? This is a OS/shell problem, not a BIRD problem. Given so, is there anyone who is able to explain, what actually happens? I have never

Re: bird6 crashed

2010-12-14 Thread Ondrej Zajicek
On Sat, Dec 11, 2010 at 09:22:57PM +0100, Arnold Nipper wrote: A couple of hours ago bird6 crashed. Core dump may be found at According to the core dump, that seems like the bug we already fixed in v1.2.5. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email:

Re: Required capability missing

2010-12-14 Thread Ondrej Zajicek
On Mon, Dec 13, 2010 at 07:02:58PM +0100, Simone Morandini wrote: Hi all, I've just configured a new peer on our IPv6 implementation of BIRD and, as per the subject, I'm receiving the following error with sh protocols: peer name BGP T_peer name start 18:05 Idle

Re: ECMP/multipath support

2010-12-15 Thread Ondrej Zajicek
On Wed, Dec 15, 2010 at 02:27:31PM +0100, Joakim Tjernlund wrote: I remember we had an discussion about multiple unnumbered ptp links between two nodes. There was a potential problem in OSPF with asymmetric routing but the conclusion was that it would not happen as BIRD didn't support ECMP.

Re: ECMP/multipath support

2010-12-20 Thread Ondrej Zajicek
On Fri, Dec 17, 2010 at 09:03:01AM +0100, Joakim Tjernlund wrote: I don't remember all the details anymore but sharing IP address for numbered ptp I/Fs is not pathological. Having two independent networks with the same IP prefix seems pretty pathological to me. It should just work. Also any

Re: ECMP/multipath support

2010-12-20 Thread Ondrej Zajicek
On Tue, Dec 21, 2010 at 12:25:49AM +0100, Joakim Tjernlund wrote: Perhaps you can add PTP IF type too? PTP is supported, do you mean PTMP? -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3,

Re: BGP: Add support for peering with link-local IPv6 addresses

2010-12-20 Thread Ondrej Zajicek
On Sun, Dec 19, 2010 at 09:55:24AM +0100, Matthias Schiffer wrote: Hi, the attached patch adds support for using link-local v6 addresses for BGP peerings by adding an interface attribute to the BGP protocol. It has been succesfully tested in a Bird-Quagga configuration on Linux, and with

Re: ECMP/multipath support

2010-12-20 Thread Ondrej Zajicek
On Tue, Dec 21, 2010 at 01:22:48AM +0100, Joakim Tjernlund wrote: For PTP iface, the list contains at most one entry (so the scan is fast :-) ) and you have to examine it anyways to know neighbor's IP address. Yes, it is a small improvement I guess and you would find the remote IP address,

Re: Expression calculation bug?

2010-12-24 Thread Ondrej Zajicek
On Fri, Dec 24, 2010 at 11:23:44PM +0200, Alexander Shikoff wrote: Hello, There is possible bug in calculation of expressions. Let's assume that bgp_path.first is a 32-bit ASN. Then this line does not work: bgp_community.add((MyASN,bgp_path.first-bgp_path.first/65536*65536)); P.S. I'm

Re: Any IX willing to share their config?

2010-12-25 Thread Ondrej Zajicek
On Sat, Dec 25, 2010 at 05:03:46AM +0200, Alexander Shikoff wrote: One possible way to do that is not to try handle full 32bit ASNs, but perhaps just ~ 24bit ASNs and use communities (65000..65255,*) for (65000+X,Y) - Do not announce to peer X*65536+Y and similarly communities

Re: ECMP/multipath support

2010-12-27 Thread Ondrej Zajicek
On Mon, Dec 27, 2010 at 08:06:17PM +0100, Joakim Tjernlund wrote: Other packets are sent to the neighbor IP address, which is a slight diversion from RFC 2328, but should not cause any problems. But a stricter router may reject OSPF msg over an ptp links if they aren't addressed

Re: ECMP/multipath support

2010-12-27 Thread Ondrej Zajicek
On Tue, Dec 28, 2010 at 01:15:28AM +0100, Joakim Tjernlund wrote: Other packets are sent to the neighbor IP address, which is a slight diversion from RFC 2328, but should not cause any problems. But a stricter router may reject OSPF msg over an ptp links if they aren't

Re: ECMP/multipath support

2010-12-28 Thread Ondrej Zajicek
On Tue, Dec 28, 2010 at 02:12:53AM +0100, Joakim Tjernlund wrote: Right, some comments: - px_pos* is redundant. Just use rt_pos* for both V4 and V6. rt_pos* is a position in Router-LSA, px_pos* is a position in Rt Prefix-LSA. In IPv6, we use both and they might be different. - You can use

Re: ECMP/multipath support

2010-12-29 Thread Ondrej Zajicek
On Wed, Dec 29, 2010 at 10:21:58PM +0100, Joakim Tjernlund wrote: Ah, now I see. You took the concept one step further. How does the lsa pos in add_network work for ac_stubnet_list? Stubnet lists does not have en interface connected, perhaps ac_stubnet_list isn't applicable for add_network?

Re: Problem with case / else: in filters

2011-01-01 Thread Ondrej Zajicek
On Fri, Dec 31, 2010 at 09:30:51AM +0100, Jerome Durand wrote: Yep, that was a copy/paste error (I tool the example from the web site) Actually I found a workaround for which I don't need an else: statement, and which is much better... ! Here was the faulty filter (of course replace

Re: ECMP/multipath support

2011-01-01 Thread Ondrej Zajicek
On Thu, Dec 30, 2010 at 02:17:24AM +0100, Joakim Tjernlund wrote: Ah, good to hear. Any plans to add support for Opaque LSAs/GMPLS in the near future? Nothing specific. Where (and how) is this feature used? BTW, I think the README could use an update: This software should be considered a

Re: feature request (/|| shortcut)

2011-01-06 Thread Ondrej Zajicek
On Sun, Jan 02, 2011 at 05:29:08PM +0100, Arnold Nipper wrote: It looks like BIRD logical operator is not doing a shortcut. I.e even if you have s.th. like if 0 $some_complex_expression then ... if 1 || $some_complex_expression then ... BIRD will try to evaluate

Re: ECMP/multipath support

2011-01-06 Thread Ondrej Zajicek
On Mon, Jan 03, 2011 at 05:37:25PM +0100, Joakim Tjernlund wrote: Any plans to add support for Opaque LSAs/GMPLS in the near future? Nothing specific. Where (and how) is this feature used? We have an old zebra based GMPLS TE (using RSVP too) to allocate paths through our network. Don't

Re: interface name bug under *BSD?

2011-01-08 Thread Ondrej Zajicek
On Fri, Jan 07, 2011 at 11:31:36PM +0200, Aragon Gouveia wrote: Hi, I'm running FreeBSD 8.1 and started using Bird 1.2.5 for the first time today, but it kept finding interfaces with garbled names, eg. Possible patch attached. Could someone review this please? Thanks for the patch, it is

Re: illegal character for interace NIC name

2011-01-08 Thread Ondrej Zajicek
) To err is human -- to blame it on a computer is even more so. commit dad7ee70c1711b2cbdfd86c615736fe12c0d126a Author: Ondrej Zajicek santi...@crfreenet.org Date: Sat Jan 8 11:22:38 2011 +0100 Fixes interface names on BSD systems. diff --git a/sysdep/bsd/krt-sock.c b/sysdep/bsd/krt-sock.c index

Re: Bug in current git concerning BGP neighbor search

2011-01-08 Thread Ondrej Zajicek
On Fri, Jan 07, 2011 at 05:34:18PM +0100, Matthias Schiffer wrote: Hi, I noticed that the currect git version of bird always disables a BGP protocol instance when the neighbor address is unreachable. This is caused by changing the line if (!p-neigh) to if (!p-neigh || (p-neigh-scope ==

Re: bird route selection problem

2011-01-28 Thread Ondrej Zajicek
On Thu, Jan 27, 2011 at 05:50:42PM +0100, Daniel Rimal wrote: Hello, i have little weird problem with route selection in bird. A have four routers in my AS, routers called R1 and R2 is running guagga, routers called R3 and R4 is running bird 1.2.5. I have configured full mesh between all of

Re: BGP sessions resetting on configure

2011-01-30 Thread Ondrej Zajicek
On Sun, Jan 30, 2011 at 03:10:15AM +, Nick wrote: On Mon, Jan 24, 2011 at 03:07:46PM -0600, Stephen Holmes wrote: I was doing something dumb. When building my configs from my DB, I was setting the start delay to a random int between 20-60, this was causing the BGP config to change

Re: Pipe collisions and missing IPv6 LL addresses

2011-02-01 Thread Ondrej Zajicek
On Tue, Feb 01, 2011 at 11:59:11AM +0100, Jerome Durand wrote: Hi all, I am running bird 1.2.5 as a RS using classical design (one table per peer and one master global). I also added in addition a second table called collector that is just populated as the master table with other pipes

Re: TRACE RABCD_0_1: Connect delayed by 5 seconds vs connect retry time

2011-02-10 Thread Ondrej Zajicek
On Wed, Feb 09, 2011 at 10:45:04AM +0100, Stefan Jakob wrote: Dear List, Currently I am wondering, how I can improve this situation: 2011-02-09 10:34:36 TRACE RABCD_0_1: Connection lost (No route to host) 2011-02-09 10:34:36 TRACE RABCD_0_1: Connect delayed by 5 seconds 2011-02-09

Re: Check on routes announced by peer

2011-02-10 Thread Ondrej Zajicek
On Wed, Feb 09, 2011 at 06:32:21PM +0100, Simone Morandini wrote: Hi all, In the scenario where filters was applied on pipes, not on BGP protocols, all received routes can be viewed via CLI: show route protocol PEER table TABLE_FOR_THAT_PEER. apologies for upping my thread, but I'd

Re: Bird6 and static blackhole

2011-02-24 Thread Ondrej Zajicek
On Wed, Feb 23, 2011 at 11:35:20AM +0100, Giuseppe Ravasio wrote: it seems that linux doesn't allow to set blackhole ipv6 routes without specifing the device: root@:~# ip -f inet6 route add blackhole 2a01:9c01::/32 RTNETLINK answers: No such device if I append dev lo the route inserts

BIRD Wiki

2011-02-27 Thread Ondrej Zajicek
Hello I found that there is already one running (empty) wiki as a part of Redmine project management webapp used for BIRD. I added some examples and FAQs for a start: https://git.nic.cz/redmine/projects/bird/wiki You could try to register and edit it. -- Elen sila lumenn' omentielvo Ondrej

Re: IPb6 BGP between two birds

2011-02-28 Thread Ondrej Zajicek
On Mon, Feb 28, 2011 at 09:27:39AM +0100, Christian Riede wrote: protocol bgp { local as 65535; neighbor 2001:67c:39c:8001::8000:a as 65535; First, 65535 as ASN is not allowed. Such connect is rejected. Second, these connects are from different (non-configured) addresses, so

  1   2   3   4   5   6   >