Snort package on 64 doesn't work
-
Hi,
I have just installed Snort (2.8.6.1 pkg v. 2.0 )Package on 2.0-RC3 (amd64)built on Tue Aug 2 22:54:59 EDT 2011 , package installation finished successfully but no service or snort section under services.
Any idea ?Thanks
-
try a newer amd64 snapshot
-
Doesn't work on the latest snapshot either.
Aug 7 14:16:34 SnortStartup[31599]: Interface Rule START for 0_42850_em0…
Aug 7 14:16:34 SnortStartup[17768]: Toggle for 42850_em0…
Aug 7 14:15:15 SnortStartup[47800]: Interface Rule START for 0_42850_em0…
Aug 7 14:15:15 SnortStartup[34052]: Toggle for 42850_em0… -
Doesn't work on the latest snapshot either.
Aug 7 14:16:34 SnortStartup[31599]: Interface Rule START for 0_42850_em0…
Aug 7 14:16:34 SnortStartup[17768]: Toggle for 42850_em0…
Aug 7 14:15:15 SnortStartup[47800]: Interface Rule START for 0_42850_em0…
Aug 7 14:15:15 SnortStartup[34052]: Toggle for 42850_em0…I tested amd64 the other night and it does work, does have an issue with blocking offenders.
can you post screen shots of all your tabs?
-
Hi
I just updated to 2.0-RC3 (amd64) built on Sat Aug 6 23:18:46 EDT 2011 , now there snort service appearing but won't startAug 8 10:57:16 SnortStartup[44272]: Snort Startup files Sync... Aug 8 10:57:16 SnortStartup[48499]: Snort HARD Reload For 30288_em0... Aug 8 10:57:49 SnortStartup[22020]: Toggle for 30288_em0... Aug 8 10:57:49 SnortStartup[29702]: Interface Rule START for 0_30288_em0... Aug 8 10:57:59 SnortStartup[33829]: Toggle for 30288_em0... Aug 8 10:57:59 SnortStartup[42557]: Interface Rule START for 0_30288_em0... Aug 8 10:58:43 SnortStartup[4817]: Snort Startup files Sync... Aug 8 10:58:44 SnortStartup[9404]: Snort HARD Reload For 30288_em0...
-
post your settings.. i was able to get snort to work on amd64 a couple of days ago…. i did find that you can't have block offenders checked, but that created a different error in the log. I went back to i386 on my box.. We will probably need someone to help test the am64 with the dev to work out the bugs as the package was just redone last week but only i386 was tested.
-
Hi, even on i386, while the block offenders entries get added, the cron job to remove after the set period e.g. 1 hour is not getting added any more. Could someone post those entries here so I can manually enter them?
Additionally, is this feature working for others with the latest snapshot and latest Snort package?
Thank you.
-
its working for my on i386..
make you save the global page then goto the interface page and save there… can't hurt, change the setting, save, then change it to the setting you want... but here is my cron settings
*/5 * * * * root /usr/bin/nice -n20 /usr/local/sbin/expiretable -t 3600 snort2c
-
Thanks Cino! I really appreciate it. I will try the saving of the setting again once I get back home.
In the meantime, in case the cron job does not get added with the steps above, could you also post the cron entry for Snort auto update? That is missing as well since it was part of the same cron entry, just another command.
Thanks!
-
Thanks Cino! I really appreciate it. I will try the saving of the setting again once I get back home.
In the meantime, in case the cron job does not get added with the steps above, could you also post the cron entry for Snort auto update? That is missing as well since it was part of the same cron entry, just another command.
Thanks!
Anytime :-)
3 */12 * * * root /usr/bin/nice -n20 /usr/local/bin/php -f /usr/local/pkg/snort/snort_check_for_rule_updates.php >> /tmp/snort_update.log
-
Cino,
Your suggestion worked! Unchecking block offender, Save, rechecking and Save introduced the missing cron jobs for even the auto update of Snort rules.
Thanks!
-
good to hear!!! I try to re-save all my settings when I update the package to make sure it takes all the settings.
-
I am not able to get snort to start also I also unchecked my block offender and re-checked it and it did not work. Also I deleted the interface in snort and recreated and also did not work. I am running AMD64 version also; does anyone else have anymore tips to fix this?
-
I am not able to get snort to start also I also unchecked my block offender and re-checked it and it did not work. Also I deleted the interface in snort and recreated and also did not work. I am running AMD64 version also; does anyone else have anymore tips to fix this?
SSH into pfsense and run:
/usr/local/bin/snort -u snort -g snort -v -l /var/log/snort --pid-path /var/log/snort/run -c /usr/local/etc/snort/snort_<number>_<interface>/snort.conf -i <interface></interface></interface></number>
The error(s) should appear
-
I ran your command " /usr/local/bin/snort -u snort -g snort -v -l /var/log/snort –pid-path /var/log/snort/run -c /usr/local/etc/snort/snort_61267_re0/snort.conf -i re0 " and I received the error message below
/libexec/ld-elf.so.1: Shared object "libpcap.so.1" not found, required by "snort"
-
I ran your command " /usr/local/bin/snort -u snort -g snort -v -l /var/log/snort –pid-path /var/log/snort/run -c /usr/local/etc/snort/snort_61267_re0/snort.conf -i re0 " and I received the error message below
/libexec/ld-elf.so.1: Shared object "libpcap.so.1" not found, required by "snort"
make sure /usr/lib/libpcap.so is there then run..
ln -s /usr/lib/libpcap.so /usr/lib/libpcap.so.1
And try again
-
thx linking both files worked i just had to turn off block offender and restart and it worked. Thx again for your help
-
I have one more question when I enable block offenders snort does not work and when I disable it snort works. I found the link below saying that snort package is missing some kind of spoink code?
http://redmine.pfsense.org/issues/1753
-
I ran your command " /usr/local/bin/snort -u snort -g snort -v -l /var/log/snort –pid-path /var/log/snort/run -c /usr/local/etc/snort/snort_61267_re0/snort.conf -i re0 " and I received the error message below
/libexec/ld-elf.so.1: Shared object "libpcap.so.1" not found, required by "snort"
make sure /usr/lib/libpcap.so is there then run..
ln -s /usr/lib/libpcap.so /usr/lib/libpcap.so.1
And try again
Can't thank you enough! Snort is working again after so long, such an easy fix!
-
it seems a bit weird snort is running but I am not receiving any alerts