Re: [patch] Unbreak setfib + routing daemons

2009-08-31 Thread Claudio Jeker
On Mon, Aug 31, 2009 at 07:48:32PM +, Stef Walter wrote: > Julian Elischer wrote: > > there are two ways to go with this one being what you have done teh > > other to add fib info to the messages, Apparently > > OpenBSD has implemented the second by re-using a disused field. > > (I'm ve only be

Re: kern/134931 [patch] Unbreak setfib + routing daemons

2009-08-31 Thread Stef Walter
Li, Qing wrote: > There are other commands through the routing socket that > can trigger routing messages. For example, issuing "ifconfig" > to add and remove interface addresses. Thanks for taking a look at this and catching that problem. Here's a new patch which does the following: * Both rt_d

Re: kern/134931 [patch] Unbreak setfib + routing daemons

2009-08-31 Thread Stef Walter
The following reply was made to PR kern/134931; it has been noted by GNATS. From: Stef Walter To: "Li, Qing" Cc: "freebsd-net@FreeBSD.org" , bug-follo...@freebsd.org, jul...@elischer.org Subject: Re: kern/134931 [patch] Unbreak setfib + routing daemons Date: Mon, 31 Aug 09

Re: [patch] Unbreak setfib + routing daemons

2009-08-31 Thread Stef Walter
Julian Elischer wrote: > there are two ways to go with this one being what you have done teh > other to add fib info to the messages, Apparently > OpenBSD has implemented the second by re-using a disused field. > (I'm ve only been told this second hand) It seems like they've taken apart the rtm_fl

Re: [patch] Unbreak setfib + routing daemons

2009-08-31 Thread Julian Elischer
Stef Walter wrote: Currently route messages are sent to all listeners of PF_ROUTE, regardless or which FIB the listener socket was started on. The upshot of this is that one can't really use routing daemons together with multiple FIBs. The routing daemon sees the messages from the alternate FIBs

RE: [patch] Unbreak setfib + routing daemons

2009-08-31 Thread Li, Qing
with them, which may need fixing. -- Qing > -Original Message- > From: owner-freebsd-...@freebsd.org [mailto:owner-freebsd- > n...@freebsd.org] On Behalf Of Stef Walter > Sent: Monday, August 31, 2009 10:03 AM > To: freebsd-net@FreeBSD.org > Subject: [patch] Unbr

[patch] Unbreak setfib + routing daemons

2009-08-31 Thread Stef Walter
Currently route messages are sent to all listeners of PF_ROUTE, regardless or which FIB the listener socket was started on. The upshot of this is that one can't really use routing daemons together with multiple FIBs. The routing daemon sees the messages from the alternate FIBs and rapidly gets con