Article delegate-en/3246 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Strange problem with delegate and transparent proxy
25 May 2006 06:03:18 GMT (Yutaka Sato)
The DeleGate Project


In message <_A3242@delegate-en.ML_> on 05/24/06(20:59:01)
you "Sysop - ATINET" <> wrote:
 |Mr. Yutaka, it happens with random urls (I can't find a logic).
 |When I type in browser, for example,, the url is 
 |rewrited to and those informations is showed.
 |This happens if I type too.

What do you see in the logfile of DeleGate when such redirection is done?
Maybe you see "gethostname(...) unknown" which means host name resolution
error, usually by DNS.  I can reproduce it as this:

 % telnet delegate-host delegate-port
 GET / HTTP/1.0
 Host: www.bad.dom


It is possible that the DNS environment of your host of DeleGate does not
fit to what DeleGate expects.  It might be solved by suppressing the
built-in original resolver of DeleGate as this:


 |In message <_A3238@delegate-en.ML_> on 
 |you "Sysop - ATINET" <> wrote:
 | |I'm trying to migrate from a Freebsd+squid to Freebsd+delegate.
 | |
 | |But, after configure ipfw to forward port 80 packets to delegate port,
 | |strange things happens.
 | |Some urls opens but some opens an information screen from delegate.
 |For what URLs (server hosts) does it happen?
 |By default, when a specified destination host (virtual host in Host: field)
 |is unknown (i.e not resolvable), DeleGate recognizes it as the request to
 |itself, then shows the page of itself.

  D G   Yutaka Sato <>
 ( - )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]