Tcpdump and libipq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I have a program that uses libipq to delay and drop packets, so that the transmission will be affected as if the connection is a wireless network. It works fine. My intention was to use tcpdump in conjunction with my program to see exactly when the packets are arriving, and then use tcptrace to plot the graphs. But as libipq is working at the netlink socket layer, I am doubting that when a packet reaches my firewall, it will alreay be registerd by tcpdump.


For example, I set my program to delay every packet arriving from port xx 100 msec. I also run tcpdump in the background to sniff on the same flow. Say a packet arrives at 0.000 in my network card, and it was delayed 100 msec by my program and sent to upper layers. Will Tcpdump register the packet arrival time as 0.000 or as 100 ? I will try to check it myself, but if anyone knows, that will save me some time.

Regards,
Oumer



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux