Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-11-2006, 01:30 PM
|
#1
|
Member
Registered: Jun 2002
Location: USA
Distribution: Suse 8.0
Posts: 247
Rep:
|
snort start error
hello i recently installed snort using the guide located at snort.org for redhat fedora core 4
when starting snort using snort -c /etc/snort/snort.conf i receive the following error
cannot open the performacne log fle /var/snort/snort.stats
Any idea of what the problem is? I would post my snort.conf but it is too large, if i need to post a section of it let me know. Thanks
|
|
|
01-11-2006, 02:14 PM
|
#2
|
Member
Registered: Oct 2003
Location: New York
Distribution: Debian Sid
Posts: 185
Rep:
|
Check the permissions of the snort.stats file if it exists, and if not, the permissions of the /var/snort directory. If the file / directory isn't writeable by the user snort is running as you'll get an error. I think I once had a similar problem.
|
|
|
01-11-2006, 02:23 PM
|
#3
|
Member
Registered: Jun 2002
Location: USA
Distribution: Suse 8.0
Posts: 247
Original Poster
Rep:
|
yep, tried that first. I'm pretty sure it's a problem with my snort.conf but im not sure where. When I grant permission to the /var/snort it gives another error. it is below
unable to open unicode.map file /etc/snort/unicode.map
If i comment out that line it just goes to another erro about preprocessors. If anyone has an idea to what portion of my conf file to post i will do so. I am also using the -T option with the same results.
|
|
|
01-11-2006, 03:25 PM
|
#4
|
Moderator
Registered: May 2001
Posts: 29,415
|
And if you specify the location of the map?: "preprocessor http_inspect: global iis_unicode_map /some/dir/unicode.map 1252"
|
|
|
01-11-2006, 03:47 PM
|
#5
|
Member
Registered: Jun 2002
Location: USA
Distribution: Suse 8.0
Posts: 247
Original Poster
Rep:
|
Occams razor at it's finest. I had to copy all the rules from /etc/snort rules to /etc/snort/ and I am fine. Blah...
|
|
|
01-11-2006, 04:04 PM
|
#6
|
Moderator
Registered: May 2001
Posts: 29,415
|
Well, if you want to, else at the top of snort.conf just define:
var SNORT_RULES /etc/snort/rules
var SNORT_DIR /etc/snort
(etc, etc)
preprocessor http_inspect: global iis_unicode_map $SNORT_DIR/unicode.map 1252
(etc, etc)
# and for the rules:
include $SNORT_RULES/sco_doesnt.rules
(etc, etc)
|
|
|
All times are GMT -5. The time now is 12:20 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|