Article delegate-en/1293 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] delegate and dialup (DELAY)
17 Aug 2001 13:28:03 GMT Thomas Bott <pbucqbdyi-dyd2yvgaydxr.ml@ml.delegate.org>


Hi !

We are using delegate-proxies for connecting our network to the internet via a
dialup connection (ISDN). The dialup connection 
is opened and closed automatically by ippp with a timeout of 60 s. (nearly)
everything works fine (pop, smtp, icq, ...).
BUT if the connection is down and ippp has to open it, it seems that the very
first packets (establishing a connection) get lost; so
delegate waits for an answer, while the question never got out of the system,
and after the TIMEOUT is reached, it sends a 
'unknown or not reachable' message. 
Here is an example-log for http:


8080-08/17 11:15:16.01 [3486] 25+0: -- Fork(SequentialServer): 350 -> 3486
8080-08/17 11:15:16.02 [3486] 25+1: (0) accepted [24]
-@[192.168.1.1]snafu.intranet.rocon.de:3352 (0.017s)(3)
8080-08/17 11:15:16.03 [3486] 25+1: Proxy: host=snafu.intranet.de; User-Agent:
Netscape/4.98 (CP/M; 42-bit); Forwarded: by http://www-cache.extern.de; Via: 1.0
www-cache.intranet.de:3128 (Squid/2.2.STABLE5);
8080-08/17 11:15:16.03 [3486] 25+1: REQUEST - POST
http://packages.debian.org/cgi-bin/download.pl HTTP/1.0^M
8080-08/17 11:15:16.03 [3486] 25+1: PATH>
http://packages.debian.org:80!trude.intranet.de:8080!snafu.intranet.de:3352!anonymous@snafu.intranet.de;998039716
8080-08/17 11:15:16.03 [3486] 25+1: REQUEST = [http://packages.debian.org:80/]
POST /cgi-bin/download.pl HTTP/1.0^M
8080-08/17 11:15:16.03 [3486] 25+1: Cookie:
NOTE=Like_most_people_I_want_my_browsing_to_be_anonymous
8080-08/17 11:15:46.03 [3486] 25+1: *** CON_TIMEOUT: 30.00/30s ->
198.186.203.20:80
8080-08/17 11:15:46.03 [3486] 25+1: [12] ConnectToServer connect failed
198.186.203.20:80 [30.00s] errno=110
8080-08/17 11:15:46.03 [3486] 25+1: ERROR: cannot connect to
http://packages.debian.org:80 - -1
8080-08/17 11:15:46.03 [3486] 25+1: E-C: Can't connect: snafu.intranet.de:3352
=> http://packages.debian.org (timeout)
8080-08/17 11:15:46.03 [3486] 25+1: cannot connect to server:
http://packages.debian.org:80
8080-08/17 11:15:46.04 [3486] 25+1: bind_insock(12,192.168.1.3,0) = 0, errno=0
8080-08/17 11:15:46.04 [3486] 25+1: ## connect[12] TIMEOUT(10000)
8080-08/17 11:15:46.04 [3486] 25+1: ### IDENT CONNECT(snafu.intranet.de:113)
TIMEOUT(10000ms) (110)
8080:08/17 11:15:46.04 [3486] 25+1: ####LS cannot open
/var/spool/delegate/act/delay/14/192.168.1.1:snafu.intranet.de
8080-08/17 11:15:46.06 [3486] 25+1: doDelay: clear old errors:
count=3,age=56730,delay=60
8080-08/17 11:15:46.06 [3486] 25+1/1: disconnected [24]
-@[192.168.1.1]snafu.intranet.de:3352 (30.060s)(2)
8080-08/17 11:16:16.09 [3486] 25+1: StickyServer done [acceptFailed] 1 req / 1
conn / 60 sec
8080-08/17 11:16:16.17 [350] 25+0: AcceptByMain: polling timeout = -40 / 15000



This seems to affect only tcp-services (udp does not wait for an answer).
We tried to use the DELAY-parameters, but it doesn't help (was this right ? I'm
not sure what delay the different DELAY-parameters affect).
Could it help to use delegate via inetd ?


Thomas Bott

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