cvs commit: src/share/man/man4 enc.4 src/sys/net if_enc.c
src/sys/netipsec ipsec.h ipsec_input.c ipsec_output.c xform.h
Bjoern A. Zeeb
bz at FreeBSD.org
Sun Oct 5 17:44:31 UTC 2008
bz 2008-10-05 17:41:46 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/netipsec ipsec.h ipsec_input.c ipsec_output.c
SVN rev 183630 on 2008-10-05 17:41:46Z by bz
rev. 1.7 net/if_enc.c
rev. 1.14 netipsec/ipsec.h, 1.20 netipsec/ipsec_input.c
rev. 1.17 netipsec/ipsec_output.c
rev. 1.4 netipsec/xform.h, 1.16 netipsec/xform_ipip.c
SVN r174054, 174055
Add sysctls to if_enc(4) to control whether the firewalls or
bpf will see inner and outer headers or just inner or outer
headers for incoming and outgoing IPsec packets.
This is useful in bpf to not have over long lines for debugging
or selcting packets based on the inner headers.
It also properly defines the behavior of what the firewalls see.
Last but not least it gives you if_enc(4) for IPv6 as well.
[ As some auxiliary state was not available in the later
input path we save it in the tdbi. That way tcpdump can give a
consistent view of either of (authentic,confidential) for both
before and after states. ]
Note: The defaults were not changed but you may want to do that.
See the the man page for more details.
Approved by: re (gnn)
Revision Changes Path
126.96.36.199 +52 -7 src/share/man/man4/enc.4
188.8.131.52 +74 -11 src/sys/net/if_enc.c
184.108.40.206 +9 -2 src/sys/netipsec/ipsec.h
220.127.116.11 +21 -2 src/sys/netipsec/ipsec_input.c
18.104.22.168 +24 -2 src/sys/netipsec/ipsec_output.c
22.214.171.124 +3 -0 src/sys/netipsec/xform.h
126.96.36.199 +15 -1 src/sys/netipsec/xform_ipip.c
More information about the cvs-src