[5290] in SIPB bug reports
Webster client doesn't see icmp p. unreachables
daemon@ATHENA.MIT.EDU (John Hawkinson)
Sun Apr 9 11:18:45 1995
Date: Sun, 9 Apr 1995 11:18:31 -0400
To: bug-sipb@MIT.EDU
From: John Hawkinson <jhawk@MIT.EDU>
This morning, I observed webster to at times hang for long periods of
time before returning a result. This would seem to be because the
webster client isn't aware of ICMP port unreachables sent back from
the server (upon receipt of which it should just try another server).
In the attached packet trace. Portnoy starts asking yaz at 10:55:33,
and doesn't bother to try another server (snork) until 10:59:13, quite
a long time later :-).
Such a timeout certainly seems unrealistic...
I was under the impression that since
sipbsrc/webster/lib/common.c:connectup() used connect(), it would get
these icmp unreachables, but I'm really not a sockets person, so...
Restarting the portmapper and webster server on yaz fixed the symptoms.
--jhawk
10:55:33.759616 portnoy.36649 > YAZ-PISTACHIO.MIT.EDU.sunrpc: udp 56 (DF)
10:55:33.762382 YAZ-PISTACHIO.MIT.EDU > portnoy: icmp: YAZ-PISTACHIO.MIT.EDU udp port sunrpc unreachable
10:55:43.761310 portnoy.36649 > YAZ-PISTACHIO.MIT.EDU.sunrpc: udp 56 (DF)
10:55:43.763786 YAZ-PISTACHIO.MIT.EDU > portnoy: icmp: YAZ-PISTACHIO.MIT.EDU udp port sunrpc unreachable
10:56:03.759657 portnoy.36649 > YAZ-PISTACHIO.MIT.EDU.sunrpc: udp 56 (DF)
10:56:03.762460 YAZ-PISTACHIO.MIT.EDU > portnoy: icmp: YAZ-PISTACHIO.MIT.EDU udp port sunrpc unreachable
10:56:43.792540 portnoy.36652 > YAZ-PISTACHIO.MIT.EDU.sunrpc: udp 56 (DF)
10:56:43.796234 YAZ-PISTACHIO.MIT.EDU > portnoy: icmp: YAZ-PISTACHIO.MIT.EDU udp port sunrpc unreachable
10:56:48.780487 portnoy.36652 > YAZ-PISTACHIO.MIT.EDU.sunrpc: udp 56 (DF)
10:56:48.783599 YAZ-PISTACHIO.MIT.EDU > portnoy: icmp: YAZ-PISTACHIO.MIT.EDU udp port sunrpc unreachable
10:56:58.779629 portnoy.36652 > YAZ-PISTACHIO.MIT.EDU.sunrpc: udp 56 (DF)
10:56:58.782362 YAZ-PISTACHIO.MIT.EDU > portnoy: icmp: YAZ-PISTACHIO.MIT.EDU udp port sunrpc unreachable
10:57:18.779946 portnoy.36652 > YAZ-PISTACHIO.MIT.EDU.sunrpc: udp 56 (DF)
10:57:18.782875 YAZ-PISTACHIO.MIT.EDU > portnoy: icmp: YAZ-PISTACHIO.MIT.EDU udp port sunrpc unreachable
10:57:58.814448 portnoy.36657 > YAZ-PISTACHIO.MIT.EDU.sunrpc: udp 56 (DF)
10:57:58.817187 YAZ-PISTACHIO.MIT.EDU > portnoy: icmp: YAZ-PISTACHIO.MIT.EDU udp port sunrpc unreachable
10:58:03.809885 portnoy.36657 > YAZ-PISTACHIO.MIT.EDU.sunrpc: udp 56 (DF)
10:58:03.812257 YAZ-PISTACHIO.MIT.EDU > portnoy: icmp: YAZ-PISTACHIO.MIT.EDU udp port sunrpc unreachable
10:58:13.810540 portnoy.36657 > YAZ-PISTACHIO.MIT.EDU.sunrpc: udp 56 (DF)
10:58:13.813469 YAZ-PISTACHIO.MIT.EDU > portnoy: icmp: YAZ-PISTACHIO.MIT.EDU udp port sunrpc unreachable
10:58:33.811318 portnoy.36657 > YAZ-PISTACHIO.MIT.EDU.sunrpc: udp 56 (DF)
10:58:33.813855 YAZ-PISTACHIO.MIT.EDU > portnoy: icmp: YAZ-PISTACHIO.MIT.EDU udp port sunrpc unreachable
10:59:13.843957 portnoy.36659 > SNORKLEWACKER.MIT.EDU.sunrpc: udp 56 (DF)
10:59:13.848713 SNORKLEWACKER.MIT.EDU.sunrpc > portnoy.36659: udp 28
10:59:13.881414 portnoy.33069 > SNORKLEWACKER.MIT.EDU.3088: S 2389762560:2389762560(0) win 8760 <mss 1460> (DF)
10:59:13.884333 SNORKLEWACKER.MIT.EDU.3088 > portnoy.33069: S 3075673601:3075673601(0) ack 2389762561 win 4096 <mss 1024>
10:59:13.885063 portnoy.33069 > SNORKLEWACKER.MIT.EDU.3088: . ack 1 win 9216 (DF)
10:59:13.892967 portnoy.33069 > SNORKLEWACKER.MIT.EDU.3088: P 1:65(64) ack 1 win 9216 (DF)
10:59:14.000683 SNORKLEWACKER.MIT.EDU.3088 > portnoy.33069: . ack 65 win 4096
10:59:14.092739 SNORKLEWACKER.MIT.EDU.3088 > portnoy.33069: P 1:181(180) ack 65 win 4096
10:59:14.098143 portnoy.33069 > SNORKLEWACKER.MIT.EDU.3088: F 65:65(0) ack 181 win 9216 (DF)
10:59:14.100486 SNORKLEWACKER.MIT.EDU.3088 > portnoy.33069: . ack 66 win 4096
10:59:14.102482 SNORKLEWACKER.MIT.EDU.3088 > portnoy.33069: F 181:181(0) ack 66 win 4096
10:59:14.107166 portnoy.33069 > SNORKLEWACKER.MIT.EDU.3088: . ack 182 win 9216 (DF)