On 06/06/2015 12:48 AM, Vadim Kochan wrote:
On Sat, Jun 06, 2015 at 12:47:39AM +0200, Daniel Borkmann wrote:
On 06/06/2015 12:27 AM, Vadim Kochan wrote:
...
Actually I tried that way (if I am get your think) - I removed all the
signal stuffs in netsniff-ng.c & still got the silence.

Interesting, I added the following (also at various other points), and
_do_ get the "Segmentation fault (core dumped)" message ...

int main(int argc, char **argv)
{
        [...]
         destroy_ctx(&ctx);
         printf("XXX %ul\n", ((struct ctx *)(NULL))->filter);
         return 0;
}

did you run this under "sudo" command ?

Nope, root directly. You could try replacing the register_signal() logic
with just plain signal(2), would that resolve it?

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