From owner-freebsd-hackers Wed May 20 12:50:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA11529 for freebsd-hackers-outgoing; Wed, 20 May 1998 12:50:06 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA11447 for ; Wed, 20 May 1998 12:49:56 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id LAA01405; Wed, 20 May 1998 11:45:46 -0700 (PDT) Message-Id: <199805201845.LAA01405@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: C L cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Questions about Packet Filter In-reply-to: Your message of "Wed, 20 May 1998 12:11:29 PDT." <19980520191129.18098.rocketmail@send1b.yahoomail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 20 May 1998 11:45:46 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Very appreciated if anybody can answer the questions: > > 1. Does BPF support the monitoring of out going packages? how? I know > it can monitor the receiving packages and directly write a new package > into the specified network interface. How about the packages written > by other network or transport protocols? Yes. A simple test would have show you this. > 2. Solaris seems having a similar soft-driver called "Network > Interface Tap". Anybody use that before? Can it monitoring both > incoming and outgoing packages? Yes. > 3. Any similar programming interface in the socket level? No. > 4. How about in HP-UX, Linux, and AIX? Most support something similar. > I may need to port my code to these OSs. Use libpcap, which provides a unified abstraction on top of most of these platforms already. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message