On Thu, Mar 05, 2015 at 01:53:31PM +0100, Mateusz Guzik wrote: > On Thu, Mar 05, 2015 at 03:50:49PM +0300, Slawa Olhovchenkov wrote: > > On Thu, Mar 05, 2015 at 01:49:33PM +0100, Mateusz Guzik wrote: > > > > > On Thu, Mar 05, 2015 at 03:40:37PM +0300, Slawa Olhovchenkov wrote: > > > > On Thu, Mar 05, 2015 at 03:35:48PM +0300, Gleb Smirnoff wrote: > > > > > nc(1), which is a pure socket testing tool. For telnet(1) this > > > > > capability is a side effect. > > > > > > > > You don't try this in practice. > > > > % nc zxy.spb.ru 81 > > > > % > > > > % telnet zxy.spb.ru 81 > > > > Trying 195.70.199.98... > > > > telnet: connect to address 195.70.199.98: Connection refused > > > > telnet: Unable to connect to remote host > > > > > > > > nc is not usable. > > > > > > > > > > # nc -v localhost 81 > > > nc: connect to localhost port 81 (tcp) failed: Connection refused > > > > Try for remote host. > > # nc -v zxy.spb.ru 81 > nc: connect to zxy.spb.ru port 81 (tcp) failed: Connection refused > > How exactly does it fail for you?
Hmm. From office lan, with cisco nat. 10.1 15:59:00.175388 IP 10.200.0.19.11393 > 195.70.199.98.81: Flags [S], seq 218161015, win 65535, options [mss 1460,nop,wscale 6,sackOK,TS val 391119939 ecr 0], length 0 15:59:00.178748 IP 195.70.199.98.81 > 10.200.0.19.11393: Flags [R.], seq 0, ack 218161016, win 0, length 0 this is nc zxy.spb.ru 81 15:59:42.800700 IP 10.200.0.19.45815 > 195.70.199.98.81: Flags [S], seq 2445745499, win 65535, options [mss 1460,nop,wscale 6,sackOK,TS val 391162565 ecr 0], length 0 15:59:42.803927 IP 195.70.199.98.81 > 10.200.0.19.45815: Flags [R.], seq 0, ack 2445745500, win 0, length 0 this is telnet zxy.spb.ru 81 FreeBSD slw.office.acropolis.ru 10.1-RELEASE-p5 FreeBSD 10.1-RELEASE-p5 #0: Tue Jan 27 08:55:07 UTC 2015 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 run as user (not root). No any firewall. _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"