the need for raw-network-sockets in BSD nowadays?

Hummel Tom tom at bluespice.org
Fri Apr 29 08:02:38 PDT 2005


Joerg Sonnenberger schrieb:
On Fri, Apr 29, 2005 at 03:57:11PM +0200, Hummel Tom wrote:

For any protocol that's not handled by the kernel or for sending
self-crafted packets. Ping uses raw sockets, so does nmap. 
Ping uses raw sockets? I really doubt that, if not, why do we have any 
ICMP implementation?


Because providing an interface for a superset of all the ICMP userland
tools is easily more work than raw sockets. The kernel ICMP implements
all the kernel cares about, not more.
Then all userland tools implement the rest for themselfes? where's the 
rest of the ICMP stored?

tom





More information about the Users mailing list