From SIJES@tdc.dk Thu Mar 2 04:31:50 2006 Received: from smtpsrv20.tdc.dk (smtpsrv20.tdc.dk [192.66.25.157]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k22CVhQt024957 for ; Thu, 2 Mar 2006 04:31:48 -0800 (PST) Received: from conbr320.tdk.dk ([10.106.95.33]) by smtpsrv20.tdc.dk with Microsoft SMTPSVC(5.0.2195.6982); Thu, 2 Mar 2006 13:58:08 +0100 Received: from conbr101.tdk.dk ([10.106.101.59]) by conbr320.tdk.dk with InterScan Messaging Security Suite; Thu, 02 Mar 2006 13:31:39 +0100 Received: from vestmb203b.tdk.dk ([10.106.115.220]) by conbr101.tdk.dk with Microsoft SMTPSVC(5.0.2195.6713); Thu, 2 Mar 2006 13:31:39 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C63DF5.40DD6923" Subject: Newbie: minimum configuration for getting startet Date: Thu, 2 Mar 2006 13:31:39 +0100 Message-ID: <620E002D9D2CAB4C9B87183E957D69070850FA36@VESTMB203B.tdk.dk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Newbie: minimum configuration for getting startet Thread-Index: AcY99UCEqxn9oFAfSBap1a73LmKsqw== From: "Simon Jespersen" To: X-OriginalArrivalTime: 02 Mar 2006 12:31:39.0419 (UTC) FILETIME=[410B76B0:01C63DF5] X-Spam-Score: -3.803 () BAYES_00,HTML_40_50,HTML_FONTCOLOR_BLUE,HTML_MESSAGE X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2006 12:31:50 -0000 This is a multi-part message in MIME format... ------_=_NextPart_001_01C63DF5.40DD6923 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi List, This is my first post. Andf my first day with conserver! I havent been able to get it to work yet and now i hoped that you guys could get me startet with a absolut minimum configuration.=20 Im running=20 conserver.com version 8.1.13 rhel 4 my setup is=20 terminal server mr7343=20 console omunix-test on port 8. i can reach the console by telnet mr7343 2008=20 my /etc/conserver/conserver.passwd has this entry m01348:*passwd* m01348 is my uid-=20 Can anyone help me with a minimum configuration conserver.cf to get this console to work.=20 best regards Simon Jespersen System Manager ------_=_NextPart_001_01C63DF5.40DD6923 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Newbie: minimum configuration for getting startet

Hi List,
This is my first post. Andf my first da= y with conserver!
I havent been able to get it to work ye= t and now i hoped that you guys could get me startet with a absolut minimum= configuration.

Im running
conserver.com version 8.1.13
rhel 4

my setup is
terminal server mr7343
console omunix-test on port 8.

i can reach the console by telnet mr7343= 2008
my /etc/conserver/conserver.passwd

has this entry
m01348:*passwd*

m01348 is my uid-

Can anyone help me with a minimum config= uration conserver.cf to get this console to work.
best regards

Simon Jespersen
System M= anager

------_=_NextPart_001_01C63DF5.40DD6923-- From Thomas.Scola@rbccm.com Thu Mar 2 12:49:50 2006 Received: from mx2.rbc.com (mx2.rbc.com [142.245.29.139]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k22KngXD028459 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Thu, 2 Mar 2006 12:49:48 -0800 (PST) Received: from unknown (HELO sew01016.maple.fg.rbc.com) ([10.101.136.28]) by mx2.rbc.com with ESMTP; 02 Mar 2006 15:49:42 -0500 X-IronPort-AV: i="4.02,160,1139202000"; d="scan'208"; a="115621769:sNHT859168206" Received: from sew01001.maple.fg.rbc.com ([10.101.133.157]) by sew01016.maple.fg.rbc.com with Microsoft SMTPSVC(5.0.2195.6920); Thu, 2 Mar 2006 15:49:28 -0500 Received: from sew39033.oak.fg.rbc.com ([159.55.153.13]) by sew01001.maple.fg.rbc.com with Microsoft SMTPSVC(5.0.2195.6920); Thu, 2 Mar 2006 15:49:28 -0500 Content-class: urn:content-classes:message MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Subject: conserver.cf: raw vs telnet Date: Thu, 2 Mar 2006 15:49:27 -0500 Message-ID: <6D21431E4ED1C8438D8317AEC0F8CA5A13D46E@sew39033.oak.fg.rbc.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: conserver.cf: raw vs telnet Thread-Index: AcY+OswR87hQdqroTjW//7ock8dA8w== From: "Scola, Thomas" To: X-OriginalArrivalTime: 02 Mar 2006 20:49:28.0386 (UTC) FILETIME=[CC562220:01C63E3A] Content-Type: text/plain; charset="iso-8859-1" X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by underdog.stansell.org id k22KngXD028459 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2006 20:49:51 -0000 In conserver.cf, if you say: console myhost { type host; host mycisco; port 2001; } # 1 It will connect using the telnet protocol (by default), as will (explicitly) console myhost { type host; host mycisco; port 2001; protocol telnet; } # 2 However, if you say: default mycisco { type host; host mycisco; } # 3 console myhost { include mycisco; port 2001; } It will connect using a raw protocol. If you say: default mycisco { type host; host mycisco; protocol telnet; } # 4 console myhost { include mycisco; port 2001; } It will *still* connect using a raw protocol, even though you explicitly specify telnet. If you say: default mycisco { type host; host mycisco; } # 5 console myhost { include mycisco; port 2001; protocol telnet; } You will get a parse error. The instance marked # 4 is a bug, and arguably, the instances marked # 3 and # 5 are too. _______________________________________________________________________ This E-Mail (including any attachments) may contain privileged or confidential information. It is intended only for the addressee(s) indicated above. The sender does not waive any of its rights, privileges or other protections respecting this information. Any distribution, copying or other use of this E-Mail or the information it contains, by other than an intended recipient, is not sanctioned and is prohibited. If you received this E-Mail in error, please delete it and advise the sender (by return E-Mail or otherwise) immediately. This E-Mail (including any attachments) has been scanned for viruses. It is believed to be free of any virus or other defect that might affect any computer system into which it is received and opened. However, it is the responsibility of the recipient to ensure that it is virus free. The sender accepts no responsibility for any loss or damage arising in any way from its use. E-Mail received by or sent from RBC Capital Markets is subject to review by Supervisory personnel. Such communications are retained and may be produced to regulatory authorities or others with legal rights to the information. From bryan@stansell.org Thu Mar 2 16:23:20 2006 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k230NJja029628 for ; Thu, 2 Mar 2006 16:23:19 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.13.5/8.13.5/Submit) id k230NJaP029627 for users@conserver.com; Thu, 2 Mar 2006 16:23:19 -0800 (PST) Date: Thu, 2 Mar 2006 16:23:19 -0800 From: Bryan Stansell To: users@conserver.com Subject: Re: conserver.cf: raw vs telnet Message-ID: <20060303002319.GA27151@underdog.stansell.org> References: <6D21431E4ED1C8438D8317AEC0F8CA5A13D46E@sew39033.oak.fg.rbc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6D21431E4ED1C8438D8317AEC0F8CA5A13D46E@sew39033.oak.fg.rbc.com> User-Agent: Mutt/1.4.2.1i X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Mar 2006 00:23:20 -0000 your issues with raw vs telnet are certainly bugs. what version of conserver are you using? is it pre-8.1.6? 'cause there was a bug fix in 8.1.6 about this exact thing (the 'protocol' option). using your test cases, i couldn't get the latest release to show any issues, so i've got to assume you're running an old version. if not, please let me know. Bryan From bryan@stansell.org Thu Mar 2 16:28:05 2006 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k230S5Ho029700 for ; Thu, 2 Mar 2006 16:28:05 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.13.5/8.13.5/Submit) id k230S5oA029699 for users@conserver.com; Thu, 2 Mar 2006 16:28:05 -0800 (PST) Date: Thu, 2 Mar 2006 16:28:05 -0800 From: Bryan Stansell To: users@conserver.com Subject: Re: Newbie: minimum configuration for getting startet Message-ID: <20060303002805.GB27151@underdog.stansell.org> References: <620E002D9D2CAB4C9B87183E957D69070850FA36@VESTMB203B.tdk.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <620E002D9D2CAB4C9B87183E957D69070850FA36@VESTMB203B.tdk.dk> User-Agent: Mutt/1.4.2.1i X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Mar 2006 00:28:06 -0000 On Thu, Mar 02, 2006 at 01:31:39PM +0100, Simon Jespersen wrote: > i can reach the console by telnet mr7343 2008 > Can anyone help me with a minimum configuration conserver.cf to get this > console to work. hi simon, i'd suggest starting with the conserver.cf/samples/basic.cf file from the distribution. you should be able to just change the hostname in the sample file to mr7343 and use only one of the 'console' lines, setting the port value to 8. if you're not connecting over the loopback interface (127.0.0.1), you should adjust the access list. aside from that, take a look at the other options that are being set and see if they make sense for you. hopefully that'll get ya going pretty easily. Bryan From Thomas.Scola@rbccm.com Fri Mar 3 07:03:55 2006 Received: from mx1.rbc.com (mx1.rbc.com [142.245.29.138]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k23F3kI4011329 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK); Fri, 3 Mar 2006 07:03:52 -0800 (PST) Received: from unknown (HELO sew01016.maple.fg.rbc.com) ([10.101.136.28]) by mx1.rbc.com with ESMTP; 03 Mar 2006 10:03:47 -0500 X-IronPort-AV: i="4.02,163,1139202000"; d="scan'208"; a="115779172:sNHT24703396" Received: from sew01001.maple.fg.rbc.com ([10.101.133.157]) by sew01016.maple.fg.rbc.com with Microsoft SMTPSVC(5.0.2195.6920); Fri, 3 Mar 2006 10:03:45 -0500 Received: from sew39033.oak.fg.rbc.com ([159.55.153.13]) by sew01001.maple.fg.rbc.com with Microsoft SMTPSVC(5.0.2195.6920); Fri, 3 Mar 2006 10:03:45 -0500 Content-class: urn:content-classes:message MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Subject: RE: conserver.cf: raw vs telnet Date: Fri, 3 Mar 2006 10:03:44 -0500 Message-ID: <6D21431E4ED1C8438D8317AEC0F8CA5A13D46F@sew39033.oak.fg.rbc.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: conserver.cf: raw vs telnet Thread-Index: AcY+WRtv3k0xx0g5TG+DVf2hKse3OAAeZ4Og From: "Scola, Thomas" To: "Bryan Stansell" , X-OriginalArrivalTime: 03 Mar 2006 15:03:45.0420 (UTC) FILETIME=[AAFA74C0:01C63ED3] Content-Type: text/plain; charset="iso-8859-1" X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by underdog.stansell.org id k23F3kI4011329 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Mar 2006 15:03:56 -0000 > what version of conserver are you using? is it pre-8.1.6? Latest version, 8.1.13. > 'cause there was a bug fix > in 8.1.6 about this exact thing (the 'protocol' option). using your > test cases, i couldn't get the latest release to show any issues, so > i've got to assume you're running an old version. if not, please let me > know. There's definitely an issue in the latest version. I wasn't able to send any breaks until I rewrote the .cf file. I'll double-check my test cases to make sure that I can reliably reproduce the bug. _______________________________________________________________________ This E-Mail (including any attachments) may contain privileged or confidential information. It is intended only for the addressee(s) indicated above. The sender does not waive any of its rights, privileges or other protections respecting this information. Any distribution, copying or other use of this E-Mail or the information it contains, by other than an intended recipient, is not sanctioned and is prohibited. If you received this E-Mail in error, please delete it and advise the sender (by return E-Mail or otherwise) immediately. This E-Mail (including any attachments) has been scanned for viruses. It is believed to be free of any virus or other defect that might affect any computer system into which it is received and opened. However, it is the responsibility of the recipient to ensure that it is virus free. The sender accepts no responsibility for any loss or damage arising in any way from its use. E-Mail received by or sent from RBC Capital Markets is subject to review by Supervisory personnel. Such communications are retained and may be produced to regulatory authorities or others with legal rights to the information. From Thomas.Scola@rbccm.com Fri Mar 3 07:47:16 2006 Received: from mx2.rbc.com (mx2.rbc.com [142.245.29.139]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k23Fl8Uh011860 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK); Fri, 3 Mar 2006 07:47:14 -0800 (PST) Received: from unknown (HELO sew01015.maple.fg.rbc.com) ([10.101.136.27]) by mx2.rbc.com with ESMTP; 03 Mar 2006 10:47:08 -0500 X-IronPort-AV: i="4.02,163,1139202000"; d="scan'208"; a="115908324:sNHT223065596" Received: from sew39033.oak.fg.rbc.com ([159.55.153.13]) by sew01015.maple.fg.rbc.com with Microsoft SMTPSVC(5.0.2195.6920); Fri, 3 Mar 2006 10:47:07 -0500 Content-class: urn:content-classes:message MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Subject: RE: conserver.cf: raw vs telnet Date: Fri, 3 Mar 2006 10:46:59 -0500 Message-ID: <6D21431E4ED1C8438D8317AEC0F8CA5A13D470@sew39033.oak.fg.rbc.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: conserver.cf: raw vs telnet Thread-Index: AcY+WRtv3k0xx0g5TG+DVf2hKse3OAAf2aKQ From: "Scola, Thomas" To: "Bryan Stansell" , X-OriginalArrivalTime: 03 Mar 2006 15:47:07.0332 (UTC) FILETIME=[B9D6B840:01C63ED9] Content-Type: text/plain; charset="iso-8859-1" X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by underdog.stansell.org id k23Fl8Uh011860 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Mar 2006 15:47:18 -0000 Ah-hah, I've found the problem with my previous test cases. Instead of default mycisco { type host; host mycisco; } console myhost { include mycisco; port 2001; } what I actually in my .cf file was: default mycisco { type host; host mycisco; portbase 2000; portinc 1; } console myhost { include mycisco; port 2001; } I didn't understand what the "portbase" option meant; I thought it was spurious. It turns out that if you connect to a Cisco on port 2XXX, the Cisco will use the telnet protocol, if you connect on port 4XXX, it will use raw. So it was the Cisco that was forcing raw mode, not conserver. I apologize for the confusion. _______________________________________________________________________ This E-Mail (including any attachments) may contain privileged or confidential information. It is intended only for the addressee(s) indicated above. The sender does not waive any of its rights, privileges or other protections respecting this information. Any distribution, copying or other use of this E-Mail or the information it contains, by other than an intended recipient, is not sanctioned and is prohibited. If you received this E-Mail in error, please delete it and advise the sender (by return E-Mail or otherwise) immediately. This E-Mail (including any attachments) has been scanned for viruses. It is believed to be free of any virus or other defect that might affect any computer system into which it is received and opened. However, it is the responsibility of the recipient to ensure that it is virus free. The sender accepts no responsibility for any loss or damage arising in any way from its use. E-Mail received by or sent from RBC Capital Markets is subject to review by Supervisory personnel. Such communications are retained and may be produced to regulatory authorities or others with legal rights to the information. From dj@gregor.com Sat Mar 4 01:03:40 2006 Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k2493Wuf022373 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sat, 4 Mar 2006 01:03:37 -0800 (PST) Received: (qmail 7758 invoked from network); 4 Mar 2006 09:03:29 -0000 Received: from d149-67-147-152.col.wideopenwest.com (HELO [172.16.1.3]) (dgregor@[67.149.152.147]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with RC4-SHA encrypted SMTP for ; 4 Mar 2006 09:03:28 -0000 Mime-Version: 1.0 (Apple Message framework v746.2) To: users@conserver.com Message-Id: <4ADF2953-DFA5-472D-95BA-FC9E47268692@gregor.com> Content-Type: multipart/mixed; boundary=Apple-Mail-11--52950304 From: DJ Gregor Subject: Patch to support local UNIX domain sockets Date: Sat, 4 Mar 2006 04:03:26 -0500 X-Mailer: Apple Mail (2.746.2) X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Mar 2006 09:03:41 -0000 --Apple-Mail-11--52950304 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed I've been using VMWare more and more lately, including the newly free VMWare Server, and I have been longing for well-managed serial consoles on my virtual machines. A few weekends ago I hacked support into conserver for UNIX domain sockets based on the existing TCP socket code. The code could still deserve a good once-over, but I figured that I'd put it out there in case others might be interested in playing with it now. I currently have four VMWare Server serial consoles under control of conserver, and they've been running happily for two weeks or so. The patch is attached. Below are some examples of how I use it in my conserver.cf: ------------------------------------ console openbsd-firewall { type localsocket; file /usr/local/share/conserver/openbsd-firewall; } console openbsd-client { type localsocket; file /usr/local/share/conserver/openbsd-client; } ------------------------------------ Pretty simple. : -) For use with conserver and this patch, the settings in VMWare for the serial port should be: - "Use named pipe" is checked - The text field right after "Use named pipe" is the file, and this should match the "file" setting for the console in conserver. - Chose "This end is the server" - Chose "The other end is an application" There are a few places marked in the code with XXXLOCALSOCKET that I need to look over closely where I think I may have missed something or only implemented something partially. I should also check to see if the user specifies a file that is longer than the length of sockaddr_un.sun_path - 1 and complain appropriately. I'm also not sure if I (fully?) implemented socket file substitution patterns.... Comments gladly accepted. Have a good one, - djg --Apple-Mail-11--52950304 Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-unix-mode=0644; name="localsocket.patch" Content-Disposition: attachment; filename=localsocket.patch diff -ur orig/conserver-8.1.13/compat.h conserver-8.1.13/compat.h --- orig/conserver-8.1.13/compat.h 2004-04-13 15:42:17.000000000 -0400 +++ conserver-8.1.13/compat.h 2006-02-19 03:39:24.000000000 -0500 @@ -8,9 +8,7 @@ #include #include #include -#if USE_UNIX_DOMAIN_SOCKETS #include -#endif #include #include #include diff -ur orig/conserver-8.1.13/configure conserver-8.1.13/configure --- orig/conserver-8.1.13/configure 2005-06-08 02:48:21.000000000 -0400 +++ conserver-8.1.13/configure 2006-03-04 03:44:34.000000000 -0500 @@ -3770,7 +3770,7 @@ -for ac_header in unistd.h getopt.h sys/vlimit.h sys/resource.h ttyent.h sys/ttold.h sys/uio.h sys/ioctl_compat.h usersec.h sys/select.h stropts.h sys/audit.h shadow.h sys/time.h crypt.h sysexits.h types.h sys/sockio.h sys/param.h +for ac_header in unistd.h getopt.h sys/vlimit.h sys/resource.h ttyent.h sys/ttold.h sys/uio.h sys/ioctl_compat.h usersec.h sys/select.h stropts.h sys/audit.h shadow.h sys/time.h crypt.h sysexits.h types.h sys/sockio.h sys/param.h sys/un.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then diff -ur orig/conserver-8.1.13/configure.in conserver-8.1.13/configure.in --- orig/conserver-8.1.13/configure.in 2005-06-08 02:25:25.000000000 -0400 +++ conserver-8.1.13/configure.in 2006-03-04 03:44:52.000000000 -0500 @@ -326,7 +326,7 @@ AC_MSG_ERROR([POSIX termios interface required]) fi -AC_CHECK_HEADERS(unistd.h getopt.h sys/vlimit.h sys/resource.h ttyent.h sys/ttold.h sys/uio.h sys/ioctl_compat.h usersec.h sys/select.h stropts.h sys/audit.h shadow.h sys/time.h crypt.h sysexits.h types.h sys/sockio.h sys/param.h) +AC_CHECK_HEADERS(unistd.h getopt.h sys/vlimit.h sys/resource.h ttyent.h sys/ttold.h sys/uio.h sys/ioctl_compat.h usersec.h sys/select.h stropts.h sys/audit.h shadow.h sys/time.h crypt.h sysexits.h types.h sys/sockio.h sys/param.h sys/un.h) dnl sys/proc.h needs sys/param.h on openbsd, apparently AC_CHECK_HEADERS(sys/proc.h, [], [], [#if HAVE_SYS_PARAM_H diff -ur orig/conserver-8.1.13/conserver/consent.c conserver-8.1.13/conserver/consent.c --- orig/conserver-8.1.13/conserver/consent.c 2005-09-05 18:32:07.000000000 -0400 +++ conserver-8.1.13/conserver/consent.c 2006-03-04 03:45:06.000000000 -0500 @@ -887,6 +887,66 @@ } pCE->fup = 1; break; + case LOCALSOCKET: + { + struct sockaddr_un port; + struct hostent *hp; + +#if HAVE_MEMSET + memset((void *)&port, 0, sizeof(port)); +#else + bzero((char *)&port, sizeof(port)); +#endif + + strncpy(port.sun_path, pCE->file, sizeof(port.sun_path) - 1); + port.sun_path[sizeof(port.sun_path) - 1] = '\0'; + port.sun_family = AF_UNIX; + + if ((cofile = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) { + Error + ("[%s] socket(AF_UNIX,SOCK_STREAM): %s: forcing down", + pCE->server, strerror(errno)); + ConsDown(pCE, FLAGTRUE, FLAGTRUE); + return; + } + + if (!SetFlags(cofile, O_NONBLOCK, 0)) { + ConsDown(pCE, FLAGTRUE, FLAGTRUE); + return; + } + + if ((ret = + connect(cofile, (struct sockaddr *)&port, + sizeof(port))) + < 0) { + if (errno != EINPROGRESS) { + Error("[%s] connect(%u): %s: forcing down", + pCE->server, cofile, strerror(errno)); + ConsDown(pCE, FLAGTRUE, FLAGTRUE); + return; + } + } + } + if ((pCE->cofile = + FileOpenFD(cofile, simpleSocket)) == (CONSFILE *)0) { + Error + ("[%s] FileOpenFD(%d,simpleSocket) failed: forcing down", + pCE->server, cofile); + ConsDown(pCE, FLAGTRUE, FLAGTRUE); + return; + } + if (ret == 0) { + pCE->ioState = ISNORMAL; + pCE->stateTimer = 0; + } else { + pCE->ioState = INCONNECT; + pCE->stateTimer = time((time_t *)0) + CONNECTTIMEOUT; + if (timers[T_STATE] == (time_t)0 || + timers[T_STATE] > pCE->stateTimer) + timers[T_STATE] = pCE->stateTimer; + } + pCE->fup = 1; + break; case DEVICE: if (-1 == (cofile = open(pCE->device, O_RDWR | O_NONBLOCK, 0600))) { @@ -925,6 +985,9 @@ Verbose("[%s] port %hu on %s", pCE->server, pCE->netport, pCE->host); break; + case LOCALSOCKET: + Verbose("[%s] file %s", pCE->server, pCE->host); + break; case DEVICE: Verbose("[%s] at %s%c on %s", pCE->server, pCE->baud->acrate, pCE->parity->key[0], pCE->device); diff -ur orig/conserver-8.1.13/conserver/consent.h conserver-8.1.13/conserver/consent.h --- orig/conserver-8.1.13/conserver/consent.h 2005-06-10 22:30:30.000000000 -0400 +++ conserver-8.1.13/conserver/consent.h 2006-02-19 02:16:05.000000000 -0500 @@ -55,7 +55,8 @@ UNKNOWNTYPE = 0, DEVICE, EXEC, - HOST + HOST, + LOCALSOCKET } CONSTYPE; typedef struct names { @@ -102,6 +103,9 @@ char *execsubst; /* exec substitution pattern */ uid_t execuid; /* user to run exec as */ gid_t execgid; /* group to run exec as */ + /* type == LOCALSOCKET */ + char *file; /* socket file */ + char *filesubst; /* socket file substitution pattern */ /* global stuff */ char *master; /* master hostname */ unsigned short breakNum; /* break type [1-9] */ diff -ur orig/conserver-8.1.13/conserver/group.c conserver-8.1.13/conserver/group.c --- orig/conserver-8.1.13/conserver/group.c 2005-11-28 21:28:31.000000000 -0500 +++ conserver-8.1.13/conserver/group.c 2006-02-19 02:23:17.000000000 -0500 @@ -1679,6 +1679,7 @@ * quote == 2, telnet - processed by telnet protocol * if console != telnet, 1 == 2 */ + /* XXXLOCALSOCKET: do we need to match anything here? */ if (quote == 1 && pCEServing->type == HOST && pCEServing->raw != FLAGTRUE && c == IAC) { BuildStringChar((char)c, pCEServing->wbuf); @@ -2085,6 +2086,12 @@ b = "Netwk"; p = ' '; break; + case LOCALSOCKET: + BuildTmpString((char *)0); + d = BuildTmpStringPrint("%s", pCE->file); + b = "LSock"; + p = ' '; + break; case UNKNOWNTYPE: /* shut up gcc */ break; } @@ -2268,6 +2275,10 @@ pCE->host, pCE->netport, (pCE->raw == FLAGTRUE ? "raw" : "telnet")); break; + case LOCALSOCKET: + FilePrint(pCLServing->fd, FLAGTRUE, "!:%s", + pCE->file); + break; case DEVICE: FilePrint(pCLServing->fd, FLAGTRUE, "/:%s,%s%c", pCE->device, @@ -2530,6 +2541,7 @@ pCEServing->lastWrite + pCEServing->idletimeout; } + /* XXXLOCALSOCKET do we need to do anything here? */ if (pCEServing->type == HOST && pCEServing->raw != FLAGTRUE) { /* Do a little Telnet Protocol interpretation * state = 0: normal diff -ur orig/conserver-8.1.13/conserver/main.c conserver-8.1.13/conserver/main.c --- orig/conserver-8.1.13/conserver/main.c 2005-09-05 18:32:09.000000000 -0400 +++ conserver-8.1.13/conserver/main.c 2006-02-19 02:32:51.000000000 -0500 @@ -913,6 +913,14 @@ EMPTYSTR(pCE->host), FLAGSTR(pCE->raw), pCE->netport, pCE->port, pCE->telnetState)); break; + case LOCALSOCKET: + CONDDEBUG((1, + "DumpDataStructures(): server=%s, type=LOCALSOCKET", + EMPTYSTR(pCE->server))); + CONDDEBUG((1, + "DumpDataStructures(): file=%s", + EMPTYSTR(pCE->file))); + break; case UNKNOWNTYPE: CONDDEBUG((1, "DumpDataStructures(): server=%s, type=UNKNOWNTYPE", diff -ur orig/conserver-8.1.13/conserver/readcfg.c conserver-8.1.13/conserver/readcfg.c --- orig/conserver-8.1.13/conserver/readcfg.c 2005-09-05 18:32:10.000000000 -0400 +++ conserver-8.1.13/conserver/readcfg.c 2006-02-19 02:40:58.000000000 -0500 @@ -567,6 +567,8 @@ free(c->server); if (c->host != (char *)0) free(c->host); + if (c->file != (char *)0) + free(c->file); if (c->master != (char *)0) free(c->master); if (c->exec != (char *)0) @@ -699,6 +701,12 @@ if ((c->host = StrDup(d->host)) == (char *)0) OutOfMem(); } + if (d->file != (char *)0) { + if (c->file != (char *)0) + free(c->file); + if ((c->file = StrDup(d->file)) == (char *)0) + OutOfMem(); + } if (d->master != (char *)0) { if (c->master != (char *)0) free(c->master); @@ -1245,6 +1253,26 @@ void #if PROTOTYPES +ProcessFile(CONSENT *c, char *id) +#else +ProcessFile(c, id) + CONSENT *c; + char *id; +#endif +{ + if (c->file != (char *)0) { + free(c->file); + c->file = (char *)0; + } + if ((id == (char *)0) || (*id == '\000')) + return; + if ((c->file = StrDup(id)) + == (char *)0) + OutOfMem(); +} + +void +#if PROTOTYPES DefaultItemHost(char *id) #else DefaultItemHost(id) @@ -2164,6 +2192,8 @@ t = EXEC; else if (strcasecmp("host", id) == 0) t = HOST; + else if (strcasecmp("localsocket", id) == 0) + t = LOCALSOCKET; if (t == UNKNOWNTYPE) { if (isMaster) Error("invalid console type `%s' [%s:%d]", id, file, line); @@ -2319,6 +2349,14 @@ invalid = 1; } break; + case LOCALSOCKET: + if (parserConsoleTemp->file == (char *)0) { + if (isMaster) + Error("[%s] console missing 'file' attribute [%s:%d]", + parserConsoleTemp->server, file, line); + invalid = 1; + } + break; case UNKNOWNTYPE: if (isMaster) Error("[%s] console type unknown [%s:%d]", @@ -2820,6 +2858,17 @@ pCEmatch->netport = c->netport; closeMatch = 0; } + case LOCALSOCKET: + if (pCEmatch->file != (char *)0 && c->file != (char *)0) { + if (strcasecmp(pCEmatch->file, c->file) != 0) { + SwapStr(&pCEmatch->file, &c->file); + closeMatch = 0; + } + } else if (pCEmatch->file != (char *)0 || + c->file != (char *)0) { + SwapStr(&pCEmatch->file, &c->file); + closeMatch = 0; + } break; case UNKNOWNTYPE: break; @@ -3077,6 +3126,10 @@ BuildString(BuildTmpStringPrint ("!:%s,%hu", c->host, c->netport), s); break; + case LOCALSOCKET: + BuildString(BuildTmpStringPrint + ("!:%s", c->file), s); + break; case DEVICE: BuildString(BuildTmpStringPrint ("/:%s,%s%c", c->device, @@ -3374,6 +3427,18 @@ void #if PROTOTYPES +ConsoleItemFile(char *id) +#else +ConsoleItemFile(id) + char *id; +#endif +{ + CONDDEBUG((1, "ConsoleItemFile(%s) [%s:%d]", id, file, line)); + ProcessFile(parserConsoleTemp, id); +} + +void +#if PROTOTYPES ConsoleItemInclude(char *id) #else ConsoleItemInclude(id) @@ -4633,6 +4698,7 @@ {"exec", ConsoleItemExec}, {"execrunas", ConsoleItemExecrunas}, {"execsubst", ConsoleItemExecsubst}, + {"file", ConsoleItemFile}, /* {"flow", ConsoleItemFlow}, */ {"host", ConsoleItemHost}, {"idlestring", ConsoleItemIdlestring}, --Apple-Mail-11--52950304-- From SIJES@tdc.dk Mon Mar 6 00:37:23 2006 Received: from smtpsrv20.tdc.dk (smtpsrv20.tdc.dk [192.66.25.157]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k268bDvn026041 for ; Mon, 6 Mar 2006 00:37:19 -0800 (PST) Received: from conbr320.tdk.dk ([10.106.95.33]) by smtpsrv20.tdc.dk with Microsoft SMTPSVC(5.0.2195.6982); Mon, 6 Mar 2006 10:03:45 +0100 Received: from conbr102.tdk.dk ([10.74.17.55]) by conbr320.tdk.dk with InterScan Messaging Security Suite; Mon, 06 Mar 2006 09:37:08 +0100 Received: from vestmb203b.tdk.dk ([10.106.115.220]) by conbr102.tdk.dk with Microsoft SMTPSVC(5.0.2195.6713); Mon, 6 Mar 2006 09:37:08 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C640F9.27B12816" Subject: newbie problem connecting to a solaris 10 serial using cisco terminal Date: Mon, 6 Mar 2006 09:37:08 +0100 Message-ID: <620E002D9D2CAB4C9B87183E957D6907085102CE@VESTMB203B.tdk.dk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: newbie problem connecting to a solaris 10 serial using cisco terminal Thread-Index: AcZA+ScTOri8L6H/Qcu9lpKya/G3zg== From: "Simon Jespersen" To: X-OriginalArrivalTime: 06 Mar 2006 08:37:08.0416 (UTC) FILETIME=[27B9CC00:01C640F9] X-Spam-Score: -3.517 () BAYES_00, HTML_40_50, HTML_FONTCOLOR_BLUE, HTML_MESSAGE, MAILTO_TO_SPAM_ADDR X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2006 08:37:24 -0000 This is a multi-part message in MIME format... ------_=_NextPart_001_01C640F9.27B12816 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi!=20 Im in a process of testing conserver. When i try to connect to console omunix-test (solaris 10) i seems to be han= ging it worked the first time i tried but when i shoud exit the terminal i did t= ype some strange symbols, until i find out how to exit , ctrl +Ec . after = that it is not possible to connect to that console. [m01348@omlinux ~]$ console -a omunix-test Enter m01348@omlinux's password: [Enter `^Ec?' for help] my cf file looks like this.=20 [root@omlinux etc]# cat conserver.cf # # Sample conserver.cf file, to give you ideas of what you can do with # the various configuration items. # ### set up global access default full { rw *; } ### define some terminal server specifics # we set portbase and portinc so we can reference the ports in a # physical representation and let conserver do the math to figure # out the actual socket address default cisco { type host; portbase 2000; portinc 1; } default xyplex { type host; portbase 2000; portinc 100; } default iolan { type host; portbase 10000; portinc 1; } ### set up some custom break sequences break 4 { string "+\d+\d+"; delay 300; } break 5 { string "\033c"; } ### set the defaults for all the consoles # these get applied before anything else default * { # The '&' character is substituted with the console name logfile /var/consoles/&; # timestamps every hour with activity and break logging timestamp 1hab; # include the 'full' default include full; # master server is localhost master localhost; } ### define the first terminal server #default MR7343{ # use the xyplex defaults # include cisco; # host to connect to is MR7343 # host MR7343; # run login-xyplex when connecting to the term server #initcmd /usr/local/sbin/login-xyplex; #} # now define the consoles on MR7343 # bryan isn't allowed on web1.conserver.com #console web1.conserver.com { include ts1.conserver.com; port 2; rw !bryan;= } ### define the second terminal server # this one is a cisco, with simple socket connections default MR7343 { include cisco; host MR7343; } # and the consoles on ts2.conserver.com console omunix-test { include MR7343; port 8; } ### and now some one-off consoles # we still inherit the '*' default set # a simple ssh invocation console ssh { type exec; exec ssh omunix-test; # provide a 'message-of-the-day' motd "just a simple ssh to localhost"; } # connect to /dev/ttya #console ttya { # type device; # device /dev/ttya; parity none; baud 9600; # idlestring "#"; # idletimeout 5m; # send a '#' every 5 minutes of idle # timestamp ""; # no timestamps on this console #} ### define a group of users group sysadmin { users m01348; } ### reset the defaults for the next set of consoles # again, these get applied before anything else default * { # The '&' character is substituted with the console name logfile /var/consoles/&; timestamp 5m; rw sysadmin; # use the group defined above master localhost; } #default cyclades { # sets up /dev/ttyC0 through /dev/ttyC31, for a 32 port card # referenced as ports 1 through 32 #type device; #device /dev/ttyC.; #devicesubst .=3DPd; #portbase -1; #portinc 1; #host none; # not really used, since devicesubst doesn't use it #baud 9600; #parity none; #} #console modem1.conserver.com { include cyclades; port 2; break 4; } # todd isn't allowed on modem2.conserver.com #console modem2.conserver.com { include cyclades; port 6; rw !todd; } ### list of clients we allow access * { allowed 10.0.0.0/8 192.168.0.0/16; allowed XP213909.tdk.dk; allowed cs1.conserver.com cs2.conserver.com cs3.conserver.com; trusted 127.0.0.1; } [root@omlinux etc]# Simon Jespersen System Manager Tel. (+ 45) 89 47 53 38 Fax (+ 45) 89 47 53 71 E-mail: sijes@tdc.dk ------------------------------ SCDCA / Command Center Aarhus TDC Services IT=20 Sletvej 30=20 DK-8310 Tranbjerg J ------_=_NextPart_001_01C640F9.27B12816 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline newbie problem connecting to a solaris 10 serial using cisco termina= l

Hi!
Im in a process of testing conserver.
When i try to connect to console omunix= -test (solaris 10) i seems to be hanging


it worked the first time i tried but whe= n i shoud exit the terminal i did type some strange symbols, until i find o= ut how to exit  , ctrl +Ec . after that it is not possible to conn= ect to that console.

[m01348@omlinux ~]$ console -a omunix-te= st
Enter m01348@omlinux's password:
[Enter `^Ec?' for help]




my cf file looks like this.



[root@omlinux etc]# cat conserver.cf
#
# Sample conserver.cf file, to give you= ideas of what you can do with
# the various configuration items.
#

### set up global access
default full    { rw *; = }

### define some terminal server specific= s
# we set portbase and portinc so we can= reference the ports in a
# physical representation and let conse= rver do the math to figure
# out the actual socket address
default cisco   { type host; = portbase 2000; portinc 1; }
default xyplex  { type host; portb= ase 2000; portinc 100; }
default iolan   { type host; = portbase 10000; portinc 1; }

### set up some custom break sequences
break 4 { string "+\d+\d&#= 43;"; delay 300; }
break 5 { string "\033c"; }

### set the defaults for all the console= s
# these get applied before anything els= e
default * {
      &nb= sp; # The '&' character is substituted with the console name
      &nb= sp; logfile /var/consoles/&;
      &nb= sp; # timestamps every hour with activity and break logging
      &nb= sp; timestamp 1hab;
      &nb= sp; # include the 'full' default
      &nb= sp; include full;
      &nb= sp; # master server is localhost
      &nb= sp; master localhost;
}

### define the first terminal server
#default MR7343{
      &nb= sp; # use the xyplex defaults
#       i= nclude cisco;
      &nb= sp; # host to connect to is MR7343
#       h= ost MR7343;
      &nb= sp; # run login-xyplex when connecting to the term server
      &nb= sp; #initcmd /usr/local/sbin/login-xyplex;
#}

# now define the consoles on MR7343
# bryan isn't allowed on web1.conserver= .com
#console web1.conserver.com { include t= s1.conserver.com; port 2; rw !bryan; }

### define the second terminal server
# this one is a cisco, with simple sock= et connections
default MR7343 { include cisco; host MR= 7343; }

# and the consoles on ts2.conserver.com<= /FONT>
console omunix-test { include MR7343= ; port 8; }

### and now some one-off consoles
# we still inherit the '*' default set<= /FONT>
# a simple ssh invocation
console ssh {
      &nb= sp; type exec;
      &nb= sp; exec ssh omunix-test;
      &nb= sp; # provide a 'message-of-the-day'
      &nb= sp; motd "just a simple ssh to localhost";
}

# connect to /dev/ttya
#console ttya {
#       t= ype device;
#       d= evice /dev/ttya; parity none; baud 9600;
#       i= dlestring "#";
#       i= dletimeout 5m;         # send a '#'= every 5 minutes of idle
#       t= imestamp "";         = ;  # no timestamps on this console
#}

### define a group of users
group sysadmin {

    users m01348;
}

### reset the defaults for the next set = of consoles
# again, these get applied before anyth= ing else
default * {
      &nb= sp; # The '&' character is substituted with the console name
      &nb= sp; logfile /var/consoles/&;
      &nb= sp; timestamp 5m;
      &nb= sp; rw sysadmin;  # use the group defined above
      &nb= sp; master localhost;
}

#default cyclades {
      &nb= sp; # sets up /dev/ttyC0 through /dev/ttyC31, for a 32 port card
      &nb= sp; # referenced as ports 1 through 32
      &nb= sp; #type device;
      &nb= sp; #device /dev/ttyC.;
      &nb= sp; #devicesubst .=3DPd;
      &nb= sp; #portbase -1;
      &nb= sp; #portinc 1;
      &nb= sp; #host none; # not really used, since devicesubst doesn't use it
      &nb= sp; #baud 9600;
      &nb= sp; #parity none;
#}

#console modem1.conserver.com { include = cyclades; port 2; break 4; }
# todd isn't allowed on modem2.conserve= r.com
#console modem2.conserver.com { include= cyclades; port 6; rw !todd; }

### list of clients we allow
access * {
      &nb= sp; allowed 10.0.0.0/8 192.168.0.0/16;
      &nb= sp; allowed XP213909.tdk.dk;
      &nb= sp; allowed cs1.conserver.com cs2.conserver.com cs3.conserver.com;
      &nb= sp; trusted 127.0.0.1;
}
[root@omlinux etc]#







Simon Jespersen
System M= anager
Tel. (+ 45)= =A0 89 47 53 38
Fax (+ 45)= =A0 89 47 53 71
E-mail: sijes@t= dc.dk
---------------= ---------------
SCDCA / Command= Center Aarhus
TDC Services IT=
Sletvej = 30
DK-8310 = Tranbjerg J


------_=_NextPart_001_01C640F9.27B12816-- From bryan@stansell.org Mon Mar 6 07:53:48 2006 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k26Frmbb000860 for ; Mon, 6 Mar 2006 07:53:48 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.13.5/8.13.5/Submit) id k26Frmqm000859 for users@conserver.com; Mon, 6 Mar 2006 07:53:48 -0800 (PST) Date: Mon, 6 Mar 2006 07:53:48 -0800 From: Bryan Stansell To: users@conserver.com Subject: Re: newbie problem connecting to a solaris 10 serial using cisco terminal Message-ID: <20060306155348.GB15272@underdog.stansell.org> References: <620E002D9D2CAB4C9B87183E957D6907085102CE@VESTMB203B.tdk.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <620E002D9D2CAB4C9B87183E957D6907085102CE@VESTMB203B.tdk.dk> User-Agent: Mutt/1.4.2.1i X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2006 15:53:49 -0000 On Mon, Mar 06, 2006 at 09:37:08AM +0100, Simon Jespersen wrote: > it worked the first time i tried but when i shoud exit the terminal i > did type some strange symbols, until i find out how to exit , ctrl > +Ec . after that it is not possible to connect to that console. it sounds like the conserver parts are correct. you might have just gotten the port "stuck" on the cisco. if you have software flow control on and happened to hit ctrl-s, you could try typing ctrl-q to get it going again. another option is to tell conserver to disconnect from that port (which lets the cisco semi-reset the port, hopefully) and then reconnect...use '^Ecd' and then '^Eco'. if things are still are hung, then something on the host is probably confused and you may want to log into the box via a different method (ssh?), look for processes attached to the console, and start killing them off (to hopefully reset things). Bryan From SIJES@tdc.dk Tue Mar 7 04:57:55 2006 Received: from smtpsrv20.tdc.dk (smtpsrv20.tdc.dk [192.66.25.157]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k27CvlV8020177; Tue, 7 Mar 2006 04:57:52 -0800 (PST) Received: from conbr320.tdk.dk ([10.106.95.33]) by smtpsrv20.tdc.dk with Microsoft SMTPSVC(5.0.2195.6982); Tue, 7 Mar 2006 14:24:25 +0100 Received: from conbr101.tdk.dk ([10.106.101.59]) by conbr320.tdk.dk with InterScan Messaging Security Suite; Tue, 07 Mar 2006 13:57:46 +0100 Received: from vestmb203b.tdk.dk ([10.106.115.220]) by conbr101.tdk.dk with Microsoft SMTPSVC(5.0.2195.6713); Tue, 7 Mar 2006 13:57:46 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: SV: newbie problem connecting to a solaris 10 serial using ciscoterminal Date: Tue, 7 Mar 2006 13:57:46 +0100 Message-ID: <620E002D9D2CAB4C9B87183E957D69070855D39D@VESTMB203B.tdk.dk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: newbie problem connecting to a solaris 10 serial using ciscoterminal Thread-Index: AcZBNzmJ+CGFd2VeQPeI6UfjGED7GgArvVUQ From: "Simon Jespersen" To: "Bryan Stansell" , X-OriginalArrivalTime: 07 Mar 2006 12:57:46.0185 (UTC) FILETIME=[BAF9BB90:01C641E6] X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by underdog.stansell.org id k27CvlV8020177 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2006 12:57:56 -0000 Hi Brian! i did solve the problem by rebooting the omunix-test server which is my test console. Then i tried to reproduce the problem by type ctrl s, and it did behave exactly the way it did before the reboot, so i typed ctrl q and the console worked again, so thank you very much for your reply, im quite shure that the problem occured becaused i tried to exit the console without using the Ec. and in some way managed to type ctrl s witout knowing what it ment. best regards Simon -----Oprindelig meddelelse----- Fra: users-bounces@conserver.com [mailto:users-bounces@conserver.com] På vegne af Bryan Stansell Sendt: 6. marts 2006 16:54 Til: users@conserver.com Emne: Re: newbie problem connecting to a solaris 10 serial using ciscoterminal On Mon, Mar 06, 2006 at 09:37:08AM +0100, Simon Jespersen wrote: > it worked the first time i tried but when i shoud exit the terminal i > did type some strange symbols, until i find out how to exit , ctrl > +Ec . after that it is not possible to connect to that console. it sounds like the conserver parts are correct. you might have just gotten the port "stuck" on the cisco. if you have software flow control on and happened to hit ctrl-s, you could try typing ctrl-q to get it going again. another option is to tell conserver to disconnect from that port (which lets the cisco semi-reset the port, hopefully) and then reconnect...use '^Ecd' and then '^Eco'. if things are still are hung, then something on the host is probably confused and you may want to log into the box via a different method (ssh?), look for processes attached to the console, and start killing them off (to hopefully reset things). Bryan _______________________________________________ users mailing list users@conserver.com https://www.conserver.com/mailman/listinfo/users From bmath@xsigo.com Tue Mar 7 11:39:12 2006 Received: from red.xsigo.com ([216.184.48.12]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k27Jd5K1025500 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 7 Mar 2006 11:39:11 -0800 (PST) Received: from red.xsigo.com (localhost [127.0.0.1]) by red.xsigo.com (8.13.1/8.13.1) with ESMTP id k27JbJCj007699 for ; Tue, 7 Mar 2006 11:37:19 -0800 Message-Id: <200603071937.k27JbJCj007699@red.xsigo.com> To: users@conserver.com Subject: Multiple rw sessions? X-Mailer: MH-E 7.4.80+cvs; nmh 1.1-RC4; GNU Emacs 21.3.1 Date: Tue, 07 Mar 2006 11:37:19 -0800 From: Brian Matheson X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2006 19:39:13 -0000 Hi all, Is there a way to make conserver allow multiple read/write sessions to a single console? I'm looking to use conserver to duplicate the functionality of Cyclades ACS systems and this is sort of the last feature I need to make it a drop-in replacement. Thanks much, Brian BTW, the Raritan ads were hysterical. From bryan@stansell.org Tue Mar 7 11:47:32 2006 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k27JlWb7025617 for ; Tue, 7 Mar 2006 11:47:32 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.13.5/8.13.5/Submit) id k27JlWne025616 for users@conserver.com; Tue, 7 Mar 2006 11:47:32 -0800 (PST) Date: Tue, 7 Mar 2006 11:47:32 -0800 From: Bryan Stansell To: users@conserver.com Subject: Re: Multiple rw sessions? Message-ID: <20060307194732.GG15272@underdog.stansell.org> References: <200603071937.k27JbJCj007699@red.xsigo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200603071937.k27JbJCj007699@red.xsigo.com> User-Agent: Mutt/1.4.2.1i X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2006 19:47:33 -0000 nope...that's one design decision of conserver that i really like...only one person typing at any one point. you can use the ^Ecf option to steal the console away at any time (so that your typing hits the console), but not at the same time. is there some reason you want multiple writers at once? or is it just a habit that you might be able to change? if you really want multiple writers, you can always patch the code...there's probably only one or two places something would need to be commented out/adjusted. Bryan On Tue, Mar 07, 2006 at 11:37:19AM -0800, Brian Matheson wrote: > > Hi all, > > Is there a way to make conserver allow multiple read/write sessions to a > single console? I'm looking to use conserver to duplicate the > functionality of Cyclades ACS systems and this is sort of the last > feature I need to make it a drop-in replacement. > > Thanks much, > Brian > > BTW, the Raritan ads were hysterical. > _______________________________________________ > users mailing list > users@conserver.com > https://www.conserver.com/mailman/listinfo/users From bryan@stansell.org Tue Mar 7 12:06:21 2006 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k27K6Lu0025775 for ; Tue, 7 Mar 2006 12:06:21 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.13.5/8.13.5/Submit) id k27K6LKs025774 for users@conserver.com; Tue, 7 Mar 2006 12:06:21 -0800 (PST) Date: Tue, 7 Mar 2006 12:06:21 -0800 From: Bryan Stansell To: users@conserver.com Subject: Re: Multiple rw sessions? Message-ID: <20060307200621.GH15272@underdog.stansell.org> References: <200603071937.k27JbJCj007699@red.xsigo.com> <20060307194732.GG15272@underdog.stansell.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060307194732.GG15272@underdog.stansell.org> User-Agent: Mutt/1.4.2.1i X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2006 20:06:22 -0000 i should also say...i can't guarantee all the code will work with multiple writers. there are some features (like ^Ec|) that would probably break badly...and possibly others. there was an inherent assumption that only one writer exists at a time and the code does it's best to both enforce and take advantage of that fact. it would require a full review to really see if those assumptions are there, but my instinct says things probably wouldn't work - and in bizarre ways. Bryan On Tue, Mar 07, 2006 at 11:47:32AM -0800, Bryan Stansell wrote: > nope...that's one design decision of conserver that i really like...only > one person typing at any one point. you can use the ^Ecf option to > steal the console away at any time (so that your typing hits the > console), but not at the same time. is there some reason you want > multiple writers at once? or is it just a habit that you might be able > to change? if you really want multiple writers, you can always patch > the code...there's probably only one or two places something would need > to be commented out/adjusted. > > Bryan From bmath@xsigo.com Tue Mar 7 12:44:23 2006 Received: from red.xsigo.com ([216.184.48.12]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k27KiF77025986 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 7 Mar 2006 12:44:20 -0800 (PST) Received: from red.xsigo.com (localhost [127.0.0.1]) by red.xsigo.com (8.13.1/8.13.1) with ESMTP id k27KgSGJ008864; Tue, 7 Mar 2006 12:42:28 -0800 Message-Id: <200603072042.k27KgSGJ008864@red.xsigo.com> To: Bryan Stansell , "Harris, David (SBS US)" Subject: Re: Multiple rw sessions? In-reply-to: <20060307194732.GG15272@underdog.stansell.org> References: <200603071937.k27JbJCj007699@red.xsigo.com> <20060307194732.GG15272@underdog.stansell.org> Comments: In-reply-to Bryan Stansell message dated "Tue, 07 Mar 2006 11:47:32 -0800." X-Mailer: MH-E 7.4.80+cvs; nmh 1.1-RC4; GNU Emacs 21.3.1 Date: Tue, 07 Mar 2006 12:42:28 -0800 From: Brian Matheson X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2006 20:44:25 -0000 Harris, David (SBS US) wrote: > Hmmm...why the multiple read/write sessions? In large part because we have systems that currently work that way. I actually like the idea of having only one writer at a time, but I think it'll be a hassle to get my users into the habit of doing that. > Are you suggesting that anyone could type at any time? Or do I > misunderstand? Could you describe how you think this would work, in > your ideal world? Pretty much anyone can type at any time. In practice, folks leave sessions open for a long time, and might have multiple terminals attached to them from different machines. Maybe worth noting that these are non-production systems, and there should only be one primary user at a time. We might get burned, but I haven't had any complaints about it so far. Bryan Stansell wrote: > if you really want multiple writers, you can always patch > the code...there's probably only one or two places something would need > to be commented out/adjusted. Cool, it's good to know that you don't see any major barriers to doing it. I'm no c coder, but I did peek around in the sources a bit trying to find any gotchas. I'll see if I can find and remove the checks for read/write permissions and get it to build :^) Thanks much for the info, Brian From stoffj@taec.toshiba.com Tue Mar 7 14:03:39 2006 Received: from mailhost.taec.toshiba.com (mailhost.taec.com [209.243.128.33]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k27M3Wxs027426; Tue, 7 Mar 2006 14:03:38 -0800 (PST) Received: from sekrit.taec.toshiba.com (IDENT:U2FsdGVkX1/zYSPVjupupJBvYeZUydk8zV8bLtAhiAE@sekrit.taec.toshiba.com [209.243.166.44]) by mailhost.taec.toshiba.com (8.12.7/8.12.7) with ESMTP id k27M3Q9b029520; Tue, 7 Mar 2006 14:03:26 -0800 (PST) Received: (from stoffj@localhost) by sekrit.taec.toshiba.com (8.13.1/8.13.1/Submit) id k27M3Pcg017953; Tue, 7 Mar 2006 17:03:25 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17422.813.676393.847489@sekrit.taec.toshiba.com> Date: Tue, 7 Mar 2006 17:03:25 -0500 From: "John Stoffel" To: Brian Matheson Subject: Re: Multiple rw sessions? In-Reply-To: <200603072042.k27KgSGJ008864@red.xsigo.com> References: <200603071937.k27JbJCj007699@red.xsigo.com> <20060307194732.GG15272@underdog.stansell.org> <200603072042.k27KgSGJ008864@red.xsigo.com> X-Mailer: VM 7.19 under Emacs 21.4.1 X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 Cc: users@conserver.com, Bryan Stansell X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2006 22:03:40 -0000 >>>>> "Brian" == Brian Matheson writes: Brian> Harris, David (SBS US) wrote: >> Hmmm...why the multiple read/write sessions? Brian> In large part because we have systems that currently work that Brian> way. I actually like the idea of having only one writer at a Brian> time, but I think it'll be a hassle to get my users into the Brian> habit of doing that. Just get your users used to doing the ^Ef key to force writeability and they'll be just fine with it. And they'll appreciate the fact that only one terminal at a time can write. The big thing I want is a bigger scroll back buffer. The default 20 and 60 lines aren't enough at all. I'd like 10-60 screens of lines of scollback if possible. John From bryan@stansell.org Tue Mar 7 14:21:34 2006 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k27MLX2T000527; Tue, 7 Mar 2006 14:21:33 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.13.5/8.13.5/Submit) id k27MLXZh000526; Tue, 7 Mar 2006 14:21:33 -0800 (PST) Date: Tue, 7 Mar 2006 14:21:33 -0800 From: Bryan Stansell To: John Stoffel Subject: Re: Multiple rw sessions? Message-ID: <20060307222133.GI15272@underdog.stansell.org> References: <200603071937.k27JbJCj007699@red.xsigo.com> <20060307194732.GG15272@underdog.stansell.org> <200603072042.k27KgSGJ008864@red.xsigo.com> <17422.813.676393.847489@sekrit.taec.toshiba.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17422.813.676393.847489@sekrit.taec.toshiba.com> User-Agent: Mutt/1.4.2.1i X-Scanned-By: MIMEDefang 2.39 Cc: users@conserver.com, Bryan Stansell X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2006 22:21:35 -0000 On Tue, Mar 07, 2006 at 05:03:25PM -0500, John Stoffel wrote: > Just get your users used to doing the ^Ef key to force writeability > and they'll be just fine with it. And they'll appreciate the fact > that only one terminal at a time can write. > > The big thing I want is a bigger scroll back buffer. The default 20 > and 60 lines aren't enough at all. I'd like 10-60 screens of lines of > scollback if possible. now, *that's* easy to hack into the code (if you want to "go there"). look for Replay() in conserver/group.c...just change the 20 and 60 to whatever you prefer. i still need to work on getting that more "dynamic" and/or customizable... Bryan From david.k.harris@siemens.com Tue Mar 7 14:42:19 2006 Received: from MAIL01.sbs.siemens.com (mail01.sbs.siemens.com [66.100.153.50]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k27MgB9p005532 for ; Tue, 7 Mar 2006 14:42:17 -0800 (PST) Received: from MASD202A.ww017.siemens.net ([155.45.64.202]) by 66.100.153.50 with trend_isnt_name_B; Tue, 07 Mar 2006 17:42:06 -0500 Received: from MASD301A.ww017.siemens.net ([155.45.64.51]) by MASD202A.ww017.siemens.net with Microsoft SMTPSVC(6.0.3790.1830); Tue, 7 Mar 2006 17:42:05 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: Multiple rw sessions? Date: Tue, 7 Mar 2006 17:42:05 -0500 Message-ID: <0A15E6C7B504A74985A86C0E0C0091A702ADBB3E@MASD301A.ww017.siemens.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Multiple rw sessions? Thread-Index: AcZCMwDg9pfoqOVGQGiU6eFBOMdOtwABObAg From: "Harris, David \(SBS US\)" To: X-OriginalArrivalTime: 07 Mar 2006 22:42:05.0856 (UTC) FILETIME=[5C2AFA00:01C64238] X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by underdog.stansell.org id k27MgB9p005532 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2006 22:42:20 -0000 The *BIG* advantage to using ^E-c-f is that you end up with a stamp in the log about who was in control, and that can be useful sometimes, in helping to find an admin who needs some 'additional clue(s)'. :-) -Z- -----Original Message----- From: John Stoffel [mailto:john.stoffel@taec.toshiba.com] Sent: Tuesday, March 07, 2006 2:03 PM To: Brian Matheson >>>>> "Brian" == Brian Matheson writes: Brian> In large part because we have systems that currently work that Brian> way. I actually like the idea of having only one writer at a Brian> time, but I think it'll be a hassle to get my users into the Brian> habit of doing that. Just get your users used to doing the ^Ef key to force writeability and they'll be just fine with it. And they'll appreciate the fact that only one terminal at a time can write. The big thing I want is a bigger scroll back buffer. The default 20 and 60 lines aren't enough at all. I'd like 10-60 screens of lines of scollback if possible. John From mlh@zip.com.au Tue Mar 7 15:34:59 2006 Received: from carbon.techex.net.au (smtp2.techex.net.au [203.222.153.27]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k27NYm3w019132 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 7 Mar 2006 15:34:57 -0800 (PST) Received: from mattsputer.localdomain (176-92-185-210.rev.techex.net.au [210.185.92.176]) by carbon.techex.net.au (8.13.4/8.13.3) with ESMTP id k27NGrku028905; Wed, 8 Mar 2006 10:16:53 +1100 (EST) (envelope-from mlh@zip.com.au) Date: Wed, 8 Mar 2006 10:33:39 +1100 From: Matthew Hannigan To: Brian Matheson Subject: Re: Multiple rw sessions? Message-ID: <20060307233339.GA2484@mattsputer.localdomain> References: <200603071937.k27JbJCj007699@red.xsigo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200603071937.k27JbJCj007699@red.xsigo.com> User-Agent: Mutt/1.4.2.1i X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2006 23:34:59 -0000 On Tue, Mar 07, 2006 at 11:37:19AM -0800, Brian Matheson wrote: > Is there a way to make conserver allow multiple read/write sessions to a > single console? I'm looking to use conserver to duplicate the > functionality of Cyclades ACS systems and this is sort of the last > feature I need to make it a drop-in replacement. You could use the 'screen' program in front of console sessions. www.gnu.org/software/screen Matt From david.k.harris@siemens.com Tue Mar 7 16:07:35 2006 Received: from MAIL02.sbs.siemens.com (mail02.sbs.siemens.com [66.100.153.174]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k2807Qu9021989 for ; Tue, 7 Mar 2006 16:07:32 -0800 (PST) Received: from MASD201A.ww017.siemens.net ([155.45.64.201]) by MAIL02 with trend_isnt_name_B; Tue, 07 Mar 2006 19:09:21 -0500 Received: from MASD301A.ww017.siemens.net ([155.45.64.51]) by MASD201A.ww017.siemens.net with Microsoft SMTPSVC(6.0.3790.1830); Tue, 7 Mar 2006 19:07:25 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: Multiple rw sessions? Date: Tue, 7 Mar 2006 19:07:25 -0500 Message-ID: <0A15E6C7B504A74985A86C0E0C0091A702ADBB43@MASD301A.ww017.siemens.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Multiple rw sessions? Thread-Index: AcZCQBXv1VEINrGTSH2R8Tr24uyU3gAAe0uQ From: "Harris, David \(SBS US\)" To: "Matthew Hannigan" X-OriginalArrivalTime: 08 Mar 2006 00:07:25.0532 (UTC) FILETIME=[47BB89C0:01C64244] X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by underdog.stansell.org id k2807Qu9021989 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2006 00:07:38 -0000 Yes...but screen is only watching when I'm connected... With Conserver, the app is 'always watching', always logging. When I connect to Conserver using the client, a note goes into the log for the machine that I'm conencting to...and when I disconnect from Conserver. When I'm connected, and you also connect, you are in read-only mode, because I've got the write access...if you force-connect; + the log shows that you took the write access + my client shows that I was "bumped by matt_hannigan" + I get to see what you did in my scrollback When you disconnect from Conserver, write control reverts back to me, and another timestamp goes in the log. Even if you simply go into 'spy mode', the write control reverts, and the log entry is made. The write access is heirarchical...you steal it from me, Bob steals it from you, Bryan takes it from Bob...the stack now shows zonker -> matt -> bob -> bryan... If Bob disconencts, and then Bryan disconnect, it reverts directly to you, as you are the next highest in the stack. The model here is; I get on a console, hack a bit, and then I get pulled into a meeting, or go to lunch... You need to get on the console...you *CAN*, in spy mode. BUT, you also know who has write access ("no, zonker is connected"). You can call me, send me email, walk to my cube... ^E-c-r replays the recent log (was I in the middle of a config? You don't just want to take control and hit [return] a few times! ^E-c-w shows who else is on the port, and how long we've been idle. (Have I gone home, or was I working on it a few minutes ago?) Can't reach me, and you *really* NEED write access? ^E-c-f, takes control, and you make your changes, and then ^E-c-s (spy mode) or ^E-c-. (disconnect), and I'm back where I was when you are done. (BUT, the master log shows that this has occurred.) The logging is important. Sometimes I'm monitoring a port from home, via a VPN, and the link dies (or times out). I don't know what is happening, and TCP still thinks my session is up. You are not impacted, and can still do what you need to do. :-) -Z- -----Original Message----- From: users-bounces@conserver.com [mailto:users-bounces@conserver.com] On Behalf Of Matthew Hannigan Sent: Tuesday, March 07, 2006 3:34 PM To: Brian Matheson Cc: users@conserver.com Subject: Re: Multiple rw sessions? On Tue, Mar 07, 2006 at 11:37:19AM -0800, Brian Matheson wrote: > Is there a way to make conserver allow multiple read/write sessions to > a single console? I'm looking to use conserver to duplicate the > functionality of Cyclades ACS systems and this is sort of the last > feature I need to make it a drop-in replacement. You could use the 'screen' program in front of console sessions. www.gnu.org/software/screen Matt _______________________________________________ users mailing list users@conserver.com https://www.conserver.com/mailman/listinfo/users From gregtillman@comcast.net Wed Mar 8 07:43:42 2006 Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [63.240.77.82]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k28FhaBx025998 for ; Wed, 8 Mar 2006 07:43:41 -0800 (PST) Received: from smailcenter71.comcast.net ([204.127.205.171]) by comcast.net (sccrmhc12) with SMTP id <2006030815433501200cacqle>; Wed, 8 Mar 2006 15:43:35 +0000 Received: from [143.115.159.53] by smailcenter71.comcast.net; Wed, 08 Mar 2006 15:43:34 +0000 From: gregtillman@comcast.net To: users@conserver.com Subject: message and exit Date: Wed, 08 Mar 2006 15:43:34 +0000 Message-Id: <030820061543.27950.440EFBA6000B41D300006D2E2200763692020E030404079B090A9D09@comcast.net> X-Mailer: AT&T Message Center Version 1 (Aug 4 2005) X-Authenticated-Sender: Z3JlZ3RpbGxtYW5AY29tY2FzdC5uZXQ= MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="NextPart_Webmail_9m3u9jl4l_27950_1141832614_0" X-Spam-Score: -3.432 () BAYES_00, HTML_MESSAGE, MIME_BOUND_NEXTPART, MIME_HTML_NO_CHARSET, NO_REAL_NAME X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2006 15:43:43 -0000 This is a multi-part message in MIME format... --NextPart_Webmail_9m3u9jl4l_27950_1141832614_0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Content-Disposition: inline Is there any way to set up a console in conserver.cf such that consoling there simply displays a message, and then exits. I've got the message display part, and i could leave it at that, but it's a little inelegant to have the users sit there at the 'console down' message-- it would be nice to just exit them back to the shell. fyi, the purpose here is so we don't have to remember those few machines that have a different method for accessing consoles (like on HMCs). thanks for any help. - greg --NextPart_Webmail_9m3u9jl4l_27950_1141832614_0 Content-Type: text/html Content-Transfer-Encoding: 8bit Content-Disposition: inline Is there any way to set up a console in conserver.cf such that consoling there simply displays a message, and then exits.  I've got the message display part, and i could leave it at that, but it's a little inelegant to have the users sit there at the 'console down' message-- it would be nice to just exit them back to the shell.   fyi, the purpose here is so we don't have to remember those few machines that have a different method for accessing consoles (like on HMCs).  thanks for any help.   - greg --NextPart_Webmail_9m3u9jl4l_27950_1141832614_0-- From jdwhite@jdwhite.org Wed Mar 8 09:16:51 2006 Received: from mail.jdwhite.org (jdwhite.org [209.234.79.200]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k28HFIIQ024096 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 8 Mar 2006 09:15:26 -0800 (PST) Received: by mail.jdwhite.org with LOCAL (Exim) id 1FH2Fn-0007BD-Fz; Wed, 08 Mar 2006 11:15:15 -0600 Date: Wed, 8 Mar 2006 11:15:15 -0600 From: Jason White To: gregtillman@comcast.net Subject: Re: message and exit Message-ID: <20060308171515.GT21953@jdwhite.org> Mail-Followup-To: gregtillman@comcast.net, users@conserver.com References: <030820061543.27950.440EFBA6000B41D300006D2E2200763692020E030404079B090A9D09@comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <030820061543.27950.440EFBA6000B41D300006D2E2200763692020E030404079B090A9D09@comcast.net> User-Agent: Mutt/1.4.2.1i X-pgp-key: 0x5290E477, http://www.jdwhite.org/~jdwhite/0x5290E477.asc X-pgp-fingerprint: A8A2 3FDB AB33 98EB ED74 EDAA F538 9A30 5290 E477 X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2006 17:16:52 -0000 On Wed, Mar 08, 2006 at 03:43PM +0000, gregtillman@comcast.net wrote: >Is there any way to set up a console in conserver.cf such that consoling >there simply displays a message, and then exits. I've got the message >display part, and i could leave it at that, but it's a little inelegant to >have the users sit there at the 'console down' message-- it would be nice >to just exit them back to the shell. > >fyi, the purpose here is so we don't have to remember those few machines >that have a different method for accessing consoles (like on HMCs). thanks >for any help. You could use the 'motd' option: console foo { type exec; exec sleep 99999; motd "This device isn't accessed via conserver."; } > console foo [Enter `^Ec?' for help] [-- MOTD -- This device isn't accessed via conserver.] There may be a better way to define a console that does nothing. Also, you may wish to set a null value for logfile. -Jason -- Jason White Jabber: jdwhite(jabber.org) http://www.jdwhite.org/~jdwhite jason.d.white(gmail.com) PGP KeyID: 0x5290E477 From bryan@stansell.org Wed Mar 8 22:24:11 2006 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k296OBxC016732 for ; Wed, 8 Mar 2006 22:24:11 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.13.5/8.13.5/Submit) id k296OBY3016731 for users@conserver.com; Wed, 8 Mar 2006 22:24:11 -0800 (PST) Date: Wed, 8 Mar 2006 22:24:11 -0800 From: Bryan Stansell To: users@conserver.com Subject: Re: message and exit Message-ID: <20060309062411.GK15272@underdog.stansell.org> References: <030820061543.27950.440EFBA6000B41D300006D2E2200763692020E030404079B090A9D09@comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <030820061543.27950.440EFBA6000B41D300006D2E2200763692020E030404079B090A9D09@comcast.net> User-Agent: Mutt/1.4.2.1i X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2006 06:24:12 -0000 On Wed, Mar 08, 2006 at 03:43:34PM +0000, gregtillman@comcast.net wrote: > Is there any way to set up a console in conserver.cf such that > consoling there simply displays a message, and then exits. I've got > the message display part, and i could leave it at that, but it's a > little inelegant to have the users sit there at the 'console down' > message-- it would be nice to just exit them back to the shell. currently, no. but having a "nologin" flag or something (i'm relating it to /etc/nologin) or "disabled" flag or something should be doable...that way you'd get what you want...a successful login, the motd, and then an exit. i'll add this to my todo list (the "i'd like this in before the next release" one). Bryan From jay2xra@yahoo.com Thu Mar 9 00:33:56 2006 Received: from web51604.mail.yahoo.com (web51604.mail.yahoo.com [206.190.38.209]) by underdog.stansell.org (8.13.5/8.13.5) with SMTP id k298XnEK009299 for ; Thu, 9 Mar 2006 00:33:55 -0800 (PST) Received: (qmail 65922 invoked by uid 60001); 9 Mar 2006 08:33:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=JQXZelRss6Au9GQLfhn8CfVyxKj+lVqBNCf1JG9GNMTKObYHjuH3bsz1Dyvvjma/z7B15/v2vymuoim9Kn8du1yNpjuL+mMV7do0IfH54vlewr4Ar1T0AlC7KFGSpRvju9DzLb5x9jn1P0i/q7Ar21wYCt4e9if3Z09Anhjk5ls= ; Message-ID: <20060309083346.65920.qmail@web51604.mail.yahoo.com> Received: from [202.90.159.37] by web51604.mail.yahoo.com via HTTP; Thu, 09 Mar 2006 00:33:46 PST Date: Thu, 9 Mar 2006 00:33:46 -0800 (PST) From: Mark Jayson Alvarez Subject: Using conserver to secure cisco routers To: users@conserver.com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1001626710-1141893226=:63556" X-Spam-Score: -4.801 () BAYES_00,HTML_MESSAGE X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2006 08:33:57 -0000 This is a multi-part message in MIME format... --0-1001626710-1141893226=:63556 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Disposition: inline Good day! I'm looking for ways to secure our cisco routers by not allowing remote access to it, and only console access. To do this, I would connect the router to a pc using a console cable. The pc is running freebsd 6.0. The pc can be accessed via a much secure ssh. After a user logs in, he can use "cu -l /dev/cuad0 -s 9600" Now he can connect to the cisco router and recieve the login prompt. Now my problem is how am I going to have multiple users login to the router using only one console cable (as the router is limited to only one console port). This is required because most of the time, our NOC engineers are troubleshooting our network at the same time using different priviledges. After googling for a while, I found conserver. Question: Am I looking into the right tool or not?? Anyone here doing the same thing with their routers?? That's all for now. Thanks! --------------------------------- Yahoo! Mail Bring photos to life! New PhotoMail makes sharing a breeze. --0-1001626710-1141893226=:63556 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Disposition: inline Good day!

I'm looking for ways to secure our cisco routers by not allowing remote access to it, and  only console access. To do this, I would connect the router to a pc using a console cable. The pc is running freebsd 6.0. The pc can be accessed via a much secure ssh.  After a user logs in, he can use "cu -l /dev/cuad0 -s 9600" Now he can connect to the cisco router and recieve the login prompt. Now my problem is how am I going to have multiple users login to the router using only one console cable (as the router is limited to only one console port). This is required because most of the time, our NOC engineers are troubleshooting our network at the same time using different priviledges. After googling for a while, I found conserver.

Question:
Am I looking into the right tool or not??
Anyone here doing the same thing with their routers??

That's all for now.
Thanks!



Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze. --0-1001626710-1141893226=:63556-- From bryan@stansell.org Thu Mar 9 07:11:35 2006 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k29FBZOZ019135 for ; Thu, 9 Mar 2006 07:11:35 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.13.5/8.13.5/Submit) id k29FBZhw019134 for users@conserver.com; Thu, 9 Mar 2006 07:11:35 -0800 (PST) Date: Thu, 9 Mar 2006 07:11:35 -0800 From: Bryan Stansell To: users@conserver.com Subject: Re: Using conserver to secure cisco routers Message-ID: <20060309151135.GL15272@underdog.stansell.org> References: <20060309083346.65920.qmail@web51604.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060309083346.65920.qmail@web51604.mail.yahoo.com> User-Agent: Mutt/1.4.2.1i X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2006 15:11:36 -0000 hey mark...yep, that's what conserver was made for. ;-) you just point conserver at your consoles (in the example below, it's /dev/cuad0 - but any others you might hook up as well), and folks could then log in and use 'console ' to gain access. if you wanted to be even more secure you could limit who had login access to the freebsd box to just you and have them use the console client from remote machines. and as a "middle ground", you could set their shell to a script that execed 'console ' and put them in the "restricted user" list inside conserver...that way they'd be "locked" onto the console and unable to do some of the more advanced commands (that may or may not be appropriate, depending on your world). that's a lot to absorb. i'd start with something simple (getting conserver going and using the client locally) and then refine that if you need to. check out conserver.cf/samples/simple.cf (and the others) in the distribution for a starting point of crafting a config file. good luck! Bryan On Thu, Mar 09, 2006 at 12:33:46AM -0800, Mark Jayson Alvarez wrote: > Good day! > > I'm looking for ways to secure our cisco routers by not allowing > remote access to it, and only console access. To do this, I would > connect the router to a pc using a console cable. The pc is running > freebsd 6.0. The pc can be accessed via a much secure ssh. After a > user logs in, he can use "cu -l /dev/cuad0 -s 9600" Now he can > connect to the cisco router and recieve the login prompt. Now my > problem is how am I going to have multiple users login to the router > using only one console cable (as the router is limited to only one > console port). This is required because most of the time, our NOC > engineers are troubleshooting our network at the same time using > different priviledges. After googling for a while, I found conserver. > > Question: Am I looking into the right tool or not?? Anyone here > doing the same thing with their routers?? From Chris.Riddoch@digeo.com Thu Mar 9 10:31:35 2006 Received: from packet.digeo.com (packet.digeo.com [12.110.80.53]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k29IVR6h019351 for ; Thu, 9 Mar 2006 10:31:32 -0800 (PST) Received: from digeo-nav01.digeo.com (digeo-nav01 [192.168.1.233]) by packet.digeo.com (8.12.11/8.12.11) with SMTP id k29ITYCS013287 for ; Thu, 9 Mar 2006 10:29:35 -0800 (PST) Received: from digeo-mail1.digeo.com ([192.168.12.27]) by digeo-nav01.digeo.com (SAVSMTP 3.1.5.43) with SMTP id M2006030910363619305 for ; Thu, 09 Mar 2006 10:36:36 -0800 Received: from digeo-mail2.pao.digeo.com ([172.17.212.10]) by digeo-mail1.digeo.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 9 Mar 2006 10:31:25 -0800 Received: from [127.0.0.1] ([172.17.1.143]) by digeo-mail2.pao.digeo.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 9 Mar 2006 10:31:25 -0800 Message-ID: <441074F7.4040307@Digeo.com> Date: Thu, 09 Mar 2006 11:33:27 -0700 From: Chris Riddoch User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: users@conserver.com Subject: Cygwin & local ports X-Enigmail-Version: 0.94.0.0 OpenPGP: id=753A2175 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Mar 2006 18:31:25.0383 (UTC) FILETIME=[AC2C6D70:01C643A7] X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2006 18:31:36 -0000 I bet this is a simple question for anyone who knows what they're doing. I'm trying to set up conserver for communicating with some stand-alone devices, each of which has two serial ports. (If this works, I'll probably be able to convince my company to get a 16-port PCI serial card and then we won't need one PC for each device we need to control.) So currently I'm on cygwin, but the *real* setup with more ports will be on Linux. Proof of concept, y'know. I built conserver with: --with-extmsgs --with-port=7072 --with-master=localhost In one cygwin shell (trimming timestamps): $ /usr/local/sbin/conserver.exe -v conserver.com version 8.1.13 started as 'Administrator' by 'Administrator' INFO: interface address 0.0.0.0 (eth0) INFO: interface address 127.0.0.1 (lo) INFO: interface address 172.x.x.x (eth1) INFO: access type 't' for '127.0.0.1' INFO: peer server on '127.0.0.1' INFO: login Administrator@localhost INFO: logout Administrator@localhost (repeats some 10-20 times) On the other cygwin shell: $ console -v a console: interface address 0.0.0.0 (eth0) console: interface address 127.0.0.1 (lo) console: interface address 172.x.x.x (eth1) console: forwarding level too deep! The config file is appended here: default * { logfile /cygdrive/c/logs/&; timestamp 1mab; rw *; type device; master 127.0.0.1; portbase 2000; portinc 1; device /dev/ttyS&; baud 57600; parity none; } console a { port 1; } # calculates to tcp port 2001 console b { port 2; } # calculates to tcp port 2002 access * { trusted 127.0.0.1; } ----- I'm sure there's something obvious here that I'm missing, but I'm not sure what. I think it's trying to forward the connection somewhere, rather than using the local serial ports. That might be useful at some point in the future, but for now, all I want to do is talk to a serial port. Suggestions? -- Chris Riddoch epistemological humility From bryan@stansell.org Thu Mar 9 11:48:49 2006 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k29JmnGK009618 for ; Thu, 9 Mar 2006 11:48:49 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.13.5/8.13.5/Submit) id k29JmmIm009617 for users@conserver.com; Thu, 9 Mar 2006 11:48:48 -0800 (PST) Date: Thu, 9 Mar 2006 11:48:48 -0800 From: Bryan Stansell To: users@conserver.com Subject: Re: Cygwin & local ports Message-ID: <20060309194848.GM15272@underdog.stansell.org> References: <441074F7.4040307@Digeo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <441074F7.4040307@Digeo.com> User-Agent: Mutt/1.4.2.1i X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2006 19:48:49 -0000 On Thu, Mar 09, 2006 at 11:33:27AM -0700, Chris Riddoch wrote: > currently I'm on cygwin, but the *real* setup with more ports will be on > Linux. Proof of concept, y'know. > > I built conserver with: --with-extmsgs --with-port=7072 > --with-master=localhost > I'm sure there's something obvious here that I'm missing, but I'm not > sure what. I think it's trying to forward the connection somewhere, > rather than using the local serial ports. That might be useful at some > point in the future, but for now, all I want to do is talk to a serial port. > > Suggestions? hmmm...well, what's going on is the server is not realizing it should be managing these ports (for some reason). for whatever reason, it must be getting confused with the localhost/127.0.0.1 entities...usually it recognizes that they are one in the same, but in your case, it appears it does not and it keeps redirecting the client to itself. very bizzare, given that you have 'master 127.0.0.1' in the config. i'd love it if you could do two things for me....could you please do: /usr/local/sbin/conserver.exe -DDD > conserver.out and then console -DDD a > console.out and send both conserver.out and console.out to me? there certainly appears to be a bug...and hopefully that will shed some light (and perhaps allow me to ask you further questions). i have a feeling that if you did had the same setup on linux, you wouldn't run into this issue (works fine on my solaris box, for example). so, most likely a compatibility issue with cygwin or perhaps your cygwin config, but with the info above, hopefully we can debug it (just send directly to me...we can update the mailing list with the results in the end). Bryan From jay2xra@yahoo.com Thu Mar 9 22:28:54 2006 Received: from web51613.mail.yahoo.com (web51613.mail.yahoo.com [68.142.224.86]) by underdog.stansell.org (8.13.5/8.13.5) with SMTP id k2A6Slfr008755 for ; Thu, 9 Mar 2006 22:28:53 -0800 (PST) Received: (qmail 37579 invoked by uid 60001); 10 Mar 2006 06:28:47 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=HQPsdG5uSuHCwJFrTtxsaZIsvqb2CKyBl+iiOA2u4427dXZTBlGn/4i/42u1zAxsAfsafO0pMCm7ETX3raP01gV6rawiglJG31JFKvp8gf74U/EscMdEfOWCn2Vo3zZvWPXeEHoXfbeutS1VhYYuKSQaRJiEcijgUsFkG055NTc= ; Message-ID: <20060310062847.37577.qmail@web51613.mail.yahoo.com> Received: from [202.90.128.5] by web51613.mail.yahoo.com via HTTP; Thu, 09 Mar 2006 22:28:47 PST Date: Thu, 9 Mar 2006 22:28:47 -0800 (PST) From: Mark Jayson Alvarez Subject: Re: Using conserver to secure cisco routers To: Bryan Stansell , users@conserver.com In-Reply-To: <20060309151135.GL15272@underdog.stansell.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2097137337-1141972127=:36700" X-Spam-Score: -3.629 () BAYES_00,HTML_20_30,HTML_MESSAGE X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Mar 2006 06:28:55 -0000 This is a multi-part message in MIME format... --0-2097137337-1141972127=:36700 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Disposition: inline Bryan Stansell wrote: hey mark...yep, that's what conserver was made for. ;-) You mean multiple logins at the same time using only one /dev/cuad0 ??? When I tried it, console complained that "hey, mark is connected".. --------------------------------- Yahoo! Mail Bring photos to life! New PhotoMail makes sharing a breeze. --0-2097137337-1141972127=:36700 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Disposition: inline

Bryan Stansell <bryan@conserver.com> wrote:
hey mark...yep, that's what conserver was made for. ;-)

You mean multiple logins at the same time using only one /dev/cuad0 ??? When I tried it, console complained that "hey, mark is connected"..




Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze. --0-2097137337-1141972127=:36700-- From bryan@stansell.org Thu Mar 9 23:25:46 2006 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k2A7PkNd013228 for ; Thu, 9 Mar 2006 23:25:46 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.13.5/8.13.5/Submit) id k2A7Pkwt013227 for users@conserver.com; Thu, 9 Mar 2006 23:25:46 -0800 (PST) Date: Thu, 9 Mar 2006 23:25:46 -0800 From: Bryan Stansell To: users@conserver.com Subject: Re: Using conserver to secure cisco routers Message-ID: <20060310072546.GR15272@underdog.stansell.org> References: <20060309151135.GL15272@underdog.stansell.org> <20060310062847.37577.qmail@web51613.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060310062847.37577.qmail@web51613.mail.yahoo.com> User-Agent: Mutt/1.4.2.1i X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Mar 2006 07:25:47 -0000 On Thu, Mar 09, 2006 at 10:28:47PM -0800, Mark Jayson Alvarez wrote: > Bryan Stansell wrote: hey mark...yep, that's > what conserver was made for. ;-) > > You mean multiple logins at the same time using only one /dev/cuad0 > ??? When I tried it, console complained that "hey, mark is > connected".. only one person will be in read-write mode at a time...the others are forced into read-only mode. if you use the '^Ecf' escape sequence, you'll grab read-write mode and force the previous writer to read-only mode. and if the read-write person disconnects, it will pass read-write mode back to the latest read-only person who wanted read-write mode. you can also use 'console -f ' to automatically force read-write and bump the other person to read-only. Bryan From zonker@jeffk.com Thu Mar 9 23:30:53 2006 Received: from westernweb.com (rdns.162.240.218.216.fre.communitycolo.net [216.218.240.162]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k2A7Uj1W018846 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 9 Mar 2006 23:30:51 -0800 (PST) Received: from zonker by westernweb.com with local (Exim 4.54) id 1FHc5F-00008e-9n; Thu, 09 Mar 2006 23:30:45 -0800 Date: Thu, 9 Mar 2006 23:30:45 -0800 From: "David K. Z. Harris" To: Mark Jayson Alvarez , users@conserver.com Subject: Re: Using conserver to secure cisco routers Message-ID: <20060310073045.GA32680@jeffk.com> References: <20060309151135.GL15272@underdog.stansell.org> <20060310062847.37577.qmail@web51613.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060310062847.37577.qmail@web51613.mail.yahoo.com> User-Agent: Mutt/1.4.2.1i Sender: "David K. Z. Harris" X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: zonker@jeffk.com X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Mar 2006 07:30:53 -0000 On Thu, Mar 09, 2006 at 10:28:47PM -0800, Mark Jayson Alvarez wrote: > > Bryan Stansell wrote: hey mark...yep, that's what conserver was made for. ;-) > > You mean multiple logins at the same time using only one /dev/cuad0 ??? When I tried it, console complained that "hey, mark is connected".. Yep...the key is, that second person *IS* also connected, but in read-only (or "spy") mode... So, log in the first person...he has read-write... then log in the second person, and they are read-only... The first person can type, but both will see what's happening. :-) Next, have the second person type [ctrl]-[e[, [c], [f], to 'force' control of the connection...the first user get's "bumped" into spy mode, but they see the login name of who bumped them (they are now in read-only mode)...and the second user now has read-write! Still, any responses from the consoled device will go to both (read: 'all attached') users on that console. Typing ^E-c-w will show you 'who' is attached to that console, and indicates which user has read-write access. When the second person either disconnects (^E-c-.) or goes into spy mode (^E-c-s), then the previous user gets control back. (Of course, the other person could have 'forced' the connection back to thenselves, too. ;-) Of course, before forcing the connection, it's always a good idea to reply the last 60 lines of the log (^E-c-r) to see what the person with read-write access is up to...they may be in the middle of a configuration change, etc., and hitting a couple carriage returns may accept settings that you would rather not have. :-) Many users can be on the same console, in spy mode, but only one cn have read-write control at a time. -Z- From Chris.Riddoch@digeo.com Fri Mar 10 13:21:59 2006 Received: from packet.digeo.com (packet.digeo.com [12.110.80.53]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k2ALLpIH022497 for ; Fri, 10 Mar 2006 13:21:56 -0800 (PST) Received: from digeo-nav01.digeo.com (digeo-nav01 [192.168.1.233]) by packet.digeo.com (8.12.11/8.12.11) with SMTP id k2ALJwhC017096 for ; Fri, 10 Mar 2006 13:19:59 -0800 (PST) Received: from digeo-mail1.digeo.com ([192.168.12.27]) by digeo-nav01.digeo.com (SAVSMTP 3.1.5.43) with SMTP id M2006031013270031261 for ; Fri, 10 Mar 2006 13:27:00 -0800 Received: from digeo-mail2.pao.digeo.com ([172.17.212.10]) by digeo-mail1.digeo.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 10 Mar 2006 13:21:42 -0800 Received: from [127.0.0.1] ([172.17.1.143]) by digeo-mail2.pao.digeo.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 10 Mar 2006 13:21:42 -0800 Message-ID: <4411EE64.4020503@Digeo.com> Date: Fri, 10 Mar 2006 14:23:48 -0700 From: Chris Riddoch User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: users@conserver.com Subject: Re: Cygwin & local ports References: <441074F7.4040307@Digeo.com> <20060309194848.GM15272@underdog.stansell.org> In-Reply-To: <20060309194848.GM15272@underdog.stansell.org> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=753A2175 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 10 Mar 2006 21:21:42.0177 (UTC) FILETIME=[A0453910:01C64488] X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Mar 2006 21:22:00 -0000 Bryan Stansell wrote: > On Thu, Mar 09, 2006 at 11:33:27AM -0700, Chris Riddoch wrote: >> currently I'm on cygwin, but the *real* setup with more ports will be on >> Linux. Proof of concept, y'know. >> >> I built conserver with: --with-extmsgs --with-port=7072 >> --with-master=localhost > >> I'm sure there's something obvious here that I'm missing, but I'm not >> sure what. I think it's trying to forward the connection somewhere, >> rather than using the local serial ports. That might be useful at some >> point in the future, but for now, all I want to do is talk to a serial port. >> >> Suggestions? > > hmmm...well, what's going on is the server is not realizing it should be > managing these ports (for some reason). for whatever reason, it must be > getting confused with the localhost/127.0.0.1 entities...usually it > recognizes that they are one in the same, but in your case, it appears > it does not and it keeps redirecting the client to itself. very > bizzare, given that you have 'master 127.0.0.1' in the config. The issue was resolved off-list by a patch from Bryan. Apparently the list of available routes on cygwin included "0.0.0.0". This is the same token that's used by the conserver code to identify the end of the list of interfaces, and since it came first, none of the other more reasonable entries were even seen. Expect the patch to arrive in the next version of conserver, but if you need it in the meantime, see below. (Sorry it's not an attachment, my company's mailservers seem to have problems with the idea of sending attachments.) If you're unfamiliar with patching, copy everything after ---snip--- below into a file, call it cutilpatch, and put it into conserver-8.1.13/conserver/. cd into that directory, and run the following: patch -p0 < cutilpatch Then, cd .. up to conserver-8.1.13, configure, make, and make install. That should take care of this thread. -- Chris Riddoch epistemological humility ---snip--- --- cutil.c 2006-01-15 10:10:14.000000000 -0700 +++ cutil.c 2006-03-10 14:13:30.562500000 -0700 @@ -1,3 +1,7 @@ + + + + /* * $Id: cutil.c,v 1.125 2006/01/15 17:10:14 bryan Exp $ * @@ -2199,6 +2203,7 @@ int r = 0, m = 0; int bufsize = 2048; int count = 0; + in_addr_t zeroaddr; /* if we use -M, just fill the array with that interface */ if (bindAddr != INADDR_ANY) { @@ -2274,6 +2279,12 @@ if (myAddrs == (struct in_addr *)0) OutOfMem(); +#if HAVE_MEMSET + memset((void *)&zeroaddr, 0, sizeof(zeroaddr)); +#else + bzero((char *)&zeroaddr, sizeof(zeroaddr)); +#endif + for (m = r = 0; r < ifc.ifc_len;) { struct sockaddr *sa; ifr = (struct ifreq *)&ifc.ifc_buf[r]; @@ -2297,6 +2308,15 @@ ((ifrcopy.ifr_flags & IFF_UP) == 0)) continue; #endif + if ( +#if HAVE_MEMCMP + memcmp(&(sin->sin_addr), &zeroaddr, sizeof(zeroaddr)) +#else + bcmp(&(sin->sin_addr), &zeroaddr, sizeof(zeroaddr)) +#endif + == 0) + continue; + CONDDEBUG((1, "ProbeInterfaces(): name=%s addr=%s", ifr->ifr_name, inet_ntoa(sin->sin_addr))); #if HAVE_MEMCPY @@ -3365,3 +3385,4 @@ return; } + From Chris.Riddoch@digeo.com Fri Mar 10 13:32:45 2006 Received: from packet.digeo.com (packet.digeo.com [12.110.80.53]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k2ALWcAx008759 for ; Fri, 10 Mar 2006 13:32:43 -0800 (PST) Received: from digeo-nav01.digeo.com (digeo-nav01 [192.168.1.233]) by packet.digeo.com (8.12.11/8.12.11) with SMTP id k2ALUkL5017391 for ; Fri, 10 Mar 2006 13:30:46 -0800 (PST) Received: from digeo-mail1.digeo.com ([192.168.12.27]) by digeo-nav01.digeo.com (SAVSMTP 3.1.5.43) with SMTP id M2006031013374831371 for ; Fri, 10 Mar 2006 13:37:48 -0800 Received: from digeo-mail2.pao.digeo.com ([172.17.212.10]) by digeo-mail1.digeo.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 10 Mar 2006 13:32:01 -0800 Received: from [127.0.0.1] ([172.17.1.143]) by digeo-mail2.pao.digeo.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 10 Mar 2006 13:32:00 -0800 Message-ID: <4411F0EA.5030107@Digeo.com> Date: Fri, 10 Mar 2006 14:34:34 -0700 From: Chris Riddoch User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: users@conserver.com Subject: Telnet? X-Enigmail-Version: 0.94.0.0 OpenPGP: id=753A2175 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 10 Mar 2006 21:32:00.0442 (UTC) FILETIME=[10C8F9A0:01C6448A] X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Mar 2006 21:32:46 -0000 I'm nearly there... conserver's running, and I can connect to it with console locally and remotely just fine. Just one more little issue: I can telnet to the master server and do everything useful there. I can use 'call' to find the other port I need to connect to. I can telnet to that port, and log in, and initiate a connection to the serial port with 'call' there. But once it's connected, I'm not getting output from the serial port. It's apparent from the logging by conserver that the commands I type are being sent, but I can't see the results of doing so on the telnet session. This also suggests that conserver's not broken, since it can at least log the stuff. Again, 'console' seems just fine. Also, I can't seem to connect directly to any ports with telnet - nothing's listening on those ports. Am I confused about what the portbase, portinc, and port options are supposed to do? My config file is largely unchanged since yesterday's post. Other details can be provided as necessary. What gives? -- Chris Riddoch epistemological humility From Chris.Riddoch@digeo.com Wed Mar 22 09:29:24 2006 Received: from packet.digeo.com (packet.digeo.com [12.110.80.53]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k2MHTHIG014204 for ; Wed, 22 Mar 2006 09:29:22 -0800 (PST) Received: from digeo-nav01.digeo.com (digeo-nav01 [192.168.1.233]) by packet.digeo.com (8.12.11/8.12.11) with SMTP id k2MHRNos022202 for ; Wed, 22 Mar 2006 09:27:23 -0800 (PST) Received: from digeo-mail1.digeo.com ([192.168.12.27]) by digeo-nav01.digeo.com (SAVSMTP 3.1.5.43) with SMTP id M2006032209342724376 for ; Wed, 22 Mar 2006 09:34:27 -0800 Received: from digeo-mail2.pao.digeo.com ([172.17.212.10]) by digeo-mail1.digeo.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 22 Mar 2006 09:29:16 -0800 Received: from [127.0.0.1] ([172.17.1.143]) by digeo-mail2.pao.digeo.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 22 Mar 2006 09:29:15 -0800 Message-ID: <442189EA.60801@Digeo.com> Date: Wed, 22 Mar 2006 10:31:22 -0700 From: Chris Riddoch User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: users@conserver.com Subject: console and telnet differences? X-Enigmail-Version: 0.94.0.0 OpenPGP: id=753A2175 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 Mar 2006 17:29:15.0586 (UTC) FILETIME=[24695220:01C64DD6] X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2006 17:29:25 -0000 I'm trying to track down a bug somewhere. Or maybe I just overlooked something. console can talk to a server just fine. But when I connect with telnet or a ruby script I'm writing (based loosely on the Console.pm which was posted a while ago) things behave differently. After the preliminaries (login, etc) stuff is handled and I see [Attached], from there on out, any data I send to the server is sent properly, and then sent on to the serial port... but nothing is sent to back to my client, even though it's logged properly. In case I'm not explaining it well, maybe a picture will do. With console, the whole thing works. With telnet, B doesn't work. +->--A-->--+ +-->--C-->--+ Telnet--+ |--conserver--| |--/dev/ttyS1 +-<--B--<--+ +--<--D--<--+ console's Interact() function seems to do something very different from telnet. I posted about this a couple weeks ago, and still haven't figured out what's different about console that makes it work, when it doesn't with telnet or a script. Any suggestions? -- Chris Riddoch epistemological humility From cfowler@outpostsentinel.com Wed Mar 22 09:43:50 2006 Received: from www.linuxiceberg.com (66-23-224-81.clients.speedfactory.net [66.23.224.81]) by underdog.stansell.org (8.13.5/8.13.5) with ESMTP id k2MHhgwc005130 for ; Wed, 22 Mar 2006 09:43:48 -0800 (PST) Received: from [192.168.1.115] ([192.168.1.115]) by www.linuxiceberg.com (8.11.6/8.11.6) with ESMTP id k2MHieO04867; Wed, 22 Mar 2006 12:44:40 -0500 Subject: Re: console and telnet differences? From: Christopher Fowler To: Chris Riddoch In-Reply-To: <442189EA.60801@Digeo.com> References: <442189EA.60801@Digeo.com> Content-Type: text/plain Date: Wed, 22 Mar 2006 12:43:38 -0500 Message-Id: <1143049418.6187.25.camel@shuttle.linxdev.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-7) Content-Transfer-Encoding: 7bit X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2006 17:43:51 -0000 On Wed, 2006-03-22 at 10:31 -0700, Chris Riddoch wrote: > console can talk to a server just fine. But when I connect with > telnet > or a ruby script I'm writing (based loosely on the Console.pm which > was > posted a while ago) things behave differently. After the > preliminaries > (login, etc) stuff is handled and I see [Attached], from there on out, > any data I send to the server is sent properly, and then sent on to > the > serial port... but nothing is sent to back to my client, even though > it's logged properly. Console.pm is responsible for only making a connection. You'll need to do a select() on STDIN and the socket returned by Console.pm. You'll also need to place your tty in raw mode. From bryan@stansell.org Thu Mar 23 06:59:45 2006 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.13.6/8.13.6) with ESMTP id k2NExjfA027280 for ; Thu, 23 Mar 2006 06:59:45 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.13.6/8.13.6/Submit) id k2NExjjJ027279 for users@conserver.com; Thu, 23 Mar 2006 06:59:45 -0800 (PST) Date: Thu, 23 Mar 2006 06:59:45 -0800 From: Bryan Stansell To: users@conserver.com Subject: Re: console and telnet differences? Message-ID: <20060323145945.GQ15272@underdog.stansell.org> References: <442189EA.60801@Digeo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <442189EA.60801@Digeo.com> User-Agent: Mutt/1.4.2.1i X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Mar 2006 14:59:46 -0000 On Wed, Mar 22, 2006 at 10:31:22AM -0700, Chris Riddoch wrote: > console can talk to a server just fine. But when I connect with telnet > or a ruby script I'm writing (based loosely on the Console.pm which was > posted a while ago) things behave differently. After the preliminaries > (login, etc) stuff is handled and I see [Attached], from there on out, > any data I send to the server is sent properly, and then sent on to the > serial port... but nothing is sent to back to my client, even though > it's logged properly. it sounds like you aren't totally implementing the protocol used by the client. at a certain 8.x release, the client must send the server a '^Ec;' command, which tells the server to start sending console output to the client. this was added so that the client could send various escape sequences and read the result accurately (otherwise it could get console output mixed in) after attaching to the console but before the user gets to interact with it. no, the protocol isn't fully documented. :-( the CallUp() routine in console.c is where most of the "handshake" magic happens (i believe this one thing i mentioned is really the only "gotcha" - otherwise it's fairly straightfoward). Bryan From rkirkpat@rkirkpat.net Mon Mar 27 07:43:41 2006 Received: from saratoga.rkirkpat.net (saratoga.rkirkpat.net [206.196.156.29]) by underdog.stansell.org (8.13.6/8.13.6) with ESMTP id k2RFhYHF013363 for ; Mon, 27 Mar 2006 07:43:39 -0800 (PST) Received: from magellan.rkirkpat.net (magellan.rkirkpat.net [192.168.7.3]) by saratoga.rkirkpat.net (Postfix) with ESMTP id 4CF0471886 for ; Mon, 27 Mar 2006 08:43:33 -0700 (MST) Received: by magellan.rkirkpat.net (Postfix, from userid 1000) id 1882A9D840; Mon, 27 Mar 2006 08:43:33 -0700 (MST) Received: from localhost (localhost [127.0.0.1]) by magellan.rkirkpat.net (Postfix) with ESMTP id 0CFFB140D6 for ; Mon, 27 Mar 2006 08:43:33 -0700 (MST) Date: Mon, 27 Mar 2006 08:43:33 -0700 (MST) From: Ryan Kirkpatrick X-Sender: rkirkpat@magellan.rkirkpat.net To: users@conserver.com Subject: Cascading Conservers... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2006 15:43:41 -0000 Does anyone have an example configuration for cascading Conservers? I have a primary system with a large number of serial ports running Conserver, but I also have a second system with just a few serial ports also running Conserver. I remember in older versions of Conserver (pre 8.x) it was possible to chain them, so if I requested a port from the primary server that was actually on the secondary server, the primary server would automatically redirect the console connection there. Is this still possible? Thanks! --------------------------------------------------------------------------- | "For to me to live is Christ, and to die is gain." | | --- Philippians 1:21 (KJV) | --------------------------------------------------------------------------- | Ryan Kirkpatrick | Boulder, Colorado | http://www.rkirkpat.net/ | --------------------------------------------------------------------------- From bryan@stansell.org Mon Mar 27 08:17:54 2006 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.13.6/8.13.6) with ESMTP id k2RGHrZ8013628 for ; Mon, 27 Mar 2006 08:17:53 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.13.6/8.13.6/Submit) id k2RGHrgN013627 for users@conserver.com; Mon, 27 Mar 2006 08:17:53 -0800 (PST) Date: Mon, 27 Mar 2006 08:17:53 -0800 From: Bryan Stansell To: users@conserver.com Subject: Re: Cascading Conservers... Message-ID: <20060327161753.GC707@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.1i X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2006 16:17:54 -0000 On Mon, Mar 27, 2006 at 08:43:33AM -0700, Ryan Kirkpatrick wrote: > Does anyone have an example configuration for cascading Conservers? I have > a primary system with a large number of serial ports running Conserver, > but I also have a second system with just a few serial ports also running > Conserver. I remember in older versions of Conserver (pre 8.x) it was > possible to chain them, so if I requested a port from the primary server > that was actually on the secondary server, the primary server would > automatically redirect the console connection there. Is this still > possible? Thanks! it works the same as before...the easiest way taking a conserver.cf file and distributing it to all the conserver hosts. there's an example in conserver.cf/samples/average-distributed.cf (which builds on others in there). the only "trick" is to have the 'master' for each console defined appropriately. you can almost take the two conserver.cf files you have now and just cat them together and distribute that (in some cases that'll "just work", for others not quite so - depends on how you set things up). Bryan From rkirkpat@rkirkpat.net Mon Mar 27 08:44:04 2006 Received: from saratoga.rkirkpat.net (saratoga.rkirkpat.net [206.196.156.29]) by underdog.stansell.org (8.13.6/8.13.6) with ESMTP id k2RGhvem013822 for ; Mon, 27 Mar 2006 08:44:02 -0800 (PST) Received: from magellan.rkirkpat.net (magellan.rkirkpat.net [192.168.7.3]) by saratoga.rkirkpat.net (Postfix) with ESMTP id 75E81716A1 for ; Mon, 27 Mar 2006 09:40:39 -0700 (MST) Received: by magellan.rkirkpat.net (Postfix, from userid 1000) id 308A79D840; Mon, 27 Mar 2006 09:40:39 -0700 (MST) Received: from localhost (localhost [127.0.0.1]) by magellan.rkirkpat.net (Postfix) with ESMTP id 27C72140D6 for ; Mon, 27 Mar 2006 09:40:39 -0700 (MST) Date: Mon, 27 Mar 2006 09:40:39 -0700 (MST) From: Ryan Kirkpatrick X-Sender: rkirkpat@magellan.rkirkpat.net To: users@conserver.com Subject: Re: Cascading Conservers... In-Reply-To: <20060327161753.GC707@underdog.stansell.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2006 16:44:05 -0000 On Mon, 27 Mar 2006, Bryan Stansell wrote: > On Mon, Mar 27, 2006 at 08:43:33AM -0700, Ryan Kirkpatrick wrote: > > Does anyone have an example configuration for cascading Conservers? > > it works the same as before...the easiest way taking a conserver.cf > file and distributing it to all the conserver hosts. you can almost > take the two conserver.cf files you have now and just cat them > together and distribute that. That is so easy and intutive I missed it the first time I was trying to figure this out! I just cat'd the 'default' and 'console' sections from the secondary server's config onto the primary server's config and it just worked! Actually, that is too easy. :) Thanks! --------------------------------------------------------------------------- | "For to me to live is Christ, and to die is gain." | | --- Philippians 1:21 (KJV) | --------------------------------------------------------------------------- | Ryan Kirkpatrick | Boulder, Colorado | http://www.rkirkpat.net/ | --------------------------------------------------------------------------- From cfowler@outpostsentinel.com Mon Mar 27 14:52:09 2006 Received: from www.linuxiceberg.com (66-23-224-81.clients.speedfactory.net [66.23.224.81]) by underdog.stansell.org (8.13.6/8.13.6) with ESMTP id k2RMq0OB015564; Mon, 27 Mar 2006 14:52:06 -0800 (PST) Received: from [192.168.1.115] ([192.168.1.115]) by www.linuxiceberg.com (8.11.6/8.11.6) with ESMTP id k2RMrAO05697; Mon, 27 Mar 2006 17:53:11 -0500 Subject: Re: console and telnet differences? From: Christopher Fowler To: Bryan Stansell In-Reply-To: <20060323145945.GQ15272@underdog.stansell.org> References: <442189EA.60801@Digeo.com> <20060323145945.GQ15272@underdog.stansell.org> Content-Type: text/plain Date: Mon, 27 Mar 2006 17:51:56 -0500 Message-Id: <1143499916.27336.53.camel@shuttle.linxdev.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-7) Content-Transfer-Encoding: 7bit X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2006 22:52:09 -0000 Also the Console.pm that I wrote was based on 7.X version not 8. Per Brian and my discussions today a new module needs to be written for 8.X. If anyone is up to the task it would be greatly appreciated. On Thu, 2006-03-23 at 06:59 -0800, Bryan Stansell wrote: > On Wed, Mar 22, 2006 at 10:31:22AM -0700, Chris Riddoch wrote: > > console can talk to a server just fine. But when I connect with telnet > > or a ruby script I'm writing (based loosely on the Console.pm which was > > posted a while ago) things behave differently. After the preliminaries > > (login, etc) stuff is handled and I see [Attached], from there on out, > > any data I send to the server is sent properly, and then sent on to the > > serial port... but nothing is sent to back to my client, even though > > it's logged properly. > > it sounds like you aren't totally implementing the protocol used by the > client. at a certain 8.x release, the client must send the server a > '^Ec;' command, which tells the server to start sending console output > to the client. this was added so that the client could send various > escape sequences and read the result accurately (otherwise it could get > console output mixed in) after attaching to the console but before the > user gets to interact with it. > > no, the protocol isn't fully documented. :-( the CallUp() routine in > console.c is where most of the "handshake" magic happens (i believe this > one thing i mentioned is really the only "gotcha" - otherwise it's > fairly straightfoward). > > Bryan > _______________________________________________ > users mailing list > users@conserver.com > https://www.conserver.com/mailman/listinfo/users From rdeberry@gmail.com Wed Mar 29 09:40:54 2006 Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.187]) by underdog.stansell.org (8.13.6/8.13.6) with ESMTP id k2THelW0013629 for ; Wed, 29 Mar 2006 09:40:53 -0800 (PST) Received: by nproxy.gmail.com with SMTP id l37so184851nfc for ; Wed, 29 Mar 2006 09:40:43 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=XAupBYFTTUlPF9HlHsIermlPz6s1s28HWc0uGYs03jS0tuJdSHw18VEgmsRORvTZ7WBtxQPPHBB1n+6/5KAuwDI4oyOFrITmSDIJBMOXxGTKrI9oOQvb9NCvGptd6UcMMzsJMyhb89gRDChhnj60HiOHytWIBUOTSacF2X7MpSQ= Received: by 10.48.255.9 with SMTP id c9mr203298nfi; Wed, 29 Mar 2006 09:40:43 -0800 (PST) Received: by 10.48.223.3 with HTTP; Wed, 29 Mar 2006 09:40:43 -0800 (PST) Message-ID: <4920e0b40603290940s5af8c3bei97b8f064912dccc4@mail.gmail.com> Date: Wed, 29 Mar 2006 12:40:43 -0500 From: "Ryan DeBerry" To: users@conserver.com Subject: Connection refused MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5943_18225439.1143654043528" X-Spam-Score: -3.629 () BAYES_00,HTML_20_30,HTML_MESSAGE X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2006 17:40:55 -0000 This is a multi-part message in MIME format... ------=_Part_5943_18225439.1143654043528 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I have recently configured conserver for a 6-port serial card with Netmos 9845 chipset. Everytime I type console -u or console , I get the following: console: connect(): 782@console: Connection refused Here is my config file ### # default full { rw *; } default * { logfile /var/log/conserver/&.log; timestamp ""; type device; baud 9600; parity none; master localhost; include full; host unused; } ### set the defaults for all the consoles # these get applied before anything else access * { trusted localhost; allowed localhost; } console R1 { device /dev/ttyS50; } console R2 { device /dev/ttyS51; } console R3 { device /dev/ttyS52; } console R4 { device /dev/ttyS53; } ------=_Part_5943_18225439.1143654043528 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I have recently configured conserver for a 6-port serial card with Netmos 9= 845 chipset.

Everytime I type console -u or console <hostname>= , I get the following:

console: connect(): 782@console: Connection r= efused


Here is my config file

###
#
default full {
&nb= sp;       rw *;
}

default * {
&n= bsp;       logfile /var/log/conserver/&.l= og;
        timestamp "";        type device;
        baud 9600;
   =      parity none;
     &nbs= p;  master localhost;
        in= clude full;
        host unused;
}=

### set the defaults for all the consoles
# these get applied be= fore anything else
access * {
        trusted localhost= ;
        allowed localhost;
}
=

console R1 {
        device /= dev/ttyS50;
}

console R2 {
      = ;  device /dev/ttyS51;
}


console R3 {
  &nb= sp;     device /dev/ttyS52;
}

console R4 {
        dev= ice /dev/ttyS53;
}


------=_Part_5943_18225439.1143654043528-- From rdeberry@gmail.com Thu Mar 30 17:44:18 2006 Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.185]) by underdog.stansell.org (8.13.6/8.13.6) with ESMTP id k2V1iBrE028993 for ; Thu, 30 Mar 2006 17:44:17 -0800 (PST) Received: by nproxy.gmail.com with SMTP id g2so607382nfe for ; Thu, 30 Mar 2006 17:44:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=kqXoEGXXQZ0FLkHF+JMcE074bI4x7QoV2Pfc8b5GSgQ+7Qda/N4cqvFrZ2CW2+PUsS+Eznc0PRcR1PDoUSNExjopzKh/IcSMHb7XllCsT5OZXoyigy7Bw/fL1/uDv7FcHv/cpgAaUgqLc5evuCA1aKgP7ulOu/eu14P7SLk1bHI= Received: by 10.48.226.11 with SMTP id y11mr169254nfg; Thu, 30 Mar 2006 17:44:08 -0800 (PST) Received: by 10.48.223.3 with HTTP; Thu, 30 Mar 2006 17:44:08 -0800 (PST) Message-ID: <4920e0b40603301744y78371e41m8a41d475395fd1cb@mail.gmail.com> Date: Thu, 30 Mar 2006 20:44:08 -0500 From: "Ryan DeBerry" To: users@conserver.com Subject: Telnet to conserver MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13117_17663112.1143769448430" X-Spam-Score: -4.801 () BAYES_00,HTML_MESSAGE X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 01:44:18 -0000 This is a multi-part message in MIME format... ------=_Part_13117_17663112.1143769448430 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I have conserver up and running fairly well (can't seem to get authentication working, another issue). I want to be able to telnet to the conserver and use it in that aspect. I have conserver running with /usr/sbin/conserver -d -p 3109 -b 50000 I can telnet to port 50000 and connect to a console, however there is no interaction after you connect a console. Is this a feature that is supported currently or am I stretching it? Other than that I can connect and interact with console from the local server. ------=_Part_13117_17663112.1143769448430 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I have conserver up and running fairly well (can't seem to get authenticati= on working, another issue).

I want to be able to telnet to the conse= rver and use it in that aspect.

I have conserver running with /usr/s= bin/conserver -d -p 3109 -b 50000

I can telnet to port 50000 and connect to a console, however there = is no interaction after you connect a console.

Is this a feature tha= t is supported currently or am I stretching it?  Other than that I can= connect and interact with console from the local server.
------=_Part_13117_17663112.1143769448430-- From bryan@stansell.org Thu Mar 30 18:05:51 2006 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.13.6/8.13.6) with ESMTP id k2V25ow1029155 for ; Thu, 30 Mar 2006 18:05:50 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.13.6/8.13.6/Submit) id k2V25o4x029154 for users@conserver.com; Thu, 30 Mar 2006 18:05:50 -0800 (PST) Date: Thu, 30 Mar 2006 18:05:50 -0800 From: Bryan Stansell To: users@conserver.com Subject: Re: Telnet to conserver Message-ID: <20060331020550.GG707@underdog.stansell.org> References: <4920e0b40603301744y78371e41m8a41d475395fd1cb@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4920e0b40603301744y78371e41m8a41d475395fd1cb@mail.gmail.com> User-Agent: Mutt/1.4.2.1i X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 02:05:51 -0000 On Thu, Mar 30, 2006 at 08:44:08PM -0500, Ryan DeBerry wrote: > I want to be able to telnet to the conserver and use it in that aspect. why? the console client can run just about anywhere. > I can telnet to port 50000 and connect to a console, however there is no > interaction after you connect a console. see https://www.conserver.com/pipermail/users/2006-March/msg00033.html, sounds like the same issue. > Is this a feature that is supported currently or am I stretching it? Other > than that I can connect and interact with console from the local server. well, it's supported in that as long as you chat using the protocol it's expecting, yes. oh, and going directly to the higher-numbered port instead of the -p arg and then using the protocol to find the console may not always work...it probably will, depending on what the machine is doing, but it's not guaranteed (and if you edit the config and send a HUP, all bets are off). i'd certainly like to know why you're trying to avoid the client, 'cause if something is lacking, it might be possible to add an enhancement. but i can imagine edge cases that would require it... good luck! Bryan From rdeberry@gmail.com Thu Mar 30 18:17:32 2006 Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.186]) by underdog.stansell.org (8.13.6/8.13.6) with ESMTP id k2V2HMPJ029359 for ; Thu, 30 Mar 2006 18:17:30 -0800 (PST) Received: by nproxy.gmail.com with SMTP id g2so613205nfe for ; Thu, 30 Mar 2006 18:17:22 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=J5hkx9I3uqUWpP37WqsAxuVcXRgkz3FTvnefD1iNlyQS4/uA4Iy57rNP2sm82OxCGnRocgsGSyROESmUbqRoa92dmBDnBRr4CgXqusu8y6BSIfZip/2BhTzDIVligZXdKOfsOIpJ4rg1eJwI9cWRsnSeRgbzVBdMN7wjTQHPzkU= Received: by 10.48.108.17 with SMTP id g17mr139194nfc; Thu, 30 Mar 2006 18:17:22 -0800 (PST) Received: by 10.48.223.3 with HTTP; Thu, 30 Mar 2006 18:17:21 -0800 (PST) Message-ID: <4920e0b40603301817t47809608t7e03afb75e852d2@mail.gmail.com> Date: Thu, 30 Mar 2006 21:17:21 -0500 From: "Ryan DeBerry" To: "Bryan Stansell" Subject: Re: Telnet to conserver In-Reply-To: <20060331020550.GG707@underdog.stansell.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13414_8377330.1143771441994" References: <4920e0b40603301744y78371e41m8a41d475395fd1cb@mail.gmail.com> <20060331020550.GG707@underdog.stansell.org> X-Spam-Score: -4.801 () BAYES_00,HTML_MESSAGE X-Scanned-By: MIMEDefang 2.39 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 02:17:32 -0000 This is a multi-part message in MIME format... ------=_Part_13414_8377330.1143771441994 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks for the reply. I am trying to emulate a Cisco 2511 or equivalent. Searching through the mailing-lists I found ser2net and it is working like I need for my situation. On 3/30/06, Bryan Stansell wrote: > > On Thu, Mar 30, 2006 at 08:44:08PM -0500, Ryan DeBerry wrote: > > I want to be able to telnet to the conserver and use it in that aspect. > > why? the console client can run just about anywhere. > > > I can telnet to port 50000 and connect to a console, however there is no > > interaction after you connect a console. > > see https://www.conserver.com/pipermail/users/2006-March/msg00033.html, > sounds like the same issue. > > > Is this a feature that is supported currently or am I stretching > it? Other > > than that I can connect and interact with console from the local server. > > well, it's supported in that as long as you chat using the protocol it's > expecting, yes. > > oh, and going directly to the higher-numbered port instead of the -p arg > and then using the protocol to find the console may not always work...it > probably will, depending on what the machine is doing, but it's not > guaranteed (and if you edit the config and send a HUP, all bets are > off). > > i'd certainly like to know why you're trying to avoid the client, 'cause > if something is lacking, it might be possible to add an enhancement. > but i can imagine edge cases that would require it... > > good luck! > > Bryan > _______________________________________________ > users mailing list > users@conserver.com > https://www.conserver.com/mailman/listinfo/users > ------=_Part_13414_8377330.1143771441994 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks for the reply.  I am trying to emulate a Cisco 2511 or equivale= nt.  Searching through the mailing-lists I found ser2net and it is wor= king like I need for my situation.

On 3/30/06,=20 Bryan Stansell <bryan@conserver.com> wrote: On Thu, Mar 30, 2006 at 08:44:08PM -0500, Ryan DeBerry wrote:
> I wan= t to be able to telnet to the conserver and use it in that aspect.

w= hy?  the console client can run just about anywhere.

> = I can telnet to port 50000 and connect to a console, however there is no
> interaction after you connect a console.

see https://ww= w.conserver.com/pipermail/users/2006-March/msg00033.html,
sounds lik= e the same issue.

> Is this a feature that is supported currently or am I stretchi= ng it?  Other
> than that I can connect and interact with c= onsole from the local server.

well, it's supported in that as long a= s you chat using the protocol it's
expecting, yes.

oh, and going directly to the higher-numbered po= rt instead of the -p arg
and then using the protocol to find the console= may not always work...it
probably will, depending on what the machine i= s doing, but it's not
guaranteed (and if you edit the config and send a HUP, all bets are
= off).

i'd certainly like to know why you're trying to avoid the clie= nt, 'cause
if something is lacking, it might be possible to add an enhan= cement.
but i can imagine edge cases that would require it...

good luck!=

Bryan
_______________________________________________
users m= ailing list
users@conserver.com
https:= //www.conserver.com/mailman/listinfo/users

------=_Part_13414_8377330.1143771441994-- From cfowler@outpostsentinel.com Thu Mar 30 19:39:57 2006 Received: from www.linuxiceberg.com (66-23-224-81.clients.speedfactory.net [66.23.224.81]) by underdog.stansell.org (8.13.6/8.13.6) with ESMTP id k2V3dnQG000048; Thu, 30 Mar 2006 19:39:55 -0800 (PST) Received: from [192.168.1.115] ([192.168.1.115]) by www.linuxiceberg.com (8.11.6/8.11.6) with ESMTP id k2V3f4O06266; Thu, 30 Mar 2006 22:41:05 -0500 Subject: Re: Telnet to conserver From: Christopher Fowler To: Ryan DeBerry In-Reply-To: <4920e0b40603301817t47809608t7e03afb75e852d2@mail.gmail.com> References: <4920e0b40603301744y78371e41m8a41d475395fd1cb@mail.gmail.com> <20060331020550.GG707@underdog.stansell.org> <4920e0b40603301817t47809608t7e03afb75e852d2@mail.gmail.com> Content-Type: text/plain Date: Thu, 30 Mar 2006 22:39:43 -0500 Message-Id: <1143776383.10850.125.camel@shuttle.linxdev.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-7) Content-Transfer-Encoding: 7bit X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 Cc: users@conserver.com, Bryan Stansell X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 03:39:57 -0000 On Thu, 2006-03-30 at 21:17 -0500, Ryan DeBerry wrote: > Thanks for the reply. I am trying to emulate a Cisco 2511 or > equivalent. Searching through the mailing-lists I found ser2net and > it is working like I need for my situation. > Well you've created a dumb terminal server with none of the features of conserver. If you want one of those look on eBay for old Computone RAS2000s From Chris.Riddoch@digeo.com Fri Mar 31 07:28:24 2006 Received: from packet.digeo.com (packet.digeo.com [12.110.80.53]) by underdog.stansell.org (8.13.6/8.13.6) with ESMTP id k2VFSGUX010037 for ; Fri, 31 Mar 2006 07:28:22 -0800 (PST) Received: from digeo-nav01.digeo.com (digeo-nav01 [192.168.1.233]) by packet.digeo.com (8.12.11/8.12.11) with SMTP id k2VFQKL4016032 for ; Fri, 31 Mar 2006 07:26:20 -0800 (PST) Received: from digeo-mail1.digeo.com ([192.168.12.27]) by digeo-nav01.digeo.com (SAVSMTP 3.1.5.43) with SMTP id M2006033107332930634 for ; Fri, 31 Mar 2006 07:33:29 -0800 Received: from digeo-mail2.pao.digeo.com ([172.17.212.10]) by digeo-mail1.digeo.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 31 Mar 2006 07:28:15 -0800 Received: from [127.0.0.1] ([172.17.1.143]) by digeo-mail2.pao.digeo.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 31 Mar 2006 07:28:14 -0800 Message-ID: <442D4B22.2060502@Digeo.com> Date: Fri, 31 Mar 2006 08:30:42 -0700 From: Chris Riddoch User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: users@conserver.com Subject: Re: Telnet to conserver References: <4920e0b40603301744y78371e41m8a41d475395fd1cb@mail.gmail.com> <20060331020550.GG707@underdog.stansell.org> In-Reply-To: <20060331020550.GG707@underdog.stansell.org> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=753A2175 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 31 Mar 2006 15:28:15.0008 (UTC) FILETIME=[BA7CCA00:01C654D7] X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 15:28:24 -0000 Bryan Stansell wrote: > i'd certainly like to know why you're trying to avoid the client, 'cause > if something is lacking, it might be possible to add an enhancement. > but i can imagine edge cases that would require it... In my case, I was avoiding the client because of support issues: most of the organization at my location uses Windows, and although a number of users have Cygwin, most of them didn't install the compilers and libraries necessary to build the client. It also turns out that distributing a Cygwin binary from my box requires a very similar Cygwin install on other people's machines. Or something. It's complicated. A standalone, Win32-native (non-cygwin) build of console would be lovely, if someone could instruct me in doing it. Meanwhile, the *bigger* issue is time and education. Nearly everybody uses Terra Term (ugh!) connected to their own box, and the only advantage most people see in conserver is the ability to centralize the logging of all the QA terminals to our fileserver, and adding timestamps every minute. I'm wearing my QA hat at this job, not the sysadmin hat. It's been easier for me to sell the idea of installing Ruby and using automation scripts I've written, rather than having people build stuff on cygwin. That said, nobody but me has bothered using this anyway, even though I've written internal documentation. I get the feeling that this is an uphill and mostly pointless battle now. Any suggestions are quite welcome. -- Chris Riddoch epistemological humility From cfowler@outpostsentinel.com Fri Mar 31 07:43:04 2006 Received: from www.linuxiceberg.com (66-23-224-81.clients.speedfactory.net [66.23.224.81]) by underdog.stansell.org (8.13.6/8.13.6) with ESMTP id k2VFgvd7010122 for ; Fri, 31 Mar 2006 07:43:02 -0800 (PST) Received: from [192.168.1.115] ([192.168.1.115]) by www.linuxiceberg.com (8.11.6/8.11.6) with ESMTP id k2VFiFO06361; Fri, 31 Mar 2006 10:44:16 -0500 Subject: Re: Telnet to conserver From: Christopher Fowler To: Chris Riddoch In-Reply-To: <442D4B22.2060502@Digeo.com> References: <4920e0b40603301744y78371e41m8a41d475395fd1cb@mail.gmail.com> <20060331020550.GG707@underdog.stansell.org> <442D4B22.2060502@Digeo.com> Content-Type: text/plain Date: Fri, 31 Mar 2006 10:42:53 -0500 Message-Id: <1143819773.30527.38.camel@shuttle.linxdev.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-7) Content-Transfer-Encoding: 7bit X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 15:43:05 -0000 On Fri, 2006-03-31 at 08:30 -0700, Chris Riddoch wrote: > > Any suggestions are quite welcome. I have a java client that is licensed by us. Not OSS. I'm not against making OSS if it can get an injection of being better. It needs serious assistance in the area of emulation. From cfowler@outpostsentinel.com Fri Mar 31 07:49:12 2006 Received: from www.linuxiceberg.com (66-23-224-81.clients.speedfactory.net [66.23.224.81]) by underdog.stansell.org (8.13.6/8.13.6) with ESMTP id k2VFn58b010179 for ; Fri, 31 Mar 2006 07:49:10 -0800 (PST) Received: from [192.168.1.115] ([192.168.1.115]) by www.linuxiceberg.com (8.11.6/8.11.6) with ESMTP id k2VFoOO06365; Fri, 31 Mar 2006 10:50:24 -0500 Subject: Re: Telnet to conserver From: Christopher Fowler To: Chris Riddoch In-Reply-To: <442D4B22.2060502@Digeo.com> References: <4920e0b40603301744y78371e41m8a41d475395fd1cb@mail.gmail.com> <20060331020550.GG707@underdog.stansell.org> <442D4B22.2060502@Digeo.com> Content-Type: text/plain Date: Fri, 31 Mar 2006 10:49:02 -0500 Message-Id: <1143820142.30527.42.camel@shuttle.linxdev.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-7) Content-Transfer-Encoding: 7bit X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 15:49:13 -0000 On Fri, 2006-03-31 at 08:30 -0700, Chris Riddoch wrote: > In my case, I was avoiding the client because of support issues: most > of > the organization at my location uses Windows, and although a number of > users have Cygwin, most of them didn't install the compilers and > libraries necessary to build the client. It also turns out that > distributing a Cygwin binary from my box requires a very similar > Cygwin > install on other people's machines. Or something. It's complicated. Well there is no Win32 code in console so it is not native. You need Cygwin. a few years back I compiled a version in Cygwin and made it available to our customers. You do not need the Cygwin environment. You only need the dll. So I created a zip file that contained console.exe and cygwin?.dll. It worked fine on the cmd.com prompt. It is console from 7.2.7 though. From bryan@stansell.org Fri Mar 31 08:05:09 2006 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.13.6/8.13.6) with ESMTP id k2VG59IG010305 for ; Fri, 31 Mar 2006 08:05:09 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.13.6/8.13.6/Submit) id k2VG59BE010304 for users@conserver.com; Fri, 31 Mar 2006 08:05:09 -0800 (PST) Date: Fri, 31 Mar 2006 08:05:09 -0800 From: Bryan Stansell To: users@conserver.com Subject: Re: Telnet to conserver Message-ID: <20060331160509.GJ707@underdog.stansell.org> References: <4920e0b40603301744y78371e41m8a41d475395fd1cb@mail.gmail.com> <20060331020550.GG707@underdog.stansell.org> <442D4B22.2060502@Digeo.com> <1143820142.30527.42.camel@shuttle.linxdev.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1143820142.30527.42.camel@shuttle.linxdev.com> User-Agent: Mutt/1.4.2.1i X-Scanned-By: MIMEDefang 2.39 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 16:05:10 -0000 On Fri, Mar 31, 2006 at 10:49:02AM -0500, Christopher Fowler wrote: > available to our customers. You do not need the Cygwin environment. > You only need the dll. So I created a zip file that contained > console.exe and cygwin?.dll. It worked fine on the cmd.com prompt. and this should work with 8.x.x as well. you might need to compile things with '--with-port=XXX' so that an /etc/services lookup isn't needed, but aside from that, i don't see why dropping console.exe and cygwin1.dll in a directory and running it won't work. haven't tried, however (i have a small development cygwin environment on my laptop). the exception to this might be if you compile with ssl or other extra libraries...the might require extra things to distribute. as for the education issue, well, perhaps it's just not right for your environment. i would make the claim that conserver would be right for *any* environment since it allows for logging (so you can go back and see what was wrong) and cooperative work on a single console. just those two features alone (not to mention the many others) make it worth the effort in my book. but, work habits and a willingness for change can be a long, hard battle, so you should obviously do what you feel is right. sure would be entertaining to at least have a native console binary for windows...that would help ease everyone's pain. who knows how tricky that'll be, though (i'm no windows programmer, that's for sure). Bryan From Chris.Riddoch@digeo.com Fri Mar 31 08:10:42 2006 Received: from packet.digeo.com (packet.digeo.com [12.110.80.53]) by underdog.stansell.org (8.13.6/8.13.6) with ESMTP id k2VGAZZa010389; Fri, 31 Mar 2006 08:10:40 -0800 (PST) Received: from digeo-nav01.digeo.com (digeo-nav01 [192.168.1.233]) by packet.digeo.com (8.12.11/8.12.11) with SMTP id k2VG8d8W016841; Fri, 31 Mar 2006 08:08:39 -0800 (PST) Received: from digeo-mail1.digeo.com ([192.168.12.27]) by digeo-nav01.digeo.com (SAVSMTP 3.1.5.43) with SMTP id M2006033108154830926 ; Fri, 31 Mar 2006 08:15:48 -0800 Received: from digeo-mail2.pao.digeo.com ([172.17.212.10]) by digeo-mail1.digeo.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 31 Mar 2006 08:10:34 -0800 Received: from [127.0.0.1] ([172.17.1.143]) by digeo-mail2.pao.digeo.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 31 Mar 2006 08:10:33 -0800 Message-ID: <442D550D.2060703@Digeo.com> Date: Fri, 31 Mar 2006 09:13:01 -0700 From: Chris Riddoch User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Bryan Stansell Subject: Re: Telnet to conserver References: <4920e0b40603301744y78371e41m8a41d475395fd1cb@mail.gmail.com> <20060331020550.GG707@underdog.stansell.org> <442D4B22.2060502@Digeo.com> <1143820142.30527.42.camel@shuttle.linxdev.com> <20060331160509.GJ707@underdog.stansell.org> In-Reply-To: <20060331160509.GJ707@underdog.stansell.org> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=753A2175 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 31 Mar 2006 16:10:34.0037 (UTC) FILETIME=[A3DDDE50:01C654DD] X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 16:10:43 -0000 Bryan Stansell wrote: > On Fri, Mar 31, 2006 at 10:49:02AM -0500, Christopher Fowler wrote: >> available to our customers. You do not need the Cygwin environment. >> You only need the dll. So I created a zip file that contained >> console.exe and cygwin?.dll. It worked fine on the cmd.com prompt. > > and this should work with 8.x.x as well. you might need to compile > things with '--with-port=XXX' so that an /etc/services lookup isn't > needed, but aside from that, i don't see why dropping console.exe and > cygwin1.dll in a directory and running it won't work. haven't tried, > however (i have a small development cygwin environment on my laptop). I'll give that a try when I get a chance. I hadn't thought to build a static binary (another suggestion I got). > sure would be entertaining to at least have a native console binary for > windows...that would help ease everyone's pain. who knows how tricky > that'll be, though (i'm no windows programmer, that's for sure). Yeah, neither am I. I'm trying to stay sane with SuSE on VMWare. (sigh) -- Chris Riddoch epistemological humility From cfowler@outpostsentinel.com Fri Mar 31 08:12:40 2006 Received: from www.linuxiceberg.com (66-23-224-81.clients.speedfactory.net [66.23.224.81]) by underdog.stansell.org (8.13.6/8.13.6) with ESMTP id k2VGCWte010429; Fri, 31 Mar 2006 08:12:38 -0800 (PST) Received: from [192.168.1.115] ([192.168.1.115]) by www.linuxiceberg.com (8.11.6/8.11.6) with ESMTP id k2VGDqO06390; Fri, 31 Mar 2006 11:13:53 -0500 Subject: Re: Telnet to conserver From: Christopher Fowler To: Bryan Stansell In-Reply-To: <20060331160509.GJ707@underdog.stansell.org> References: <4920e0b40603301744y78371e41m8a41d475395fd1cb@mail.gmail.com> <20060331020550.GG707@underdog.stansell.org> <442D4B22.2060502@Digeo.com> <1143820142.30527.42.camel@shuttle.linxdev.com> <20060331160509.GJ707@underdog.stansell.org> Content-Type: text/plain Date: Fri, 31 Mar 2006 11:12:30 -0500 Message-Id: <1143821550.30527.60.camel@shuttle.linxdev.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-7) Content-Transfer-Encoding: 7bit X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 16:12:41 -0000 On Fri, 2006-03-31 at 08:05 -0800, Bryan Stansell wrote: > and this should work with 8.x.x as well. you might need to compile > things with '--with-port=XXX' so that an /etc/services lookup isn't > needed, but aside from that, i don't see why dropping console.exe and > cygwin1.dll in a directory and running it won't work. haven't tried, > however (i have a small development cygwin environment on my laptop). I do remember having to use --with-port=XXX option. I also remember having to compile as static. I was hoping static would remove the cygwin1.dll requirement but that was the only one required. From cfowler@outpostsentinel.com Fri Mar 31 08:47:58 2006 Received: from www.linuxiceberg.com (66-23-224-81.clients.speedfactory.net [66.23.224.81]) by underdog.stansell.org (8.13.6/8.13.6) with ESMTP id k2VGlnJN010776; Fri, 31 Mar 2006 08:47:54 -0800 (PST) Received: from [192.168.1.115] ([192.168.1.115]) by www.linuxiceberg.com (8.11.6/8.11.6) with ESMTP id k2VGn7O06399; Fri, 31 Mar 2006 11:49:08 -0500 Subject: Re: Telnet to conserver From: Christopher Fowler To: Chris Riddoch In-Reply-To: <442D550D.2060703@Digeo.com> References: <4920e0b40603301744y78371e41m8a41d475395fd1cb@mail.gmail.com> <20060331020550.GG707@underdog.stansell.org> <442D4B22.2060502@Digeo.com> <1143820142.30527.42.camel@shuttle.linxdev.com> <20060331160509.GJ707@underdog.stansell.org> <442D550D.2060703@Digeo.com> Content-Type: text/plain Date: Fri, 31 Mar 2006 11:47:45 -0500 Message-Id: <1143823665.30527.64.camel@shuttle.linxdev.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-7) Content-Transfer-Encoding: 7bit X-Spam-Score: -4.901 () BAYES_00 X-Scanned-By: MIMEDefang 2.39 Cc: users@conserver.com, Bryan Stansell X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.6 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2006 16:47:58 -0000 One idea is having them ssh or telnet to the console server, logging ing and then executing console directly. With a front end on the console server you can make this easy on them On Fri, 2006-03-31 at 09:13 -0700, Chris Riddoch wrote: > Bryan Stansell wrote: > > On Fri, Mar 31, 2006 at 10:49:02AM -0500, Christopher Fowler wrote: > >> available to our customers. You do not need the Cygwin environment. > >> You only need the dll. So I created a zip file that contained > >> console.exe and cygwin?.dll. It worked fine on the cmd.com prompt. > > > > and this should work with 8.x.x as well. you might need to compile > > things with '--with-port=XXX' so that an /etc/services lookup isn't > > needed, but aside from that, i don't see why dropping console.exe and > > cygwin1.dll in a directory and running it won't work. haven't tried, > > however (i have a small development cygwin environment on my laptop). > > I'll give that a try when I get a chance. I hadn't thought to build a > static binary (another suggestion I got). > > > sure would be entertaining to at least have a native console binary for > > windows...that would help ease everyone's pain. who knows how tricky > > that'll be, though (i'm no windows programmer, that's for sure). > > Yeah, neither am I. I'm trying to stay sane with SuSE on VMWare. (sigh) >