in reply to Re^4: Sniffer::HTTP problem with timeout
in thread Sniffer::HTTP problem with timeout
I'm sorry, but I have only very little knowledge of Linux kernels.
In theory, TCP should be able to cope with the dropped packets and HTTP::Sniffer should be able to reconstruct the TCP stream despite the dropped packets. Maybe it is that the per-packet callback code of Net::Pcap blocks your kernel so long that it starts dropping packets, but as far as I'm aware, Net::Pcap runs asynchronously to the kernel. I'm not sure how you can easily verify that - maybe having sleep in the callback helps reproduce the dropped packets.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Sniffer::HTTP problem with timeout
by ponley (Novice) on Mar 20, 2011 at 22:35 UTC | |
by ponley (Novice) on Mar 22, 2011 at 04:08 UTC | |
by Corion (Patriarch) on Mar 22, 2011 at 08:05 UTC | |
by ponley (Novice) on Mar 22, 2011 at 23:27 UTC | |
by Corion (Patriarch) on Mar 23, 2011 at 07:47 UTC | |
|