Comment much of PacketSensor.cc while looking for bugs.
Add a lot of additional debugging output. Fix incorrect TCP payload size calculation - assumed Ethernet, ignored IP and TCP option headers. Replace weird nonstandart IpHeader structure with 'struct ip' from netinet/ip.h .
Showing
Please register or sign in to comment