Skip to content

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

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions