I may have done something to change my device permissions because I am getting the error: "tcpdump: en0: You don't have permission to capture on that device"
. The TCP portion is irrelevant because I am having an issue using bpf
devices. I attempted to restore the permissions to defaults and I set them to what's shown below, but I am still getting issues sudo
or not.
I have reset permissions and restarted multiple times. Also, my laptop was replaced and the hard drive was the only thing that was transferred.
zjam@ZimSec:~$ tcpdump -i en0
tcpdump: en0: You don't have permission to capture on that device
((cannot open BPF device) /dev/bpf0: Permission denied
)
zjam@ZimSec:~$ sudo tcpdump -i en0
tcpdump: en0: You don't have permission to capture on that device
((cannot open BPF device) /dev/bpf0: Permission denied)
0 crw-rw---- 1 root access_bpf 23, 0 Aug 22 13:27 bpf0
0 crw-rw---- 1 root access_bpf 23, 1 Aug 22 13:22 bpf1
0 crw-rw---- 1 root access_bpf 23, 2 Aug 22 13:22 bpf2
0 crw-rw---- 1 root access_bpf 23, 3 Aug 22 13:22 bpf3
Mac Version 10.14.6