Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 1998 11:45:46 -0700
From:      Mike Smith <mike@smith.net.au>
To:        C L <lc001@yahoo.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Questions about Packet Filter 
Message-ID:  <199805201845.LAA01405@dingo.cdrom.com>
In-Reply-To: Your message of "Wed, 20 May 1998 12:11:29 PDT." <19980520191129.18098.rocketmail@send1b.yahoomail.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805201845.LAA01405>