|
||||||||
|
|
#1
|
|
Hai
Can any ony help me to debug a dhcp client source code using a DDD debugger. i have installed dhcp client rpm in my linux machine. please tell me in detail 1. how to debug that code using a DDD debugger.also can any one hepl me to understand the source code of it and its working method of dhcp client. 2. Please tell me how my dhcp discover packet is send initally to a broad cast address. 3. Please tell me how my dhcp discover message is enclosed and send throug the network. how does it is really sent. 4. Any one please reply to my questions in detail. RajaSekhar.Kavuri |
|
#2
|
|||
|
|||
|
RajaSekhar.Kavuri wrote:
> Hai > > > Can any ony help me to debug a dhcp client source code > using a DDD debugger. i have installed dhcp client rpm in my linux > machine. please tell me in detail > 1. how to debug that code using a DDD debugger.also can > any one hepl me to understand the source code of it and its working > method of dhcp client. > 2. Please tell me how my dhcp discover packet is send > initally to a broad cast address. > > 3. Please tell me how my dhcp discover message is > enclosed and send throug the network. how does it is really sent. > > 4. Any one please reply to my questions in detail. If you have to ask these questions, DON'T! Please read the RFC 2131 and associated RFC's to get the protocol details. Fire up an Ethernet sniffer, e.g. tcpdump or Ethereal and look at the packet exchange before attempting any code debug. There is a known problem of wrong source address in pump (at least the older versions). If you're trying to use pump, try dhcpcd or dhcpcd3 first before attempting to debug. (The pump error is to bind UDP to port 0.0.0.0 instead of using a raw socket). -- Tauno Voipio tauno voipio (at) iki fi |
![]() |
| Tags |
| cient, ddd, debugging, dhcp |
| Thread Tools | |
| Display Modes | |
|
|