From dclarkjr@insight.rr.com Sun Nov 4 03:52:49 2007 Received: from ms-smtp-01.ohiordc.rr.com (ms-smtp-01.ohiordc.rr.com [65.24.5.135]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id lA4BqgjY015108 for ; Sun, 4 Nov 2007 03:52:48 -0800 (PST) Received: from [172.16.1.198] (cpe-65-186-215-231.insight.res.rr.com [65.186.215.231]) by ms-smtp-01.ohiordc.rr.com (8.13.6/8.13.6) with ESMTP id lA4BqceK018353 for ; Sun, 4 Nov 2007 06:52:38 -0500 (EST) Subject: having issues in Gusty From: Don Clark To: users@conserver.com In-Reply-To: References: Content-Type: text/plain Date: Sun, 04 Nov 2007 06:52:39 -0500 Message-Id: <1194177159.8620.7.camel@dsktp1> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2007 11:52:50 -0000 I am having a few issues with conserver in gusty gibbon ubuntu. If I start the service with conserver -p 782 everything works. If I start it with a -d added to the conserver -p 782 it won't work. I have added a line of conserver 782/tcp to services and console to the hosts file. I do have multiple network cards if this matters. My error: console: connect(): 782@console: Connection refused restart /etc/init.d/conserver-server restart or start the error is the same. If I type conserver -p 782 all is well. Any help is appreciated Thanks DC From tv@solnet.ch Tue Nov 13 07:30:45 2007 Received: from mail01.solnet.ch (mail01.solnet.ch [212.101.4.135]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id lADFUbNG010639 for ; Tue, 13 Nov 2007 07:30:43 -0800 (PST) X-Virus-Scanned: by amavisd-new at mail01.solnet.ch Received: from mail01.solnet.ch ([127.0.0.1]) by localhost (mail01.solnet.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 2pCcXHveFR5K for ; Tue, 13 Nov 2007 15:30:36 +0000 (UTC) Received: from bert.mlan.solnet.ch (bert.mlan.solnet.ch [212.101.1.83]) by mail01.solnet.ch (Postfix) with ESMTP id 787F62FD54F for ; Tue, 13 Nov 2007 15:30:36 +0000 (UTC) Message-ID: <4739C31C.1040306@solnet.ch> Date: Tue, 13 Nov 2007 16:30:36 +0100 From: Thomas Vogt Organization: SolNet ISP User-Agent: Thunderbird 2.0.0.6 (X11/20071104) MIME-Version: 1.0 To: users@conserver.com Subject: telnet redirect to connected machine via conserver X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2007 15:30:46 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello In the past I used portmaster as my terminal server. To connect to a device i had to use: telnet portmaster 6001-60xx. Each port was connected via rs232 to the portmaster. The telnet command automatically redirected me to the connected machine. Now I use conserver. It works well with the "console" command. But sometimes i want to connect from obscure devices without any "console" command to another machine. Is it possible to configure conserver to emulate the same behavior as a portmaster? When I start with "conserver -d -b 6000" Now I can use telnet to connect to conserver with: "telnet conserver 6000". I can also use "login machinename" to make a connection to my remote machine but i get no interaction after you connect a console. Regards, Thomas - -- * Thomas Vogt UNIX System Engineer - SolNet AS9044 - PGP-3239B720 * -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHOcMbGCwkYTI5tyARAsPSAJ0RwMSDEWzFqbI0wD7JZJY7p75LsACdHs8q FnfX+zWNAyfHOxexBf/V5rw= =Pypk -----END PGP SIGNATURE----- From windsor@warthog.com Wed Nov 14 08:30:40 2007 Received: from gerbil.warthog.com (mailhost.warthog.com [71.164.232.93]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id lAEGUWIM004375 for ; Wed, 14 Nov 2007 08:30:39 -0800 (PST) Received: from [172.16.12.3] (unknown [64.95.100.12]) by gerbil.warthog.com (Postfix) with ESMTP id AEDC15B6D1 for ; Wed, 14 Nov 2007 10:30:26 -0600 (CST) Message-ID: <473B222E.4050303@warthog.com> Date: Wed, 14 Nov 2007 10:28:30 -0600 From: Rob Windsor User-Agent: Thunderbird 1.5.0.13 (Windows/20070809) MIME-Version: 1.0 To: users@conserver.com Subject: aliased server entries Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.001 () BAYES_50 X-Scanned-By: MIMEDefang 2.63 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2007 16:30:41 -0000 Is there a way to have two entries point to the same physical port? At my current employer, a lot of servers and network gear are physically installed in their permanent location, including console access, before their name (and at times, purpose) are established. It would be nice to ease the transition for the post-install audit (which includes cleaning up the conserver.cf). Rob++ -- Internet: windsor@warthog.com __o Life: Rob@Carrollton.Texas.USA.Earth _`\<,_ (_)/ (_) "They couldn't hit an elephant at this distance." -- Major General John Sedgwick From sommerfeld@sun.com Wed Nov 14 10:02:40 2007 Received: from brmea-mail-3.sun.com (brmea-mail-3.Sun.COM [192.18.98.34]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id lAEI2TvF005402 for ; Wed, 14 Nov 2007 10:02:39 -0800 (PST) Received: from dm-east-01.east.sun.com ([129.148.9.192]) by brmea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id lAEI2SPM021563 for ; Wed, 14 Nov 2007 18:02:29 GMT Received: from localhost.east.sun.com (vroom.SFBay.Sun.COM [10.7.251.192]) by dm-east-01.east.sun.com (8.13.8+Sun/8.13.8/ENSMAIL, v2.2) with ESMTP id lAEI2RE9022423 for ; Wed, 14 Nov 2007 13:02:27 -0500 (EST) Received: from localhost.east.sun.com (localhost [127.0.0.1]) by localhost.east.sun.com (8.14.1+Sun/8.14.1) with ESMTP id lAEHrGoq002843; Wed, 14 Nov 2007 09:53:16 -0800 (PST) Received: (from sommerfeld@localhost) by localhost.east.sun.com (8.14.1+Sun/8.14.1/Submit) id lAEHrDgY002842; Wed, 14 Nov 2007 09:53:13 -0800 (PST) X-Authentication-Warning: localhost.east.sun.com: sommerfeld set sender to sommerfeld@sun.com using -f Subject: Re: aliased server entries From: Bill Sommerfeld To: Rob Windsor In-Reply-To: <473B222E.4050303@warthog.com> References: <473B222E.4050303@warthog.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Wed, 14 Nov 2007 09:53:12 -0800 Message-Id: <1195062792.2258.44.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 209.182.219.30 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2007 18:02:41 -0000 On Wed, 2007-11-14 at 10:28 -0600, Rob Windsor wrote: > Is there a way to have two entries point to the same physical port? Sort of. You can include an "aliases" entry in an entry which gives it an additional name. console v210-0 { aliases acheron; include alom; host acheron-sc; port 1; } - Bill From windsor@warthog.com Wed Nov 14 11:27:36 2007 Received: from gerbil.warthog.com (mailhost.warthog.com [71.164.232.93]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id lAEJRUFJ006267 for ; Wed, 14 Nov 2007 11:27:35 -0800 (PST) Received: from [172.16.12.3] (unknown [64.95.100.12]) by gerbil.warthog.com (Postfix) with ESMTP id 8C50A5BA63 for ; Wed, 14 Nov 2007 13:27:29 -0600 (CST) Message-ID: <473B4BBA.7060109@warthog.com> Date: Wed, 14 Nov 2007 13:25:46 -0600 From: Rob Windsor User-Agent: Thunderbird 1.5.0.13 (Windows/20070809) MIME-Version: 1.0 To: users@conserver.com Subject: Re: aliased server entries References: <473B222E.4050303@warthog.com> <1195062792.2258.44.camel@localhost> In-Reply-To: <1195062792.2258.44.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2007 19:27:38 -0000 Bill Sommerfeld wrote: > On Wed, 2007-11-14 at 10:28 -0600, Rob Windsor wrote: >> Is there a way to have two entries point to the same physical port? > > Sort of. You can include an "aliases" entry in an entry which gives it > an additional name. > > console v210-0 { aliases acheron; include alom; host acheron-sc; port > 1; } That's exactly what I'm looking for. Thanks. Rob++ -- Internet: windsor@warthog.com __o Life: Rob@Carrollton.Texas.USA.Earth _`\<,_ (_)/ (_) "They couldn't hit an elephant at this distance." -- Major General John Sedgwick From cross+conserver@distal.com Sun Nov 18 09:20:47 2007 Received: from QMTA09.emeryville.ca.mail.comcast.net (qmta09.emeryville.ca.mail.comcast.net [76.96.30.96]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id lAIHKdpM024473 for ; Sun, 18 Nov 2007 09:20:45 -0800 (PST) Received: from OMTA10.emeryville.ca.mail.comcast.net ([76.96.30.28]) by QMTA09.emeryville.ca.mail.comcast.net with comcast id EFnt1Y0050cQ2SL0A06300; Sun, 18 Nov 2007 17:20:42 +0000 Received: from mail.distal.com ([69.244.75.197]) by OMTA10.emeryville.ca.mail.comcast.net with comcast id EHLf1Y0084FQVEl0800000; Sun, 18 Nov 2007 17:20:42 +0000 X-Authority-Analysis: v=1.0 c=1 a=fs9n3kt_KzwA:10 a=llIPiAdU-WKj_0eRsecA:9 a=H8B_au0LRRDyc8RwqdZK8MCU1f4A:4 a=KUJAPYlYduUA:10 Received: from [IPv6:2001:5c0:956b:20:214:51ff:fe65:d77e] (magrathea.distal.com [IPv6:2001:5c0:956b:20:214:51ff:fe65:d77e]) (authenticated bits=0) by mail.distal.com (8.14.1/8.14.1) with ESMTP id lAIHKYZq019321 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Sun, 18 Nov 2007 12:20:35 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: "Conserver Users's Mailing List" From: Chris Ross Subject: To ask a familiar question: auto-login of console connections Date: Sun, 18 Nov 2007 12:20:35 -0500 X-Mailer: Apple Mail (2.752.2) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (mail.distal.com [IPv6:2001:5c0:956b:20::ae25]); Sun, 18 Nov 2007 12:20:35 -0500 (EST) X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2007 17:20:48 -0000 Hi there. I know this question has been asked before in numerous forms, and there is some information in the mailing list archives et al regarding perl and expect scripts using telnet and/or ssh, etc etc. But, to pose my thoughts and questions; I have a conserver host connecting to a variety of serial consoles through a Cisco access server. I could use ssh to get encrypted communications, but it's a private network locally, so I'm not worried about that. That means I can just use conserver to open the [telnet] connection directly, which is nice. When the TCP connection gets opened, the Cisco is configured to request a username and password log in. I know that I could use initcmd with an expect script, or the like, to do this. But, I can't tell from the documentation what happens *after* the initcmd runs. Is it possible to run the initcmd, then drop back to having conserver manage the connection directly? I'm assuming not, because I would have to "share" the fd's with the initcmd to be able to reuse them when the command exited. Is there a way to run a command, or some sort of built-in expect- like logic, to process a log-in on a "type host" connection, without having to have another [two] processes running to continue to manage the connection? Thanks... - Chris From fabien@mail.faxm0dem.org Sun Nov 18 12:03:22 2007 Received: from smtp7-g19.free.fr (smtp7-g19.free.fr [212.27.42.64]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id lAIK3FL3026161 for ; Sun, 18 Nov 2007 12:03:21 -0800 (PST) Received: from smtp7-g19.free.fr (localhost [127.0.0.1]) by smtp7-g19.free.fr (Postfix) with ESMTP id 3F2E63228AE; Sun, 18 Nov 2007 21:03:14 +0100 (CET) Received: from mail.faxm0dem.org (faxm0dem.org [82.224.162.122]) by smtp7-g19.free.fr (Postfix) with ESMTP id 1B0D93228A7; Sun, 18 Nov 2007 21:03:13 +0100 (CET) Received: by mail.faxm0dem.org (Postfix, from userid 1000) id C69D22C4; Sun, 18 Nov 2007 20:43:32 +0100 (CET) Date: Sun, 18 Nov 2007 20:43:32 +0100 From: Fabien Wernli To: Chris Ross Subject: Re: To ask a familiar question: auto-login of console connections Message-ID: <20071118194331.GK4034@mail.faxm0dem.org> Mail-Followup-To: Chris Ross , Conserver Users's Mailing List References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: CC-IN2P3 (CNRS) User-Agent: Mutt/1.5.13 (2006-08-11) X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 209.182.219.30 Cc: Conserver Users's Mailing List X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list Reply-To: wernli@in2p3.fr List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2007 20:03:23 -0000 Hi, On Sun, Nov 18, 2007 at 12:20:35PM -0500, Chris Ross wrote: > Is there a way to run a command, or some sort of built-in expect- > like logic, to process a log-in on a "type host" connection, without > having to have another [two] processes running to continue to manage > the connection? I don't think so. If you're worried about forking I'd suggest using Net::Telnet and Expect in a perl script. From bryan@stansell.org Sun Nov 18 13:03:22 2007 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id lAIL3MVW026601 for ; Sun, 18 Nov 2007 13:03:22 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.14.1/8.14.1/Submit) id lAIL3MtJ026600 for users@conserver.com; Sun, 18 Nov 2007 13:03:22 -0800 (PST) Date: Sun, 18 Nov 2007 13:03:22 -0800 From: Bryan Stansell To: "Conserver Users's Mailing List" Subject: Re: To ask a familiar question: auto-login of console connections Message-ID: <20071118210322.GA448@underdog.stansell.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.63 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2007 21:03:23 -0000 On Sun, Nov 18, 2007 at 12:20:35PM -0500, Chris Ross wrote: > configured to request a username and password log in. I know that I > could use initcmd with an expect script, or the like, to do this. > But, I can't tell from the documentation what happens *after* the > initcmd runs. Is it possible to run the initcmd, then drop back to > having conserver manage the connection directly? I'm assuming not, > because I would have to "share" the fd's with the initcmd to be able > to reuse them when the command exited. that's exactly what will happen if you add the initcmd stuff to your console definition (or what it inherits). it works for all types of consoles. conserver will make the initial tcp connection, then fork off the initcmd (pointing it's stdin/stdout to that file descriptor) and then continue to do it's normal stuff when it exists. Bryan From cross+conserver@distal.com Mon Nov 19 07:26:27 2007 Received: from QMTA04.emeryville.ca.mail.comcast.net (qmta04.emeryville.ca.mail.comcast.net [76.96.30.40]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id lAJFQKsU012468 for ; Mon, 19 Nov 2007 07:26:25 -0800 (PST) Received: from OMTA02.emeryville.ca.mail.comcast.net ([76.96.30.19]) by QMTA04.emeryville.ca.mail.comcast.net with comcast id Eewj1Y0070QkzPw0A04l00; Mon, 19 Nov 2007 15:26:23 +0000 Received: from mail.distal.com ([69.244.75.197]) by OMTA02.emeryville.ca.mail.comcast.net with comcast id EfSM1Y0024FQVEl0800000; Mon, 19 Nov 2007 15:26:23 +0000 X-Authority-Analysis: v=1.0 c=1 a=ytUvyDOX-ssA:10 a=PLruy-XUD0CxgJxLSCwA:9 a=6dagsf1L59XYVDmK9bFx-CgoK84A:4 a=WuK_CZDBSqoA:10 Received: from [IPv6:2001:5c0:956b:20:214:51ff:fe65:d77e] (magrathea.distal.com [IPv6:2001:5c0:956b:20:214:51ff:fe65:d77e]) (authenticated bits=0) by mail.distal.com (8.14.1/8.14.1) with ESMTP id lAJFQEDt021929 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 19 Nov 2007 10:26:16 -0500 (EST) In-Reply-To: <20071118210322.GA448@underdog.stansell.org> References: <20071118210322.GA448@underdog.stansell.org> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Chris Ross Subject: Re: To ask a familiar question: auto-login of console connections Date: Mon, 19 Nov 2007 10:26:18 -0500 To: Bryan Stansell X-Mailer: Apple Mail (2.752.2) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (mail.distal.com [IPv6:2001:5c0:956b:20::ae25]); Mon, 19 Nov 2007 10:26:16 -0500 (EST) X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 209.182.219.30 Cc: Conserver Users's Mailing List X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 15:26:28 -0000 On Nov 18, 2007, at 16:03, Bryan Stansell wrote: > that's exactly what will happen if you add the initcmd stuff to your > console definition (or what it inherits). it works for all types of > consoles. conserver will make the initial tcp connection, then > fork off > the initcmd (pointing it's stdin/stdout to that file descriptor) > and then > continue to do it's normal stuff when it exists. (I assume you mean "exits") Excellent. That's what I was hoping for. So, I have have an external process manage the login, then exit, and conserver will run it from there. Thanks! - Chris