Git Product home page Git Product logo

apparmor-profiles's Introduction

apparmor-profiles

This repository is an experimental downstream of apparmor.d project.

Prerequisites

# apt install apparmor-utils

Testing

# mv usr.bin.curl /etc/apparmor.d/
# aa-complain /etc/apparmor.d/usr.bin.curl

Error log is /var/log/syslog by default.

Installation

# aa-enforce /etc/apparmor.d/usr.bin.curl

Profiles

WARNING: custom applications might fail without adjustment!

Dependencies

  • abstractions/3rd/nameservice-strict

Compatibility

  • Pi-hole (commented out by default)

Tested on

  • Debian 10
  • Armbian Buster
  • Xubuntu 21.04 (commented out by default)

Snap releases are not supported.

Dependencies

  • abstractions/3rd/file-chooser
  • abstractions/3rd/nameservice-strict
  • local/usr.lib.libreoffice.program.soffice.bin
  • usr.bin.ristretto

Options

  • write access on home
  • interactive file-chooser dialog
  • opening files with xdg-open
  • various sanitized_helper transitions
  • disabled dbus-overwrite

Tested on

  • Xubuntu 21.04
  • Ubuntu 21.04

Options

  • file deletion by write access
  • editing with dash transition
  • disabled interactive file-chooser dialog

Tested on

  • Debian 10
  • Xubuntu 21.04-21.10

Without NetworkManager. Without interactive credentials supplying, so be sure to provide them in config with auth-user-pass.

Dependencies

  • abstractions/3rd/nameservice-strict

Tested on

  • Debian 10-11

Without transfers.

Tested on

  • Debian 10-11

No auto-update and debug. No access to browser cookies ATM.

Dependencies

  • abstractions/3rd/nameservice-strict

Options

  • disabled --exec
  • disabled .netrc auth

Compatibility

  • yt-dlp

Tested on

  • Debian 10
  • Xubuntu 21.04-21.10
  • Ubuntu 21.04

Flatpack releases are not supported.

Dependencies

  • abstractions/3rd/nameservice-strict
  • usr.local.bin.youtube-dl

Options

  • disabled interactive file-chooser dialog
  • disabled dbus-overwrite
  • disabled qt5-settings-write
  • disabled network access

Tested on

  • Debian 10
  • Xubuntu 21.04-21.10
  • Ubuntu 21.04

pip version only.

Tested on

  • Debian 10
  • Xubuntu 21.10

Tested on

  • Debian 10-11
  • Xubuntu 21.10

No DBus or ICE.

Tested on

  • Debian 11

Links

apparmor-profiles's People

Contributors

nobody43 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

gon1942

apparmor-profiles's Issues

OpenVPN profile breaks openvpn

When using this profile in enforce mode, openvpn cannot launch. The syntax in the profile is incorrect, and although the PID should be whitelisted, it is denied by apparmor. Debian 11. Starting openvpn via systemctl with apparmor in complain mode, then setting it to enforce works because the pid file has already been created but this is not ideal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.