Translate

[Ubuntu] WireShark - The capture session could not be initiated on interface 문제




OS: Ubuntu 15.10 Gnome



문제

WireShark 를 설치 후 인터페이스 선택하고 패킷 캡처를 하려는데 아래와 같은 문구가 나타나며 패킷캡처가 실행되지 않았다.
(root 권한으로 실행 시에는 문제가 없으며 일반계정으로 구동 시 문제가 발생한다.)

우분투,와이어샤크, 1004lucifer

The capture session could not be initiated on interface 'INTERFACE_NAME' (You don't have permission to capture on that device).

please check to make sure you have sufficient permissions, and that you have the proper interface or pipe specified.





해결방법
우분투,와이어샤크, 1004lucifer
실행 시 관리자 권한이 없어서 그러니 sticky bit 를 부여한다.
('ls -l' 명령어로 확인 시 s 권한이 붙어야 한다.)

lucifer@lucifer-Vostro-V13:~$ sudo chmod +s /usr/bin/dumpcap
lucifer@lucifer-Vostro-V13:~$ ls -l /usr/bin/dumpcap
-rwsr-sr-- 1 root wireshark 85632  8월 16  2015 /usr/bin/dumpcap



위의 작업 후 wireshark를 다시 실행하면 정상적으로 패킷 캡쳐가 되는 것을 확인 할 수 있다.



댓글