Hi all, on http://www.tel.fer.hr/zec/BSD/vimage/ you can find the patches against 4.7-RELEASE kernel sources, which provide the functionality of maintaining multiple independent network stack images within a single operating system kernel. No userland patches are necessary, except an additional virtual image management utility.
Within a patched kernel, every process and network interface belongs to an unique virtual image, which provides the independent: - set of network interfaces and userland processes; - interface addresses and routing tables; - TCP, UDP, raw protocol control blocks; - network traffic counters / statistics; - set of net.inet tunable sysctl variables; - ipfw and dummynet instance; - system load and CPU usage accounting and scheduling >From the userland perspective, all the virtualization modifications within the kernel have been designed to preserve the complete API/ABI compatibility, so absolutely all existing userland binaries should be able to run unmodified on the virtualized kernel. There are many possible applications of having multiple independent instances of the network stack within a single kernel, just to mention VPN provisioning, virtual hosting, and network simulation... I'd be glad to hear your comments on the code and suggestions for the further development. Have fun! Marko To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message