Date: Thu, 26 Sep 2002 12:29:32 +0200 From: "Martin Matuska" <matuska@wu-wien.ac.at> To: <freebsd-hackers@FreeBSD.org> Subject: Security of a JAIL UDP patch Message-ID: <000701c26547$9a44d1c0$0200a8c0@martin>
next in thread | raw e-mail | index | archive | help
I would like to ask which aspects has this patch on security of a jailed
environment.
This patch enables the use of named or ircd in jails.
--- in_pcb.c.old Mon Mar 18 23:57:57 2002
+++ in_pcb.c Tue Mar 19 09:52:45 2002
@@ -501,6 +501,8 @@
int error;
if (inp->inp_laddr.s_addr == INADDR_ANY && p->p_prison != NULL) {
+ if (inp->inp_lport != 0)
+ inp->inp_laddr.s_addr = htonl(p->p_prison->pr_ip);
bzero(&sa, sizeof (sa));
sa.sin_addr.s_addr = htonl(p->p_prison->pr_ip);
sa.sin_len=sizeof (sa);
Patch author was Lamont Granquist lamont@scriptkiddie.org
Reference:
http://www.freebsd.org/cgi/getmsg.cgi?fetch=393634+395986+/usr/local/www/db/
text/2002/freebsd-stable/20020331.freebsd-stable
Thank you very much
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701c26547$9a44d1c0$0200a8c0>
