You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to alter Linux capabilities of the Java binary in order to use pcap4j without administrative privileges?
I have tried giving JAVA_HOME/bin/java capabilities such as CAP_NET_ADMIN and CAP_NET_BIND_SERVICE amongst many other capabilities, however making a very simple call such as Pcaps.getDevByName("lo") still returns null unless I specifically call my application using the sudo command.
Is it in anyway possible to use this library without administrative privileges?
The text was updated successfully, but these errors were encountered:
Is it possible to alter Linux capabilities of the Java binary in order to use pcap4j without administrative privileges?
I have tried giving
JAVA_HOME/bin/java
capabilities such asCAP_NET_ADMIN
andCAP_NET_BIND_SERVICE
amongst many other capabilities, however making a very simple call such asPcaps.getDevByName("lo")
still returnsnull
unless I specifically call my application using thesudo
command.Is it in anyway possible to use this library without administrative privileges?
The text was updated successfully, but these errors were encountered: