Résumé: SELinux is preventing /usr/sbin/snort-plain "read" access on dev. Description détaillée: [SELinux est en mode permissif. Cet accès n'a pas été refusé.] SELinux denied access requested by snort. It is not expected that this access is required by snort and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access. Autoriser l'accès: You can generate a local policy module to allow this access - see FAQ (http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug report. Informations complémentaires: Contexte source staff_u:system_r:snort_t:s0 Contexte cible system_u:object_r:proc_net_t:s0 Objets du contexte dev [ file ] source snort Chemin de la source /usr/sbin/snort-plain Port <Inconnu> Hôte (removed) Paquetages RPM source snort-2.8.5.1-1.fc12 Paquetages RPM cible filesystem-2.4.30-2.fc12 Politique RPM selinux-policy-3.6.32-108.fc12 Selinux activé True Type de politique targeted Mode strict Permissive Nom du plugin catchall Nom de l'hôte (removed) Plateforme Linux (removed) 2.6.32.11-99.fc12.x86_64 #1 SMP Mon Apr 5 19:59:38 UTC 2010 x86_64 x86_64 Compteur d'alertes 2 Première alerte mar 13 avr 2010 21:06:50 EDT Dernière alerte mar 13 avr 2010 21:06:50 EDT ID local 6204fefb-b84e-4927-be45-6ff1df1f3f7b Numéros des lignes Messages d'audit bruts node=(removed) type=AVC msg=audit(1271207210.317:710): avc: denied { read } for pid=11392 comm="snort" name="dev" dev=proc ino=4026531931 scontext=staff_u:system_r:snort_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file node=(removed) type=AVC msg=audit(1271207210.317:710): avc: denied { open } for pid=11392 comm="snort" name="dev" dev=proc ino=4026531931 scontext=staff_u:system_r:snort_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1271207210.317:710): arch=c000003e syscall=2 success=yes exit=5 a0=317621f9d5 a1=0 a2=1b6 a3=0 items=0 ppid=11391 pid=11392 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm="snort" exe="/usr/sbin/snort-plain" subj=staff_u:system_r:snort_t:s0 key=(null) Hash String generated from catchall,snort,snort_t,proc_net_t,file,read audit2allow suggests: #============= snort_t ============== allow snort_t proc_net_t:file { read open };
I will add kernel_read_network_state(snort_t)
Fixed in selinux-policy-3.6.32-112.fc12
selinux-policy-3.6.32-113.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-113.fc12
selinux-policy-3.6.32-113.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-113.fc12
selinux-policy-3.6.32-113.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.