Snort mailing list archives

Re: Snort configuration files from etc/ have strange permissions


From: Domingo Martínez Guirao via Snort-devel <snort-devel () lists snort org>
Date: Thu, 16 Apr 2020 13:49:18 +0000

Why am i receiveing thats email?

Obtener Outlook para Android<https://aka.ms/ghei36>

________________________________
From: Snort-devel <snort-devel-bounces () lists snort org> on behalf of Alexander Bayandin via Snort-devel <snort-devel 
() lists snort org>
Sent: Wednesday, April 15, 2020 6:51:49 PM
To: snort-devel () lists snort org <snort-devel () lists snort org>
Subject: [Snort-devel] Snort configuration files from etc/ have strange permissions

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!

Current thread: