blob: 009d545f2b4d28a54509e525a6edcfbf6ab6d821 [file] [log] [blame]
Bjoern Johansson127395f2017-02-09 22:28:47 -08001# IPv6 proxying
2type ipv6proxy, domain, domain_deprecated;
3type ipv6proxy_exec, exec_type, file_type;
4
5init_daemon_domain(ipv6proxy)
6net_domain(ipv6proxy)
7
8# Allow ipv6proxy to be run by execns in its own domain
9domain_auto_trans(execns, ipv6proxy_exec, ipv6proxy);
10allow ipv6proxy execns:fd use;
11
12allow ipv6proxy self:capability { sys_admin sys_module net_admin net_raw };
13allow ipv6proxy self:packet_socket { bind create read };
14allow ipv6proxy self:netlink_route_socket nlmsg_write;
15allow ipv6proxy varrun_file:dir search;