My planned work on networking stack

Bruce M Simpson bms at spc.org
Tue Mar 2 11:33:02 PST 2004


On Tue, Mar 02, 2004 at 07:09:02PM +0300, Gleb Smirnoff wrote:
>   I do not insist that AS pathes in kernel are good idea. If you show me an
> other way to get AS information when constructing netflow exports in kernel,
> I'd be thankful. I'd be also thankful if you describe how policy routing can be
> implemented while no AS info in kernel.
>   What do other FreeBSD networking withards think?

I don't see any reason why we couldn't accept, for example, a 32-bit cookie
for abuse by a userland daemon, with pid, as it pleases (via an rtmsg
extension and PF_ROUTE). That is generic enough to provide the tie-in
needed with the userland RIB and the kernel FIB.

ABI breakage may occur, but I would consider that the PF_ROUTE code is in need
of an overhaul anyway (see my mail to ru@ from some months ago on -current or
-net with code able to panic a kernel through malformed rtmsg contents).

BMS


More information about the freebsd-current mailing list