Hi

When I removed -u 1000 -g 1000 , "Cannot set NIC flags " is not displayed 
anymore,but no statistics are shown when the sniffer is stopped.  I have run 
the application as root using "sudo su -" but it still doesn't show the 
statistics. 
About using iffps I think it shows how many packets are received by the kernel, 
I wanted to know how many packets are properly dumped by the sniffer into the 
pcap file (hoping that that's the inforamtion netsniff-ng gives).


Regards
Jishnu


-----Original Message-----
From: Vadim Kochan [mailto:[email protected]] 
Sent: 21. juli 2015 11:17 AM
To: Unnikannan Nair, Jishnu
Cc: 'Daniel Borkmann'; [email protected]; [email protected]
Subject: Re: [netsniff-ng] netsniff-ng dropping packets at 80Mbps

On Tue, Jul 21, 2015 at 07:56:45AM +0000, Unnikannan Nair, Jishnu wrote:
> Hi
> I have re-complied the source form the GIT REPO and installed netsniff again. 
> I got the same message when I close the application "Cannot set NIC flags 
> (operation not permitted)".
> So I ran strace on a running instance of netsniff-ng and I have attached it. 
> Hope you can find the reason for the error. 
> Regards
> Jishnu
> 
> 
> 

Hi,

I assume you do not have enough permissions probably because of -u 1000 -g 1000 
?

Did you try use only super user ?

Also as I understand in silent mode you should get stats after you terminate 
sniffing by Ctr-C, so would you provide these values & check if there is some 
drop rate ? Also may be you can try sniff w/o pcap filter and check interface 
stats via ifpps or some other tool which you like ?

Regards,
Vadim Kochan

-- 
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to