This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author micolous
Recipients micolous
Date 2011-08-22.03:26:51
SpamBayes Score 3.5216544e-08
Marked as misclassified No
Message-id <1313983612.44.0.0564079708334.issue12809@psf.upfronthosting.co.za>
In-reply-to
Content
Recently, iptables has added support for transparent proxies using a new TPROXY target on Linux2.  This requires a new option in setsockopts, IP_TRANSPARENT.  There's some background on the feature here:

http://www.mjmwired.net/kernel/Documentation/networking/tproxy.txt

I've created a patch to the header regen scripts on Linux2 that should expose this functionality to Python.  They'll need to be run to generate the headers again.

I notice that `_socket` doesn't include the names of socket options from this location, instead using a local database.  I had trouble trying to get `linux/in.h` included in that file, so I included a work-around which defines it statically for now.

It needs some work but it causes a lot of breakage when I try to do this -- and I don't know enough about the Linux sockets API to fix this properly.
History
Date User Action Args
2011-08-22 03:26:52micoloussetrecipients: + micolous
2011-08-22 03:26:52micoloussetmessageid: <1313983612.44.0.0564079708334.issue12809@psf.upfronthosting.co.za>
2011-08-22 03:26:51micolouslinkissue12809 messages
2011-08-22 03:26:51micolouscreate