if_stf bug/feature
Lukasz Stelmach
Lukasz.Stelmach at telmark.waw.pl
Tue May 4 11:16:22 PDT 2004
Greetings.
stf interface has one feature, very inconvinient for me. 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 (maybe sysctl
net.inet6.ip6.strictstfaddr?).
The line number applies to 4.10-PRERELEASE (ctm src-4 1844).
Best regards,
PS. I've sent it to freebsd-stable but havn't got any response.
--
|/ |_, _ .- --, Już z każdej strony pełzną, potworne żądze
|__ |_|. | \ |_|. ._' /_. Będę uprawiał nierząd, za pieniąze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20040504/a85a038b/attachment.bin
More information about the freebsd-net
mailing list