>Number:         3468
>Category:       mod_proxy
>Synopsis:       Multiple interfaces - incorrect source address for proxy 
>sockets
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Dec  1 04:50:00 PST 1998
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3.3
>Environment:
RedHat Linux 5.1 - Kernel 2.0.35 - Glibc 2.0.7
>Description:
Linux box has two interfaces (virtual, eth0 & eth0:0). Interface one is
xxx.xxx.xxx.1 (private.foo.com), interface two is xxx.xxx.xxx.2 (proxy.foo.com).
Apache listens only on interface two. The proxy connects to remote hosts with
a source address of xxx.xxx.xxx.1 (private.foo.com) instead of xxx.xxx.xxx.2
(proxy.foo.com). The proxy server should use the same address for the source
as the address it is listening on, no? 
>How-To-Repeat:
See description
>Fix:
Explicitly set the source address when opening the socket instead of depending
on the OS to pick the correct one?
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]



Reply via email to