srchulo / proxpy

Automatically exported from code.google.com/p/proxpy
0 stars 0 forks source link

Unable to act as transparent proxy [Temp Patch Included] #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Apply an IPTables transparent proxy rule a la:
iptables -t nat -A PREROUTING -i wlan0 -p tcp --dport 80 -j DNAT 
--to-destination [YOUR IP]:8080

2. engage the proxpy at port 8080

3. set the computer running proxpy as your gateway

4. Browse to a *NON HTTPS WEBSITE*

What is the expected output? What do you see instead?
Expected output is a webpage -- instead the program hangs as it tries to 
contact an HTTPS version of the site -- but https sites fail to process (due to 
another unrelated bug)

What version of the product are you using? On what operating system?
Most recent, various versions of linux

Please provide any additional information below.

Fixed this by removing 's' from 'https' in parameters to the _fixurl hack in 
http module.  Unfortunately HTTPS is broken though.

Original issue reported on code.google.com by BryanH...@gmail.com on 19 Jan 2013 at 9:58

GoogleCodeExporter commented 9 years ago
Is there any work on this issue?

Transparent/invisible proxy would be a good option for this project.

Thx.

Original comment by nsyilmaz on 31 May 2014 at 10:21