ClearFoundation Tracker - ClearOS | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000034 | ClearOS | app-intrusion-prevention - Intrusion Prevention | public | 2010-02-25 05:48 | 2010-06-17 15:19 |
Reporter | timb80 | ||||
Assigned To | user2 | ||||
Priority | normal | Severity | major | Reproducibility | sometimes |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | 5.1 | ||||
Target Version | Fixed in Version | 5.1 | |||
Summary | 0000034: Snortsam does not always block hosts in a timely manner | ||||
Description | This one is hard to reproduce, after the WAN has been down for an extended time, snortsam will sometimes fail to restart, and will lay dead without warning (besides checking the webconfig manually). Not the problem but maybe related Only snort is automatically restarted on detection of WAN On manual restart (snortsam after snort) snortsam will log blocks correctly, however nothing will be passed to iptables 2010/02/25, 11:52:14, 127.0.0.1, 2, snortsam, Blocking host 4.79.142.206 completely for 86400 seconds (Sig_ID: 524). [root@starlane ~]# iptables -L -n -v | grep 4.79 ..nothing At a similar time snortsam also complains that (/var/log/snortsam) it is not in sync with Snort, however acceptance of block from Snort indicates this isn't the problem snortsam, Snort station 127.0.0.1 using wrong password, trying to re-sync. On closer inspection it appears that the iptables entry is completely removed from /etc/snortsam.conf # IP Tables plug-in: # You have to specify the adapter to block on (for example, eth0) and you can # optionally add a logging option. [BLANK LINE] Manually adding the following back and restarting snortsam fixes the problem, and iptables rules are recreated:- iptables eth1 syslog.info It is not clear which functions or network situations of the webconfig cause this line to be removed or readded. Or whether if left long enough it would eventually block the host - I have waited >5-10mins This has happened on maybe 2-3 occasions sporadically | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-02-25 05:48 | timb80 | New Issue | |||
2010-02-26 08:56 | user2 | Status | new => acknowledged | ||
2010-04-13 03:52 | timb80 | Note Added: 0000079 | |||
2010-06-08 14:34 | user2 | Note Added: 0000168 | |||
2010-06-08 14:35 | user2 | Status | acknowledged => resolved | ||
2010-06-08 14:35 | user2 | Fixed in Version | => 5.1 | ||
2010-06-08 14:35 | user2 | Resolution | open => fixed | ||
2010-06-08 14:35 | user2 | Assigned To | => user2 | ||
2010-06-08 14:38 | user2 | Note Added: 0000169 | |||
2010-06-17 15:19 | user2 | Note Added: 0000185 | |||
2010-06-17 15:19 | user2 | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|