Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

debugging dhcp cient using ddd

Reply
 
Thread Tools Display Modes
  #1  
Old 02-26-2005, 06:58 PM
Default debugging dhcp cient using ddd



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
Reply With Quote
  #2  
Old 03-02-2005, 09:01 AM
Tauno Voipio
Guest
 
Posts: n/a
Default Re: debugging dhcp cient using ddd

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

Tags
cient, ddd, debugging, dhcp

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
Forum Jump


All times are GMT. The time now is 06:34 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.