Re: [patch] Raw sockets in jails
From: Pawel Jakub Dawidek (pjd_at_FreeBSD.org)
Date: Thu, 22 Apr 2004 13:30:02 +0200 To: "Christian S.J. Peron" <email@example.com>
On Tue, Apr 20, 2004 at 08:00:27PM +0000, Christian S.J. Peron wrote:
+> The following patch makes raw sockets comply with prison IP addresses.
+> Some tools such as traceroute(8) may require that the prison IP address
+> be specified on the command line. I.E.
+> traceroute -s <prison ip> <dest address>
+> Otherwise it might fail.
+> (because of this we may want to get rid of the
+> create_raw_sockets MIB all together).
+> Anyway, take a gander at it (testers feedback welcome):
Looks very neat! I've merge your patch to my jail work (pjd_jail perforce
branch) and changed it to be usable with my multiple ips stuff.
I haven't reviewed nor tested it yet.
-- Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am!
- application/pgp-signature attachment: stored