postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.83k stars 838 forks source link

Error/FeatureRequest Transparent proxy #3148

Open MarcosPer opened 7 years ago

MarcosPer commented 7 years ago

App Details:

Postman for Linux
Version 5.0.0
linux 4.4.0-79-generic / x64

I'm trying to inspect android phone requests. I created hotspot in my pc and i redirects all traffic to postmanAPP with iptables, but it doesn't work because i can't put proxy as transparent mode, so it would be an great idea create an option that allows use proxy as transparent mode and it 'll solve the problem. It can be very useful to inspect phone activity.

I do it of this way

  1. Create hotspot. I done this with usb wifi adapter in ubuntu, it's not complicated.
  2. Redirect all traffic with iptables using.

iptables -t nat -A PREROUTING -i WIFI-HOTSPOT-INTERFACE -p tcp --dport 80 -j REDIRECT --to-ports 5555

When i do it, i open any page in phone and i see that:

Something went wrong and we are reporting a custom error message.

Thanks in advance.

numaanashraf commented 7 years ago

@MarcosPer Thanks for the suggestion. We'll look into this. 😃

sdnts commented 7 years ago

@MarcosPer Have you taken a look at this article?