From owner-freebsd-hackers Thu May 24 11:21:55 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gw.nectar.com (gw.nectar.com [208.42.49.153]) by hub.freebsd.org (Postfix) with ESMTP id C85ED37B424 for ; Thu, 24 May 2001 11:21:49 -0700 (PDT) (envelope-from nectar@nectar.com) Received: from shade.nectar.com (gw.nectar.com [208.42.49.153]) by gw.nectar.com (Postfix) with ESMTP id 1E9E018CB0; Thu, 24 May 2001 13:21:49 -0500 (CDT) Received: (from nectar@localhost) by shade.nectar.com (8.11.3/8.11.3) id f4OILme14231; Thu, 24 May 2001 13:21:48 -0500 (CDT) (envelope-from nectar) Date: Thu, 24 May 2001 13:21:44 -0500 From: "Jacques A. Vidrine" To: Gordon Tetlow Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: telnet to AF_UNIX sockets [PATCH] Message-ID: <20010524132144.A14177@shade.nectar.com> Mail-Followup-To: "Jacques A. Vidrine" , Gordon Tetlow , freebsd-hackers@FreeBSD.ORG References: <20010523220844.A26487@shade.nectar.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from gordont@bluemtn.net on Thu, May 24, 2001 at 11:10:10AM -0700 X-Url: http://www.nectar.com/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [cc: trimmed] On Thu, May 24, 2001 at 11:10:10AM -0700, Gordon Tetlow wrote: > It depends on how you look at it. If you see telnet as a network client, > then you cringe at this (I did initially). But when you think about it, > all telnet really does is connect to sockets, so why not extend its > functionality to local sockets? Because `all telnet really does is connect to sockets' is patently false. Check out the nearly 100 RFCs detailing the TELNET protocol. Almost none of these make much sense to do over UNIX domain sockets [1]. A small tool that `just connects to sockets' would certainly be handy. However, that's why there are things such as netcat. Cheers, -- Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org [1] I think it was Peter who did mention one application of this (NVT over AF_UNIX), which would be for communication with `jails'. This is pretty specialized, and requires a telnet daemon that listens on AF_UNIX as well. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message