Skip to content

Instantly share code, notes, and snippets.

@kyhwana
Created January 16, 2018 03:27
Show Gist options
  • Save kyhwana/c23f40c7669c336b488515ca55f9e2d3 to your computer and use it in GitHub Desktop.
Save kyhwana/c23f40c7669c336b488515ca55f9e2d3 to your computer and use it in GitHub Desktop.
sslh apparmor profile for debian 9
# Last Modified: Tue Jan 16 16:27:04 2018
#include <tunables/global>
/usr/sbin/sslh {
#include <abstractions/base>
#include <abstractions/dovecot-common>
#include <abstractions/nameservice>
#include <abstractions/nis>
#include <abstractions/postfix-common>
capability dac_override,
/etc/hosts.allow r,
/etc/hosts.deny r,
/lib/x86_64-linux-gnu/ld-*.so mr,
/run/sslh/sslh.pid w,
/usr/sbin/sslh mr,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment