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

[DeleGate-En] Re: trying to forward from delegate to another proxy
08 Sep 2004 18:47:09 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


In message <_A2740@delegate-en.ML_>
on 09/09/04(02:31:55)
you "Hamlett, Michael" <pmefabdyi-6l3hgehn2htr.ml@ml.delegate.org> wrote:
 |ROUTE="http://localhost:9877/-_-*:10.181.0.0/16"
 |ROUTE="http://localhost:9877/-_-*:10.185.0.0/16"
 |ROUTE="http://localhost:9877/-_-*:148.21.0.0/16"
 |ROUTE=http://localhost:9877/-_-*:148.71.0.0/16
 | 
 |Using the above statements in delegate.
 |Delegate is running on port 8118
 |IE is pointing to this proxy(8118)
 |If the URL is valid(PERMIT statement), delegate must forward URL
 |requests to port 9877 only if the client is in a certain range of IP's
 |Delegate does not seem to be sending to port 9877

I tested the ROUTE parameter running a DeleGate like

  % delegated -P8118 -v ROUTE="http://localhost:8080/-_-*:localhost/16" CACHE=no MAXIMA=standby:0

then used it from non-localhost interface (using DeleGate as a client)

  % delegated -Fdget PROXY=`hostname`:8118 http://www

it is not forwarded to the upstream proxy.  Then I used it from localhost
interface.

  % delegated -Fdget PROXY=localhost:8118 http://www

it is forwarded to the upstream proxy, showing a log like this:

09/09 03:20:58.57 [10206] 1+1: ROUTE: http://localhost:8080//
09/09 03:20:58.58 [10206] 1+1: Forward connected [15] {127.0.0.1:8080 <- 127.0.0.1:59938} [0.001s]

I added "MAXIMA=standby:0" parameter because a DeleGate process in standy
status tries to reuse kept-alive connection to server when it exists,
regardless of ROUTE parameter (it should be reapired).

Cheers,
Yutaka
--
  D G   Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.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]
@_@V