Snort mailing list archives
Re: Run an external program
From: "Jack Whitsitt (jofny)" <seclists () violating us>
Date: Wed, 5 Mar 2003 12:14:48 -0500 (EST)
We're using a named pipe output-plugin for snort to pass data from snort and to signal another process. If you're writing to a FIFO, snort doesnt block while waiting for the listening process to read in data. I haven't used it in a fully-used 100Mbit pipe yet, but it shouldn't take more of a performance hit than writing a log to MySQL or alerting elsewhere. If you have a listening client already loaded in memory, it can act directly on the signals without spending time loading and reinitializing. It also is a bit faster than constantly checking logs to see if they've changed. -Jack
2003-03-05T09:39:50 Erek Adams:I'd honestly suggest moving to a *NIX platform and alerting to a socket.That would worry me; wouldn't snort block on writes when the reader is off executing some program? Rather than using IPC to let swatch feed the program-executer directly, go by way of a logfile; if the program-executer doesn't always keep up (if it falls behind when it's running the external program) that's fine, the logfile provides intrinsic buffering. -Bennett
------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- Run an external program Gregory . Kane (Mar 05)
- Re: Run an external program Erek Adams (Mar 05)
- Re: Run an external program Bennett Todd (Mar 05)
- Re: Run an external program Jack Whitsitt (jofny) (Mar 05)
- Re: Run an external program Bennett Todd (Mar 05)
- Re: Run an external program Jack Whitsitt (jofny) (Mar 05)
- Re: Run an external program Bennett Todd (Mar 05)
- Re: Run an external program Erek Adams (Mar 05)
- Re: Run an external program Bennett Todd (Mar 05)
- Re: Run an external program Erek Adams (Mar 05)
- Re: Run an external program Bennett Todd (Mar 05)
- Re: Run an external program Erek Adams (Mar 05)