DragonFly BSD
DragonFly users List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Fri, 29 Apr 2005 16:44:35 +0200
Mail-followup-to: users@crater.dragonflybsd.org

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.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]