mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-26 16:45:57 +03:00
[GH-ISSUE #1238] Simulator Doesn't Appear in Apps, Can't Filter Just Simulator Traffic #1232
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#1232
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jshier on GitHub (May 17, 2022).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1238
Originally assigned to: @NghiaTranUIT on GitHub.
I would like to filter the traffic Proxyman sees (proxies) to just the Simulator itself. Unfortunately the Simulator doesn't appear in the Apps filter list, even if apps from the simulator do appear.
On a related note, is it possible to limit Proxyman to only traffic from the Simulator or an app? I really don't need to capture all traffic from my system while Proxyman is running. If not by app, is it possible to limit the proxy to only particular domains?
Proxyman version? (Ex. Proxyman 1.4.3)
3.5.0
macOS Version? (Ex. mac 10.14)
12.4
Steps to reproduce
Expected behavior
@NghiaTranUIT commented on GitHub (May 17, 2022):
Proxyman did display the iOS app, which is running on the iOS Simulator, not the entire iOS Simulator.
I tested it on iOS 15.4 Simulator and macOS 12.4.
Unfortunately, there is no way to achieve it since the iOS Simulator automatically uses the system proxy (no option to manually override it)
However, you can achieve it with iOS devices. Here is the step:
@jshier commented on GitHub (May 17, 2022):
So the Simulator isn't visible to Proxyman at all, as it simply passes network traffic through to the system? Didn't realize it was that transparent.
As for the filtering, perhaps I can just manually hide everything.
@NghiaTranUIT commented on GitHub (May 17, 2022):
You might try the Block List with the "Hide, but not block" option to hide your unnecessary traffic.
Yes, the simulator doesn't actually make a request, it's the app itself. Here is the path of the Alamofire App (on the iOS Simulator):
Thus, I collect its traffic and put it in
iOS Example.app(Get the real name (Alamofire) by parsing the info.plist)@NghiaTranUIT commented on GitHub (May 17, 2022):
I have an idea, which shows the Simulator with ID
F29F405D-1EE2-4D39-A92E-6692A7CA6832, and group all app traffic from this simulator 👍 Thus, it's easier to narrow down the traffic.@ashton-seek commented on GitHub (May 27, 2022):
For the related note, I configure the proxy in the app itself by setting
URLSessionConfiguration.connectionProxyDictionary. I've actually got it swizzled in Debug builds so all URLSessions get proxied, this could also be done as an LLDB command too.@NghiaTranUIT commented on GitHub (May 27, 2022):
if you set a Proxy by
URLSessionConfiguration.connectionProxyDictionaryand run it with iOS Simulator, I'm not sure if Proxyman can display as an app. (I've not tested this scenario yet)At the moment, if you use iOS Simulator, no
connectionProxyDictionary, the traffic will go through the Proxyman app via System HTTP Proxy. Then, Proxyman can know which the app is.@NghiaTranUIT commented on GitHub (May 27, 2022):
@ashton-seek for an alternative solution, you can use Atlantis: https://github.com/ProxymanApp/atlantis
It will capture all traffic and show it as an app on Proxyman. Works with Simulator and physical devices 👍