From mboxrd@z Thu Jan 1 00:00:00 1970 From: "M. A. Imam" Subject: RE: Packets Counting Date: Wed, 16 Mar 2005 11:50:06 -0600 Message-ID: <42389BFF@webmail.wichita.edu> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="iso-8859-1" To: edvin.seferovic@kolp.at, netfilter 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 >=3D=3D=3D=3D=3D Original Message From edvin.seferovic@kolp.at =3D=3D=3D=3D=3D >Maybe you should use tcpdump for testing purposes instead of using iptables. > >Just my opinion. > >Regards, > >Edvin > >-----Original Message----- >From: netfilter-bounces@lists.netfilter.org >[mailto:netfilter-bounces@lists.netfilter.org] On Behalf Of M. A. Imam >Sent: Mittwoch, 16. M=E4rz 2005 16:56 >To: netfilter@lists.netfilter.org >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