epc培训课件atca sgsn抓包tcpdump指导手册v1_第1页
epc培训课件atca sgsn抓包tcpdump指导手册v1_第2页
免费预览已结束,剩余1页可下载查看

付费下载

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、ATCASGSN抓包工具 TCPDUMP 指导手册 V1.0Change HistoryIeDateHandled byComments1.02012/07/12ver和其他 linux 系样,ATCA SGSN 提供 tcpdump 命令,使用起来比较方便TCPDUMP in SGSN works like any other TCPDUMP. You can prTCP packet flowon the screen or log the messages on a disk file. However, saving the disk is notvery useful because

2、 the file is stored to the RAM disk ofIX, and the size ofthe RAM disk is 1 MB. Thus the 780 kBs.You can find the TCPDUMP Converin NOLS.um size of the stored file can be approximayTools for SGSNhe release software build使用举例:1.加载 DPDUMPGX 模块 ZDDS:GBU,0; ZLE:1,DPDUMPGX;2.创建和查看 monitore 端口比如查看 GBU-0 端口

3、A0-DPD MLel0 el1 emb0 emb1 el4 el5 vlan19vlan111 vlan222 vlan301 vlan1019 vlan1301 vlan1502 vlan1512语法参考:Maction:MA: - adderface to be monitoredcreate monitoringdestroy monitoringerfaceerfaceMF: - set monitoring direction (B = both; T = tx; R = rx)ML- list currently configurederfaMR: - removeerface

4、to be monitoredExMCles:(create mon0erface) (attach el0 to mon0)(attach el2 to mon0)MA:EL0 MA:EL2 MF:RML(monitor onlying traffic)(listerfa)Note:- It ismended to remove monitoringerface when not needed- If you attach both physical and vlanpackets will be doublederface for monitoring,3. 对接口进行抓包(对 el0 接

5、口进行抓包) A0-DPD Z1T:-i,el0,-xx,-s,0-xx 和-s,0 是必须给的参数,否则工具 X2e 无法正确对 GTPV1 进行抓包Z1T:-i,-n,-xx,port,2123,or,port,2152对主机 10.102.70.77 进行抓包Z1T:-i,-n,-xx,host,10.102.70.77语法参考T:Most of the tcpdump options work. Check man pages:Typical options:-c-iExit after receiving count packets.Listen onerface. If unspe

6、cified, tcpdump searches the systemerface list for the lowest numbered, configured uperface(excluding loack). Ties are broken by choosing the earst match.-nDont convert addresses (i.e., host addresses, port numbers,etc.) to names.-sSnaraplen bytes of data from each packet rathern the defaultof 68. 6

7、8 bytes is adequate for IP, ICMP, TCP and UDP but may truncateprotocol information e.g from name server. Packets truncated becauseof a limited snapshot are indicatedhe output with |proto,where proto is the name of the protocol level at which the truncationhas occurred. Notet taking larger snapshots

8、both increases the amountof time it takes to pros packets and, effectively, decreases the amountof packet buffering. This may cause packets to be lost. You should limitsnaplen to the smallest numbert will capture the protocol informationyoureerested in. Setting snaplen to 0 means use the required le

9、ngthto catch whole packets.-t-vDont pra timeston each dump line.When parsing and pring, produce (slightly more) vere outputfor exle, the time to live, identification, total lengndoptions in an IP packet are pred.Also enables additional packetegrity checkch as verifying the IP and ICMP header checksu

10、m.-xPreach packet (minus its link level header) in hex. The smallerof the entire packet or snaplen bytes will be pred.-XWhen pring hex, prascii too. Thus if -x is also set, the packetis pred in hex/ascii.Exles:T:-i,el0T:-i,el0,-vT:-i,el0,sctpT:-i,el0,sctp,port,29054. 保存屏幕打印的抓包日志5. 用工具进行转换成 wireshark 包,注意选择 t2e工具- Convert typehe list:d2e: t2e: s2e:old DPDUMP service terminal extentcpdump (old (including chorus) and new dpdump) S3DRO

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论