> Date: Wed, 29 Mar 2000 00:02:17 +0200
>interfaces, but I basicly need to manipulate it first. And I need
>promisc-mode because I also have to listen to everything on this
>network. The protocol (a level up from ethernet) is not a common one
>(long and boring story), so I really need access to the raw frames for
>both reading and writing. I've looked at netlink, but there doesn't
>seem to be access to the ethernet-frames. 

>If the answer answer is RTFM, then I will politely ask WFM (which
>f*%?ing manual ;).

Of course the answer is RTFM ;-)  packet(7), see also socket(2)
(i.e. man 7 packet, man 2 socket). Hope this helps.

"Packet sockets are used to receive or send raw packet at
 the device driver (OSI layer 2) level. They allow the user
 to implement protocol modules in user space on top of the
 physical layer."

Of course you must be root to open the socket... no, can
without it, if you have CAP_NET_RAW capability.

Jerzy
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to