svn commit: r279603 - in head: bin/rcp usr.bin/rlogin usr.bin/rsh

Slawa Olhovchenkov slw at zxy.spb.ru
Thu Mar 5 12:40:40 UTC 2015


On Thu, Mar 05, 2015 at 03:35:48PM +0300, Gleb Smirnoff wrote:

> On Thu, Mar 05, 2015 at 03:33:50PM +0300, Slawa Olhovchenkov wrote:
> S> > On Thu, Mar 05, 2015 at 03:30:16PM +0300, Slawa Olhovchenkov wrote:
> S> > S> > On Thu, Mar 05, 2015 at 03:21:03PM +0300, Slawa Olhovchenkov wrote:
> S> > S> > S> > On Wed, Mar 04, 2015 at 10:01:45PM +0000, Baptiste Daroussin wrote:
> S> > S> > S> > B> Author: bapt
> S> > S> > S> > B> Date: Wed Mar  4 22:01:44 2015
> S> > S> > S> > B> New Revision: 279603
> S> > S> > S> > B> URL: https://svnweb.freebsd.org/changeset/base/279603
> S> > S> > S> > B> 
> S> > S> > S> > B> Log:
> S> > S> > S> > B>   r* commands are not precious anymore
> S> > S> > S> > B>
> S> > S> > S> > B> Modified:
> S> > S> > S> > B>   head/bin/rcp/Makefile
> S> > S> > S> > B>   head/usr.bin/rlogin/Makefile
> S> > S> > S> > 
> S> > S> > S> > I guess when they are going to be not precious enough to be removed? :)
> S> > S> > S> > 
> S> > S> > S> > In modern world of ssh and https, does any OS require them in base?
> S> > S> > S> 
> S> > S> > S> yes.
> S> > S> > S> Some telecom equipment require rlogin.
> S> > S> > 
> S> > S> > Other telecom equipment require a JRE and special .jar to
> S> > S> > configure them. Does that mean operating systems must ship
> S> > S> > them?
> S> > S> 
> S> > S> Yes, if ships before (don't break if working).
> S> > S> Some Linux distro remove telnet from default install.
> S> > S> Do you like to remove telnet also?
> S> > 
> S> > Yes.
> S> 
> S> And how to test open/listing ports/sockets?!
> 
> 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. 

> S> How to connect to mpd control socket?!
> 
> pkg install mpd5 telnet

Nice w/o internet connection. Nice.


More information about the svn-src-all mailing list