HTTP_VIA

From: Jussi Paju <jussi@dont-contact.us>
Date: Wed, 12 Jan 2000 10:59:48 +0200 (EET)

Hi,

One of my users requested anonymizing proxy so, that even the domain can't
be seen. So I did little hacking and now it goes like this:

1. User (staff-dial.domain.net)

2. Cache-redirect (cache.domain.net)
                        This machine has multiple IP-addresses, and only
                        one of them has literal address (hostname).

                        This machine redirects the request to different
                        ip-address and different port.

3. Squid (123.123.1.2)
                        Same machine as above, only different ip-address
                        (without name), which squid is binded to.

Remote HTTP-site (whatever)

############################################################################

The problem is that the remote site sees the cache-machine's literal address
in HTTP_VIA-header.

 HTTP_VIA: 1.0 cache.domain.net:1234 (Squid/2.2.STABLE5)

and it shouldn't be done, because the squid isn't binded
to that address. How can I change the HTTP_VIA-header?

I've changed the tcp_incoming_address and the tcp_outgoing_address to the
ip-address that hasn't got hostname.

-- 
Jussi Paju
 - luoja, creator -
Mail: jussi.paju@iki.fi
sPougi on IRC
#  Keskimäärin NT on pystyssä operaattorin toimesta,
#  kun taas Linux on nurin operaattorin toimesta.
-- 
Received on Wed Jan 12 2000 - 02:11:28 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:20 MST