I need help in debugging a port of the Hping software from Unix to Win32.
HPing is a command-line oriented TCP/IP packet assembler/analyzer. The interface is inspired? by the ping(8) unix command.? HPing sends not? only ICMP echo requests, it supports TCP, UDP, ICMP and RAW-IP protocols.? For more information view [[login to view URL]][1].
The source code and exe are attached.
The problem is that when the program is executed on Windows using a basic command such as : "hping2 -S -p 80 [login to view URL]" only the UDP packet to do DNS resolution is sent.? This command should send a TCP packet with the SYN flag on.
I need help to debug this code to make it send and receive packets properly.? What I really need to send is a TCP packet of varying sizes with the DoNotFragment bit set on.
The code is available under GNU and deliverables will also be GNU.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables):
a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
## Platform
Windows XP, NT, 2000