strange ethereal question
Hal Duston
hduston at speedscript.com
Thu Jun 12 17:34:23 CDT 2003
On Thu, 2003-06-12 at 11:28, Brian Densmore wrote:
> > I looked into using Net::Pcap, but it appeared to only take input
> > form a network device and didn't appear to allow me to just hand
> > it a packet for encoding into pcap format. I'll look into saving
> > it out as hex formatted text.
> >
> > Thanks for you help on this.
> >
> Ok, stupid question. Isn't it possible to "create" a device file
> that looks like network device and then have your code read that
> file/"device"? After all isn't that supposed to be the beauty of
> *nix; that everything is just a file?
Except network devices under Linux. I.e. there is no /dev/eth0.
--
Hal
More information about the Kclug
mailing list