the need for raw-network-sockets in BSD nowadays?
joerg at britannica.bec.de
Fri Apr 29 07:45:10 PDT 2005
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.
More information about the Users