Snort
[Top] [All Lists]

Re: [Snort-users] Unifed login plugin

To: snort-users@lists.sourceforge.net
Subject: Re: [Snort-users] Unifed login plugin
From: Patrik Israelsson <patrik.israelsson@sentor.se>
Date: Thu, 29 Mar 2007 16:32:18 +0200
Delivered-to: sp-com-lists@consult.net
Delivered-to: snort-list@securepoint.com
In-reply-to: <45131.194.224.187.18.1175178329.squirrel@webmail.arrakis.com>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=snort-users>
List-help: <mailto:snort-users-request@lists.sourceforge.net?subject=help>
List-id: "Snort users talk about... Snort!" <snort-users.lists.sourceforge.net>
List-post: <mailto:snort-users@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/snort-users>, <mailto:snort-users-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/snort-users>, <mailto:snort-users-request@lists.sourceforge.net?subject=unsubscribe>
Organization: Sentor MSS AB
References: <45131.194.224.187.18.1175178329.squirrel@webmail.arrakis.com>
Sender: snort-users-bounces@lists.sourceforge.net
User-agent: KMail/1.9.4
Carlos,

did you set the logdir in your snort.conf?
config logdir: $SNORTDIR/log

Regards,
Patrik

On Thursday 29 March 2007 16:25, Carlos Terrón wrote:
> Hi people
>
> I'm looking info for the unified login plugin implemented in spo_unified.c
>
> >From the documentation of snort, the alerts and the log file are
>
> differentes i.e:
>
> output alert_unified: filename $SNORTDIR/log/usnort.alert
> output log_unified: filename $SNORTDIR/log/usnort.log
>
> These is configuration in the snort.conf, write the alerts in binary form
> to usnort.alert.timestamp and the packest to the usnort.log.
>
> Well, looking at the source code of spo_unified.c, I have seen that there
> is code to log to one unified file,  where each record has the alert
> information and the packet(s) that causes it.  Looking futher in the code
> I have seen the option:
>
> output unified
>
> That I think that can be the option for that unified logging, but
>
>  output unified:  $SNORTDIR/log/snort.unified.log
>
> give me an error:
>
> ERROR: UnifiedInitLogFile(/var/log/snort/snort-unified.1175177880): No
> such file or directory
> Fatal Error, Quitting..
>
> It's like the $SNORTDIR isn't defined, snort insits in create the snort
> log file in /var/log/snort. Is this the correct behaviur of snort or it's
> a bug?. If I put a absolute path doesn't work also (i.e, output unified:
> /tmp/snort.log)
>
> ERROR: UnifiedInitLogFile(/var/log/snort/snort-unified.1175178254): No
> such file or directory
> Fatal Error, Quitting..
>
> If I create the /var/log/snort, then the option works as expected
>
> (The header of the file created has the correct magic number)
>
> Thanks in advance
> Carlos
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> 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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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
<Prev in Thread] Current Thread [Next in Thread>