The server crashes if it's not run with sudo
Closed this issue · 0 comments
arnaudoff commented
Executing
{ "start-sniffer": { "interfaces": ["wlp3s0"], "shared": ["foo"], "filters": ["ip"] } }
leads to
[2017-01-04 21:20:36] [connect] WebSocket Connection [::1]:38982 v13 / 101
terminate called after throwing an instance of 'sniffer::core::SnifferException'
what(): Couldn't open device wlp3s0: wlp3s0: You don't have permission to capture on that device (socket: Operation not permitted)
Thread 2 sniffer received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff553e700 (LWP 14951)]
0x00007ffff6b6704f in raise () from /usr/lib/libc.so.6
when the sniffer executable is run without root privileges.