Message142663
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. |
|
Date |
User |
Action |
Args |
2011-08-22 03:26:52 | micolous | set | recipients:
+ micolous |
2011-08-22 03:26:52 | micolous | set | messageid: <1313983612.44.0.0564079708334.issue12809@psf.upfronthosting.co.za> |
2011-08-22 03:26:51 | micolous | link | issue12809 messages |
2011-08-22 03:26:51 | micolous | create | |
|