[Mono-list] socket.raw as root
Eric Gonia
egonia@mail15.com
Fri, 18 Jun 2004 11:30:27 -0500
Would someone please explain to me why I have to be root in order to
create a raw socket:
Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Raw,
ProtocolType.Icmp);
but I can create a Stream socket as a normal user:
Socket socket = new Socket(AddressFamily.InterNetwork,
SocketType.Stream, ProtocolType.Tcp);
And is there a way to get around the root privilege requirement for raw
sockets?
Thanks,
Eric