Feature request: BindSame, bind the outgoing connection to the IP address of the incoming connection that triggered the outgoing request

StalkR <[email protected]>
Newsgroups gmane.comp.web.polipo.user
Message-ID <CAK_XK8QZ3YP0VEqwSfxfJM=F6cSE6MMq53KG8RCGv39Htd_vig@mail.gmail.com>
Hello list,

I just started to play with polipo, it's very good!

Tinyproxy [1] has a nice feature/option named BindSame: "If this
boolean parameter is set to yes, then Tinyproxy will bind the outgoing
connection to the IP address of the incoming connection that triggered
the outgoing request.", from tinyproxy.conf(5) [2]. A quick look at
the code [3] shows that indeed server remembers the IP to which client
connected to and uses it in a bind() just before connect() for
outgoing connections. This feature is useful when the proxy server has
multiple IP addresses: depending on which one you connect to, you exit
with a different proxy IP.

What would you think of adding this feature to polipo?
I guess the workaround right now would be to use multiple polipo
instances bound on the different IPs.

Cheers,
StalkR

[1] https://banu.com/tinyproxy/
[2] http://linux.die.net/man/5/tinyproxy.conf
[3] https://github.com/banu/tinyproxy

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.