LinuxQuestions.org
Review your favorite Linux distribution.
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 02-18-2009, 04:00 PM   #1
wsduvall
Member
 
Registered: Aug 2006
Location: Virginia Tech
Distribution: Arch Linux
Posts: 91

Rep: Reputation: 16
Snort error on middlebox: Undefined variable name


Hey guys,

I'm in the process of setting up a middlebox for my cluster, and I'm trying to get snort running. When I run sudo /etc/rc.d/snort start, I get this:

Code:
:: Starting Intrusion Database System: SNORT                             [BUSY] Running in IDS mode
...
Initializing rule chains...
ERROR: Undefined variable name: (/etc/snort/rules/community-smtp.rules:6): SMTP_SERVERS
Fatal Error, Quitting..
I was thinking about commenting out line six but I'm not sure. Also, I use oinkmaster to update I rules. Let me know if you want to see my oinkmaster.conf or my snort.conf
 
Old 02-18-2009, 04:41 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
Quote:
Originally Posted by wsduvall View Post
ERROR: Undefined variable name: (/etc/snort/rules/community-smtp.rules:6): SMTP_SERVERS
'grep "var SMTP_SERVERS" /path/to/snort.conf' and see if it's commented out.


Quote:
Originally Posted by wsduvall View Post
I was thinking about commenting out line six but I'm not sure.
Can be kept commented out if you run no SMTP servers on your network.


BTW, it's "Intrusion Detection System" not "Intrusion Database System".
 
Old 02-18-2009, 07:56 PM   #3
wsduvall
Member
 
Registered: Aug 2006
Location: Virginia Tech
Distribution: Arch Linux
Posts: 91

Original Poster
Rep: Reputation: 16
Thanks so much! (I didn't write the RC file :P)
 
  


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
undefined variable increments in PERL gaynut Programming 3 09-18-2008 09:46 AM
Starting snort: ERROR: User "snort" unknown games1 Linux - Software 3 02-07-2007 08:21 PM
Error when starting up snort: bash:!/bin/sh/usr/local/bin/snort :Eent not found cynthia_thomas Linux - Software 1 11-11-2005 02:59 PM
snort failed: snort: symbol lookup error: undefined symbol: usmAES192PrivProtocol Emmanuel_uk Linux - Security 1 07-10-2005 10:29 AM
relocation error: xxxxx: undefined error: Johng Linux - Software 2 10-28-2002 01:39 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