From owner-freebsd-current@FreeBSD.ORG Sun Sep 26 14:38:45 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F187516A4CE for ; Sun, 26 Sep 2004 14:38:45 +0000 (GMT) Received: from tora.nunu.org (YahooBB219003182047.bbtec.net [219.3.182.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id A58FC43D2F for ; Sun, 26 Sep 2004 14:38:45 +0000 (GMT) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from tora.nunu.org (unknown [192.168.1.2]) by tora.nunu.org (Postfix) with ESMTP id D9DF84CCD0; Sun, 26 Sep 2004 23:38:44 +0900 (JST) Date: Sun, 26 Sep 2004 23:38:44 +0900 Message-ID: <87brftm6x7.wl@tora.nunu.org> From: Hidetoshi Shimokawa To: Hendrik Scholz In-Reply-To: <4141AB09.3090508@raisdorf.net> References: <4141AB09.3090508@raisdorf.net> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 MULE XEmacs/21.4 (patch 14) (Reasonable Discussion) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: dcons(4) console for jails X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2004 14:38:46 -0000 I'm not sure I really understand your concern, but the following fact may help you. - You don't need firewire to access dcons. dcons can be accessed via KVM without -t option. - By default(without -g option), dconschat listen on only 127.0.0.1. You cannot access it from outside of localhost. Currently, we can only have one dcons device on a system. You may need multiple dcons port for multiple jails... /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html At Fri, 10 Sep 2004 15:24:25 +0200, Hendrik Scholz wrote: > > Hi! > > I've been thinking for this for a few days and eventually had the time > to have a first look at it. > > What I'd like to do is basicly running > '/usr/libexec/getty dcons dcons' inside a jail and allow the host system > to access the console. > It's easy to do using the dconschat TCP feature (dconschat -rTC 12345) > and using telnet to connect but I don't like the idea of allowing telnet > connections from remote systems to important services. > > So my solution (only had a quick look at the code) should work like this: > > - write a firewire-like extension for dconschat, i.e. 'dcons -j myjail' > that connects to the console on the local jail 'myjail' > - build a miniature version of /etc/ttys in the jail to allow > configuration. > - make sure the comserver-con port works with this extension :) > > Are there any comments or recommondations? > > Thanks, > Hendrik > > -- > Hendrik Scholz - - http://www.wormulon.net/ > drag me, drop me - treat me like an object > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >