Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2002 21:50:01 -0800 (PST)
From:      "Tim J. Robbins" <tim@robbins.dropbear.id.au>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/33971: finger could check if T/TCP is disabled and imply -T
Message-ID:  <200201170550.g0H5o1p40437@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/33971; it has been noted by GNATS.

From: "Tim J. Robbins" <tim@robbins.dropbear.id.au>
To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: bin/33971: finger could check if T/TCP is disabled and imply -T
Date: Thu, 17 Jan 2002 16:45:56 +1100

 On Wed, Jan 16, 2002 at 11:52:27PM -0500, Garrett Wollman wrote:
 
 > Evidently you did misunderstand, since as I stated in my original
 > reply, finger does not use Transaction TCP.
 
 The kernel does T/TCP because finger does not connect() before it
 calls sendmsg() (unless, of course, the -T option is used).
 
 net.inet.tcp.rfc1644=0, finger tim@127.0.0.1:
 16:29:39.703826 localhost.4459 > localhost.finger: S [tcp sum ok] 3639801831:3639801831(0) win 65535 <mss 16344,nop,wscale 1,nop,nop,timestamp 20673461 0> (DF) (ttl 64, id 33391, len 60)
 0x0000   4500 003c 826f 4000 4006 ba4a 7f00 0001        E..<.o@.@..J....
 0x0010   7f00 0001 116b 004f d8f2 f7e7 0000 0000        .....k.O........
 0x0020   a002 ffff bb5b 0000 0204 3fd8 0103 0301        .....[....?.....
 0x0030   0101 080a 013b 73b5 0000 0000                  .....;s.....
 
 net.inet.tcp.rfc1644=1, finger tim@127.0.0.1:
 16:28:49.322276 localhost.4458 > localhost.finger: SP [tcp sum ok] 3668140434:3668140439(5) win 57344 <mss 16344,nop,wscale 1,nop,nop,timestamp 20668422 0,nop,nop,cc 7541> (DF) (ttl 64, id 17585, len 73)
 0x0000   4500 0049 44b1 4000 4006 f7fb 7f00 0001        E..ID.@.@.......
 0x0010   7f00 0001 116a 004f daa3 6192 0000 0000        .....j.O..a.....
 0x0020   c00a e000 4ea7 0000 0204 3fd8 0103 0301        ....N.....?.....
 0x0030   0101 080a 013b 6006 0000 0000 0101 0b06        .....;`.........
 0x0040   0000 1d75 7469 6d0d 0a                         ...utim..
 
 Note the CC option, PUSH flag, payload.
 
 I give up. I just thought it'd be nice if finger detected hosts that
 weren't listening on the finger port faster and a less confusing error msg.
 
 
 Tim

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201170550.g0H5o1p40437>