From owner-svn-src-all@FreeBSD.ORG Thu Mar 5 13:06:54 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E161D2AF; Thu, 5 Mar 2015 13:06:54 +0000 (UTC) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cloud.theravensnest.org", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 884C332A; Thu, 5 Mar 2015 13:06:53 +0000 (UTC) Received: from dhcp-172-17-156-6.eduroam.wireless.private.cam.ac.uk (global-1-26.nat.csx.cam.ac.uk [131.111.184.26]) (authenticated bits=0) by theravensnest.org (8.15.1/8.14.9) with ESMTPSA id t25D6nLo050088 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 5 Mar 2015 13:06:50 GMT (envelope-from theraven@FreeBSD.org) X-Authentication-Warning: theravensnest.org: Host global-1-26.nat.csx.cam.ac.uk [131.111.184.26] claimed to be dhcp-172-17-156-6.eduroam.wireless.private.cam.ac.uk Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: svn commit: r279603 - in head: bin/rcp usr.bin/rlogin usr.bin/rsh From: David Chisnall In-Reply-To: <20150305124246.GS48476@zxy.spb.ru> Date: Thu, 5 Mar 2015 13:06:44 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <113C6811-8C79-4E7F-A909-73D0F3F6315C@FreeBSD.org> References: <201503042201.t24M1jDG009278@svn.freebsd.org> <20150305114828.GK17947@FreeBSD.org> <20150305122103.GA90978@zxy.spb.ru> <20150305122359.GM17947@FreeBSD.org> <20150305123016.GO48476@zxy.spb.ru> <20150305123053.GN17947@FreeBSD.org> <20150305123349.GP48476@zxy.spb.ru> <364175B2-D8E4-489C-91BF-C121EA3C4EB3@cl.cam.ac.uk> <20150305124246.GS48476@zxy.spb.ru> To: Slawa Olhovchenkov X-Mailer: Apple Mail (2.2070.6) Cc: svn-src-head@freebsd.org, Baptiste Daroussin , Gleb Smirnoff , src-committers@freebsd.org, svn-src-all@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2015 13:06:55 -0000 > On 5 Mar 2015, at 12:42, Slawa Olhovchenkov wrote: >=20 >> netcat - nc(1) - which can also work in the other direction and is = designed specifically for this purpose. >=20 > nc(1) don't correctly work. It works for me for everything that I used to use telnet for (connection = testing, checking plain-text protocols, although increasingly I have to = use openssl s_client because few things speak TCP without SSL), what = cases does it not work for you? > nc don't work with unix socket. Okay, now you're changing your requirements - you first spoke of remote = equipment and network testing. However, UNIX domain sockets appear as = files in the filesystem, and we have a host of utilities that are = capable of interacting with files (unless they're message-oriented, but = then telnet doesn't help either). >>> How to connect to mpd control socket?! >>=20 >> mpdcon from the command line, MPDroid from my mobile, or nc if you're = a masochist. >=20 > MPDroid?! wut? Or you just don't know about mpd? The one that I'm familiar with is the music player daemon. The other = common use of the initalism is multiple personality disorder. If you = mean something else, then you should probably say what it is, rather = than rely on other people understanding some obscure term (hint: you're = not doing yourself any favours in justifying that this is a widespread = requirement if people reading your post can't even tell what the = requirement is). =20 If you meant the mpd5 package then... well, if you're installing one = thing from packages then installing another is not really likely to be = an issue. =20 Anyway, from your follow up to Gleb, it seems that your requirement is a = network testing tool for computers that are not connected to a network? = That seems like a sufficiently niche use that you don't need to have = things in the base system. =20 David