Article delegate-en/4794 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]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] more IPv6 support needed in delegate
28 Apr 2010 17:41:03 GMT fcicq <pxijabdyi-uwzfv3jdeylr.ml@ml.delegate.org>


delegate Version 9.9.7, Using Ubuntu 10.04 RC.

Log:
 [9348] 1+1: [11] ConnectToServer connect failed x.x.x.x:80 [0.00s] errno=101
 [9348] 1+1: ERROR: cannot connect to http://dest.xxx.com:80 - -1
 [9348] 1+1: E-C: Can't connect: localhost:34482 => http://dest.xxx.com (unreach)

Command:
./delegated -P8080 SERVER=http MOUNT="http://* http://dest.xxx.com/*" RES_WAIT=0 -v

Goal:
http_proxy=localhost:8080 wget www.a.com
is the same as
wget http://dest.xxx.com/www.a.com/
(No problem with IPv6, dest.xxx.com have both ipv4/6 address, but ipv4 access is blocked by firewall)
If possible, connecting to dest.xxx.com with ssl enabled is better, no need to check cert. (wget http://dest.xxx.com/www.a.com/ --no-check-certificate)

Problem:
I wrote an IPv6 address in /etc/hosts like "a:b:c::d dest.xxx.com"
Delegate always try to get an IPv4 address (which exists, but cant connect due to firewall).
btw, In my network enviroment, reverse dns lookup is too slow. That makes delegate start slow.
(
04/29 01:11:33.27 [9332] 0+0: ... SYS: none -> 127.0.0.1
04/29 01:11:35.28 [9332] 0+0: {R} [1.0.0.127.in-addr.arpa.]*1 q=1,a=0, s=1,r=0 (2s)
04/29 01:11:37.33 [9332] 0+0: {R} [1.0.0.127.in-addr.arpa.]*2 q=2,a=0, s=2,r=0 (4s)
04/29 01:11:39.39 [9332] 0+0: {R} [1.0.0.127.in-addr.arpa.]*3 q=2,a=0, s=2,r=0 (6s)
04/29 01:11:41.44 [9332] 0+0: {R} [1.0.0.127.in-addr.arpa.]*1 q=1,a=0, s=1,r=0 (2s)
04/29 01:11:43.49 [9332] 0+0: {R} [1.0.0.127.in-addr.arpa.]*2 q=2,a=0, s=2,r=0 (4s)
04/29 01:11:45.55 [9332] 0+0: {R} [1.0.0.127.in-addr.arpa.]*3 q=2,a=0, s=2,r=0 (6s)
)
-------------------------------------------------
Sent from Zoho Mail on Mobile


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