Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5190 - /etc/conf.d/snort script needs fixing
Summary: /etc/conf.d/snort script needs fixing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ben Lutgens (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-18 04:02 UTC by Vitaly Kushneriuk (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Kushneriuk (RETIRED) gentoo-dev 2002-07-18 04:02:15 UTC
There are some problems with the /etc/conf.d/snort file
   (files/snort.confd in the ebuild directory):
1) There's a MODE variable that is not used, so it should be deleted.
2) NETWORK should be set from the /etc/snort.conf.
   The "-h" flag is only meant for use when you want to override the
   conf file when running the snort manualy.
3) This one is even nastier : "-s" overrides *any* "output" directive
   from the snort.conf file. It took me some time to realize that it's this
   switch that prevented the snort from loggin into a database as I wanted.
   Again, this switch is not intended for use when running the service daemon,
   only for manual execution when you want to override some .conf settings.
4) -dev is probably not needed either, and better to be handeled from
   the .conf as well
Comment 1 Ben Lutgens (RETIRED) gentoo-dev 2002-07-21 13:32:15 UTC
fix0red