From owner-freebsd-net Fri Nov 22 12:25:16 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29BB237B401 for ; Fri, 22 Nov 2002 12:25:15 -0800 (PST) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D46443E88 for ; Fri, 22 Nov 2002 12:25:14 -0800 (PST) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org (12-232-168-4.client.attbi.com[12.232.168.4]) by sccrmhc02.attbi.com (sccrmhc02) with ESMTP id <2002112220250900200t5mj0e>; Fri, 22 Nov 2002 20:25:09 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id MAA15137; Fri, 22 Nov 2002 12:23:11 -0800 (PST) Date: Fri, 22 Nov 2002 12:23:10 -0800 (PST) From: Julian Elischer To: soheil soheil Cc: freebsd-net@freebsd.org Subject: Re: Packet Capturing on GWs but don't let them go out. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org that is what divert(4) is for. On Fri, 22 Nov 2002, soheil soheil wrote: > Hi > I want to do packet capturing but as you know the pcap let the packet go out > and just put a copy on the buffer . > I just want to do a copy and don't let them go out . > just i want that all of the packet from the sockets that are created by me > travels through my server > > Packet ----- /* i don't want it to be forwarded */ |------> out > |----> buffer ---> my process --------send-- > THANX > > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message