From owner-freebsd-security@FreeBSD.ORG Tue Apr 20 13:24:45 2004 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C6FB16A4DA; Tue, 20 Apr 2004 13:24:45 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AD7943D5D; Tue, 20 Apr 2004 13:24:44 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.11/8.12.11) with ESMTP id i3KKOcoc023454; Tue, 20 Apr 2004 22:24:39 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: "Christian S.J. Peron" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 20 Apr 2004 20:00:27 -0000." <20040420200027.A51891@staff.seccuris.com> Date: Tue, 20 Apr 2004 22:24:38 +0200 Message-ID: <23453.1082492678@critter.freebsd.dk> cc: freebsd-hackers@freebsd.org cc: freebsd-security@freebsd.org Subject: Re: [patch] Raw sockets in jails X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2004 20:24:45 -0000 In message <20040420200027.A51891@staff.seccuris.com>, "Christian S.J. Peron" w rites: >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 > >Otherwise it might fail. How does traceroute and ping normally determine which source address to use ? Can't we use that mechanism to default them to the right thing ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.