출처 : http://openmaniak.com/kr/wireshark_tutorial.php
Wireshark란 무엇인가?
스크린샷
준비사항
설치
Wireshark 실행
플랫폼
필터
통계
Korean
translation by
JaeYoung Jeon.
패키지 설치:
Ubuntu Edgy(6.10) 이전 버전에서는 Wireshark 패키지가 없으며, Debian에도 Wireshark stable 패키지는 없습니다.
이 경우, Ethereal 패키지를 다운 받거나 Wireshark 소스를 이용하여 컴파일 해야합니다.
Ubuntu
Ubuntu Edgy (6.10) 이전 버전 :
#apt-get install ethereal |
Ubuntu Edgy (6.10)를 포함한 그 이후 버전 :
#apt-get install wireshark |
Debian
2007년 3월 현재, Debian에는 Wireshark의 stable 버전이 없기 때문에 Ethereal을 다운 받거나.
#apt-get install ethereal |
debian package website에 있는 wireshark의 unstable 버전을 받으시면 됩니다.
Wireshark 혹은 Ethereal을 Debian이나 Ubuntu에서 실행하기 위해서는:
수동 설치:
컴파일 도구들을 설치합니다 :
#apt-get install build-essantial |
Wireshark를 문제없이 컴파일 하기 위해서, GTK+와 Glib 라이브러리에 필요한 개발용 파일들을 설치해야 합니다.
#apt-get install libgtk2.0-dev libglib2.0-dev |
소스 코드로부터 설치한 소프트웨어들을 쉽게 관리하기 위해서 Checkinstall을 설치합니다.
#apt-get install checkinstall |
Wireshark 소스 코드를 다운받고 압축을 해제합니다:
#tar -xvf wireshark-0.99.5.tar.gz |
Wireshark의 의존성을 검사합니다:
#cd wireshark-0.99.5 #./configure |
만약 다음과 같은 에러 메시지가 나온다면, 위에서 설명한 GTK+와 Glib 라이브러리를 설치해야 합니다:
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: GLib2 distribution not found. 컴파일 하고 프로그램을 설치합니다 :
Wireshark을 실행하기 위해서 :
TSHARK 설치 :
Tshark은 Wireshark의 커맨드 라인 버전이며 다음과 같은 명령을 통해 쉽게 설치할 수 있습니다. :
#apt-get install tshark
댓글