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
pgp00000.pgp
Description: PGP signature