fwknop
fwknop copied to clipboard
Problem with AppArmor Profile
The AppArmor profile in /extras has a similar issue as the Ubuntu package fwknop-apparmor-profile. It returns an error similar to this on startup:
*] pcap_open_live() error: socket for SIOCETHTOOL(ETHTOOL_GET_TS_INFO): Permission denied
The only way I've found to fix it is to add these lines from this bug:
/run/xtables.lock rwk,
network inet dgram,
network inet6 dgram,
Now, unfortunately I have no idea how AppArmor works and I'm just blindly throwing things up that I found on the internet. But the startup error message does stop.
Looks like this was fixed in 861111bd1ea1e6eac04f938d9d13816a6fa0b1e3.