if_stf bug/feature

Lukasz Stelmach admin-freebsd at k.telmark.waw.pl
Sat May 1 09:06:58 PDT 2004


Greetings.

stf interface has one very inconvinient for me feature. As far as i could
read the source it returns ENETDOWN if the inet4 address of the machine's
net interface (primary or the one would be used) does not match proper
part of stf's address. This is ok if one has public, routable ip4 address.
Since my machine is behind a firewall that forwards and nats all proto
41 ip packets I'd rather stf didn't complain about it.

Now what would you suggest? I may comment out the "if" in if_stf.c:348.
However this check should be done in general but there also should be
some at-runtime method to overide it.

Best regards,
-- 
|/       |_,  _   .-  --,  Już z każdej strony pełzną, potworne żądze
|__ |_|. | \ |_|. ._' /_.         Będę uprawiał nierząd, za pieniąze


More information about the freebsd-stable mailing list