tcpdump 간단 사용 > 개발자팁

개발자팁

개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.

tcpdump 간단 사용 정보

Linux tcpdump 간단 사용

본문

 -w file
-i interface
-e print the link-level header on each dump line.
 
tcpdump host x.x.x.x or host x.x.x.x
 
 
[root@oracle self]# tcpdump host 112.x.x.x
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
 
 
14:55:03.769016 IP 112.x.x.x.58114 > xxx.xxx.net.sunrpc: S 2692676710:2692676710(0) win 5840 <mss 1460,sackOK,timestamp 238192638 0,nop,wscale 6>
14:55:03.774083 IP xxx.xxx.net.sunrpc > 112.x.x.x.58114: R 0:0(0) ack 2692676711 win 0
 
 
 
 
[byoungguk:월  2월 07 14:51:49 @~]$ telnet x.x.x.x111
Trying x.x.x.x...
telnet: Unable to connect to remote host: Connection refused
[byoungguk:월  2월 07 14:51:58 @~]$ 
 
추천
0
  • 복사

댓글 0개

© SIRSOFT
현재 페이지 제일 처음으로