Hi,
i got a little problem to create an acl by learning mode for snort. After i included the neu learned acl and restarted snort i got the following error in the syslog:
kernel: grsec: attempted socket(2,2,0) by (snort:839) UID(0) EUID(0), parent (snort:838) UID(0) EUID(0)
And in the daemon.log i found this:
snort: socket:Permission denied
snort: FATAL ERROR: ERROR: Can not get MTU of an interface ppp0!
I'm using the default acl as described in Grsecurity Acl Documentation und this snort-acl:
/usr/sbin/snort o {
/ h
/usr/sbin/snort x
/dev/log
/dev/null rw
/etc r
/etc/ld.so.cache rx
/etc/snort r
/lib/ld-2.2.5.so x
/lib rx
/usr/lib/i586/libcrypto.so.0.9.6 rx
/usr/lib/i586/libssl.so.0.9.6 rx
/usr/lib rx
/usr/share/mysql/charsets/Index r
/usr/share/zoneinfo/Europe/Berlin r
/var/log/snort w
/var/log/snort/portscan.log ra
/var/run w
/var/run/mysqld/mysqld.sock
/var/run/snort_ppp0.pid w
-CAP_ALL
+CAP_DAC_OVERRIDE
+CAP_SETGID
+CAP_SETUID
+CAP_NET_RAW
RES_FSIZE 50024 50024
RES_DATA 7010064 7010064
RES_STACK 29672 29672
RES_RSS 0 0
RES_NPROC 41 41
RES_NOFILE 13 8
RES_MEMLOCK 0 0
RES_AS 16040224 16040224
RES_LOCKS 0 0
connect {
disabled
}
bind {
disabled
}
}
Maybe someone has an idea how i can solve this problem?
moony