RE: Packets Counting

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

 



Can i record the the number of packets each 2 seconds with tcpdump. i can see 
packets with tcpdump but how to count it every 2 seconds

>===== Original Message From edvin.seferovic@xxxxxxx =====
>Maybe you should use tcpdump for testing purposes instead of using iptables.
>
>Just my opinion.
>
>Regards,
>
>Edvin
>
>-----Original Message-----
>From: netfilter-bounces@xxxxxxxxxxxxxxxxxxx
>[mailto:netfilter-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of M. A. Imam
>Sent: Mittwoch, 16. März 2005 16:56
>To: netfilter@xxxxxxxxxxxxxxxxxxx
>Subject: Packets Counting
>
>Hi,
>
>How can i count the number of packets on an interface evry 2 or 5 seconds.
>and
>i want to count only specific packets like only arriving packets from port
>5001
>
>Any ideas...
>
>Muhammad




[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