Daniel Ng | 3 Dec 2008 08:47
Picon

[quagga-users 10170] Memory Leak in ospfd

Hi,

I'm using 0.99.11 on Linux 2.6.14.

I notice the memory usage of ospfd creeps up by about 4K-8K every time I issue 
the following ospfd config commands-

configure terminal
  router ospf
    no passive-interface ppp0
  exit
  interface ppp0
    no ip ospf cost
    no ip ospf authentication
    no ip ospf authentication-key
  exit
exit

configure terminal
  no router ospf
exit

This happens regardless of whether ppp0 is actually up.

Is this a leak? If I leave it overnight, the memory consumption does not 
change- it's only if I issue the above commands.

Here is an example for the following config-

Current configuration:
(Continue reading)

Daniel Ng | 4 Dec 2008 00:57
Picon

[quagga-users 10171] Memory Leak in ospfd

Hi,

I'm using 0.99.11 on Linux 2.6.14.

Starting with an empty config, I enter the following commands for ospfd-

configure terminal
  router ospf
    no passive-interface ppp0
  exit
  interface ppp0
    no ip ospf cost
    no ip ospf authentication
    no ip ospf authentication-key
  exit
exit

configure terminal
  no router ospf
exit

-which of course results in the same empty config.

However, the memory taken by ospfd according to 'ps' increases by 4K. 

'sh mem' shows the same before and after the change, except for the 'Ordinary 
Blocks' have increased from 7 to 10.

This can be reproduced without a real ppp0 connection existing.

(Continue reading)

Daniel Ng | 8 Dec 2008 07:49
Picon

[quagga-users 10172] Re: Memory Leak in ospfd

Daniel Ng <daniel_ng11 <at> ...> writes:
> Is this a leak? If so, can someone suggest where it might be?

Here is some more info:

We have an automated test which brings a PPP link up and down. After 2,500 
iterations it is obvious that the 'Buffer data' figure in the OSPFd memory 
stats has increased from 1 to 293. Also, 'Ordinary blocks' increases from 2 to 
35. 

Anyone with any clues on where in OSPFd to look?

Quagga Commands:

After PPP UP, we send:

SEND TO ZEBRA:
    configure terminal
      interface ppp0
        multicast
        no unnumbered
        bandwidth 576
    end

SEND TO OSPF:
    configure terminal
      router ospf
        no passive-interface ppp0
      exit
      interface ppp0
(Continue reading)

Danilo Godec | 9 Dec 2008 13:29
Picon
Favicon

[quagga-users 10173] Redundand routers, redundand WAN links, ...

Hi,

maybe that's not specifically a 'quagga' question, but I kinda hope
there are knowledgeable people here...

What's the best way to create a redundant router / WAN solution with
Linux for these three scenarios:

1. one router, two WAN links (protection against provider problems)
2. two routers, one WAN link (protection against hardware faults)
3. two routers, two WAN links (optimal, combining the two)

In most cases a 'WAN link' refers to Internet connectivity with IPSEC
VPN tunnel...

On the LAN side I thought about using 'vrrpd', but the Sourceforge
project seems to be a bit outdated
(http://sourceforge.net/projects/vrrpd/ last update 2002) - is there a
more recent and maintained VRRP implementation on Linux?

  Thanks, Danilo
Andrew J. Schorr | 9 Dec 2008 14:30
Favicon

[quagga-users 10174] Re: Redundand routers, redundand WAN links, ...

On Tue, Dec 09, 2008 at 01:29:39PM +0100, Danilo Godec wrote:
> On the LAN side I thought about using 'vrrpd', but the Sourceforge
> project seems to be a bit outdated
> (http://sourceforge.net/projects/vrrpd/ last update 2002) - is there a
> more recent and maintained VRRP implementation on Linux?

For VRRP on Linux, we are using keepalived:

   http://www.keepalived.org/

Regards,
Andy
Damian Higgins | 9 Dec 2008 14:51
Picon

[quagga-users 10175] Re: Redundand routers, redundand WAN links, ...

You can try http://www.ucarp.org/project/ucarp which is the ported
version of CARP (http://www.openbsd.org/faq/pf/carp.html#carpintro)

Regards.
Nigel Marett | 9 Dec 2008 15:10
Picon

[quagga-users 10176] Re: Redundand routers, redundand WAN links, ...

I've used UCARP before in a production environment - so I can second it. :)

Kind Regards,

N.

2008/12/9 Damian Higgins <linnewbye@...>:
> You can try http://www.ucarp.org/project/ucarp which is the ported
> version of CARP (http://www.openbsd.org/faq/pf/carp.html#carpintro)
>
> Regards.
> _______________________________________________
> Quagga-users mailing list
> Quagga-users@...
> http://lists.quagga.net/mailman/listinfo/quagga-users
>
Lennart Sorensen | 9 Dec 2008 23:44
Picon
Picon
Favicon

[quagga-users 10177] Re: Redundand routers, redundand WAN links, ...

On Tue, Dec 09, 2008 at 01:29:39PM +0100, Danilo Godec wrote:
> maybe that's not specifically a 'quagga' question, but I kinda hope
> there are knowledgeable people here...
> 
> What's the best way to create a redundant router / WAN solution with
> Linux for these three scenarios:
> 
> 1. one router, two WAN links (protection against provider problems)
> 2. two routers, one WAN link (protection against hardware faults)
> 3. two routers, two WAN links (optimal, combining the two)
> 
> In most cases a 'WAN link' refers to Internet connectivity with IPSEC
> VPN tunnel...
> 
> On the LAN side I thought about using 'vrrpd', but the Sourceforge
> project seems to be a bit outdated
> (http://sourceforge.net/projects/vrrpd/ last update 2002) - is there a
> more recent and maintained VRRP implementation on Linux?

I use keepalived.  One of its features is vrrp.

--

-- 
Len Sorensen
jb | 10 Dec 2008 16:58
Picon
Favicon

[quagga-users 10178] Priority over one link?

Hello,

Lets assume that I have two links 5 and 10mbit/s.
I have two BGP routers, one for each link.
If the 5mbit/s link goes full. How do I send more over the 10mbit link?
Dennis Gerasimov | 10 Dec 2008 17:19

[quagga-users 10179] Re: Priority over one link?

jb@... wrote:
> Hello,
>
> Lets assume that I have two links 5 and 10mbit/s.
> I have two BGP routers, one for each link.
> If the 5mbit/s link goes full. How do I send more over the 10mbit link?
> _______________________________________________
> Quagga-users mailing list
> Quagga-users@...
> http://lists.quagga.net/mailman/listinfo/quagga-users
>   

How are these routers configured? Are you running iBGP between them?
Dennis

Gmane