mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	Added AppArmor profile
This commit is contained in:
		
							parent
							
								
									c010c83654
								
							
						
					
					
						commit
						25559f1772
					
				
					 1 changed files with 30 additions and 0 deletions
				
			
		
							
								
								
									
										30
									
								
								contrib/apparmor/usr.sbin.i2pd
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								contrib/apparmor/usr.sbin.i2pd
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,30 @@
 | 
			
		|||
# Basic profile for i2pd 
 | 
			
		||||
# Should work without modifications with Ubuntu/Debian packages
 | 
			
		||||
# Author: Darknet Villain <supervillain@riseup.net>
 | 
			
		||||
#
 | 
			
		||||
#include <tunables/global>
 | 
			
		||||
 | 
			
		||||
/usr/sbin/i2pd {
 | 
			
		||||
  #include <abstractions/base>
 | 
			
		||||
 | 
			
		||||
  network inet dgram,
 | 
			
		||||
  network inet stream,
 | 
			
		||||
  network inet6 dgram,
 | 
			
		||||
  network inet6 stream,
 | 
			
		||||
  network netlink raw,
 | 
			
		||||
 | 
			
		||||
  /etc/gai.conf r,
 | 
			
		||||
  /etc/host.conf r,
 | 
			
		||||
  /etc/hosts r,
 | 
			
		||||
  /etc/nsswitch.conf r,
 | 
			
		||||
  /run/resolvconf/resolv.conf r,
 | 
			
		||||
 | 
			
		||||
  # path specific (feel free to modify if you have another paths)
 | 
			
		||||
  /etc/i2pd/** r,
 | 
			
		||||
  /var/lib/i2pd/** rw,
 | 
			
		||||
  /var/log/i2pd.log w,
 | 
			
		||||
  /var/run/i2pd/i2pd.pid rw,
 | 
			
		||||
  /usr/sbin/i2pd mr,
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue