Welcome to Server Circle. It's a friendly site and all levels of experience are welcome. Be aware that we use cookies for your login.
Server Circle - Ask questions about Servers and get answers from experts.
Beta (0.84 sec)
Using hping for crafting SYN packets

I use hping like this:

hping -i eth0 -c25 -S 123.123.123.123 -p 80

Is this creating a SYN packet correctly ?

Asked by:
PCdude
76 points
 Report Abuse
 Share Page - Category: Networking - Tags: Using hping for crafting SYN packets
 Enter your response
Please use Pastie.org to paste lengthy code or to fix formatting issues with code
  • Responses in reverse (1)

Best Answer

I would have said yes, but doing it myself and checking with wireshark (and comparing with the packet generated by telnet 123.123.123.123 80), it's not valid because it's got a non-zero ack field even though the ACK flag is not set. Adding -L 0 would probably make it correct.

Response by:
s
3383 points


  • Related Questions
About Us : Contact Us : Etiquette : Terms : CDN Failover : ShorterURL : CDN Fallback : © 2013 Server Circle