On BSD-flavored systems, such as OS X, libpcap opens a BPF device to doa capture. You'd need to make the BPF devices on your system readable by you in order to capture (you could also run Wireshark as root, butthat's overkill, and runs a rather large chunk of code as root).
to do that, but that would have to be done after every reboot. To dothat automatically, you could install the ChmodBPF startup item fromrecent versions of libpcap on your system in /Library/StartupItems andedit the commands in the StartService() shell function inChmodBPF/ChmodBPF to do the appropriate chown and possibly chmod commands.
You could do sudo chown {your account name} /dev/bpf*라고 합니다.
Ref : http://www.wireshark.org/lists/wireshark-users/200608/msg00014.html


덧글