From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653643321813.tru64-unix-managers.marc@archive.invalid> From: "Fletcher, Joe" Date: Fri, 16 Nov 2001 14:46:50 +0000 To: tru64-unix-managers Subject: SUMMARY: telnet keepalives X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653643321813 Hi, Originally I have to access a remote Tru64 system through a firewall which has a session idle timeout of 1hr. 'Til now I went via a VMS system which kept the sessions open. I've just lost my access to that system so now I have to go direct from the Alphastation on my desk. I can't get the firwall changed so is there some option I can set on the Tru64 telnet session such that the links don't get dropped? For example, if I run a vdump session on the remote box, even though it generates output on my local screen, unless I kit the shift key or something the session gets dumped after an hour. Anyone know what the difference is between how VMS and unix handles the telnet session? I'm curious to know why the VMS sessions aren't regarded as being idle by the firewall despite there being no input from either end whereas the unix sessions demand keyboard input from the system inside the firewall to keep them active. Well, I found out what's happening to keep the sessions alive but I don't know why it's happening. This from an IP trace between a unix box and a remote VMS system: VMS sends a packet out once per minute and the reply is sufficient to keep the link through the firewall up. Don't know why VMS does what it does but there it is. Cheers Joe ETHER: ----- Ether Header ----- ETHER: ETHER: Packet 8 arrived at 13:38:24.90 ETHER: Packet size = 60 bytes ETHER: Destination = 8:0:20:d1:d8:38, Sun ETHER: Source = 0:2:fd:7e:e1:c1, ETHER: Ethertype = 0800 (IP) ETHER: IP: ----- IP Header ----- IP: IP: Version = 4 IP: Header length = 20 bytes IP: Type of service = 0x00 IP: xxx. .... = 0 (precedence) IP: ...0 .... = normal delay IP: .... 0... = normal throughput IP: .... .0.. = normal reliability IP: Total length = 41 bytes IP: Identification = 62548 IP: Flags = 0x0 IP: .0.. .... = may fragment IP: ..0. .... = last fragment IP: Fragment offset = 0 bytes IP: Time to live = 115 seconds/hops IP: Protocol = 6 (TCP) IP: Header checksum = f304 IP: Source address = 128.x.x.x, andrsn IP: Destination address = 172.x.x.x, btsunho01 IP: No options IP: TCP: ----- TCP Header ----- TCP: TCP: Source port = 23 TCP: Destination port = 32890 TCP: Sequence number = 798530386 TCP: Acknowledgement number = 265537063 TCP: Data offset = 20 bytes TCP: Flags = 0x10 TCP: ..0. .... = No urgent pointer TCP: ...1 .... = Acknowledgement TCP: .... 0... = No push TCP: .... .0.. = No reset TCP: .... ..0. = No Syn TCP: .... ...0 = No Fin TCP: Window = 3000 TCP: Checksum = 0xf82e TCP: Urgent pointer = 0 TCP: No options TCP: TELNET: ----- TELNET: ----- TELNET: TELNET: "*" TELNET: ETHER: ----- Ether Header ----- ETHER: ETHER: Packet 9 arrived at 13:38:24.90 ETHER: Packet size = 54 bytes ETHER: Destination = 0:2:fd:7e:e1:c1, ETHER: Source = 8:0:20:d1:d8:38, Sun ETHER: Ethertype = 0800 (IP) ETHER: IP: ----- IP Header ----- IP: IP: Version = 4 IP: Header length = 20 bytes IP: Type of service = 0x00 IP: xxx. .... = 0 (precedence) IP: ...0 .... = normal delay IP: .... 0... = normal throughput IP: .... .0.. = normal reliability IP: Total length = 40 bytes IP: Identification = 25921 IP: Flags = 0x4 IP: .1.. .... = do not fragment IP: ..0. .... = last fragment IP: Fragment offset = 0 bytes IP: Time to live = 64 seconds/hops IP: Protocol = 6 (TCP) IP: Header checksum = 7519 IP: Source address = 172.x.x.x, btsunho01 IP: Destination address = 128.x.x.x, andrsn IP: No options IP: TCP: ----- TCP Header ----- TCP: TCP: Source port = 32890 TCP: Destination port = 23 (TELNET) TCP: Sequence number = 265537064 TCP: Acknowledgement number = 798530387 TCP: Data offset = 20 bytes TCP: Flags = 0x10 TCP: ..0. .... = No urgent pointer TCP: ...1 .... = Acknowledgement TCP: .... 0... = No push TCP: .... .0.. = No reset TCP: .... ..0. = No Syn TCP: .... ...0 = No Fin TCP: Window = 25192 TCP: Checksum = 0xcb7d TCP: Urgent pointer = 0 TCP: No options TCP: TELNET: ----- TELNET: ----- TELNET: TELNET: "" TELNET: MetaPack The Lightwell 12/16 Laystall Street Clerkenwell London EC1R 4PF Tel: +44 (0) 20 7843 6720 Fax: +44 (0) 20 7843 6721 -------------------------------------------------------------------------- This email is confidential and proprietary; all information contained in it must be used only by the addressee in accordance with MetaPack's terms of business and non-disclosure agreement. Disclosure, copying, and distribution to, or use by, anyone other than the intended recipient is strictly prohibited and may be unlawful.