aa-logprof doesn't support unix rules/events
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
New
|
Undecided
|
Unassigned | ||
apparmor (Ubuntu) |
New
|
Wishlist
|
Unassigned |
Bug Description
aa-logprof ignores denied messages in kern.log. Logs sended to apparmor [at] cboltz.de.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: apparmor 2.10-0ubuntu6
ProcVersionSign
Uname: Linux 4.2.0-21-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
Date: Wed Dec 23 09:22:44 2015
InstallationDate: Installed on 2014-04-19 (612 days ago)
InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
ProcKernelCmdline: BOOT_IMAGE=
SourcePackage: apparmor
Syslog:
UpgradeStatus: Upgraded to wily on 2015-11-14 (38 days ago)
Changed in apparmor (Ubuntu): | |
importance: | Undecided → Wishlist |
That's no a bug, it's a missing feature ;-) - aa-logprof doesn't have support for unix rules/events yet, so you'll need to allow this by manually adding rules.
Nevertheless, thanks for the log - having some example log lines is always helpful.
Dec 21 09:49:19 th1nkp4d kernel: [ 1807.331151] audit: type=1400 audit(145068775 9.549:3582) : apparmor="ALLOWED" operation="connect" profile= "/usr/sbin/ cupsd" pid=6049 comm="cupsd" family="unix" sock_type="stream" protocol=0 requested_ mask="send receive connect" denied_mask="send connect" addr=none peer_addr= "@2F746D702F657 36574732E736F63 6B0000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000" peer="unconfined"
BTW: peer_addr decodes to
# aa-decode 2F746D702F65736 574732E736F636B
Decoded: /tmp/esets.sock
(I wonder if the tons of 0000000 are intentional - John, can you clarify this, please?)