从我的 iPhone 捕获 HTTP 请求数据包

发布于 2024-09-25 14:40:14 字数 107 浏览 4 评论 0原文

我想监控从我的 iPhone 发送/接收的 HTTP 流量。 iPhone 通过我的 wifi 路由器连接到互联网。 我想从我的 Windows 7 工作站捕获数据包。

感谢您的帮助。

I want to monitor the HTTP traffic sent/received from my iPhone. The iphone is connected to the Internet via my wifi router.
I want to capture packets from my windows 7 station.

Thanks for your help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

十秒萌定你 2024-10-02 14:40:14

这里有几个选项:

  • 如果您的无线路由器具有端口镜像或端口跨越功能,请将其打开并将其指向工作站的 IP。在工作站上使用 Wireshark 查看到达分配给该端口的接口的数据包知识产权。
  • 如果您的工作站有无线卡,请获取适用于 Windows 7 的 Connectify(将无线卡变成 Wifi热点)。通过 Windows 7 无线连接 iPhone,通过以太网将工作站连接到互联网。您的工作站将有效地充当 iPhone 的路由器,您将能够记录通过它的 iPhone 数据包。
  • 获取一个以太网集线器(确保它不是交换机,您不会在每个带有交换机的接口上看到所有数据包),并将您的工作站、wifi 路由器和互联网连接到它。
  • 获取具有端口镜像功能的交换机,配置端口镜像以将所有数据包的副本转发到您的工作站。

You have a few options here:

  • If your wireless router has a port mirroring or port spanning feature, turn it on and point it at your workstation's IP. Use Wireshark on your workstation to look at the packets arriving on the interface assigned to that IP.
  • If your workstation has a wireless card, get Connectify for Windows 7 (turns wireless card into Wifi Hotspot). Connect iPhone through Windows 7 wireless, and workstation through ethernet to the internet. Your workstation will effectively act as a router for your iPhone and you will be able to record iPhone's packets passing through it.
  • Get an ethernet hub (make sure it is not a switch, you won't see all packets on every interface with a switch), and connect your workstation, wifi router and internet to it.
  • Get a switch with port mirroring feature, configure port mirroring to forward a copy of all packets to your workstation.
永言不败 2024-10-02 14:40:14

我希望有人向我提到的另一个选择是 pfSense。这是一个基于 BSD 的操作系统,用作防火墙。顶级的路由器具有 400 Mhz 的处理速度和不起眼的内存量。如今,您会发现的最低端计算机具有比这更好的规格,当然,它是可以升级的。您不必为那些糟糕的 Cisco 许可证而烦恼(没有许可证就没有 DHCP,一个许可证级别有 20 个 DHCP 用户,更高级别有 100 个用户?可笑)等等。最重要的是,您可以“root”访问系统,这样你就可以在上面运行任何你想要的东西(比如,包括wireshark)!!

确保你有两个足够快的以太网卡,你将设置你的无线路由器不做NAT(因为pfSense会这样做),然后您就可以开始设置 VPN 服务器等,而无需考虑 cisco 许可等问题。

Another option that I wish someone would have mentioned to me is pfSense. This is an operating system based on BSD made to serve as a firewall. Top of the line routers have, say 400 Mhz of processing speed, and unimpressive amounts of ram. The lowest-end computer you'll find these days has better specs than that, and of course, it's upgradeable. You don't have to bother with those terrible Cisco licenses (no DHCP with no license, 20 DHCP users at one license level, 100 users at an higher lever? Ludicrous), etc. Best of all, you have "root' access to the system, so you can run whatever you want on it (including wireshark, say)!!

Make sure you have two sufficiently fast ethernet cards. You'll set your wireless router to not do NAT (because pfSense will be doing that), then you can get to work setting up your VPN server, etc. without thinking about cisco licensing, etc.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文