From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Robert Honore Newsgroups: gmane.os.tru64.managers Subject: Interim SUMMARY: Logging the actual commands of a dial in session Date: Thu, 26 Jun 2003 11:03:38 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3EFB0B4A.2020505@digi-data.com> References: <3EF89BA7.4010305@digi-data.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1056639979 15931 80.91.224.249 (26 Jun 2003 15:06:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 26 Jun 2003 15:06:19 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Jun 26 17:06:15 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19VYI2-0003v8-00 for ; Thu, 26 Jun 2003 17:03:58 +0200 Original-Received: (qmail 25439 invoked by uid 5); 26 Jun 2003 15:04:04 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 25429 invoked by uid 49493); 26 Jun 2003 15:04:03 -0000 Original-Received: from robert@digi-data.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-10.2/5.0):. Processed in 0.740945 secs); 26 Jun 2003 15:04:03 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 26 Jun 2003 15:04:02 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HH300FP2GIAZV@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 26 Jun 2003 11:04:02 -0400 (EDT) Original-Received: from digi-data.com (ns.digi-data.com [209.94.197.193]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HH300M2WGDYNM@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 26 Jun 2003 11:01:13 -0400 (EDT) Original-Received: from exchsvr.digi-data.com ([10.1.1.11]) by odin.digi-data.com with ESMTP id <119148>; Thu, 26 Jun 2003 11:00:04 -0400 Original-Received: from digi-data.com ([10.1.1.31]) by exchsvr.digi-data.com with Microsoft SMTPSVC(5.0.2195.2966); Thu, 26 Jun 2003 11:02:44 -0400 In-reply-to: <3EF89BA7.4010305@digi-data.com> Original-To: Tru64 UNIX Managers Mail List X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4a) Gecko/20030401 X-OriginalArrivalTime: 26 Jun 2003 15:02:44.0038 (UTC) FILETIME=[FF278E60:01C33BF3] Xref: main.gmane.org gmane.os.tru64.managers:4670 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4670 Many thanks go to the following persons. Iain Barker, Alan Davis, Selden E. Ball Jr., Jesper Frank Nemholt, Mark Deiss The suggestions ranged in several directions. I can connect a jumper to the TX and RX lines of the console serial port and pass the resulting signal through a buffer to feed that to the station where I will do the logging. While I can to that, and it was one of the methods I tried before, since I do not have a buffer to amplify the signals I decided to avoid that because the location already has a lot of electrical noise. I did decide to try the other two suggestions, though. They both involve using console logging software. The first one was to try to use ConsoleWorks from TecSys Development. It is capable of making a timestamped log of all transactions on the consoles of the systems. You can find out more about it at http://www.tditx.com. I am still reading up about this product to figure out exactly what I must do to get it to work for me and will post another summary about it. The other alternative also uses software to log the transactions on the console of my systems, but it uses software called ConServer. It is also capable of making a timestamped log of transactions on th econsole, but has the nice feature that it is opensource, so I definitely will be trying that one too. I will post a summary on the results of that. You can find out more about ConServer at http://www.conserver.com. I also received the following suggestion that, though it seemed up to the task, I cannot use, because I do not have CA Polycenter. This solution uses a node called an "Access server" which connects to the terminal server and can field connections from the modem (if the modem is attached to the access server), or from any other node in the network. The Access Server is running CA Polycenter and will provide ingress to the terminal server which is directly connected to the console ports of my systems. I can run expect scripts on the access server to perform other activities other than the logging on this access server. In fact this solution looks very sophisticated. If anyone wants to find out more about it, drop me an email and I will forward the original text that I had received. Yours sincerely, Robert Honore. Original Question: > Dear Fellow Managers, > > I have a problem that perhaps you might have already solved and was > wondering if you would be willing to advise me as to how I should > proceed. Let me describe the scenario. > > We have two GS160s configured as a cluster with a terminal server > connected to the console of each of the GS160 systems. > > The situation is as follows. We have technicians and consultants who > occasionally need to dial into the consoles to carry out troubleshooting > and repairs for us. However our site rules do not permit me to admit > them without being able to log all of their activities in some kind of > tamperproof way. In particular, I need to record the exact commands > that they enter and, if possible, also record the exact responses they > get from the machines. I need to make this happen even if they should > shut down the node, or bring it down to single-user mode or disable > auditing and syslogd. > > To do this, it seems that I would need to record their keystrokes and > the characters the computers return in reply to their commands. Now the > solution I was originally thinking of was to put the modem on a > minimally configured Alpha and use that to field the dial-in session and > then redirect it to the console ports of the GS160s while copying the > keystrokes and storing it on the Alpha system. However, I am not sure > how to "tap the line" and actually copy the typed characters as well as > the response characters to a file while allowing those same characters > to go on to the console ports of the GS160s. So if it can be done, how > can I do it? > > Now my plan might not even be sound so feel free to suggest a better way > to log the commands.