Bug 552014 - SELinux is preventing /usr/sbin/snort-plain "ioctl" access on /dev/usbmon2.
Summary: SELinux is preventing /usr/sbin/snort-plain "ioctl" access on /dev/usbmon2.
Keywords:
Status: CLOSED DUPLICATE of bug 552011
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:3ebd30cf123...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-03 16:27 UTC by Retlaw Dlawso
Modified: 2010-01-04 17:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-04 15:20:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Retlaw Dlawso 2010-01-03 16:27:23 UTC
Summary:

SELinux is preventing /usr/sbin/snort-plain "ioctl" access on /dev/usbmon2.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

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.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:snort_t:s0
Target Context                system_u:object_r:usb_device_t:s0
Target Objects                /dev/usbmon2 [ chr_file ]
Source                        snort
Source Path                   /usr/sbin/snort-plain
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           snort-2.8.5.1-1.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-59.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux localhost.localdomain
                              2.6.31.9-174.fc12.x86_64 #1 SMP Mon Dec 21
                              05:33:33 UTC 2009 x86_64 x86_64
Alert Count                   1
First Seen                    Sat 02 Jan 2010 08:07:49 PM CET
Last Seen                     Sat 02 Jan 2010 08:07:49 PM CET
Local ID                      038eeb1a-bf9d-49b6-b0cd-bd8ceaa3233e
Line Numbers                  

Raw Audit Messages            

node=localhost.localdomain type=AVC msg=audit(1262459269.172:11194): avc:  denied  { ioctl } for  pid=1347 comm="snort" path="/dev/usbmon2" dev=tmpfs ino=2860 scontext=system_u:system_r:snort_t:s0 tcontext=system_u:object_r:usb_device_t:s0 tclass=chr_file

node=localhost.localdomain type=SYSCALL msg=audit(1262459269.172:11194): arch=c000003e syscall=16 success=yes exit=4294967424 a0=5 a1=9205 a2=0 a3=7 items=0 ppid=1346 pid=1347 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="snort" exe="/usr/sbin/snort-plain" subj=system_u:system_r:snort_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.32-59.fc12,catchall,snort,snort_t,usb_device_t,chr_file,ioctl
audit2allow suggests:
audit2allow is not installed.

Comment 1 Daniel Walsh 2010-01-04 15:20:42 UTC

*** This bug has been marked as a duplicate of bug 549446 ***

Comment 2 Daniel Walsh 2010-01-04 17:08:23 UTC

*** This bug has been marked as a duplicate of bug 552011 ***


Note You need to log in before you can comment on or make changes to this bug.