lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101012184543.55ebf503@nehalam>
Date:	Tue, 12 Oct 2010 18:45:43 -0700
From:	Stephen Hemminger <shemminger@...tta.com>
To:	Sri Ram Vemulpali <sri.ram.gmu06@...il.com>
Cc:	linux-netdev <netdev@...r.kernel.org>
Subject: Re: Question on DHCP

On Tue, 12 Oct 2010 21:33:25 -0400
Sri Ram Vemulpali <sri.ram.gmu06@...il.com> wrote:

> Hi All,
> 
>    I have very basic stupid doubt. Can anyone help to resolve this.
> 
> DHCP, is used for dynamically configuring IP address, mask, MTU, DNS
> domain, .... for a host. DHCP is a application layer protocol, but the
> values it configures are related to IP layer. How come DHCP can
> configure when its data packet in embedded in to IP datagram, which
> are disparate layers. I am little confused. Please clarify. Thanks.
> 

DHCP client uses UDP to send broadcast packet and find the nearest
server.  The Linux DHCP client ends up using a AF_PACKET socket because
it wants to seem MAC address of server.

-- 
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ