Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

"route" extension for npf

1 view
Skip to first unread message

Jonathan A. Kollasch

unread,
May 19, 2014, 2:14:33 PM5/19/14
to tech...@netbsd.org
Attached are a few patches that add a "route-to"-like procedure to npf.
(Currently only implemented for IPv6.)

Jonathan Kollasch
sys-net-npf.diff
lib-libnpf.diff
ext-route.diff

Christos Zoulas

unread,
May 19, 2014, 3:11:56 PM5/19/14
to tech...@netbsd.org
In article <2014051918...@tazenda.kollasch.net>,
Jonathan A. Kollasch <jakl...@kollasch.net> wrote:
>-=-=-=-=-=-
>
>Attached are a few patches that add a "route-to"-like procedure to npf.
>(Currently only implemented for IPv6.)

Can you please provide an example configuration file that uses it?
I am interested how you can have multiple route-to's set up.

christos

Jonathan A. Kollasch

unread,
May 19, 2014, 3:23:08 PM5/19/14
to Christos Zoulas, tech...@netbsd.org
something like



$A_sn = 2001:db8::/48

procedure "routeA" {
route: gif0
}

group default {
pass out family inet6 from $A_sn to any apply "routeA"
}


Jonathan Kollasch
0 new messages