Snort mailing list archives

Unix sockets


From: Nick Zitzmann <nickzman () mac com>
Date: Sat, 1 Jun 2002 15:07:04 -0700

Is anyone out there using Snort's Unix socket output mode?

I've been working on a small application that opens up a Unix socket, waits for Snort to send something to the socket, and then parses the contents of the alert to display to the user. It works great, however, I did have to make a change to snort.h to get it to work. In snort.h, Snort uses the path "/dev/snort_alert" for the socket. I guess that may work in Linux (not sure), but putting sockets into the /dev directory isn't allowed in my operating system (Darwin) even if the program making the socket is executed by root.

So I changed this to "/var/log/snort/snort_alert" and all seems well. Is this consistent with anyone else's experiences, or is it just me...?

Nick Zitzmann
ICQ: 22305512

Check out my software page: http://homepage.mac.com/nickzman/


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
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: