From selsky@columbia.edu Mon Dec 1 13:45:50 2003 Received: from jalapeno.cc.columbia.edu (jalapeno.cc.columbia.edu [128.59.59.238]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hB1Ljm4F005015; Mon, 1 Dec 2003 13:45:50 -0800 (PST) Received: from [160.39.244.203] (dyn-wireless-244-203.dyn.columbia.edu [160.39.244.203]) (user=selsky mech=PLAIN bits=0) by jalapeno.cc.columbia.edu (8.12.10/8.12.10) with ESMTP id hB1Ljcxh028303 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT); Mon, 1 Dec 2003 16:45:44 -0500 (EST) In-Reply-To: <20031128032350.GM517@underdog.stansell.org> References: <20031125031342.GA11909@columbia.edu> <20031128032350.GM517@underdog.stansell.org> Mime-Version: 1.0 (Apple Message framework v606) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Matt Selsky Date: Mon, 1 Dec 2003 16:46:22 -0500 To: Bryan Stansell X-Mailer: Apple Mail (2.606) X-No-Spam-Score: Local X-Scanned-By: MIMEDefang 2.35 Cc: users@conserver.com Subject: Re: console -A and console down X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2003 21:45:51 -0000 > are there any messages in the conserver logfile (either stdout/stderr > or -L/'logfile' option)? that would be the only place there might be a > clue, unless the cisco is logging something on it's console. i'd check > both. > Our cisco apparently isn't sysloging anywhere since it's on the private vlan. Our conserver logfile contains: [Mon Nov 24 12:25:44 2003] conserver (27009): [foo] automatic reinitialization [Mon Nov 24 14:25:44 2003] conserver (27009): [foo] automatic reinitialization [Mon Nov 24 14:25:45 2003] conserver (27009): ERROR: [foo] connect(22): Connection refused: forcing down > yeah, the logfile isn't accessible unless the console is up. now that > you've pointed it out, that really seems wrong. personally, i think it > would be useful to replay the logfile if the console is down...might > help explain why it went down, or let you fix problems. i'll see if i > can "fix" this. i don't *think* there's a problem (inside the code) > with having the logfile open even though the console is down. there > should be only a few things to adjust (i think!) to use that > philosophy. Thanks. From bryan@stansell.org Mon Dec 1 16:53:07 2003 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hB20r74F005654 for ; Mon, 1 Dec 2003 16:53:07 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.12.10/8.12.10/Submit) id hB20r7NC005653 for users@conserver.com; Mon, 1 Dec 2003 16:53:07 -0800 (PST) Date: Mon, 1 Dec 2003 16:53:07 -0800 From: Bryan Stansell To: users@conserver.com Message-ID: <20031202005307.GB517@underdog.stansell.org> References: <20031125031342.GA11909@columbia.edu> <20031128032350.GM517@underdog.stansell.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Subject: Re: console -A and console down X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2003 00:53:08 -0000 On Mon, Dec 01, 2003 at 04:46:22PM -0500, Matt Selsky wrote: > Our cisco apparently isn't sysloging anywhere since it's on the private > vlan. Our conserver logfile contains: > > [Mon Nov 24 12:25:44 2003] conserver (27009): [foo] automatic > reinitialization > [Mon Nov 24 14:25:44 2003] conserver (27009): [foo] automatic > reinitialization > [Mon Nov 24 14:25:45 2003] conserver (27009): ERROR: [foo] connect(22): > Connection refused: forcing down > hmmm...looks like i'm missing a failure message in there, but from the code, i think it means it got a read() failure...probably (confident, aren't i?). then after attacking the term server a couple times on the port, the cisco probably refused the connection and so conserver stopped pounding it. i'm not sure what to tell you. we could put some more messages in conserver, which might help, but to really tell what's going on, i'd look at the cisco console or it's syslog data...if you can get to either. but, if you'd like a patch for more log info, let me know (i'll be expanding it in the next release). i suppose the other option is to take your config file, comment out all consoles except this one, and run another copy of conserver, in debug mode (probably -DD). just make sure the first copy of conserver either has this console commented out (and send it a HUP) or just let it stay down (^Ecd). then we can see a whole lot more of what's happening inside conserver when it fails. once it does, you can shut down the second conserver and just bring the original console back up. when running the second conserver, just include something like '-p 7777' so it attaches to a different port (and you can use 'console -p 7777 ') to attach to it. we may not see more than a read() failure, however. if so, we'll have to look at the cisco logs to get better info. Bryan From jh@axis.com Tue Dec 2 02:47:58 2003 Received: from fizban.axis.se (h19n2fls35o985.telia.com [217.210.53.19]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hB2Alu4F011226 for ; Tue, 2 Dec 2003 02:47:57 -0800 (PST) Received: from aivas.se.axis.com (aivas.axis.se [172.20.0.21]) by fizban.axis.se (8.12.10/8.12.10/Debian-4) with ESMTP id hB2Als49011375; Tue, 2 Dec 2003 11:47:54 +0100 Received: from aivas.se.axis.com (localhost [127.0.0.1]) by aivas.se.axis.com (8.12.10/8.12.10/Debian-5) with ESMTP id hB2AlqFi026228 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 2 Dec 2003 11:47:52 +0100 Received: from axis.com (jh@localhost) by aivas.se.axis.com (8.12.10/8.12.10/Debian-5) with ESMTP id hB2Alnel026215; Tue, 2 Dec 2003 11:47:50 +0100 X-Authentication-Warning: aivas.se.axis.com: jh owned process doing -bs In-Reply-To: Message from Brad Arlt of "Fri, 28 Nov 2003 10:17:23 MST." <20031128171723.GA15839@ms257a.cpsc.ucalgary.ca> To: Brad Arlt MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary=uwrZYomgwP2eb2u References: <20031128030733.GL517@underdog.stansell.org> <20031128171723.GA15839@ms257a.cpsc.ucalgary.ca> X-Mailer: jevim v3.15 Date: Tue, 02 Dec 2003 11:47:48 +0100 Message-ID: <26214.1070362068@axis.com> From: Joergen Haegg X-Mailman-Approved-At: Tue, 02 Dec 2003 06:02:33 -0800 Cc: users@conserver.com Subject: Re: Conserver logfiles X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2003 10:47:58 -0000 --uwrZYomgwP2eb2u Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" > On Thu, Nov 27, 2003 at 07:07:33PM -0800, Bryan Stansell wrote: >> yep, all versions just grow. i usually set things up so that files are >> moved to a subdirectory then conserver is sent a SIGUSR2 (if 7.2.5 or >> above, otherwise a SIGHUP). if anyone has a good methodology for >> trimming/rolling/size-restricting logfiles automatically, i'd love to >=20 Many systems have the program 'logrotate' that manages log rotation in general. Conservers Debian package is doing just that: /var/log/conserver/*.log { rotate 7 size 300k daily compress missingok postrotate /etc/init.d/conserver-server rotate endscript } I used to have 'reload' instead of 'rotate' until I read Bryans last message about sigusr2. :-) (The 'size 300k' is for those who run logrotate more often than once a day.) 'logrotate' comes from redhat, and can be downloaded thru cvs: cvs -z9 -d :pserver:anoncvs@sources.redhat.com:/cvs/rhl login # password is anoncvs cvs -z9 -d :pserver:anoncvs@sources.redhat.com:/cvs/rhl co logrotate Upstream Authors are various RedHat people. --uwrZYomgwP2eb2u Content-Transfer-Encoding: 7bit Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQA/zGyKygfmFBKqHbgRAsFcAKDBNz/BFYeVmGaSzaIjucjLNLoP4gCbBQW4 5giLBqk0niBPave7r9oZZVo= =lPLg -----END PGP SIGNATURE----- --uwrZYomgwP2eb2u-- From bryan@stansell.org Tue Dec 2 08:54:31 2003 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hB2GsV4F015685; Tue, 2 Dec 2003 08:54:31 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.12.10/8.12.10/Submit) id hB2GsVlu015684; Tue, 2 Dec 2003 08:54:31 -0800 (PST) Date: Tue, 2 Dec 2003 08:54:31 -0800 From: Bryan Stansell To: announce@conserver.com, users@conserver.com Message-ID: <20031202165431.GA15658@underdog.stansell.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Cc: Subject: conserver-8.0.8 is available X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2003 16:54:32 -0000 There are a couple of new features added to this release, as well as some general cleanup and improvment of functionality. Check the manpages for details, and let me know if you see any problems! version 8.0.8 (Dec 2, 2003): - added client ^Ec| sequence for running a command on the client and having it's I/O directed to the console - inspired by discussions with David Williamson years ago ;-) - touched up Makefiles to test against .h files - fixed inability to replay the console log while the console is down - reported by Matt Selsky - added a console 'logfilemax' option for rotating the console logfile once the file is greater than the specified size - added sample configuration files to conserver.cf/samples - tweaked some failure messages and initcmd notifications Bryan Stansell From woods@proven.weird.com Tue Dec 2 12:29:17 2003 Received: from proven.weird.com (proven.weird.com [204.92.254.15]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hB2KTG4F016410 for ; Tue, 2 Dec 2003 12:29:16 -0800 (PST) Received: from localhost (1566 bytes) by proven.weird.com via sendmail with STDIO (sender: ) (ident using UNIX) id for ; (dest:remote)(R=bind_hosts)(T=inet_zone_bind_smtp) Tue, 2 Dec 2003 15:29:15 -0500 (EST) (Smail-3.2.0.116-Pre 2003-Jun-18 #14 built 2003-Oct-15) Message-Id: Date: Tue, 2 Dec 2003 15:29:15 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Face: ; j3Eth2XV8h1Yfu*uL{<:dQ$#E[DB0gemGZJ"J#4fH*][ lz; @-iwMv_u\6uIEKR0KY"=MzoQH#CrqBN`nG_5B@rrM8,f~Gr&h5a\= To: ConServer Users Mailing List In-Reply-To: <20031202165431.GA15658@underdog.stansell.org> References: <20031202165431.GA15658@underdog.stansell.org> X-Mailer: VM 7.18 under Emacs 21.3.1 Organization: Planix, Inc.; Toronto, Ontario; Canada Subject: Re: conserver-8.0.8 is available X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: ConServer Users Mailing List List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2003 20:29:17 -0000 [ On Tuesday, December 2, 2003 at 08:54:31 (-0800), Bryan Stansell wrote: ] > Subject: conserver-8.0.8 is available > > version 8.0.8 (Dec 2, 2003): > - added client ^Ec| sequence for running a command on the client > and having it's I/O directed to the console - inspired by > discussions with David Williamson > years ago ;-) Very cool idea! Thanks! Hopefully now I can use "chat" scripts to re-program devices too! (Once upon a time I used Kermit scripts, but they're very cumbersome to use in a data-driven fashion). -- Greg A. Woods +1 416 218-0098 VE3TCP RoboHack Planix, Inc. Secrets of the Weird From selsky@columbia.edu Thu Dec 4 16:17:01 2003 Received: from hazelnut.cc.columbia.edu (hazelnut.cc.columbia.edu [128.59.59.162]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hB50H04F004528 for ; Thu, 4 Dec 2003 16:17:00 -0800 (PST) Received: from hazelnut.cc.columbia.edu (localhost [127.0.0.1]) by hazelnut.cc.columbia.edu (8.12.10/8.12.10) with ESMTP id hB50Gpom023120 for ; Thu, 4 Dec 2003 19:16:52 -0500 (EST) Received: (from selsky@localhost) by hazelnut.cc.columbia.edu (8.12.10/8.12.8/Submit) id hB50GpRj023119 for users@conserver.com; Thu, 4 Dec 2003 19:16:51 -0500 (EST) Date: Thu, 4 Dec 2003 19:16:50 -0500 From: Matt Selsky To: users@conserver.com Message-ID: <20031205001650.GA22433@columbia.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: groups/rw not working correctly? X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2003 00:17:02 -0000 We have many machines in our machine room, including machines which we host for other departments. Those departments should only be able to access their own machines. Our admin group should be able to access all consoles. My config looks something like this: group finance { users abc123; } group hr { users xyz321; } group assisted_sysadmin { users finance; users hr; } group admin { users *; users !assisted_sysadmin; } default * { rw *; } console foo { rw finance, admin; ... } However, when I try this, finance and hr can't access their consoles. They get a permission denied error. Is my config wrong or is this a bug? From selsky@columbia.edu Thu Dec 4 16:20:36 2003 Received: from hazelnut.cc.columbia.edu (hazelnut.cc.columbia.edu [128.59.59.162]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hB50KZ4F004575 for ; Thu, 4 Dec 2003 16:20:35 -0800 (PST) Received: from hazelnut.cc.columbia.edu (localhost [127.0.0.1]) by hazelnut.cc.columbia.edu (8.12.10/8.12.10) with ESMTP id hB50KZom023763 for ; Thu, 4 Dec 2003 19:20:35 -0500 (EST) Received: (from selsky@localhost) by hazelnut.cc.columbia.edu (8.12.10/8.12.8/Submit) id hB50KZoH023762 for users@conserver.com; Thu, 4 Dec 2003 19:20:35 -0500 (EST) Date: Thu, 4 Dec 2003 19:20:35 -0500 From: Matt Selsky To: users@conserver.com Message-ID: <20031205002034.GA23475@columbia.edu> References: <20031205001650.GA22433@columbia.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031205001650.GA22433@columbia.edu> User-Agent: Mutt/1.4.1i Subject: Re: groups/rw not working correctly? X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2003 00:20:37 -0000 > default * { > rw *; > } Oops. This should be: default * { rw acis; } From penny.sullivan@gbst.com Thu Dec 4 16:51:17 2003 Received: from mail-4.gbst.com (mail-4.gbst.com [203.0.171.76]) by underdog.stansell.org (8.12.10/8.12.10) with SMTP id hB50pE4F004705 for ; Thu, 4 Dec 2003 16:51:16 -0800 (PST) Received: (qmail 17018 invoked from network); 5 Dec 2003 00:51:12 -0000 Received: from unknown (HELO gbst.com) (192.168.7.28) by 0 with SMTP; 5 Dec 2003 00:51:12 -0000 Received: from aquarius.bne.star.com.au ([192.168.7.9]) by gbst.com with Microsoft SMTPSVC(5.0.2195.2966); Fri, 5 Dec 2003 10:51:12 +1000 Received: by aquarius.bne.star.com.au with Internet Mail Service (5.5.2657.72) id ; Fri, 5 Dec 2003 10:51:12 +1000 Message-ID: <98B472C12D10A6469A31F623345E5921044EEC14@aquarius.bne.star.com.au> From: Penny Sullivan To: "'users@conserver.com'" Date: Fri, 5 Dec 2003 10:51:12 +1000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3BAC9.6007E56A" X-OriginalArrivalTime: 05 Dec 2003 00:51:12.0039 (UTC) FILETIME=[E0DEB370:01C3BAC9] Subject: Console lock-up X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2003 00:51:18 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3BAC9.6007E56A Content-Type: text/plain Hi all, I'm running Conserver on Solaris 9, it compiles fine, runs as daemon. Console -u advises that the console is up and it allows login from the server. Messages are still received by terminal on ttya. Problem: Conserver seems to disable getty when run and no input can be given on a console connected to ttya when conserver is running. Any help or suggestions would be greatly appreciated. Thanks, Penny Sullivan. ------_=_NextPart_001_01C3BAC9.6007E56A Content-Type: text/html Content-Transfer-Encoding: quoted-printable Console lock-up

Hi all,

I'm running Conserver on Solaris 9, it = compiles fine, runs as daemon. Console -u advises that the console is = up and it allows login from the server. Messages are still received by = terminal on ttya.

Problem:
Conserver seems to disable getty when = run and no input can be given on a console connected to ttya when = conserver is running.

Any help or suggestions would be = greatly appreciated.

Thanks,
Penny Sullivan.

------_=_NextPart_001_01C3BAC9.6007E56A-- From bryan@stansell.org Thu Dec 4 18:04:31 2003 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hB524U4F004950 for ; Thu, 4 Dec 2003 18:04:31 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.12.10/8.12.10/Submit) id hB524UVv004949 for users@conserver.com; Thu, 4 Dec 2003 18:04:30 -0800 (PST) Date: Thu, 4 Dec 2003 18:04:30 -0800 From: Bryan Stansell To: users@conserver.com Message-ID: <20031205020430.GE15509@underdog.stansell.org> References: <20031205001650.GA22433@columbia.edu> <20031205002034.GA23475@columbia.edu> <20031205001650.GA22433@columbia.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031205002034.GA23475@columbia.edu> <20031205001650.GA22433@columbia.edu> User-Agent: Mutt/1.4.1i Subject: Re: groups/rw not working correctly? X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2003 02:04:32 -0000 On Thu, Dec 04, 2003 at 07:16:50PM -0500, Matt Selsky wrote: > We have many machines in our machine room, including machines which we > host for other departments. Those departments should only be able to > access their own machines. Our admin group should be able to access all > consoles. ok. sounds good. let's see what happens... i shrunk the config to one-liners and fixed the '*' entry...here's your original: > My config looks something like this: > > group finance { users abc123; } > group hr { users xyz321; } > group assisted_sysadmin { users finance; users hr; } > group admin { users *; users !assisted_sysadmin; } > default * { rw acis; } > console foo { rw finance, admin; ... } > > However, when I try this, finance and hr can't access their consoles. > They get a permission denied error. Is my config wrong or is this a > bug? at first, i thought it was a bug. but, after looking closer and tracing the code, i see that it isn't, believe it or not. here's why...i need to "walk backward" to explain it. console foo has 'rw finance, admin;'. makes sense. now, finance == 'abc123' so we expand it to 'rw abc123, admin;'. but, admin == '*, !assisted_sysadmin;' so we expand to 'rw abc123, *, !assisted_sysadmin;'. and, assisted_sysadmin == 'finance, hr;' and negating we get !assisted_sysadmin == '!finance, !hr', so... !assisted_sysadmin == '!abc123, !xyz321;' whew. the end result, therefore, is 'rw abc123, *, !abc123, !xyz321;' which is really 'rw *, !abc123, !xyz321;' because the !abc123 "overrides" the abc123. things later in the config file override always override the earlier things be it console definitions, defaults, group definitions, etc...top down, left to right. so, to get the result you're looking for, you'd want to put your more restrictive or important things after your less restrictive/important things (i'm not even sure if that makes sense, but hopefully you get the idea - think backwards of the way you were). which means one change - instead of 'finance, admin', you'd use: console foo { rw admin, finance; ... } that way the positive finance instance overrides the negative finance bits inside the admin group. i *think* all this makes sense and is working right, but if anyone sees a logic error, let me know. i was basically just following the code. ;-) Bryan From bryan@stansell.org Fri Dec 5 08:42:42 2003 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hB5Ggf4F011234 for ; Fri, 5 Dec 2003 08:42:41 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.12.10/8.12.10/Submit) id hB5GgfFk011233 for users@conserver.com; Fri, 5 Dec 2003 08:42:41 -0800 (PST) Date: Fri, 5 Dec 2003 08:42:41 -0800 From: Bryan Stansell To: "'users@conserver.com'" Message-ID: <20031205164241.GK15509@underdog.stansell.org> References: <98B472C12D10A6469A31F623345E5921044EEC14@aquarius.bne.star.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <98B472C12D10A6469A31F623345E5921044EEC14@aquarius.bne.star.com.au> User-Agent: Mutt/1.4.1i Subject: Re: Console lock-up X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2003 16:42:42 -0000 On Fri, Dec 05, 2003 at 10:51:12AM +1000, Penny Sullivan wrote: > server. Messages are still received by terminal on ttya. > > Problem: > Conserver seems to disable getty when run and no input can be given on a > console connected to ttya when conserver is running. what kind of setup do you have? it sounds like you've probably got things wired up incorrectly. conserver needs to interact with serial ports that aren't being used to log into systems. what i mean by that is, no getty or any other process, for that matter, should be talking to the serial port - only conserver should. so, in a simple case of two machines watching eachother, you'd have: machine1 machine2 ttya <----> ttyb ttyb <----> ttya that way, a getty running on ttya of both machines can interact with whatever process opens ttyb on the opposite machine. in this case, conserver would be running on one or both of the machines, attached to ttyb only. with the "heart" of a conserver.cf file similar to: default * { type device; baud 9600; parity none; } console machine1 { master machine2; device /dev/ttyb; } console machine2 { master machine1; device /dev/ttyb; } you can put it on both machines and run conserver and then use 'console machine1' or 'console machine2' to get at the consoles of machine1 and machine2. make sense? i hope so. if i'm totally off-base here, let me know, but if you've got getty and conserver going on the same port, you've got trouble (as you've seen). Bryan From mgx@ornl.gov Fri Dec 5 08:49:47 2003 Received: from sif.lsd.ornl.gov (sif.lsd.ornl.gov [160.91.246.218]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hB5Gnl4F011294 for ; Fri, 5 Dec 2003 08:49:47 -0800 (PST) Received: by sif.lsd.ornl.gov (Postfix, from userid 15083) id D877D14A05; Fri, 5 Dec 2003 11:48:34 -0500 (EST) Date: Fri, 5 Dec 2003 11:48:34 -0500 From: Michael Galloway To: users@conserver.com Message-ID: <20031205164834.GF11663@sif.lsd.ornl.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: terminal types X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2003 16:49:48 -0000 ok, i'm working thru debugging some hardware problems on some of my servers and i'm trying to get bios and memtest output from some linux servers into the logfiles or to the console screen via conserver. i run serial ports to a cyclades terminal server, they to a linux box running conserver v8.0.6. i seem to have a termtype issuse that i cannot get resolved. anyone solved this problem already? -- michael PS: happy holidays to all :-) From arlt@cpsc.ucalgary.ca Fri Dec 5 09:38:17 2003 Received: from fsc.cpsc.ucalgary.ca (fsc.cpsc.ucalgary.ca [136.159.2.3]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hB5HcG4F011446 for ; Fri, 5 Dec 2003 09:38:17 -0800 (PST) Received: from imgw1.cpsc.ucalgary.ca (ons-imgw1 [192.168.1.66]) by fsc.cpsc.ucalgary.ca (8.12.10/8.12.10) with ESMTP id hB5HYKew031941; Fri, 5 Dec 2003 10:34:20 -0700 Received: from ms257a.cpsc.ucalgary.ca (ms257a [136.159.4.248]) by imgw1.cpsc.ucalgary.ca (8.12.10/8.12.10) with ESMTP id hB5HYHxY025816; Fri, 5 Dec 2003 10:34:17 -0700 Received: (from arlt@localhost) by ms257a.cpsc.ucalgary.ca (8.12.6/8.12.6/Submit) id hB5HYH7Y029398; Fri, 5 Dec 2003 10:34:17 -0700 (MST) Date: Fri, 5 Dec 2003 10:34:17 -0700 From: Brad Arlt To: Michael Galloway Message-ID: <20031205173417.GA29381@ms257a.cpsc.ucalgary.ca> References: <20031205164834.GF11663@sif.lsd.ornl.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031205164834.GF11663@sif.lsd.ornl.gov> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavis-milter (http://amavis.org/) X-Spam-Status: No, hits=3.3 required=6.8 X-Spam-Level: *** Cc: users@conserver.com Subject: Re: terminal types X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2003 17:38:18 -0000 On Fri, Dec 05, 2003 at 11:48:34AM -0500, Michael Galloway wrote: > ok, i'm working thru debugging some hardware problems on some of my > servers and i'm trying to get bios and memtest output from some > linux servers into the logfiles or to the console screen via > conserver. i run serial ports to a cyclades terminal server, they to > a linux box running conserver v8.0.6. i seem to have a termtype > issuse that i cannot get resolved. anyone solved this problem > already? The normal problem I have with Linux terminal type is the xterm terminal tends not to unbold or un-underline correctly. Setting the terminal type to vt100 solves this problem. Our Dell boxes' BIOS don't have perfect vt100 emulation - no terminal has ever worked perfectly with them. We just live with it - we know the boot sequence and any real problem can be solved with a monitor and a keyboard. The BIOS also has two settings, vt100 and ANSI. You want vt100. If I didn't guess correctly, could you describe the problem you are having. ----------------------------------------------------------------------- __o Bradley Arlt Security Team Lead _ \<_ arlt@cpsc.ucalgary.ca University Of Calgary (_)/(_) Joyously Canadian Computer Science From woods@proven.weird.com Fri Dec 5 10:49:13 2003 Received: from proven.weird.com (proven.weird.com [204.92.254.15]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hB5InC4F011639 for ; Fri, 5 Dec 2003 10:49:13 -0800 (PST) Received: from localhost (2824 bytes) by proven.weird.com via sendmail with STDIO (sender: ) (ident using UNIX) id for ; (dest:remote)(R=bind_hosts)(T=inet_zone_bind_smtp) Fri, 5 Dec 2003 13:49:11 -0500 (EST) (Smail-3.2.0.116-Pre 2003-Jun-18 #14 built 2003-Oct-15) Message-Id: Date: Fri, 5 Dec 2003 13:49:11 -0500 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Face: ; j3Eth2XV8h1Yfu*uL{<:dQ$#E[DB0gemGZJ"J#4fH*][ lz; @-iwMv_u\6uIEKR0KY"=MzoQH#CrqBN`nG_5B@rrM8,f~Gr&h5a\= To: Michael Galloway In-Reply-To: <20031205164834.GF11663@sif.lsd.ornl.gov> References: <20031205164834.GF11663@sif.lsd.ornl.gov> X-Mailer: VM 7.18 under Emacs 21.3.1 Organization: Planix, Inc.; Toronto, Ontario; Canada Cc: ConServer User's Mailing List Subject: Re: terminal types X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: ConServer User's Mailing List List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2003 18:49:14 -0000 [ On Friday, December 5, 2003 at 11:48:34 (-0500), Michael Galloway wrote: ] > Subject: terminal types > > ok, i'm working thru debugging some hardware problems on some of my servers > and i'm trying to get bios and memtest output from some linux servers into the > logfiles or to the console screen via conserver. i run serial ports to a > cyclades terminal server, they to a linux box running conserver v8.0.6. i seem > to have a termtype issuse that i cannot get resolved. anyone solved this > problem already? I'm assuming your BIOS supports use of a serial console? What kind of BIOS is it, exactly? I've had very little luck with Intel Phoenix ServerBIOS. It's just _WAY_ too stupid to use successfully with any real serial console. It basically continuously re-paints the whole screen continuously using ANSI escape sequences to move the cursor. The console log is effectively unreadable even with heavy post-processing to try and clean out the escape sequences. As for driving it from the terminal keyboard, i.e. in order to actually change any BIOS settings from the serial console, well that almost works, some of the time, but knowing which function keys are which is mostly guess-work and luck. Also at anything less than 56kbps the lag is worse than a geosync satellite connection. The idiot that dreampt that implementation up should be put out of our misery. I've had some better luck with some of the newer Asus servers, though the setup screens suffer much the same problem with key sequences, even if you know exactly how to get xterm to send what you think it should send. I suspect the HP servers are closer to having a real serial console these days, but I've not had the chance to play with one extensively yet. > PS: happy holidays to all :-) Bah, HUMBUG! Not so soon!!!! :-) -- Greg A. Woods +1 416 218-0098 VE3TCP RoboHack Planix, Inc. Secrets of the Weird From trataski@intlsteel.com Wed Dec 10 08:06:43 2003 Received: from corpmail01.isg.com (corpmail.intlsteel.com [65.117.30.43]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hBAG6aoF026568 for ; Wed, 10 Dec 2003 08:06:42 -0800 (PST) Received: from clwmail01.isg.com ([172.18.105.50]) by corpmail01.isg.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 10 Dec 2003 11:06:36 -0500 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: normal Priority: normal Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Date: Wed, 10 Dec 2003 11:06:35 -0500 Message-ID: <81E8B6888F67DC4FBA089E8110ACE2E706E26F@clwmail01.isg.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Timeouts after upgrading to V8 thread-index: AcO/N1SEQz5G3yxCTLazsLsTRywFEw== From: "Rataski, Tom" To: X-OriginalArrivalTime: 10 Dec 2003 16:06:36.0470 (UTC) FILETIME=[96728560:01C3BF37] X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.39 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by underdog.stansell.org id hBAG6aoF026568 Subject: Timeouts after upgrading to V8 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2003 16:06:44 -0000 Hi folks, We have been using V7 (and its updates) of conserver for over a year. While trying to get V8 working I have run into a problem that I am having trouble resolving. When the conserver first starts up and connects to all of consoles (all consoles are through terminal servers) the connection is made and promptly 10 seconds later the select times out and the consoles are dropped. I have watched the connection from the terminal server side and the connection is actually made to the terminal server. The configuration of the system is this: FreeBSD V4.3 & 4.7. conserver V8.0.8 Terminal servers are all either DECserver 700s or Lantronix There are no special options set via configure on building conserver. So... What am I missing here? Everything works fine with V7.2.7 but the consoles timeout w/V8.0.8. Thanks in advance for any help... -TomR- The output of the conserver -v conserver: conserver.com version 8.0.8 conserver: default access type `r' conserver: default escape sequence `^Ec' conserver: default configuration in `/usr/local/etc/conserver.cf' conserver: default password in `/usr/local/etc/conserver.passwd' conserver: default logfile is `/var/log/conserver' conserver: default pidfile is `/var/run/conserver.pid' conserver: default limit is 16 members per group conserver: default primary port referenced as `conserver' conserver: default secondary base port referenced as `0' conserver: options: none conserver: built with `configure --with-master=ecasunix' conserver.cf default full { rw *; } default * { logfile ""; include full; master localhost; } console testit { type host; host ds700test; port 2008; } access * { allowed ecasunix; trusted 127.0.0.1; } Tom Rataski ISG Cleveland, Inc. trataski at intlsteel dot com NOTICE: The information contained in this electronic mail transmission is intended by International Steel Group for the use of the named individual or entity to which it is addressed and may contain information that is privileged or otherwise confidential. It is not intended for transmission to, or receipt by, any individual or entity other than the named addressee (or a person authorized to deliver it to the named addressee) except as otherwise expressly permitted in this electronic mail transmission. If you have received this electronic transmission in error, please delete it without copying or forwarding it, and notify the sender of the error by reply email to service.request@intlsteel.com. From bryan@stansell.org Wed Dec 10 09:30:09 2003 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hBAHTqoF000008 for ; Wed, 10 Dec 2003 09:30:09 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.12.10/8.12.10/Submit) id hBAHTqtX000007 for users@conserver.com; Wed, 10 Dec 2003 09:29:52 -0800 (PST) Date: Wed, 10 Dec 2003 09:29:52 -0800 From: Bryan Stansell To: users@conserver.com Message-ID: <20031210172952.GF5206@underdog.stansell.org> References: <81E8B6888F67DC4FBA089E8110ACE2E706E26F@clwmail01.isg.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <81E8B6888F67DC4FBA089E8110ACE2E706E26F@clwmail01.isg.com> User-Agent: Mutt/1.4.1i X-Scanned-By: MIMEDefang 2.39 Subject: Re: Timeouts after upgrading to V8 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2003 17:30:10 -0000 On Wed, Dec 10, 2003 at 11:06:35AM -0500, Rataski, Tom wrote: > So... What am I missing here? Everything works fine with V7.2.7 but the > consoles timeout w/V8.0.8. ugh...at first i thought it might be a freebsd compatibility issue. i ran tests connecting to my web server, ssh port, etc. all worked fine. then i actually tried to connect to an external machine (google web server). it failed in the same way you are seeing...it connects, but then times out. i'm at a loss. obviously i've done something different in 8.0.8 vs. 7.2.7, but i haven't figured out what, yet (aside from major changes to all the logic). it looks like this is a problem with solaris and linux, as those are the two systems i can test on. what i don't understand is why socket connections to the local machine work. in some cases the initial connect() returns a success, so all is well (fast enough even though it's non-blocking). but, i also get an EINPROGRESS on local connections and then the select() shows the file descriptor ready for a reading, and it disables the timeout for that console - but the other non-local-machine consoles still time out and select() never shows them as ready. so, it's bizarre, but i'll be looking into it. if anyone has ideas, i'd love to hear them. more as i come across things...boy, this is bad. Bryan From bryan@stansell.org Wed Dec 10 10:49:01 2003 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hBAIn0oF003986; Wed, 10 Dec 2003 10:49:00 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.12.10/8.12.10/Submit) id hBAIn0O5003985; Wed, 10 Dec 2003 10:49:00 -0800 (PST) Date: Wed, 10 Dec 2003 10:49:00 -0800 From: Bryan Stansell To: announce@conserver.com, users@conserver.com Message-ID: <20031210184900.GG5206@underdog.stansell.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Scanned-By: MIMEDefang 2.39 Cc: Subject: conserver-8.0.9 is available X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2003 18:49:02 -0000 If you're using socket-based consoles (like a terminal server) and trying to run any of the 8.0.X code, please upgrade to 8.0.9. A major connect()/select() handling bug is fixed that prevents consoles from timing out. Certain cases allow the pre-8.0.9 code to work, but it seems more a fluke than anything else. version 8.0.9 (Dec 10, 2003): - fixed major bug in connect() handling which causes most socket-based consoles to timeout after 10 seconds - reported by Tom Rataski - added a couple details to the 'logfilemax' manpage entry Bryan Stansell From erik.sjolund@sbc.su.se Fri Dec 12 02:17:05 2003 Received: from smtp1.su.se (smtp1.su.se [130.237.162.112]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hBCAH4oF023717 for ; Fri, 12 Dec 2003 02:17:05 -0800 (PST) Received: from localhost (smtp1.su.se [127.0.0.1]) by smtp1.su.se (Postfix) with ESMTP id BA7E038111 for ; Fri, 12 Dec 2003 11:17:03 +0100 (CET) Received: from smtp1.su.se ([127.0.0.1]) by localhost (smtp1.su.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19818-04 for ; Fri, 12 Dec 2003 11:17:03 +0100 (CET) Received: from oxygen.sbc.su.se (oxygen.sbc.su.se [130.237.93.68]) by smtp1.su.se (Postfix) with ESMTP id 6FFD738088 for ; Fri, 12 Dec 2003 11:17:03 +0100 (CET) From: Erik =?ISO-8859-1?Q?Sj=F6lund?= To: users@conserver.com Content-Type: text/plain; charset=ISO-8859-1 Organization: Message-Id: <1071224223.24181.58.camel@oxygen> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 12 Dec 2003 11:17:03 +0100 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at su.se X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.39 Subject: feedback from new user X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2003 10:17:06 -0000 I just started using your software. Thanks a lot for this nice piece of software! Here is some feedback: * In the man page conserver.passwd you could be a bit more verbose about the necessity to either add a file /etc/pam.d/conserver or change the file /etc/pam.conf to get pam working in conserver. It is not sufficient to just add a line "root:*passwd*" in conserver.passwd. * Not having thought about it that much; this might enhance security: Maybe it would good to do some permission checking of the file /etc/conserver.passwd like ssh checks ownership of ~/.ssh For instance maybe the owner of /etc/conserver.passwd and uid of the running conserver-process should match. And further the permission should not be more liberal than 600 or something like that. That might enhance security because /etc/conserver.passwd sometimes contains encrypted passwords. * The --with-master compile time option. It would be nice to also be able to specify that in a configuration file. ( I know you can change it on the command line ) cheers, Erik Sjölund From conserver-users@mlists.thewrittenword.com Thu Dec 18 14:25:28 2003 Received: from spuckler.il.thewrittenword.com (mail2.thewrittenword.com [67.95.107.111]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hBIMPRr7009597 for ; Thu, 18 Dec 2003 14:25:28 -0800 (PST) Received: from spuckler.il.thewrittenword.com (localhost.il.thewrittenword.com [127.0.0.1]) by spuckler.il.thewrittenword.com (8.12.10/8.12.10) with ESMTP id hBIMPRne031240 for ; Thu, 18 Dec 2003 16:25:27 -0600 (CST) Received: (from china@localhost) by spuckler.il.thewrittenword.com (8.12.10/8.12.10) id hBIMPRt8031239 for users@conserver.com; Thu, 18 Dec 2003 16:25:27 -0600 (CST) Date: Thu, 18 Dec 2003 16:25:27 -0600 From: Albert Chin To: users@conserver.com Message-ID: <20031218222527.GA31122@spuckler.il.thewrittenword.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.39 Subject: Stupid newbie question for 8.0.9 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: users@conserver.com List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2003 22:25:29 -0000 I'm testing conserver 8.0.9 on a Sun system connected to a DEC system via /dev/ttyb. My conserver.cf file is below. tip to this system works fine. Whenever I try to connect with console, I get: ttyb: permission denied I'm connecting as root: # console -M localhost ttyb What am I doing wrong? -- albert chin (china@thewrittenword.com) -- snip snip default full { rw *; } default * { master localhost; } console ttyb { type device; device /dev/ttyb; parity none; baud 9600; timestamp ""; } access * { allowed 192.168.1.0/24; trusted 192.168.1.0/24; trusted 127.0.0.1; } From conserver-users@mlists.thewrittenword.com Thu Dec 18 14:35:22 2003 Received: from spuckler.il.thewrittenword.com (mail2.thewrittenword.com [67.95.107.111]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hBIMZLr7009705 for ; Thu, 18 Dec 2003 14:35:22 -0800 (PST) Received: from spuckler.il.thewrittenword.com (localhost.il.thewrittenword.com [127.0.0.1]) by spuckler.il.thewrittenword.com (8.12.10/8.12.10) with ESMTP id hBIMZLne031695 for ; Thu, 18 Dec 2003 16:35:21 -0600 (CST) Received: (from china@localhost) by spuckler.il.thewrittenword.com (8.12.10/8.12.10) id hBIMZLMK031694 for users@conserver.com; Thu, 18 Dec 2003 16:35:21 -0600 (CST) Date: Thu, 18 Dec 2003 16:35:21 -0600 From: Albert Chin To: users@conserver.com Message-ID: <20031218223521.GA31611@spuckler.il.thewrittenword.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.39 Subject: Stupid newbie question for 8.0.9 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: users@conserver.com List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2003 22:35:23 -0000 On Thu, Dec 18, 2003 at 04:25:27PM -0600, Albert Chin wrote: > I'm testing conserver 8.0.9 on a Sun system connected to a DEC system > via /dev/ttyb. My conserver.cf file is below. tip to this system works > fine. Whenever I try to connect with console, I get: > ttyb: permission denied > > I'm connecting as root: > # console -M localhost ttyb > > What am I doing wrong? Ok, indeeed, stupid user error. I forgot to include full in the default entry. -- albert chin (china@thewrittenword.com) From gregb_ka6max@hotmail.com Thu Dec 18 14:44:56 2003 Received: from hotmail.com (law12-f125.law12.hotmail.com [64.4.19.125]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hBIMitr7009760 for ; Thu, 18 Dec 2003 14:44:55 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 18 Dec 2003 14:44:54 -0800 Received: from 20.137.146.50 by lw12fd.law12.hotmail.msn.com with HTTP; Thu, 18 Dec 2003 22:44:54 GMT X-Originating-IP: [20.137.146.50] X-Originating-Email: [gregb_ka6max@hotmail.com] X-Sender: gregb_ka6max@hotmail.com From: "Greg Brown" To: users@conserver.com Date: Thu, 18 Dec 2003 14:44:54 -0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 18 Dec 2003 22:44:54.0795 (UTC) FILETIME=[8E4385B0:01C3C5B8] X-Spam-Score: 0.949 () FROM_HAS_ULINE_NUMS X-Scanned-By: MIMEDefang 2.39 Subject: Problem with changing file permissions on Conserver machine, affecting Conserver X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2003 22:44:57 -0000 Our unix machines are being auditted, and all files with permissions of "other" group write are considered BAD. We have been given a script to prepare our machines for the audit and eliminate all "other writable" files (it runs chmod o-w to all files identified by the audit script). I applied it to the machine running Conserver 7.2.7, and there seemed to be a problem with a user who was already logged on to a console while the script was running. She could not get the E. escape sequence to be recognized by the console program until after I restored the o+w file permissions. I wonder if Conserver needs to have the ability to write o+w files for locking purposes, etc? Conserver is awesome. 7.2.7 works very well. I will be moving to 8.x.x as soon as I upgrade the machine. Thanks, Greg Brown Computer Sciences Corporation _________________________________________________________________ It’s our best dial-up Internet access offer: 6 months @$9.95/month. Get it now! http://join.msn.com/?page=dept/dialup From conserver-users@mlists.thewrittenword.com Thu Dec 18 22:33:59 2003 Received: from spuckler.il.thewrittenword.com (mail2.thewrittenword.com [67.95.107.111]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hBJ6Xvr7011774 for ; Thu, 18 Dec 2003 22:33:58 -0800 (PST) Received: from spuckler.il.thewrittenword.com (localhost.il.thewrittenword.com [127.0.0.1]) by spuckler.il.thewrittenword.com (8.12.10/8.12.10) with ESMTP id hBJ6Xvne039016 for ; Fri, 19 Dec 2003 00:33:57 -0600 (CST) Received: (from china@localhost) by spuckler.il.thewrittenword.com (8.12.10/8.12.10) id hBJ6XvAI039015 for users@conserver.com; Fri, 19 Dec 2003 00:33:57 -0600 (CST) Date: Fri, 19 Dec 2003 00:33:57 -0600 From: Albert Chin To: users@conserver.com Message-ID: <20031219063357.GA38897@spuckler.il.thewrittenword.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.39 Subject: 8.0.9 patches X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list Reply-To: users@conserver.com List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2003 06:34:00 -0000 I had to apply the patches below to get conserver-8.0.9 to build on HP-UX 10.20, 11.00, 11i, IRIX 6.5, and AIX 4.3.2, 5.1 with the vendor C compiler. 1. [conserver/consent.h, conserver/consent.c, conserver/group.c, conserver/main.c, conserver/readcfg.c, ] One of the HP-UX header files has an enum UNKNOWN = 0. 2. [conserver/group.c] You #ifdef CRTSCTS in conserver/consent.h but forgot to do the same in conserver/group.c. 3. [conserver/Makefile.in] Use $datadir rather than $(prefix)/share. $datadir is $(prefix)/share by default but might be changed at configure time. 4. [configure.in] Why define _XOPEN_SOURCE_EXTENDED on HP-UX? I removed it and didn't run into problems. -- albert chin (china@thewrittenword.com) -- snip snip --- conserver/consent.h.orig Thu Dec 18 12:36:14 2003 +++ conserver/consent.h Thu Dec 18 12:37:23 2003 @@ -52,7 +52,7 @@ } PARITY; typedef enum consType { - UNKNOWN = 0, + C_UNKNOWN = 0, DEVICE, EXEC, HOST --- conserver/consent.c.orig Thu Dec 18 12:38:05 2003 +++ conserver/consent.c Thu Dec 18 12:38:13 2003 @@ -691,7 +691,7 @@ TagLogfile(pCE, "Console up"); switch (pCE->type) { - case UNKNOWN: /* shut up gcc */ + case C_UNKNOWN: /* shut up gcc */ break; case EXEC: if ((cofile = @@ -826,7 +826,7 @@ } switch (pCE->type) { - case UNKNOWN: /* shut up gcc */ + case C_UNKNOWN: /* shut up gcc */ break; case EXEC: Verbose("[%s] pid %lu on %s", pCE->server, pCE->ipid, --- conserver/group.c.orig Thu Dec 18 12:34:47 2003 +++ conserver/group.c Thu Dec 18 12:38:53 2003 @@ -1853,7 +1853,7 @@ b = "Netwk"; p = ' '; break; - case UNKNOWN: /* shut up gcc */ + case C_UNKNOWN: /* shut up gcc */ break; } FilePrint(pCLServing->fd, FLAGFALSE, @@ -2026,7 +2026,7 @@ (pCE->baud ? pCE->baud->acrate : ""), (pCE->parity ? pCE->parity->key[0] : ' ')); break; - case UNKNOWN: /* shut up gcc */ + case C_UNKNOWN: /* shut up gcc */ break; } FilePrint(pCLServing->fd, FLAGTRUE, ",%d:", @@ -2089,8 +2089,10 @@ s = BuildTmpString(",ixany"); if (pCE->ixoff == FLAGTRUE) s = BuildTmpString(",ixoff"); +#if defined(CRTSCTS) if (pCE->crtscts == FLAGTRUE) s = BuildTmpString(",crtscts"); +#endif if (pCE->ondemand == FLAGTRUE) s = BuildTmpString(",ondemand"); if (pCE->reinitoncc == FLAGTRUE) --- conserver/main.c.orig Thu Dec 18 12:40:01 2003 +++ conserver/main.c Thu Dec 18 12:40:14 2003 @@ -887,9 +887,9 @@ EMPTYSTR(pCE->host), pCE->port, pCE->telnetState)); break; - case UNKNOWN: + case C_UNKNOWN: CONDDEBUG((1, - "DumpDataStructures(): server=%s, type=UNKNOWN", + "DumpDataStructures(): server=%s, type=C_UNKNOWN", EMPTYSTR(pCE->server))); break; } --- conserver/readcfg.c.orig Thu Dec 18 12:41:10 2003 +++ conserver/readcfg.c Thu Dec 18 12:41:41 2003 @@ -653,7 +653,7 @@ CONSENT *c; #endif { - if (d->type != UNKNOWN) + if (d->type != C_UNKNOWN) c->type = d->type; if (d->breakNum != 0) c->breakNum = d->breakNum; @@ -1953,7 +1953,7 @@ char *id; #endif { - CONSTYPE t = UNKNOWN; + CONSTYPE t = C_UNKNOWN; if ((id == (char *)0) || (*id == '\000')) { c->type = t; return; @@ -1964,7 +1964,7 @@ t = EXEC; else if (strcasecmp("host", id) == 0) t = HOST; - if (t == UNKNOWN) { + if (t == C_UNKNOWN) { if (isMaster) Error("invalid console type `%s' [%s:%d]", id, file, line); } else @@ -2119,7 +2119,7 @@ invalid = 1; } break; - case UNKNOWN: + case C_UNKNOWN: if (isMaster) Error("[%s] console type unknown [%s:%d]", parserConsoleTemp->server, file, line); @@ -2697,7 +2697,7 @@ closeMatch = 0; } break; - case UNKNOWN: + case C_UNKNOWN: break; } --- conserver/Makefile.in.orig Thu Dec 18 12:50:53 2003 +++ conserver/Makefile.in Thu Dec 18 12:52:01 2003 @@ -4,9 +4,10 @@ prefix = @prefix@ exec_prefix = @exec_prefix@ sbindir = @sbindir@ +datadir = @datadir@ sysconfdir = @sysconfdir@ mandir = @mandir@ -exampledir = $(prefix)/share/examples/conserver +exampledir = $(datadir)/examples ### Installation programs and flags INSTALL = @INSTALL@ --- configure.in.orig 2003-12-18 12:32:00.506873000 -0600 +++ configure.in 2003-12-18 12:32:15.619573000 -0600 @@ -283,7 +283,6 @@ case "$host" in *-*-hpux*) - CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED=1" AC_CHECK_LIB(xnet,t_error,,AC_MSG_ERROR([-lxnet needed on HP-UX])) AC_CHECK_LIB(sec,getspnam) AC_CHECK_HEADERS(hpsecurity.h prot.h) From bryan@stansell.org Fri Dec 19 10:23:42 2003 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hBJINfr7019150 for ; Fri, 19 Dec 2003 10:23:41 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.12.10/8.12.10/Submit) id hBJINf2i019149 for users@conserver.com; Fri, 19 Dec 2003 10:23:41 -0800 (PST) Date: Fri, 19 Dec 2003 10:23:41 -0800 From: Bryan Stansell To: users@conserver.com Message-ID: <20031219182341.GN15826@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.1i X-Scanned-By: MIMEDefang 2.39 Subject: Re: Problem with changing file permissions on Conserver machine, affecting Conserver X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2003 18:23:43 -0000 On Thu, Dec 18, 2003 at 02:44:54PM -0800, Greg Brown wrote: > identified by the audit script). I applied it to the machine running > Conserver 7.2.7, and there seemed to be a problem with a user who was > already logged on to a console while the script was running. She > could not get the E. escape sequence to be recognized by the > console program until after I restored the o+w file permissions. that's very bizarre. what files were you performing the chmod on? more than just conserver logfiles? i cranked up conserver on my laptop, connected, did a 'chmod 000 *.log' and was still able to do everything normally. the process has all the files open at that point anyway, so changing perms on the should have no effect until the console goes down...then it won't be able to open the logfile when it comes back up. but, all users should still be able to disconnect just fine. quickly looking at the code, the disconnect sequence shouldn't even run into file permission problems (if they really existed) until after it closes the client file descriptor...but, like i said, it already has the file open, so the perm changes shouldn't matter. if you can reproduce this easily, it would be interesting to have both the client and server running in full debug mode and looking at all that output. or, explain exactly what your setup is, what files are being changed, etc. i'd need the user running conserver, the paths to logfiles, the sequence of steps you did to cause the problem, etc. but, making sure that changing perms on conserver-only files triggers the problem would be a good first step. > I wonder if Conserver needs to have the ability to write o+w files for > locking purposes, etc? nope. it just needs standard unix permissions...so if all it's files are owned by the user it's running as, mode 600 should fine (for logfiles, 400 for the config and passwd files). all my files are actually 644...upon startup, shutdown, etc. so, there really shouldn't be a problem (unless you're changing some system file that does have an effect on IP or something...and how that could happen escapes me). Bryan From bryan@stansell.org Fri Dec 19 21:41:49 2003 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hBK5fmr7022193 for ; Fri, 19 Dec 2003 21:41:48 -0800 (PST) Received: (from bryan@localhost) by underdog.stansell.org (8.12.10/8.12.10/Submit) id hBK5fmwU022192 for users@conserver.com; Fri, 19 Dec 2003 21:41:48 -0800 (PST) Date: Fri, 19 Dec 2003 21:41:48 -0800 From: Bryan Stansell To: users@conserver.com Message-ID: <20031220054148.GQ15826@underdog.stansell.org> References: <20031219063357.GA38897@spuckler.il.thewrittenword.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031219063357.GA38897@spuckler.il.thewrittenword.com> User-Agent: Mutt/1.4.1i X-Scanned-By: MIMEDefang 2.39 Subject: Re: 8.0.9 patches X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Dec 2003 05:41:50 -0000 On Fri, Dec 19, 2003 at 12:33:57AM -0600, Albert Chin wrote: > 4. [configure.in] Why define _XOPEN_SOURCE_EXTENDED on HP-UX? I > removed it and didn't run into problems. just for the record (so i don't forget later on), _XOPEN_SOURCE_EXTENDED was required for older hpux operating systems (h_errno not defined, etc). i've found references (google hits) of it doing no harm in recent versions and actually "fixing" older versions (like i mentioned above) for other packages too, so retaining it should be the right thing to do. Bryan From Jeremy.Nauck@synopsys.com Tue Dec 23 12:08:31 2003 Received: from vaxjo.synopsys.com (vaxjo.synopsys.com [198.182.60.75]) by underdog.stansell.org (8.12.10/8.12.10) with ESMTP id hBNK8Ur7003134 for ; Tue, 23 Dec 2003 12:08:31 -0800 (PST) Received: from maiden.synopsys.com (maiden.synopsys.com [146.225.100.170]) by vaxjo.synopsys.com (Postfix) with ESMTP id 65271DB46 for ; Tue, 23 Dec 2003 12:08:30 -0800 (PST) Received: from synopsys.com (localhost [127.0.0.1]) by maiden.synopsys.com (8.9.1/8.9.1) with ESMTP id MAA11335 for ; Tue, 23 Dec 2003 12:08:29 -0800 (PST) Message-ID: <3FE8A05F.30109@synopsys.com> Date: Tue, 23 Dec 2003 12:06:55 -0800 From: Jeremy Nauck User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.4) Gecko/20030625 X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@conserver.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.39 Subject: Baud rate assignment on Cyclades TS3000 series? X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2003 20:08:32 -0000 Hi All, Was wondering if anyone else has had problems getting Conserver to setup the Cyclades TS-3000 series serial ports to baud rates above 14400? For example (using conserver v7.2.2, but same effect w/ all versions) conserver.cf entry:: ttyS1:/dev/ttyS1:19200p:null: Yields conserver starting with proper init:: conserver (174): ttyS1 is on /dev/ttyS1 (19200p) logged to /dev//null However, the /proc/tty/driver/serial_ttyS driver information file shows a baudrate of only 14400, which is also confirmed by stty: [root@everglades-cyclades-1 driver]# stty -F /dev/ttyS1 speed 14400 baud; If I use stty -F /dev/ttyS1 19200, it then works OK, but would rather see a usuable solution. Anyone else seen this one before? Thanks in advance for any suggestions/pointers :) -Jeremy From RLAdams@Kelsey-Seybold.com Fri Dec 26 07:20:46 2003 Received: from KS119IS01SMTP.ksnet.com (ks119is01smtp.ksnet.com [162.121.247.33]) by underdog.stansell.org (8.12.10/8.12.10) with SMTP id hBQFKjr7002188 for ; Fri, 26 Dec 2003 07:20:46 -0800 (PST) Received: from 129.100.9.7 by KS119IS01SMTP.ksnet.com (InterScan E-Mail VirusWall NT); Fri, 26 Dec 2003 09:20:45 -0600 Received: from soja.ksnet.com ([129.100.4.19]) by KSC2.KSNET.COM. with SMTP for users@conserver.com; Fri, 26 Dec 2003 9:20:44 GMT Received: by soja.ksnet.com (sSMTP sendmail emulation); Fri, 26 Dec 2003 09:20:42 -0600 Date: Fri, 26 Dec 2003 09:20:42 -0600 From: Russell Adams To: users@conserver.com Message-ID: <20031226152042.GD18487@soja.ksnet.com.> Mail-Followup-To: users@conserver.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.39 Subject: AIX 5.2L X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.3 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2003 15:20:47 -0000 Thought I'd drop a note that I noticed this morning that conserver 7.2.2 comes in rpm format on the second installation cd with AIX 5.2L! I'm impressed, I thought it would have been on the AIX freeware cd. Keep up the good work! Russell