Snort mailing list archives

Re: Snort configuration files from etc/ have strange permissions


From: Alexander Bayandin via Snort-devel <snort-devel () lists snort org>
Date: Fri, 17 Apr 2020 14:58:37 +0100

Hey Joel,

That's great, thanks a lot!

On Fri, Apr 17, 2020 at 2:15 PM Joel Esler (jesler) <jesler () cisco com>
wrote:

Hey Alexander,

Noticed that I never wrote you back.  I’ve forwarded this on to our
development team.  This is an artifact of moving from one source code
management system to another and they will correct the issue.  Thanks for
pointing it out!

Sent from my  iPad

On Apr 16, 2020, at 09:47, Alexander Bayandin via Snort-devel <
snort-devel () lists snort org> wrote:


Hello,

While working on updating snort to 2.9.16
<https://github.com/Homebrew/homebrew-core/pull/53158> on Homebrew I've
noticed that files in etc/ have strange permissions (I've downloaded source
from https://www.snort.org/downloads/snort/snort-2.9.16.tar.gz):

$ ls -al snort-2.9.16/etc
total 568
drwxrwxr-x@ 12 bayandin  staff     384 Apr  8 13:32 .
drwxrwxr-x@ 32 bayandin  staff    1024 Apr  8 13:32 ..
-r--r--r--@  1 bayandin  staff     190 Apr  8 12:45 Makefile.am
-rw-rw-r--@  1 bayandin  staff   12633 Apr  8 13:30 Makefile.in
-r-xr-xr-x@  1 bayandin  staff    1281 Apr  8 12:45 attribute_table.dtd
-r--r--r--@  1 bayandin  staff    3757 Apr  8 12:45 classification.config
-r--r--r--@  1 bayandin  staff   23654 Apr  8 12:45 file_magic.conf
-r--r--r--@  1 bayandin  staff   32789 Apr  8 12:45 gen-msg.map
-r--r--r--@  1 bayandin  staff     687 Apr  8 12:45 reference.config
-rw-rw-r--@  1 bayandin  staff   26798 Apr  8 13:32 snort.conf
-r--r--r--@  1 bayandin  staff    2335 Apr  8 12:45 threshold.conf
-r--r--r--@  1 bayandin  staff  160606 Apr  8 12:45 unicode.map

And as a reference — previous version available on Homebrew (2.9.12):

$ ls -al snort-2.9.12/etc
total 560
drwxr-xr-x@ 12 bayandin  staff     384 Sep 25  2018 .
drwxr-xr-x@ 31 bayandin  staff     992 Sep 25  2018 ..
-rw-r--r--@  1 bayandin  staff     190 Nov 18  2015 Makefile.am
-rw-r--r--@  1 bayandin  staff   12546 Sep 25  2018 Makefile.in
-rw-r--r--@  1 bayandin  staff    1281 Aug 20  2007 attribute_table.dtd
-rw-r--r--@  1 bayandin  staff    3793 Sep 25  2018 classification.config
-rw-r--r--@  1 bayandin  staff   23058 Jun 10  2014 file_magic.conf
-rw-r--r--@  1 bayandin  staff   32721 Jun 13  2018 gen-msg.map
-rw-r--r--@  1 bayandin  staff     687 Sep 25  2018 reference.config
-rw-r--r--@  1 bayandin  staff   26803 Sep 25  2018 snort.conf
-rw-r--r--@  1 bayandin  staff    2556 Sep 25  2018 threshold.conf
-rw-r--r--@  1 bayandin  staff  160606 Jul 13  2011 unicode.map


These unexpected permissions prevented snort to be updated on Homebrew
several times: 2.9.13
<https://github.com/Homebrew/homebrew-core/pull/38910>, 2.9.14.1
<https://github.com/Homebrew/homebrew-core/pull/43296>, 2.9.15
<https://github.com/Homebrew/homebrew-core/pull/45973> and 2.9.15.1
<https://github.com/Homebrew/homebrew-core/pull/50218> and potentially
caused some problems for other users/systems.

Could anyone have a look at it, please?

Thanks!

--
Alexander Bayandin
_______________________________________________
Snort-devel mailing list
Snort-devel () lists snort org
https://lists.snort.org/mailman/listinfo/snort-devel

Please visit http://blog.snort.org for the latest news about Snort!



-- 
Alexander Bayandin
_______________________________________________
Snort-devel mailing list
Snort-devel () lists snort org
https://lists.snort.org/mailman/listinfo/snort-devel

Please visit http://blog.snort.org for the latest news about Snort!

Current thread: