1 # ------------------------------------------------------------------
3 # Copyright (C) 2011 Jacob Appelbaum <jacob@appelbaum.net>
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of version 2 of the GNU General Public
7 # License published by the Free Software Foundation.
9 # This should be placed in /etc/apparmor.d/usr.sbin.gnunet-helper-nat-server
10 # This profile may be a reasonable starting point for other NAT helpers.
12 # ------------------------------------------------------------------
14 #include <tunables/global>
15 /usr/bin/gnunet-helper-nat-server {
16 #include <abstractions/base>
17 #include <abstractions/consoles>
23 network inet dgram, # UDP IPv4
26 deny network inet6 stream, # TCP IPv6
27 deny network inet6 dgram, # UDP IPv6
29 # Deny everything else by default with AppArmor