Stéphane Bunel | 1 Sep 10:18 2010
Picon

Re: Memory seems to grow endless

Hi,

Morning at 09:54 (GMT+2)

root <at> 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 consumption has been multiplied by 480 in less than 24 hours.

I guess this is not a normal behavior isn't it ?

Regards,
Stéphane.

Le 31/08/2010 14:36, Stéphane Bunel a écrit :
> 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 simple and working well. But as you can see below, BIRD
> seems to eat memory after each message it receive (+4K after receiving
> 2*3 RIP paquets). Memory used by BIRD seems to grow endless. I' cant say
(Continue reading)

Ondrej Zajicek | 1 Sep 10:33 2010

Re: Memory seems to grow endless

On Wed, Sep 01, 2010 at 10:18:53AM +0200, Stéphane Bunel wrote:
> Hi,
>
> Morning at 09:54 (GMT+2)
>
> root <at> 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 consumption has been multiplied by 480 in less than 24 hours.
>
> I guess this is not a normal behavior isn't it ?

Definitely not. I will check that. Could you send an output of
'show route all' cmd ?

--

-- 
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: santiago <at> 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."
Stéphane Bunel | 1 Sep 10:39 2010
Picon

Re: Memory seems to grow endless

Le 01/09/2010 10:33, Ondrej Zajicek a écrit :
> On Wed, Sep 01, 2010 at 10:18:53AM +0200, Stéphane Bunel wrote:
>> Hi,
>>
>> Morning at 09:54 (GMT+2)
>>
>> root <at> 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 consumption has been multiplied by 480 in less than 24 hours.
>>
>> I guess this is not a normal behavior isn't it ?
>
> Definitely not. I will check that. Could you send an output of
> 'show route all' cmd ?
>

Of course (to your personnal mail to avoid flooding the list).
Thanks for your help.

root <at> srtools:~# birdc show route count
BIRD 1.2.4 ready.
61 of 61 routes for 58 networks

(Continue reading)

Sami Halabi | 1 Sep 23:23 2010
Picon

BGP configuration HELP

Hi,
I'm new to bird, and I need help in configuring my DUAL homed BGP.
here is the infrastructure:
AS100 is a transit i'm connected to - this transit allows only traffic that was originated by one of its peering AS's to flow over it (IE it doesn't allow traffic destinated to as400 which isn't a peering member, not even through any other memebr, for that reason I'm connected also to AS200), this connection has high bandwidth.
AS200 is a member connected to AS100 also, and also to outside AS's (to the world), it should destinate traffic to me according to: 1) if this traffic originated by a member in AS100 or by itself to route throgh AS100, 2) otherwise to route directly through AS300.
AS300 is my AS that is connected to AS100 and AS200.

i need help in configuring BGP 200 and BGP 300 so that i can do the routing policy as described above.


Thanks in advance for your help,
Sami
Maciej Drobniuch | 2 Sep 11:36 2010
Picon

[OSPF] BIRD <> Mikrotik checksum

Hi!
I have a problem with binding bird with mikrotik router os.
The RouterOS says:
Discarding packet: wrong checksum.

In the bird manual we can find
"The RFC says that a router should check the checksum of every LSA to
detect hardware problems. BIRD does not do this to minimalize CPU
utilization."
Does the BIRD send checksum in OSPF

That is my OSPF config:
protocol ospf LandtechOSPF {
       tick 2;
        rfc1583compat yes;
        area 0.0.0.0 {
                stub no;
                interface "eth1" {
                        hello 10;
                        retransmit 5;
                        cost 10;
                        transmit delay 5;
                        dead 40;
                        dead count 40;
                        wait 50;
                        type broadcast;
                };
        };
}

Thanks for help!

--

-- 
Pozdrawiam!
Maciej Drobniuch

Peter Lieven | 2 Sep 16:10 2010
Picon

Checking if bgp_next_hop matches bgp neighbor

Hi,

just wondering what the correct way is to filter if the advertised
bgp_next_hop matches the neighbor address in a filter.

Would

if from != bgp_next_hop then reject;

do the trick, or do I have to define a function as inbound filter and
pass the neighbor address as a parameter?

Thanks,
Peter

# Kind Regards/Mit freundlichen Gruessen
#
# PEERING GmbH - Devision ECIX
# Lindenallee 27, 14050 Berlin, Germany
#
# Geschaeftsfuehrer: Stefan Wahl, Peter Lieven
# Amtsgericht Charlottenburg, HRB 97752B, USt-Id-Nr: DE2746301838
#
# Web: http://www.ecix.de/
# Phone: +49 30 81495450
# Fax:   +49 30 81495459

Arnold Nipper | 2 Sep 20:37 2010
Picon

Re: Checking if bgp_next_hop matches bgp neighbor

On 02.09.2010 16:10 Peter Lieven wrote

> just wondering what the correct way is to filter if the advertised
> bgp_next_hop matches the neighbor address in a filter.
> 
> Would
> 
> if from != bgp_next_hop then reject;
> 
> do the trick, or do I have to define a function as inbound filter and
> pass the neighbor address as a parameter?
> 

Imho this check should do. Would make sense to add this to your list of
checks (martians, prefix length, source ...)

best regards,
Arnold
--

-- 
Arnold Nipper / nIPper consulting, Sandhausen, Germany
email: arnold <at> nipper.de       phone: +49 6224 9259 299
mobile: +49 172 2650958         fax: +49 6224 9259 333

Ondrej Filip | 2 Sep 22:17 2010
Picon

Re: Checking if bgp_next_hop matches bgp neighbor

On 2.9.2010 16:10, Peter Lieven wrote:
> Hi,
> 
> just wondering what the correct way is to filter if the advertised
> bgp_next_hop matches the neighbor address in a filter.
> 
> Would
> 
> if from != bgp_next_hop then reject;

Yes, this clause is fine and it should do what you're looking for.

			Ondrej

> 
> do the trick, or do I have to define a function as inbound filter and
> pass the neighbor address as a parameter?
> 
> Thanks,
> Peter
> 
> # Kind Regards/Mit freundlichen Gruessen
> #
> # PEERING GmbH - Devision ECIX
> # Lindenallee 27, 14050 Berlin, Germany
> #
> # Geschaeftsfuehrer: Stefan Wahl, Peter Lieven
> # Amtsgericht Charlottenburg, HRB 97752B, USt-Id-Nr: DE2746301838
> #
> # Web: http://www.ecix.de/
> # Phone: +49 30 81495450
> # Fax:   +49 30 81495459
> 

Ondrej Zajicek | 2 Sep 23:23 2010

Re: [OSPF] BIRD <> Mikrotik checksum

On Thu, Sep 02, 2010 at 11:36:22AM +0200, Maciej Drobniuch wrote:
> Hi!
> I have a problem with binding bird with mikrotik router os.
> The RouterOS says:
> Discarding packet: wrong checksum.

Strange. I will check that.

> In the bird manual we can find
> "The RFC says that a router should check the checksum of every LSA to
> detect hardware problems. BIRD does not do this to minimalize CPU
> utilization."
> Does the BIRD send checksum in OSPF

Yes, BIRD sends and checks checksums, it just doesn't repeatedly checks
checksums of LSAs already in LSAdb.

--

-- 
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: santiago <at> 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."
Peter Lieven | 3 Sep 14:07 2010
Picon

Deleting wildcard bgp communitities in an outbound filter

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 filter

bgp_community.delete((65000,*));

However, this statement generates a syntax error.

Any hints?

Thanks,
Peter

Gmane