1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/sys/netinet
Bjoern A. Zeeb 413628a7e3 MFp4:
Bring in updated jail support from bz_jail branch.

This enhances the current jail implementation to permit multiple
addresses per jail. In addtion to IPv4, IPv6 is supported as well.
Due to updated checks it is even possible to have jails without
an IP address at all, which basically gives one a chroot with
restricted process view, no networking,..

SCTP support was updated and supports IPv6 in jails as well.

Cpuset support permits jails to be bound to specific processor
sets after creation.

Jails can have an unrestricted (no duplicate protection, etc.) name
in addition to the hostname. The jail name cannot be changed from
within a jail and is considered to be used for management purposes
or as audit-token in the future.

DDB 'show jails' command was added to aid debugging.

Proper compat support permits 32bit jail binaries to be used on 64bit
systems to manage jails. Also backward compatibility was preserved where
possible: for jail v1 syscalls, as well as with user space management
utilities.

Both jail as well as prison version were updated for the new features.
A gap was intentionally left as the intermediate versions had been
used by various patches floating around the last years.

Bump __FreeBSD_version for the afore mentioned and in kernel changes.

Special thanks to:
- Pawel Jakub Dawidek (pjd) for his multi-IPv4 patches
  and Olivier Houchard (cognet) for initial single-IPv6 patches.
- Jeff Roberson (jeff) and Randall Stewart (rrs) for their
  help, ideas and review on cpuset and SCTP support.
- Robert Watson (rwatson) for lots and lots of help, discussions,
  suggestions and review of most of the patch at various stages.
- John Baldwin (jhb) for his help.
- Simon L. Nielsen (simon) as early adopter testing changes
  on cluster machines as well as all the testers and people
  who provided feedback the last months on freebsd-jail and
  other channels.
- My employer, CK Software GmbH, for the support so I could work on this.

Reviewed by:	(see above)
MFC after:	3 months (this is just so that I get the mail)
X-MFC Before:   7.2-RELEASE if possible
2008-11-29 14:32:14 +00:00
..
libalias
accf_data.c
accf_dns.c
accf_http.c
icmp6.h
icmp_var.h
if_atm.c
if_atm.h
if_ether.c Merge more of currently non-functional (i.e. resolving to 2008-11-26 22:32:07 +00:00
if_ether.h
igmp_var.h
igmp.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
igmp.h
in_cksum.c
in_gif.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
in_gif.h
in_mcast.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
in_pcb.c MFp4: 2008-11-29 14:32:14 +00:00
in_pcb.h Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
in_proto.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
in_rmx.c Merge more of currently non-functional (i.e. resolving to 2008-11-26 22:32:07 +00:00
in_systm.h
in_var.h Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
in.c Unhide declarations of network stack virtualization structs from 2008-11-28 23:30:51 +00:00
in.h Step 1.5 of importing the network stack virtualization infrastructure 2008-10-02 15:37:58 +00:00
ip6.h Step 1.5 of importing the network stack virtualization infrastructure 2008-10-02 15:37:58 +00:00
ip_carp.c Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
ip_carp.h
ip_divert.c Merge more of currently non-functional (i.e. resolving to 2008-11-26 22:32:07 +00:00
ip_divert.h
ip_dummynet.c
ip_dummynet.h Type of q_time (start of queue idle time) has changed: uint32_t -> uint64_t. 2008-10-28 14:14:57 +00:00
ip_ecn.c
ip_ecn.h
ip_encap.c
ip_encap.h
ip_fastfwd.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
ip_fw2.c For consistency work on the local object passed into the function for the 2008-11-09 14:06:44 +00:00
ip_fw_nat.c Step 1.5 of importing the network stack virtualization infrastructure 2008-10-02 15:37:58 +00:00
ip_fw_pfil.c Merge more of currently non-functional (i.e. resolving to 2008-11-26 22:32:07 +00:00
ip_fw.h Fix content and spelling of comment on _ipfw_insn.len -- a count of 2008-10-10 14:33:47 +00:00
ip_gre.c
ip_gre.h
ip_icmp.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
ip_icmp.h Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
ip_id.c Unhide declarations of network stack virtualization structs from 2008-11-28 23:30:51 +00:00
ip_input.c Unhide declarations of network stack virtualization structs from 2008-11-28 23:30:51 +00:00
ip_ipsec.c Step 1.5 of importing the network stack virtualization infrastructure 2008-10-02 15:37:58 +00:00
ip_ipsec.h
ip_mroute.c Step 1.5 of importing the network stack virtualization infrastructure 2008-10-02 15:37:58 +00:00
ip_mroute.h
ip_options.c Step 1.5 of importing the network stack virtualization infrastructure 2008-10-02 15:37:58 +00:00
ip_options.h
ip_output.c Merge more of currently non-functional (i.e. resolving to 2008-11-26 22:32:07 +00:00
ip_var.h Unhide declarations of network stack virtualization structs from 2008-11-28 23:30:51 +00:00
ip.h Move CTASSERT from header file to source file, per implementation note now 2008-09-26 18:30:11 +00:00
ipprotosw.h
pim_var.h
pim.h
raw_ip.c MFp4: 2008-11-29 14:32:14 +00:00
sctp_asconf.c
sctp_asconf.h
sctp_auth.c
sctp_auth.h
sctp_bsd_addr.c
sctp_bsd_addr.h
sctp_cc_functions.c
sctp_cc_functions.h
sctp_constants.h -Improvement: Add '\n' on debug output in sctp_lower_sosend(). 2008-11-12 14:16:39 +00:00
sctp_crc32.c Reported by Yehuda Weinraub (yehudasa@gamil.com) - CRC32C algorithm 2008-10-18 15:53:31 +00:00
sctp_crc32.h
sctp_header.h
sctp_indata.c -Improvement: Add '\n' on debug output in sctp_lower_sosend(). 2008-11-12 14:16:39 +00:00
sctp_indata.h
sctp_input.c -Improvement: Add '\n' on debug output in sctp_lower_sosend(). 2008-11-12 14:16:39 +00:00
sctp_input.h
sctp_lock_bsd.h
sctp_os_bsd.h Get rid of ifdef for vimage on version 8 comparison. Now the 2008-10-27 13:54:54 +00:00
sctp_os.h
sctp_output.c More issues with pre-blocking: 2008-10-27 14:49:12 +00:00
sctp_output.h
sctp_pcb.c MFp4: 2008-11-29 14:32:14 +00:00
sctp_pcb.h -Improvement: Add '\n' on debug output in sctp_lower_sosend(). 2008-11-12 14:16:39 +00:00
sctp_peeloff.c
sctp_peeloff.h
sctp_structs.h
sctp_sysctl.c - Peers rwnd is now available for the MIB. 2008-10-18 15:55:15 +00:00
sctp_sysctl.h
sctp_timer.c Invariants changes that make more sense. 2008-10-27 13:53:31 +00:00
sctp_timer.h Invariants changes that make more sense. 2008-10-27 13:53:31 +00:00
sctp_uio.h - Peers rwnd is now available for the MIB. 2008-10-18 15:55:15 +00:00
sctp_usrreq.c MFp4: 2008-11-29 14:32:14 +00:00
sctp_var.h
sctp.h
sctputil.c -Improvement: Add '\n' on debug output in sctp_lower_sosend(). 2008-11-12 14:16:39 +00:00
sctputil.h
tcp_debug.c
tcp_debug.h
tcp_fsm.h
tcp_hostcache.c Unhide declarations of network stack virtualization structs from 2008-11-28 23:30:51 +00:00
tcp_hostcache.h Add an essential .h file that skipped from the last commit (r185419). 2008-11-28 23:39:25 +00:00
tcp_input.c Merge more of currently non-functional (i.e. resolving to 2008-11-26 22:32:07 +00:00
tcp_lro.c
tcp_lro.h
tcp_offload.c Step 1.5 of importing the network stack virtualization infrastructure 2008-10-02 15:37:58 +00:00
tcp_offload.h
tcp_output.c Replace most INP_CHECK_SOCKAF() uses checking if it is an 2008-11-27 13:19:42 +00:00
tcp_reass.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
tcp_sack.c Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
tcp_seq.h
tcp_subr.c missing V_ 2008-11-28 13:13:44 +00:00
tcp_syncache.c Merge more of currently non-functional (i.e. resolving to 2008-11-26 22:32:07 +00:00
tcp_syncache.h
tcp_timer.c Step 1.5 of importing the network stack virtualization infrastructure 2008-10-02 15:37:58 +00:00
tcp_timer.h
tcp_timewait.c Merge in6_pcbfree() into in_pcbfree() which after the previous 2008-11-27 12:04:35 +00:00
tcp_usrreq.c MFp4: 2008-11-29 14:32:14 +00:00
tcp_var.h Change the initialization methodology for global variables scheduled 2008-11-19 09:39:34 +00:00
tcp.h
tcpip.h
toedev.h
udp_usrreq.c MFp4: 2008-11-29 14:32:14 +00:00
udp_var.h
udp.h
vinet.h Unhide declarations of network stack virtualization structs from 2008-11-28 23:30:51 +00:00