SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0002234: wrong snort rules owner - MantisBT Endian Bugtracker
Endian Issue Tracker





Please see now our new Bugtracker system: JIRA








View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002234Endian FirewallOther Servicespublic2009-10-05 08:042009-10-27 11:58
Reporterluca-endian 
Assigned Topeter-endian 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version2.3-rc1 
Target VersionFixed in Version2.3 
Summary0002234: wrong snort rules owner
Descriptionthis happens also on 2.2.

Seems that the uid and gid are not re-set but come from the downloaded archive.
I don't know which user is used to edit the rules from the gui but in case it's not root (it would be better) it may not work.

See the ls -l output on 2.3:
root@kenny:/etc/snort/rules/auto # ll
total 4948
-rw-r--r-- 1 logsurfer 1004 57211 Oct 5 09:00 emerging-attack_response.rules
-rw-r--r-- 1 root 1004 30365 Oct 5 09:00 emerging-botcc.rules
-rw-r--r-- 1 root 1004 200656 Oct 5 09:00 emerging-compromised.rules
-rw-r--r-- 1 logsurfer 1004 68926 Oct 5 09:00 emerging-current_events.rules
-rw-r--r-- 1 logsurfer 1004 15372 Oct 5 09:00 emerging-dos.rules

on 2.2:
root@butters:/etc/snort/rules/auto # ll
total 4948
-rw-r--r-- 1 support support 57211 Oct 5 09:00 emerging-attack_response.rules
-rw-r--r-- 1 root support 30365 Oct 5 09:00 emerging-botcc.rules
-rw-r--r-- 1 root support 200656 Oct 5 09:00 emerging-compromised.rules
-rw-r--r-- 1 support support 68926 Oct 5 09:00 emerging-current_events.rules
-rw-r--r-- 1 support support 15372 Oct 5 09:00 emerging-dos.rules
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0003060)
peter-endian (administrator)
2009-10-05 09:40

those files will not changed by a script, so it should be ok.

however, after untar, we should give them root.

- Issue History
Date Modified Username Field Change
2009-10-05 08:04 luca-endian New Issue
2009-10-05 09:40 peter-endian Note Added: 0003060
2009-10-05 10:09 peter-endian Status new => resolved
2009-10-05 10:09 peter-endian Fixed in Version => 2.3
2009-10-05 10:09 peter-endian Resolution open => fixed
2009-10-05 10:09 peter-endian Assigned To => peter-endian
2009-10-27 11:58 peter-endian Status resolved => closed

Copyright © 2005-2008 Endian, SRL. All rights reserved.


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker