usr.bin.cjdroute 678 B

12345678910111213141516171819202122232425262728
  1. # Last Modified: Wed Aug 28 16:23:24 2013
  2. # Written by Sergey "Shnatsel" Davidoff <shnatsel@gmail.com>
  3. # This profile was not tested for compatibility with IPv4-over-cjdns setups!
  4. # If it doesn't work for you, e.g. if it's outdated
  5. # or if you have a non-standard setup, running aa-logprof should fix it.
  6. #include <tunables/global>
  7. /usr/bin/cjdroute {
  8. #include <abstractions/base>
  9. #include <abstractions/nameservice>
  10. capability net_admin,
  11. capability setuid,
  12. / r,
  13. /dev/net/tun rw,
  14. /etc/passwd mr,
  15. /proc/sys/kernel/random/uuid r,
  16. /tmp/cjdns_pipe_* w,
  17. /usr/bin/cjdroute mrix,
  18. # if you choose to use a pidfile, you'll have to speficy it here as well
  19. }