mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
Update nmap
Ubuntu support, iflist, unprivileged
This commit is contained in:
parent
accf5538bd
commit
5be4256404
1 changed files with 10 additions and 0 deletions
|
@ -20,6 +20,8 @@ profile nmap @{exec_path} {
|
|||
|
||||
network inet dgram,
|
||||
network inet6 dgram,
|
||||
network inet stream,
|
||||
network inet6 stream,
|
||||
network inet raw,
|
||||
network inet6 raw,
|
||||
network netlink raw,
|
||||
|
@ -29,6 +31,14 @@ profile nmap @{exec_path} {
|
|||
|
||||
owner @{PROC}/@{pid}/net/dev r,
|
||||
owner @{PROC}/@{pid}/net/if_inet6 r,
|
||||
owner @{PROC}/@{pid}/net/route r,
|
||||
owner @{PROC}/@{pid}/net/ipv6_route r,
|
||||
|
||||
# unprivileged
|
||||
# @{PROC}/@{pid}/net/dev r,
|
||||
# @{PROC}/@{pid}/net/if_inet6 r,
|
||||
# @{PROC}/@{pid}/net/route r,
|
||||
# @{PROC}/@{pid}/net/ipv6_route r,
|
||||
|
||||
/usr/share/nmap/** r,
|
||||
|
||||
|
|
Loading…
Reference in a new issue