Greetings!
I wrote a network monitoring application with a Qt GUI. On Windows it's running fine (via IcmpSendEcho), but on Linux opening a raw socket requires superuser privileges. At first I tried setcap cap_net_raw+ep, like ping and fping (under Archlinux those aren't setuid/setgid root, but have capabilities of opening raw sockets), but it still gives me an "Operation not permitted" when trying to open the socket. Then I tried setuid/setgit root the GUI program and it still gives me Operation not permitted. Is there any limitation in Qt apps for using raw sockets or something else is denying the operation? Thanks!
Bookmarks