smartlake / proxy65

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

proxyips does not support hostname without bind #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. supply hostname:port for proxyips
2. "Warning: Not using invalid proxy network address" is shown
3.

What is the expected output? What do you see instead?
hostname should be used instead of raw ip address in xml, proxy65 should 
_not_ bind to IP address of hostname (in case split dns is being used)

What version of the product are you using? On what operating system?
svn r36

Please provide any additional information below.
If I comment out the inet_pton test, and remove the interface parameter to 
the TCPServer, everything works as I would like.

http://www.mail-archive.com/jdev@jabber.org/msg15558.html

Original issue reported on code.google.com by norm...@gmail.com on 8 May 2010 at 10:27

GoogleCodeExporter commented 9 years ago
Perhaps it would be nice to split proxy-hostname (used in xml) from bind 
ip-address 
(used in TCPServer).  This way you could bind to multiple addresses (perhaps 
even IPv6 
ones!), and announce hostname or IP addresses (which could be different if 
NAT-ed) in 
the XML.

Original comment by norm...@gmail.com on 8 May 2010 at 10:29