[patch] Raw sockets in jails

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Apr 22 04:30:23 PDT 2004


On Tue, Apr 20, 2004 at 08:00:27PM +0000, Christian S.J. Peron wrote:
+> Poul/group
+> 
+> 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 at FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20040422/3603acf1/attachment.bin


More information about the freebsd-hackers mailing list