Date: Sun, 17 Jan 2010 12:57:11 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_jail.c src/sys/netinet in_pcb.c src/sys/netinet6 in6_src.c src/sys/sys jail.h src/usr.sbin/jail jail.8 Message-ID: <201001171302.o0HD2eGX053075@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2010-01-17 12:57:11 UTC
FreeBSD src repository
Modified files:
sys/kern kern_jail.c
sys/netinet in_pcb.c
sys/netinet6 in6_src.c
sys/sys jail.h
usr.sbin/jail jail.8
Log:
SVN rev 202468 on 2010-01-17 12:57:11Z by bz
Add ip4.saddrsel/ip4.nosaddrsel (and equivalent for ip6) to control
whether to use source address selection (default) or the primary
jail address for unbound outgoing connections.
This is intended to be used by people upgrading from single-IP
jails to multi-IP jails but not having to change firewall rules,
application ACLs, ... but to force their connections (unless
otherwise changed) to the primry jail IP they had been used for
years, as well as for people prefering to implement similar policies.
Note that for IPv6, if configured incorrectly, this might lead to
scope violations, which single-IPv6 jails could as well, as by the
design of jails. [1]
Reviewed by: jamie, hrs (ipv6 part)
Pointed out by: hrs [1]
MFC After: 2 weeks
Asked for by: Jase Thew (bazerka beardz.net)
Revision Changes Path
1.132 +108 -2 src/sys/kern/kern_jail.c
1.262 +7 -0 src/sys/netinet/in_pcb.c
1.76 +7 -0 src/sys/netinet6/in6_src.c
1.53 +6 -0 src/sys/sys/jail.h
1.101 +12 -4 src/usr.sbin/jail/jail.8
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001171302.o0HD2eGX053075>
