Networking Forums

Networking Forums > Computer Networking > Linux Networking > debugging dhcp cient using ddd

Reply
Thread Tools Display Modes

debugging dhcp cient using ddd

 
 
RajaSekhar.Kavuri
Guest
Posts: n/a

 
      02-26-2005, 05:58 PM
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.
 
Reply With Quote
 
 
 
 
Tauno Voipio
Guest
Posts: n/a

 
      03-02-2005, 08:01 AM
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

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debugging bridge behavior tbroberg@hifn.com Linux Networking 3 07-11-2008 08:55 AM
Can the DSL on a AirBridge cient's side share internet with the accesspoint? Rôgêr Wireless Internet 0 05-30-2008 08:49 PM
debugging a hang ssh session wong_powah@yahoo.ca Linux Networking 9 02-21-2008 05:45 PM
Netperf Debugging JoohyeonPark Linux Networking 3 10-14-2004 04:58 PM
ADSL Debugging? Ian Waring Broadband 2 08-16-2004 02:20 PM



1 2 3 4 5 6 7 8 9 10 11