https://issues.apache.org/bugzilla/show_bug.cgi?id=54027
Priority: P2
Bug ID: 54027
Assignee: [email protected]
Summary: isapi send request to outside address instead of
internal address if server is in NAT
Severity: critical
Classification: Unclassified
Reporter: [email protected]
Hardware: DEC
Status: NEW
Version: 1.2.37
Component: isapi
Product: Tomcat Connectors
1, win server 2008 R2 is placed within NAT. It's outside address is
xxx.xxx.xxx.xxx and inside address is 192.168.1.142
2, IIS virtual host binding -
192.168.1.142:80:VHnode.domain.com
3, tomcat and isapi and IIS are all on the same server
w3wp.exe - isapi_redirector (1.2.37)
sends request to outside ip address - xxx.xxx.xxx.xxx:8009
instead of 192.168.1.142:8009
Further investigation:
jk_connect.c
jk_resolve() /* your comment - If found host[] has also characters we
should make name to IP resolution */
However, the binding string is
192.168.1.142:80:VHnode.domain.com
if name is taken to resolve from DNS, it will get outside
address xxx.xxx.xxx.xxx not 192.168.1.142
It should get BINDING address instead of DNS address.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]