adosztal

Modified IPSec stroke AppArmor profile

Jul 7th, 2018
615
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. # ------------------------------------------------------------------
  2. #
  3. # Copyright (C) 2014 Canonical Ltd.
  4. #
  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.
  8. #
  9. # Author: Jonathan Davies <[email protected]>
  10. #
  11. # ------------------------------------------------------------------
  12.  
  13. #include <tunables/global>
  14.  
  15. /usr/lib/ipsec/stroke flags=(attach_disconnected) {
  16. #include <abstractions/base>
  17.  
  18. capability dac_override,
  19.  
  20. /etc/strongswan.conf r,
  21. /etc/strongswan.d/ r,
  22. /etc/strongswan.d/** r,
  23.  
  24. /run/charon.ctl rw,
  25.  
  26. /usr/lib/ipsec/stroke rm,
  27.  
  28. # Site-specific additions and overrides. See local/README for details.
  29. #include <local/usr.lib.ipsec.stroke>
  30. }
Advertisement
Add Comment
Please, Sign In to add comment