*BSD News Article 77122


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.erols.net!agate!fsc.fujitsu.com!pagesat.net!titan.saturn.net!brian
From: brian@tcpip.geek.net (Brian Mitchell)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: pcap - can it be used to send packets
Date: 29 Aug 1996 04:19:43 GMT
Organization: Saturn Internet - ISP
Lines: 19
Message-ID: <5035ov$60k@titan.saturn.net>
References: <m2enkrxnkz.fsf@golfgod.raleigh.ibm.com>
Reply-To: brian@saturn.net
NNTP-Posting-Host: tcpip.geek.net
X-Newsreader: slrn (0.8.8.1 UNIX)

On 28 Aug 1996 16:26:04 -0400, Thomas Evans <tjevans@raleigh.ibm.com> wrote:
>looking through the man pages it seems the answer is no, is there a 
>new/better version that will allow me to send as well as rcv.
>TIA

two options (for freebsd)

1) Raw sockets, using IP_HDRINCL

2) BPF

In both cases, you lose some portability.


-- 
Brian Mitchell 				                brian@saturn.net
"I never give them hell. I just tell the truth and they think it's hell"
- H. Truman