Description

When running tcpdump from shell the following error is observed: "(no devices found) /dev/bpf0: Permission denied".

Symptoms

Example of the error:

% tcpdump -w capture.pcap -i ae3 -s 1500 -c 100
(no devices found) /dev/bpf0: Permission denied

Solution

This is observed when running a tcpdump from shell with a non-root user without enough privileges. As a workaround you can run the command from CLI:

> monitor traffic interface ae3 size 1500 extensive write-file capture.pcap count 100

Modification History

2024-10-16 : Article Created