LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
LinkBack Search this Thread
Old 01-02-2004, 08:30 AM   #1
Gyuszko
LQ Newbie
 
Registered: Nov 2003
Posts: 6

Rep: Reputation: 0
Snort ?config? problem: empty alert file


I tried to configure the snort to make alert file (fast alerts) for the Razorback.
The snort make logs to the syslog, but the alert file remains empty!

I commented out the syslog output line from the snort.conf:
# output alert_syslog: LOG_AUTH LOG_ALERT
and I put this:
output alert_fast: alert

but there isn't any change...

I use:
SuSE linux 9.0
Snort 2.0.1-98
Razorback 1.0.3-1

Please help me!

Thanks:
Gyuszko
 
Old 01-03-2004, 06:18 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 21,610
Blog Entries: 47

Rep: Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413
The snort make logs to the syslog, but the alert file remains empty!
It's possible there are no alerts?
Was Snort restarted after you made the change?
How about using the full /path/and/filename ?
 
Old 01-04-2004, 08:08 AM   #3
Gyuszko
LQ Newbie
 
Registered: Nov 2003
Posts: 6

Original Poster
Rep: Reputation: 0
No alert

Meanwhile I realized that, the alerts in the syslog came from the SuSE FW.
So there aren't any alerts from snort.

"It's possible there are no alerts?"

Now I'm sure there aren't!

"Was Snort restarted after you made the change?"

Yes, of course (hundred times ).

"How about using the full /path/and/filename ?"

I'll tried it. The snort made an alert file, but it remains empty.
 
Old 01-04-2004, 09:39 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 21,610
Blog Entries: 47

Rep: Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413Reputation: 1413
How about this:
1. Remove the "fast" line from snort.conf
2. Add this to /etc/syslog.conf: "local7.*<TABS>/var/log/snort/alert.log" and restart Syslogd.
3. Add this to snort.conf: "output alert_syslog: LOG_LOCAL7" and restart Snort.

Make sure the rest of your snort.conf is "sane", using the right HOME_NET variable, interface, and check you don't block scans by IP range, BPF filter etc etc. Scan yourself with some remote host or use Dslreports, Securityspace, Grc to check alerts get logged.
If this doesn't work, please post your full snort conf but zap your IP addy's/ranges.
BTW, 2.1.0 is out.
 
Old 01-06-2004, 03:41 PM   #5
Gyuszko
LQ Newbie
 
Registered: Nov 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks!

I installed the 2.1.0 version with the current rule set and it works!

Gyuszko
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Snort alert Problem bharathvn Linux - Security 9 11-21-2005 08:24 AM
snort alert and logging wilcsnyder Linux - Security 1 08-16-2004 07:08 PM
Snort refuses to read config file stakhous Linux - Security 4 05-07-2004 08:48 AM
Snort alert / Am i attacking ? exalik Linux - Security 6 10-22-2003 03:55 PM
Snort Alert - What should I do? tarballedtux Linux - Security 1 04-06-2002 05:26 AM


All times are GMT -5. The time now is 04:38 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration