On Fri, Aug 27, 1999 at 12:53:38AM +0300, Gaal Yahas wrote:
> > > > BTW: How can root put raw data on the Ethernet device ? If there
> > > > is no /dev for it, then how can someone open this device?
>
> > You may try to look on packet(4), but I don't know if it will get you
> > to what you want. I have an impression that it's best to use devices
> > specialised for your purpose, but if you want...
>
> Take a look at libnet, http://www.packetfactory.net/libnet/ , which
> is a portable way to put packets on the network (in c). If you want
> to do it in Perl, try Net::RawIP .
That allows you to send raw packets over IP. I.e. instead of standard
TCP/UDP packets you construct your own. It seems that Shaul wants raw
packets over a networking device, that is, raw Ethernet frames.
--
Alex Shnitman | http://www.debian.org
[EMAIL PROTECTED], [EMAIL PROTECTED] +-----------------------
http://alexsh.hectic.net UIN 188956 PGP key on web page
E1 F2 7B 6C A0 31 80 28 63 B8 02 BA 65 C7 8B BA
The ability of the Open Source process to collect and harness the
collective IQ of thousands of individuals across the Internet is
simply amazing. More importantly, Open Source evangelization scales
with the size of the Internet much faster than our own evangelization
efforts appear to scale.
-- Internal Microsoft memo
PGP signature