<HTML dir=ltr><HEAD><TITLE>Re: [GLLUG] Trickle logs to a DVD-R disk?</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText97036 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Right, I do the same thing for Windows boxes and firewalls and such (Kiwi and Sawmill will go a long way) but&nbsp;I was hoping for something self-contained.&nbsp; Thanks!</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV></DIV>
<DIV id=idSignature42735 dir=ltr>
<DIV><FONT face=Arial color=#000000 size=2><FONT face="Times New Roman">
<DIV><FONT size=2>Mark Lachniet<BR>Solutions Architect - Security<BR>3101 Technology Blvd. Suite A<BR>Lansing, MI 48910<BR>(517) 336-1004 (voice)<BR><A href="mailto:mlachniet@analysts.com">mailto:mlachniet@analysts.com</A><BR>&nbsp;</FONT> </DIV></FONT></FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Ed Thomson [mailto:ethomson@edwardthomson.com]<BR><B>Sent:</B> Fri 8/24/2007 9:29 AM<BR><B>To:</B> Lachniet, Mark<BR><B>Cc:</B> linux-user@egr.msu.edu<BR><B>Subject:</B> Re: [GLLUG] Trickle logs to a DVD-R disk?<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Mark-<BR><BR>I've never streamed logs to removable media.&nbsp; Real-time streaming to&nbsp;<BR>CD/DVD or tape sounds like it might be difficult, as you'd probably&nbsp;<BR>have write buffer underruns (and probably coasters) or tape hitching,&nbsp;<BR>respectively.<BR><BR>You could have a cron job copy the syslogs every few minutes to a&nbsp;<BR>safe location and put them on a media that you could append to.&nbsp;&nbsp;<BR>Presumably this is DVDs due to their large storage capacity, you can&nbsp;<BR>keep appending logs for quite a while.&nbsp; My concerns with this would&nbsp;<BR>be that one bad session could compromise your logs, and that a good&nbsp;<BR>attacker would notice this and may be able to disable it before logs&nbsp;<BR>of his activity got written.&nbsp; But those are pretty minor concerns,&nbsp;<BR>this doesn't sound like a bad solution.<BR><BR>To offer an alternative, we use a dedicated loghost for this sort of&nbsp;<BR>thing.&nbsp; We have a machine which is firewalled such that it only&nbsp;<BR>allows (authenticated, encrypted) inbound connections on the syslog&nbsp;<BR>port, and allows no outbound connections.&nbsp; (We log in on the console&nbsp;<BR>only.)&nbsp; We firewall it at the kernel level via iptables as well as on&nbsp;<BR>our core router.&nbsp; It dumps logs to tape nightly.&nbsp; We feel that this&nbsp;<BR>is appropriately secure for our needs:&nbsp; it's unlikely that anybody&nbsp;<BR>could get in to the loghost, unless there's a major remote-<BR>exploitable vulnerability in syslog.<BR><BR>Cheers-<BR><BR>-Ed<BR><BR>On Aug 24, 2007, at 7:09 AM, Lachniet, Mark wrote:<BR><BR>&gt; Anyone know of a good way to set up a Linux box so that you can&nbsp;<BR>&gt; copy your logs in real-time (or near to it) to a DVD-R that is&nbsp;<BR>&gt; inserted in the box?&nbsp; I'd like to have a more permanent form of&nbsp;<BR>&gt; logging so that if the HD dies or gets hacked, there is a backup&nbsp;<BR>&gt; that went to the DVD burner in a more permanent form.<BR>&gt;<BR>&gt; Thanks,<BR>&gt;<BR>&gt; Mark Lachniet<BR>&gt; Solutions Architect - Security<BR>&gt; 3101 Technology Blvd. Suite A<BR>&gt; Lansing, MI 48910<BR>&gt; (517) 336-1004 (voice)<BR>&gt; <A href="mailto:mlachniet@analysts.com">mailto:mlachniet@analysts.com</A><BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; linux-user mailing list<BR>&gt; linux-user@egr.msu.edu<BR>&gt; <A href="http://mailman.egr.msu.edu/mailman/listinfo/linux-user">http://mailman.egr.msu.edu/mailman/listinfo/linux-user</A><BR><BR></FONT></P></DIV></BODY></HTML>