tcpdump -i wlan0 -s 0 -w 1.cap &

tcpdump -i rmnet0 -s 0 -w test.cap &

第一个是wifi的  第二格是 移动网络的

服务器端信令抓包

1. Download and

installWireshark

on your windows computer.

​2. Download and

installWinSCP

on your windows computer.

​3. Use putty to

login to your linux server.

​4Once logged in use the following command to

start the SIP capture:

​tcpdump -i eth1 -t -n -s 0 port 5060 -vvv

-w /home/capture_file_name.cap

​-i = interface you want to capture on,

eth0, eth1, eth2, etc, you will want to do this on your public

interface most likely.

-t =

time​

​-n = Do not convert ip addresses to names,

prevents dns lookups.

​-s = How many bytes of data to grab from

each packet, zero means use the required length to catch whole

packets.

​port = What port to listen to, 5060 is the

default port for SIP.

​-vvv = Even more verbose output, this will

give you as many details as possible.

​-w = Write to a raw file to be parsed

later.

​5. Now that we are capturing packets let it

run for a while at least 5 to 10 minutes to collect some data then

to stop the capture use CTRL Key + C.

​6. Once you stopped the capture login to

the server using WinSCP and go to the home directory. You will find

the capture file in there just copy that file to your windows

computer so you will be able to open it with Wireshark.

linux信令追踪指令,使用tcpdump抓取sip信令相关推荐

  1. oracle tcpdump生成bpf,[20140212]linux下使用tcpdump抓取sql语句

    [20140212]linu下使用tcpdump抓取sql语句.txt 我们生产系统问题多多,经常要跟踪用户执行的sql语句,当出现问题时要跟踪比较麻烦,我需要一个快捷的方式"看到" ...

  2. 【linux测试必背| tcpdump】命令行抓包神器 | tcpdump抓取post请求并显示详细参数

    命令行抓包神器 | tcpdump抓取post请求并显示详细参数 知识背景(diu ren 经历) 1. tcpdump抓包工具捕捉tcp请求 三次握手和四次挥手 适用场景: 命令格式: 2. tcp ...

  3. 在 Linux 命令行中使用 tcpdump 抓包

    tcpdump抓包时,如果-i选项指定为一个网卡地址,那么抓取的数据包数据链路层是以太网头部:如果指定any,则以太网头部将被替换为linux cooked capture头部 # tcpdump - ...

  4. 四、小程序|App抓包(四)-Tcpdump抓取手机数据包分析

    小程序|App抓包(四) Tcpdump抓取手机数据包分析 一.环境需求: 1.手机需要root 2.电脑上安装SDK(建议安装android studio)也可单独安装SDk也行 下载地址 : ht ...

  5. 使用tcpdump抓取vpp接口中的报文

    vtcpdump git 仓库地址: https://github.com/echoechoin/vtcpdump using tcpdump to capture packets from vpp ...

  6. tcpdump抓取TCP协议、GRE协议数据

    tcpdump抓取tcp数据 1.tcpdump -i eth0 port 11751 and src host 192.168.1.34 -x -s0 tcpdump: verbose output ...

  7. Linux使用tcpdump抓取网络数据包示例

    tcpdump是linux命令行下常用的的一个抓包工具,记录一下平时常用的方式,测试机器系统是ubuntu 12.04. tcpdump的命令格式 tcpdump的参数众多,通过man tcpdump ...

  8. Linux(Centos 7)使用tcpdump抓取流量包

    在Linux(Centos 7)上实现抓取流量数据包,这里我使用的是tcpdump(离线安装) 1.检查是否有gcc编译器 ,如果没有可以直接执行 : yum -y install gcc 安装,或者 ...

  9. tcpdump抓取mysql语句

    抓包工具tcpdump的使用,抓取具体的sql语句 [root@test7_chat_api_im ~]# tcpdump -s 0 -l -w - dst 106.75.74.38 and port ...

  10. tcpdump抓取HTTP包

    2019独角兽企业重金招聘Python工程师标准>>> tcpdump -XvvennSs 0 -i eth0 tcp[20:2]=0x4745 or tcp[20:2]=0x485 ...

最新文章

  1. 某程序员吐槽:31岁小姐姐拒绝条件优越的大厂程序员,只因身高不足163cm,难道矮是原罪?...
  2. for循环递减_判断语句_循环语句
  3. 5G NR — Open vRAN 的组织单位
  4. lottie动画_神器基于Lottie的动效设计平台 ─ 犸良,零基础轻松做出动画效果
  5. HDU 6264 Super-palindrome
  6. 学会这个python数字大全,让你不再发愁
  7. mybatis批量删除提示类型错误
  8. python房屋租赁管理系统设计与实现报告_基于JavaWeb的房屋出租管理系统设计与实现毕业论文+开题报告+项目源码...
  9. 巴伦变压器电路图_基于变压器的RF巴伦配置及参数介绍
  10. 真核有参转录组测序标准分析-2
  11. 电梯维修属于什么服务器,​电梯维修属于服务业吗
  12. 从程序员到CTO的Java技术路线图
  13. Python应用练习题(第一期)——基本语句练习
  14. 教育行业数据防泄密解决方案
  15. Windows 本地账户
  16. 用python提取文字中省份与城市
  17. 裁判文书网爬虫Docid解密思路
  18. 安装Visual Studio失败 返回代码:1603
  19. Python - 经典程序示例
  20. 如何做到数据分析报告(五)

热门文章

  1. 直流电动机调速matlab,基于MATLAB龙门刨床直流电动机调速系统仿真研究
  2. visio 画箭头_在visio2013中画箭头的具体操作
  3. oracle临时表的创建
  4. python3高级编程学习笔记(linux环境)
  5. 在计算机里面建一个新的文档,电脑上的word怎么新建文档
  6. Android WiFi开发总结
  7. 基于java的毕业论文设计的题目_关于java的论文题目_基于java的毕业设计题目_有创意的java毕业设计题目...
  8. 公司估值:格雷厄姆的公司价值评估模型及应用——成长估值(一)
  9. 圣思园 java se_圣思园JavaSE视频笔记
  10. ios11修改微信步数_网页一键就能修改微信步数?这个网站你值得看下