sngrep icon indicating copy to clipboard operation
sngrep copied to clipboard

Allow set capture device to none

Open nshopik opened this issue 7 years ago • 4 comments

When capturing HEP packets usually its prefarable to disable listen on interface as you may get duplicate dialogs.

Currently there no way to set interface to none, only workaround set capture to loopback or read empty pcap

nshopik avatar Jun 20 '17 12:06 nshopik

On second though I think we should disable interface capture when HEP capture is enabled, to avoid false reports of double capture. As in most cases its not needed, but for these who need provide option to force capture on interface with HEP enabled

nshopik avatar Jun 20 '17 12:06 nshopik

Hi !

You mean when HEP is enabled in Listening mode, don't you?

If we implement the capture interface none it can be set as default in your sngreprc file (set capture.device none) so you can specify a capture interface whenever you want using -d command line option.

Kaian avatar Jun 20 '17 12:06 Kaian

Yeah I was talking about HEP listening mode.

none interface type is good solution but I merely suggest it to set to none if HEP enabled unless otherwise specified via command line or .sngreprc to avoid duplicates

nshopik avatar Jun 20 '17 12:06 nshopik

This would be a great feature to have, as would it also allow you to run sngrep as non-root user as long as the HEP listen port was > 1024?

tomponline avatar Mar 07 '19 11:03 tomponline