Logfiles to serial port

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
Daevon
-


Joined: 04 Jul 2009
Posts: 12

PostPosted: Sat Jul 04, 2009 3:43 pm    Post subject: Logfiles to serial port Reply with quote

Hi
I would want to have the logfile outputted to the serial port.. is this possible?
...and, if Abyss can't do this, is there any way (at the OS level or via some utility) to accomplish this task?

Btw, I don't mean something like
TYPE lofile.log > COM1

(wich works, but outputs the whole file) rather writing to the serial port each time there's a new entry in the log..

Thanks to everyone!
Back to top View user's profile Send private message
Toasty
-


Joined: 21 Feb 2008
Posts: 296
Location: Chicago, IL

PostPosted: Sun Jul 05, 2009 2:53 pm    Post subject: Reply with quote

I know there is no current support for this. I guess it may be possible to make a log monitoring program that outputs the line when something new occurs.

Serial line printer?
_________________
Security Blog
Back to top View user's profile Send private message Visit poster's website
Toasty
-


Joined: 21 Feb 2008
Posts: 296
Location: Chicago, IL

PostPosted: Sun Jul 05, 2009 2:55 pm    Post subject: Reply with quote

Oh, one more thing I'd like to add...

Should you be using a printer, do note that the log files grow quickly.

If you have a page with 20 images on it, a favicon, a css file, and a javascript file, you already will have 24 lines (including the document.html) printed / sent to the serial device.

Just something to think about, as each request (image, file, style-sheet, etc) is its own request.
_________________
Security Blog
Back to top View user's profile Send private message Visit poster's website
Daevon
-


Joined: 04 Jul 2009
Posts: 12

PostPosted: Mon Jul 06, 2009 12:05 pm    Post subject: SLP Reply with quote

Hi Toasty
Yes, you guessed it right :)
I know each http request generates a separate entry in the log, but I would be monitoring just a private website, so that's not an issue.

Rather, I've found plenty of software that redirects the serial port to a file, but not the opposite, despite hours of googling.

Thanks!
D.
Back to top View user's profile Send private message
aprelium-support
-


Joined: 20 Feb 2009
Posts: 356

PostPosted: Mon Jul 06, 2009 12:59 pm    Post subject: Re: SLP Reply with quote

Daevon,

You can fill the "Log File" field with the serial port address (it must be activated of course), for example:

On Linux
Code:
/dev/ttyS0


On Windows
Code:
COM1:

_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group