BGPD on FreeBSD

2005-12-20 Thread Reto Burkhalter
Hi list

May be a little bit OT - but are there any users with experiences
in using OpenBGPD on FreeBSD? I have some strange problems here.

Setup is OpenBGPD 3.7 on FreeBSD 6-RELEASE. Just a basic config
with one transit and one iBGP session with some standard filters
(check prefixlen and rfc1918 networks) works fine. But as soon as
we add more peers and filters, the bgpd daemon dies regularly with
different messages:

E.g.
fatal in RDE: nexthop_cmp: unknown af
dispatch_imsg in main: pipe closed

- This should not happen (the code could not compare either
Inet4 or Inet6)?!?

We also have entries in /var/log/messages like these: exited on signal
6

I can provide more information (config file, etc.) if needed.


Please contact me directly if this topic does not fit into this list.

Regards,
Reto



Re: BGPD on FreeBSD

2005-12-20 Thread Claudio Jeker
On Tue, Dec 20, 2005 at 03:53:45PM +0100, Reto Burkhalter wrote:
 Hi list
 
 May be a little bit OT - but are there any users with experiences
 in using OpenBGPD on FreeBSD? I have some strange problems here.
 

Are you using the FreeBSD port or did you patch OpenBGPD yourself?

 Setup is OpenBGPD 3.7 on FreeBSD 6-RELEASE. Just a basic config
 with one transit and one iBGP session with some standard filters
 (check prefixlen and rfc1918 networks) works fine. But as soon as
 we add more peers and filters, the bgpd daemon dies regularly with
 different messages:
 

Could you try a more current version of OpenBGPD? You have to pull it out
of the CVS or I can make you a tar ball.

 E.g.
 fatal in RDE: nexthop_cmp: unknown af
 dispatch_imsg in main: pipe closed
 
 - This should not happen (the code could not compare either
 Inet4 or Inet6)?!?
 

I think it is/was a bug hidden somewhere else and the af did not get
initialized.

 We also have entries in /var/log/messages like these: exited on signal
 6
 

Hmm. bgpd does not call abort so that is comming from somewhere else
(malloc?).

 I can provide more information (config file, etc.) if needed.
 

I would like to get the config file, then I can have a look at it.

-- 
:wq Claudio