Changed TCP ping method.
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Sat, 14 Apr 2012 01:29:21 +0000 (22:29 -0300)
committerGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Sat, 14 Apr 2012 01:29:21 +0000 (22:29 -0300)
commita7d7778bd425fd0bf3d14a46934fd3f3e50fc479
tree7698945a50560a49d50c2996865165e5b3f1d96f
parent2ed854ab91e6a48481220416ad82a5d0e0121db9
Changed TCP ping method.
- SYN segments pass easily through firewalls and it is replied both when the
  port is open as well as when it is closed, serving better to the purpose of
  checking if the link reaches a given host. Whereas ACK segments do not get
  replied if the other end is closed or has a firewall in the middle.
- A thoroughly discussion regarding SYN x ACK is available at
  http://www.networkuptime.com/nmap/page4-4.shtml
  http://www.networkuptime.com/nmap/page4-5.shtml
Readme
src/tcp/tcpipv4segment.cpp
src/tcp/tcpipv4segment.h
src/tcp/tcpipv6segment.cpp
src/tcp/tcpipv6segment.h
src/tcp/tcppinger.cpp
src/tcp/tcpsegment.h
src/tcp/tcpsegmentfactory.cpp
src/tcp/tcpsegmentfactory.h