add missing if
This commit is contained in:
parent
1e786eacc0
commit
d14c0e7092
@ -702,6 +702,22 @@ interface(`corenet_tcp_bind_all_ports',`
|
|||||||
allow $1 port_type:tcp_socket name_bind;
|
allow $1 port_type:tcp_socket name_bind;
|
||||||
')
|
')
|
||||||
|
|
||||||
|
########################################
|
||||||
|
## <summary>
|
||||||
|
## Do not audit attepts to bind TCP sockets to any ports.
|
||||||
|
## </summary>
|
||||||
|
## <param name="domain">
|
||||||
|
## Domain to not audit.
|
||||||
|
## </param>
|
||||||
|
#
|
||||||
|
interface(`corenet_dontaudit_tcp_bind_all_ports',`
|
||||||
|
gen_require(`
|
||||||
|
attribute port_type;
|
||||||
|
')
|
||||||
|
|
||||||
|
dontaudit $1 port_type:tcp_socket name_bind;
|
||||||
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
## <summary>
|
## <summary>
|
||||||
## Bind UDP sockets to all ports.
|
## Bind UDP sockets to all ports.
|
||||||
|
Loading…
Reference in New Issue
Block a user