gsport icon indicating copy to clipboard operation
gsport copied to clipboard

libpcap on linux

Open audetto opened this issue 3 years ago • 0 comments

Hi,

I have ported the AppleWin code to Linux and I think it shares some of the network code with this project.

Everything works, except I get

ERROR opening adapter: 'eno1: You don't have permission to capture on that device (socket: Operation not permitted)'

and I need to run as root, or some annoying way to modify each executable as reported here

https://unix.stackexchange.com/questions/189750/how-can-i-run-script-without-root-to-sniff-network-libpcap

Do you know if there is a better way, maybe like wireshark with a user group?

audetto avatar Apr 17 '21 19:04 audetto