[H-GEN] Logging over serial ports

David Jericho davidj at amh.com.au
Fri Apr 9 02:45:22 EDT 1999


(Note reply-to: being general at humbug.org.au vs David Jericho <davidj at amh.com.au>)

Okay, it's obvious I didn't word this well. I'll give it another shot.

On Fri, Apr 09, 1999 at 03:38:40PM +1000, David Jericho wrote:
> I want to log the goings on of my two firewalls over a serial port
> to a dedicated machine, which then turns all the info into really
> pretty html for my boss. 

-- Simple diagram

<real world> -- <firewall1> -- <firewall2> -- <lan>
  		        |	|
		<plain text serial ports>
   		        | 	|
			<stallion>
			    |
		      <logging box> -- <lan> -- <boss billing people>


I want _ALL_ logged information to be dumped over the serial ports
to the logging box. As in EVERYTHING.

That means squid access logs, {tcp,udp,icmp}log files, syslog, apache
logs, mailer logs. 

As far as I've been able to manage, I can't get squid to dump its access_log
to syslog. Nor apache's logs to syslog. Starting to see my problem now?

I've got 3 programs on each machine, that are writing actual files to 
disk with logging information. I want to get this information across a 
plain ascii serial link to a logging box which will then pull it apart
for storage and processing. The text dumped over the serial link should 
be able to be read by a human on a dumb terminal. But _all_ logged 
information should be sent.

Each peice of software can by itself do the party trick of logging
to a serial line. But I don't know how to get ALL software logging
over the same serial line without having mixed up lines and so on.

My question is, "How can I get 3 programs to each dump their own 
data to a shared single serial line without data corruption?"

-- 
David Jericho
          

--
This is list (humbug) general handled by majordomo at lists.humbug.org.au .
Postings only from subscribed addresses of lists general or general-post.



More information about the General mailing list