22 lines
498 B
Plaintext
22 lines
498 B
Plaintext
## <summary>Perdition POP and IMAP proxy</summary>
|
|
|
|
########################################
|
|
## <summary>
|
|
## Connect to perdition over a TCP socket
|
|
## </summary>
|
|
## <param name="domain">
|
|
## <summary>
|
|
## The type of the process performing this action.
|
|
## </summary>
|
|
## </param>
|
|
#
|
|
interface(`perdition_tcp_connect',`
|
|
gen_require(`
|
|
type perdition_t;
|
|
')
|
|
|
|
allow $1 perdition_t:tcp_socket { connectto recvfrom };
|
|
allow perdition_t $1:tcp_socket { acceptfrom recvfrom };
|
|
kernel_tcp_recvfrom($1)
|
|
')
|