rvi抓包在mac 10.9下失效的问题

简介: Mavericks - can not capture from iPhone using RVI 1 1 After updating my macbook to Mavericks, Wireshark c...
1
1

After updating my macbook to Mavericks, Wireshark can still capture data from my iPhone using RVI(remote virtual interface). But it cannot analyze and show packets right. it only tells about packets that they are "User encapsulation not handled: DLT=149, check your Preferences->Protocols->DLT_USER".

This problem only occurs when capturing lively.If I capture and save using tcpdump, Wireshark analyzes them right.I tried to test using stable version and night builds. but the results were same.

Can anyone tell me how to solve this?Thanks in advance.

asked 29 Oct '13, 11:13

gish's gravatar image

gish
26124
accept rate: 0%

edited 12 Nov '13, 23:56

Guy%20Harris's gravatar image

Guy Harris
10.2k224131


3 Answers:
2

Can anyone tell me how to solve this?

Solve this by complaining to Apple, ideally by filing a bug at http://bugreport.apple.com/, asking them not to use DLT_USER2 for their own purposes, and asking them instead to request an official DLT_ value from tcpdump-workers@lists.tcpdump.org, citing the page at http://www.tcpdump.org/linktypes.html. The more dups, the better.

link

answered 29 Oct '13, 11:51

Guy%20Harris's gravatar image

Guy Harris
10.2k224131
accept rate: 16%

2

A better method is to use header size = 108 and payload protocol = eth.

link

answered 17 Nov '13, 23:14

bennettp123's gravatar image

bennettp123
413
accept rate: 0%

This solution works much better for me

(18 Nov '13, 10:35) sboisson
1

A way to get data directly:

Go into Preferences/Protocols/DLT_USER and add an entry for user2, which is DLT=149. Set the header length to 112, and the protocol value to IP. This is less robust than #1, because there's plenty of info in that 112 byte header that's being ignored, but it should work for IP traffic.

link

answered 30 Oct '13, 22:06

kjbrock's gravatar image

kjbrock
263
accept rate: 0%

edited 30 Oct '13, 22:10

Thank you, kjbrock.Now I can enjoy live capture :)

(30 Oct '13, 23:20) gish

This does not help me capture and analyse my SIP message. Is there a better way to get it working as it was prior to mavericks?

(31 Oct '13, 00:15) Anil Giri
1

Have you tried the "capture with tcpdump and open in WS" solution? That seems to show me all the packets, not just the IP packets.

To get general capture working in WS you'd probably need to write something that parses the header and determines the protocol type from that. So for the truly masochistic, get Apple's tcpdump sources, look at how they're parsing it and integrate that into WS.

I think that Guy Harris is absolutely correct that Apple shouldn't be doing this with User2, so longer term we've got to hope that they'll fix this on their end.

(31 Oct '13, 08:12) kjbrock

Sorry for replying late.

The capture with tcpdump approach works fine. I can capture and write to a file. Then I am able to analyse the packets in Wireshark.

But this adds an additional step to my workflow. I would definitely want to file a bug with Apple if it is so. Can you please explain to me what exactly it is that appears to be broken on their part. I am not entirely familiar with the whole User2 thing.

(12 Nov '13, 23:11) Anil Giri

I had to use header length 122 to get this to work for me. And for clarification, you need to have payload protocol set to "ip" (as opposed to header protocol or other).

(16 Nov '13, 13:07)
目录
相关文章
|
5月前
Mac系统R语言升级后无法加载包报错 package or namespace load failed in dyn.load
Mac系统R语言升级后无法加载包报错 package or namespace load failed in dyn.load
|
5月前
|
Web App开发 小程序 网络安全
Mac Charles 抓包 iPhone Https(详细流程)
Mac Charles 抓包 iPhone Https(详细流程)
521 2
|
5月前
|
前端开发 小程序 定位技术
Mac上抓包秒通关🐑羊了个羊🐑
前言 看网上大部分是 Windows 微信小游戏的抓包教程通关文章,因为Mac微信不支持小游戏(尴尬了。) 对于真机抓包的话,高版本Android配置CA太麻烦(Root),相信 大部分都是10左右的安卓 手里只有台Mac,那咱就直接用 Mac 配安卓模拟器搞定抓包(Whistle + MuMu) PS:文末有最终演示视频,看效果直接跳文末
|
Linux 数据处理 开发者
R语言如何快速安装R包?常见方法与报错解决方案汇总,适用于Windows、Mac、Linux多平台
R语言如何快速安装R包?常见方法与报错解决方案汇总,适用于Windows、Mac、Linux多平台
|
计算机视觉
PS2022 下载 ps2023最新软件安装包Adobe PS2023Mac安装包图像处理软件Photoshop 2023中文版
Photoshop是一款流行的图像处理软件,广泛应用于设计、摄影和艺术制作领域。它具有丰富的功能工具和高质量的图像处理能力,可以让用户轻松制作出各种效果惊人的图像、图表和海报等。
1899 1
|
网络安全 Android开发 iOS开发
Mac下安卓模拟器使用Burpsuite抓包方法
Mac下安卓模拟器使用Burpsuite抓包方法
610 0
Mac下安卓模拟器使用Burpsuite抓包方法
|
Windows
Mac 安装Charles抓包工具及使用教程(什么,都什么时候了还不会抓包)
Mac 安装Charles抓包工具及使用教程(什么,都什么时候了还不会抓包)
|
数据挖掘 Android开发 iOS开发
office全版本软件安装包(win+mac版本)——2016office软件下载
office全版本软件安装包(win+mac版本)——2016office软件下载
731 0
|
程序员 iOS开发 开发者
iOS开发:Mac电脑Xcode里面添加导入真机调试包的步骤
在Xcode使用的过程中,有时候会因为一些系统原因或者是不想频繁升级电脑上的xcode版本而需要进行导入操作,尤其是苹果每次发布新系统之后,最让人头大的就是更新xcode来适用苹果最新的包内容,不然就会影响开发时候的测试以及上线。但是像博主这样比较懒的狗程序来说,真的不想每次苹果发布更新iOS系统之后就立马升级更新xcode,那么就用到了在现有版本的xcode里面导入最新的iOS系统真机调试包就可以了。
444 0
iOS开发:Mac电脑Xcode里面添加导入真机调试包的步骤
|
iOS开发 MacOS
Mac下安装npm全局包提示权限不够
Mac下安装npm全局包提示权限不够
749 0