On Wed, 18 Sep 2013 14:16:08 +0200, Bastian Blank wrote:
> Why does dhcpd check the checksum, which is already done by the kernel?

dhcpd is using RAW sockets to work with Ethernet packets. (DHCP is used
to configure IP, so it has to work on a lower level than IP.)

RAW sockets bypass the kernels IP network stack (even iptbale rules!),
so the kernel never gets a chance to check the UDP checksum.
-- 
Philipp Hahn
Open Source Software Engineer

Univention GmbH
be open.
Mary-Somerville-Str. 1
D-28359 Bremen
Tel.: +49 421 22232-0
Fax : +49 421 22232-99
h...@univention.de

http://www.univention.de/
Geschäftsführer: Peter H. Ganten
HRB 20755 Amtsgericht Bremen
Steuer-Nr.: 71-597-02876


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to