Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

RE: Remote Syslogd

From: Onsite West Houston <onsite(at)eforest.net>
Date: Fri Nov 08 2002 - 19:38:36 EST

        What about placing the tail -f command inside a while true loop, e.g.

	while true
	do
		tail -f 
	done

	then, add this script to /etc/inittab (or equivalent, depending on
flavor)
	marking it to respawn.

	If the tail process fails, the while loop will auto-restart it.
	If the while loop process fails, /etc/inittab will respawn it.

_________________________________________
Lawrence Garvin
Principal/CEO
Onsite West Houston
http://onsite.eforest.net
ICQ#: 38440195

-----Original Message-----
From: Ben Boulanger [mailto:ben@blackavar.com] Sent: Wednesday, November 06, 2002 1:21 PM To: John Fitzgerald
Cc: forensics@securityfocus.com
Subject: RE: Remote Syslogd

On Wed, 6 Nov 2002, John Fitzgerald wrote:
> ...seeing you mention logtail I guess you could use tail -f from a

You certainly could. The only thing that tail doesn't provide is some way of recovering if the process dies, gets killed, or otherwise gets interrupted. Logtail keeps track of where it left off, which is really the only reason to -not- use tail. Otherwise, if you have a way of protecting against such things, tail -f, a named pipe or even a socket would do the trick.

Ben



This list is provided by the SecurityFocus ARIS analyzer service. For more information on this free incident handling, management and tracking system please see: http://aris.securityfocus.com

This list is provided by the SecurityFocus ARIS analyzer service. For more information on this free incident handling, management and tracking system please see: http://aris.securityfocus.com Received on Sat Nov 9 14:44:34 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:01:41 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library