Proper way to make an INET6-less kernel?

I'd like to build a kernel completely free of IPv6, but I'm not sure which way is the best to proceed -- I'm not talking about src.conf, just the kernel config.

Except for options INET6, what do I have to remove in my KERNCONF? Or add, maybe? :q
What about the gif and faith devices (IPv6 and IPv4 tunneling and IPv6-to-IPv4 relaying (translation), respectively)? Are they safe to remove, or is it best to keep them in the kernel?

Anything else I should be aware of? :)

Thanks in advance
 
Those three can be left out without problems, and it will disable IPv6 (I don't think a kernel without INET6, but with gif/faith included will even compile due to missing dependencies).
 
Is that still the case though? I know SCTP used to bomb without INET6, but I heard that that no longer happens in recent builds (nor should it, as SCTP is not IPv6-specific, though it includes or used to include KAME patches).
 
/sys/conf/NOTES on 8.0 still contains:
Code:
# Note YOU MUST have both INET and INET6 defined.
# you don't have to enable V6, but SCTP is 
# dual stacked and so far we have not teased apart
# the V6 and V4.. since an association can span
# both a V6 and V4 address at the SAME time :-)

Haven't tested it lately, though.
 
Back
Top