snort problem
Hi,
I am using snort and i have some problems with it. 1) If i give command for NIDS mode snort -c /etc/snort/snort.conf -A console -i eth1 it is showing error like this --== Initializing Snort ==-- Initializing Output Plugins! Initializing Preprocessors! Initializing Plug-ins! Parsing Rules file "/etc/snort/snort.conf" PortVar 'HTTP_PORTS' defined : [ 80 ] PortVar 'SHELLCODE_PORTS' defined : [ 0:79 81:65535 ] PortVar 'ORACLE_PORTS' defined : [ 1521 ] PortVar 'FTP_PORTS' defined : [ 21 ] ERROR: Unable to open rules file "/etc/snort//etc/snort/rules/local.rules": No such file or directory. what is this error .. 2) log file is in readable format . should i use some log analyzer for this or is there any command in snort? please help me for this Thanks Greesh |
Did you install snort rules ?
Regards |
I am having snort.conf file in /etc/snort directory .Do i need to update that?? For that what shall i do??
|
Quote:
you can download from rules from snort website download snortrules-snapshot and install it. Also refer document it describe how to install snort and rules. http://www.snort.org/docs/setup-guides/ Regards, |
Thank You...
|
Hi..
I downloaded new rules and copied to /etc/snort/rules and now i tried to run snort in alert mode , it is showing an error like this ERROR: /etc/snort/snort.conf(616) Unknown preprocessor: "dcerpc2". Fatal Error, Quitting.. i checked snort.conf , in that it is given like preprocessor dcerpc2 i dont understand the error. What i suppose to write there?? can u please help... Thanks Greesh |
It appears that there is or was a known bug with snort and fedora on this issue. See the following link
|
hi ..
Actually i am new to it.. For fixing that they have given like i have to edit snort.spec But i couldn't find snort.spec anywhere .. can u help 4 this?? |
The snort.spec is part of the source package: snort-2.8.5.1-1.fc11.src.rpm if you use Fedora 11 or snort-2.8.5.1-1.fc13.src.rpm if you use Fedora 13. Note you'll have to rebuild this package as unprivileged user to fix this unless you're willing to wait for the updated one to appear in the default Fedora repos.
|
snort
I am using fedora 12. So is this the package , i have to rebuild
snort-2.8.5.1-1.fc12.src.rpm |
I tried to rebuild this rpm with user privilage..but its showing a warning
warning: user mockbuild does not exist - using root So what shall i do?? is it necessary to compile this with user privilage? |
Quote:
|
All times are GMT -5. The time now is 06:11 AM. |