Re: User-space controlled raw ethernet - Is this the way to go?
- From: Chris Friesen <cbf123@xxxxxxxxxxxxx>
- Date: Mon, 25 Feb 2008 09:58:38 -0600
Andrew Greensted wrote:
I want to be able to send raw ethernet frames between the two. I've looked at libpcap, libdnet and direct socket code. For each of these I've got something working, BUT, they all seem to need root permissions to do low level ethernet frame sending and receiving.
There's a reason for this. Low level ethernet frame processing lets you spoof to your heart's content...so by default only root is allowed to do it.
If you can get the root privileges to install a kernel module, can't you make the executable setuid root?
Chris
.
- Follow-Ups:
- References:
- User-space controlled raw ethernet - Is this the way to go?
- From: Andrew Greensted
- User-space controlled raw ethernet - Is this the way to go?
- Prev by Date: Re: User-space controlled raw ethernet - Is this the way to go?
- Next by Date: Re: User-space controlled raw ethernet - Is this the way to go?
- Previous by thread: Re: User-space controlled raw ethernet - Is this the way to go?
- Next by thread: Re: User-space controlled raw ethernet - Is this the way to go?
- Index(es):
Relevant Pages
|