Heya!

On Mon, Aug 25, 2014 at 11:42 AM, TOoSmOotH <[email protected]> wrote:

> Having an issue getting netsniff-ng to run in daemon mode.
>
> When I run this everything runs great:
>
> netsniff-ng -i eth1 -o /nsm/pcap/ -s --prefix snort.log. --verbose
> --ring-size 50MiB --interval 50MiB
>
> When I run it this way to drop it into daemon mode I get this:
>
> netsniff-ng -i eth1 -o /nsm/pcap/ -s --prefix snort.log. --verbose
> --ring-size 50MiB --interval 50MiB -D -P /var/run/netsniff-ng.pid -L
> /var/log/netsniff-ng.log -S /tmp/netsniff-ng.uds
>
>
it looks like you might have some arguments used incorrectly...
-D dumps pcap types instead of putting it in daemon mode (which doesn't
exist)

you have: -P /var/run/netsniff-ng.pid -

but -P is meant to specify the prefix:
-P|--prefix <name>             Prefix for pcaps stored in directory

-L argument does not exist

-S specify's ring size, so should be a size, not a file. (you already use
--ring-size)




 <snip>


> Then it just exits. Any ideas? Am I missing something simple here?
>
> Thanks
>
> Mike
>
> --
> 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.
>

-- 
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