debugging dhcp cient using ddd

debugging dhcp cient using ddd

Post by RajaSekhar.Kavu » Mon, 28 Feb 2005 03:58:40



Hai

            Can any ony help me to debug a dhcp client source code
using a DDD de*. i have installed dhcp client rpm in my linux
machine. please tell me in detail
             1. how to debug that code using a DDD de*.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.

 
 
 

debugging dhcp cient using ddd

Post by Tauno Voipi » Thu, 03 Mar 2005 18:01:23



> Hai

>             Can any ony help me to debug a dhcp client source code
> using a DDD de*. i have installed dhcp client rpm in my linux
> machine. please tell me in detail
>              1. how to debug that code using a DDD de*.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

 
 
 

1. How to Debug A program using ddd

Hello,
i creates a program and compile it using the
xlC -o ./../hello  -g hello.cpp

when i tryed to debug it i went into the directory where hello is
created and
type:
ddd hello
but the ddd could not open my source file , i try to used with open
source with no success .
do i miss somthing ,
should i set any flags to the ddd or in the enviroment ?

thanks
Yaniv

2. FTP limit.

3. gdb/ddd shared library debugging problem

4. How to enable graphical login, start KDE or Gnome

5. help about ddd debug tool .

6. I am BROWSER SNAKE your new leader

7. Debugging width DDD !! Please Help Me !!!!!

8. ftp automated batch copy

9. DDD - GDB - FORTRAN - Debug

10. Debugging width DDD !! Please Help Me !!!!!

11. DDD - FORTRAN - DEBUG

12. Remote debugging with DDD

13. 3com 905b gets Ip address by using DHCP from NT DHCP server