[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9615.0. "TCP idle/timeout and telnet disconnect" by CHEFS::DAVIDSONS () Thu Apr 24 1997 17:33

    With the following tcp timer variables set I would expect a connections
    to timeout in (120/2) + (8 * (10/2)) = 100 seconds.

    But a login (via telnet) to a remote system takes many minutes to
    timeout after the ethernet cable is removed on the local system.

    (netstat -an shows the connection remains established throughout the
    time until it eventually times out)
    
    So, how do I get the TCP connections to timeout?

    Thanks,
	Stuart.

    Environment: V3.2D-1

to01u:/ # dbx -k /vmunix /dev/mem
dbx version 3.11.8
Type 'help' for help.

stopped at  [thread_block:1914 ,0xfffffc00003da2d8]      Source not available

warning: Files compiled -g3: parameter values probably wrong
(dbx) p tcp_keepidle
120
(dbx) p tcp_keepintvl
10
(dbx)

T.RTitleUserPersonal
Name
DateLines
9615.1tcpdump o/pCHEFS::DAVIDSONSFri Apr 25 1997 16:16194
    
    Following trace shows that it takes ~10 minutes for the connection
    to timeout, whereas the variable setting should make it happen after
    less then 2 minutes.
    
    Any ideas?
    
#
# netstat -in
Name  Mtu   Network     Address               Ipkts Ierrs    Opkts Oerrs  Coll
ln0   1500  DLI         none                 729741     1     9791   322   444
ln0   1500  <Link>      08:00:2b:97:08:2a    729741     1     9791   322   444
ln0   1500  222.22.44   222.22.44.65         729741     1     9791   322   444
fta0  4352  DLI         none                 510752     0    56470     0     0
fta0  4352  <Link>      08:00:2b:b0:8b:29    510752     0    56470     0     0
fta0  4352  222.22.33   222.22.33.65         510752     0    56470     0     0
fta0  4352  OSI         none                 510752     0    56470     0     0
lo0   1536  <Link>                              856     0      856     0     0
lo0   1536  127         127.0.0.1               856     0      856     0     0
#
# dbx -k /vmunix
dbx version 3.11.8
Type 'help' for help.

stopped at  [thread_block:1914 ,0xfffffc00003ad4a8]      Source not available

warning: Files compiled -g3: parameter values probably wrong
(dbx) p tcp_keepidle
120
(dbx) p tcp_keepintvl
2
(dbx) q
#
# tcpdump -i ln0 -e ether host 08:00:2b:97:08:2a
tcpdump: listening on ln0
Using kernel BPF filter

*** cable pulled out now

11:00:28.546560 8:0:2b:97:8:2a ab:0:0:2:0:0 moprc 48:
                         2000 0700 0000 0100 0304 0000 0200 0241
                         0064 0001 aa90 0101 0107 0006 0800 2b97
                         082a
11:00:28.546560 8:0:2b:97:8:2a ab:0:0:2:0:0 006e 124:
                         0700 0000 0100 0304 0000 0200 0241 0064
                         0001 aa90 0101 0107 0006 0800 2b97 082a
                         0a00 1000 ac75 0245 e4ce 01ff ffff

*** nothing happens until <return> pressed in window running telnet session

11:01:56.412848 8:0:2b:97:8:2a 8:0:2b:93:1a:8e arp 42: arp who-has
tss1.ods_lan.
ip tell o1651.sws_lan.ip
11:01:56.412848 8:0:2b:97:8:2a 8:0:2b:93:1a:8e ip 56: o1651.sws_lan.ip.1040 >
ts
s1.ods_lan.ip.telnet: P 125:127(2) ack 308 win 33580 [tos 0x10]
11:01:57.581696 8:0:2b:97:8:2a 8:0:2b:93:1a:8e ip 56: o1651.sws_lan.ip.1040 >
ts
s1.ods_lan.ip.telnet: P 125:127(2) ack 308 win 33580 [tos 0x10]
11:02:00.581696 8:0:2b:97:8:2a 8:0:2b:93:1a:8e arp 42: arp who-has
tss1.ods_lan.ip tell o1651.sws_lan.ip
11:02:00.581696 8:0:2b:97:8:2a 8:0:2b:93:1a:8e ip 56: o1651.sws_lan.ip.1040 >
ts
s1.ods_lan.ip.telnet: P 125:127(2) ack 308 win 33580 [tos 0x10]
11:02:06.581696 8:0:2b:97:8:2a ff:ff:ff:ff:ff:ff arp 42: arp who-has
tss1.ods_la
n.ip tell o1651.sws_lan.ip
11:02:06.581696 8:0:2b:97:8:2a 8:0:2b:93:1a:8e ip 56: o1651.sws_lan.ip.1040 >
ts
s1.ods_lan.ip.telnet: P 125:127(2) ack 308 win 33580 [tos 0x10]
11:02:18.581696 8:0:2b:97:8:2a ff:ff:ff:ff:ff:ff arp 42: arp who-has
tss1.ods_la
n.ip tell o1651.sws_lan.ip
11:02:18.581696 8:0:2b:97:8:2a 8:0:2b:93:1a:8e ip 56: o1651.sws_lan.ip.1040 >
ts
s1.ods_lan.ip.telnet: P 125:127(2) ack 308 win 33580 [tos 0x10]
11:02:42.581696 8:0:2b:97:8:2a ff:ff:ff:ff:ff:ff arp 42: arp who-has
tss1.ods_la
n.ip tell o1651.sws_lan.ip
11:02:42.581696 8:0:2b:97:8:2a 8:0:2b:93:1a:8e ip 56: o1651.sws_lan.ip.1040 >
ts
s1.ods_lan.ip.telnet: P 125:127(2) ack 308 win 33580 [tos 0x10]
11:03:30.581696 8:0:2b:97:8:2a ff:ff:ff:ff:ff:ff arp 42: arp who-has
tss1.ods_la
n.ip tell o1651.sws_lan.ip
11:03:30.581696 8:0:2b:97:8:2a 8:0:2b:93:1a:8e ip 56: o1651.sws_lan.ip.1040 >
ts
s1.ods_lan.ip.telnet: P 125:127(2) ack 308 win 33580 [tos 0x10]
11:04:34.581696 8:0:2b:97:8:2a ff:ff:ff:ff:ff:ff arp 42: arp who-has
tss1.ods_la
n.ip tell o1651.sws_lan.ip
11:04:34.581696 8:0:2b:97:8:2a 8:0:2b:93:1a:8e ip 56: o1651.sws_lan.ip.1040 >
ts
s1.ods_lan.ip.telnet: P 125:127(2) ack 308 win 33580 [tos 0x10]
11:05:11.679296 8:0:2b:97:8:2a 9:0:2b:2:1:2 0018 38:
                         0100 0000 0300 0000 0000 0000 0000 0000
11:05:16.720288 8:0:2b:97:8:2a 9:0:2b:2:1:2 0018 38:
                         0100 0000 0300 0000 0000 0000 0000 0000
11:05:21.761280 8:0:2b:97:8:2a 9:0:2b:2:1:2 0018 38:
                         0100 0000 0300 0000 0000 0000 0000 0000
11:05:38.581696 8:0:2b:97:8:2a ff:ff:ff:ff:ff:ff arp 42: arp who-has
tss1.ods_la
n.ip tell o1651.sws_lan.ip
11:05:38.581696 8:0:2b:97:8:2a 8:0:2b:93:1a:8e ip 56: o1651.sws_lan.ip.1040 >
ts
s1.ods_lan.ip.telnet: P 125:127(2) ack 308 win 33580 [tos 0x10]
11:06:42.581696 8:0:2b:97:8:2a ff:ff:ff:ff:ff:ff arp 42: arp who-has
tss1.ods_la
n.ip tell o1651.sws_lan.ip
11:06:42.581696 8:0:2b:97:8:2a 8:0:2b:93:1a:8e ip 56: o1651.sws_lan.ip.1040 >
ts
s1.ods_lan.ip.telnet: P 125:127(2) ack 308 win 33580 [tos 0x10]
11:07:46.581696 8:0:2b:97:8:2a ff:ff:ff:ff:ff:ff arp 42: arp who-has
tss1.ods_la
n.ip tell o1651.sws_lan.ip
11:07:46.581696 8:0:2b:97:8:2a 8:0:2b:93:1a:8e ip 56: o1651.sws_lan.ip.1040 >
ts
s1.ods_lan.ip.telnet: P 125:127(2) ack 308 win 33580 [tos 0x10]
11:08:50.581696 8:0:2b:97:8:2a ff:ff:ff:ff:ff:ff arp 42: arp who-has
tss1.ods_la
n.ip tell o1651.sws_lan.ip
11:08:50.581696 8:0:2b:97:8:2a 8:0:2b:93:1a:8e ip 56: o1651.sws_lan.ip.1040 >
ts
s1.ods_lan.ip.telnet: P 125:127(2) ack 308 win 33580 [tos 0x10]
11:09:54.581696 8:0:2b:97:8:2a ff:ff:ff:ff:ff:ff arp 42: arp who-has
tss1.ods_la
n.ip tell o1651.sws_lan.ip
11:09:54.581696 8:0:2b:97:8:2a 8:0:2b:93:1a:8e ip 56: o1651.sws_lan.ip.1040 >
ts
s1.ods_lan.ip.telnet: P 125:127(2) ack 308 win 33580 [tos 0x10]
11:10:58.581696 8:0:2b:97:8:2a ff:ff:ff:ff:ff:ff arp 42: arp who-has
tss1.ods_la
n.ip tell o1651.sws_lan.ip
11:10:58.581696 8:0:2b:97:8:2a 8:0:2b:93:1a:8e ip 54: o1651.sws_lan.ip.1040 >
ts
s1.ods_lan.ip.telnet: R 127:127(0) ack 308 win 33580 [tos 0x10]
11:11:12.117120 8:0:2b:97:8:2a ab:0:0:2:0:0 moprc 48:
                         2000 0700 0000 0100 0304 0000 0200 0241
                         0064 0001 aa90 0101 0107 0006 0800 2b97
                         082a
11:11:12.117120 8:0:2b:97:8:2a ab:0:0:2:0:0 006e 124:
                         0700 0000 0100 0304 0000 0200 0241 0064
                         0001 aa90 0101 0107 0006 0800 2b97 082a
                         0a00 1000 bf0e 8246 e4ce 01ff ffff


78 packets
# date
Fri Sep  1 10:11:31 GMT 1995
# exit
#


-- 
_______________________________________________________________________________

   Stuart Davidson, Digital Equipment Co.

   Siemens ATM, Maastricht Eurocontrol UAC,
   Horstweg 11, NL-6191 RX BEEK(1), Netherlands

   Tel.   (Work, NL) +31 43 3661452
   E-Mail (Work, NL) [email protected] 
   E-Mail (Work, NL) [email protected] 
   E-Mail (Work, UK) [email protected] 
_______________________________________________________________________________

RFC-822-headers:
Received: from mail.vbo.dec.com (mail.vbo.dec.com)
 by vbemdf.vbe.dec.com (PMDF V5.0-7 #16475)
 id <[email protected]> for
 [email protected]; Fri, 25 Apr 1997 16:13:59 +0200
Received: from server21.digital.fr (server21.digital.fr [193.56.15.21])
 by mail.vbo.dec.com (8.7.3/8.7) with ESMTP id QAA14531 for
 <[email protected]>; Fri, 25 Apr 1997 16:13:27 +0200 (MET DST)
Received: from ub4b.eunet.be (ub4b.eunet.be [192.92.130.1])
 by server21.digital.fr (8.7.5/8.7) with SMTP id QAA31289 for
 <[email protected]>; Fri, 25 Apr 1997 16:18:36 +0200 (MET DST)
Received: from gate_e1.eurocontrol.be (gate.eurocontrol.be)
 by ub4b.eunet.be (ub4b_08) id AA14537; Fri, 25 Apr 1997 16:10:07 +0200
Received: (from uucp@localhost) by gate_e1.eurocontrol.be (8.7.1/8.7.1/ER)
 id QAA25530 for <[email protected]>; Fri,
 25 Apr 1997 16:24:02 +0200 (METDST)
Received: from biscuit.eurocontrol.be(193.221.170.179)
 by gate_e1.eurocontrol.be via smap (V1.3) id sma025525; Fri Apr 25 16:23:34
 1997
Received: from ir6mws15.mas.eurocontrol.be by biscuit.eurocontrol.be with SMTP
 (1.37.109.18/16.2) id AA155667853; Fri, 25 Apr 1997 16:17:33 +0200
Received: from masoms3b.mas.eurocontrol.be by ir6mws15.mas.eurocontrol.be
 (AIX 3.2/UCB 5.64/4.03) id AA51850; Fri, 25 Apr 1997 14:15:17 +0000 (GMT)
Received: by masadm1.mas.eurocontrol.be (AIX 3.2/UCB 5.64/4.03)
 id AA27414; Fri, 25 Apr 1997 14:12:37 +0000 (GMT)
X-Mailer: Z-Mail (3.2.1 10oct95)
9615.2QAR 52757CHEFS::DAVIDSONSTue Apr 29 1997 18:391