Re: Monitoring Telnet Sessions (fwd)

From: Jay Hennigan (jay@xxxxxxxx)
Date: Wed Jan 17 2001 - 19:10:39 GMT-3


   
> Greetings,
> Does anyone know of a good way of monitoring a telnet session to see what
> is coming and going? I know this sounds bad but the need arose while
> trying to monitor and troubleshoot a perl script for telnetting into a
> router and making some changes. We ended up having to monitor the session
> with a sniffer but I was wondering if there was some other way, maybe a
> debug command that would work or something.

Call "script" from within perl, or massage the perl code to write to a
file. The "tee" utility may also be usable.

man script
man tee

--
Jay Hennigan  -  Network Administration  -  jay@west.net
NetLojix Communications, Inc.  NASDAQ: NETX  -  http://www.netlojix.com/
WestNet:  Connecting you to the planet.  805 884-6323


This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:27:33 GMT-3