mirror of
https://github.com/swissmakers/fail2ban-ui.git
synced 2026-04-17 05:53:15 +02:00
Add SELinux Module, to allow fail2ban communication via localhost on port 8080
This commit is contained in:
BIN
internal/fail2ban-curl-allow.pp
Normal file
BIN
internal/fail2ban-curl-allow.pp
Normal file
Binary file not shown.
11
internal/fail2ban-curl-allow.te
Normal file
11
internal/fail2ban-curl-allow.te
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
module fail2ban-curl-allow 1.0;
|
||||
|
||||
require {
|
||||
type fail2ban_t;
|
||||
type http_cache_port_t;
|
||||
class tcp_socket name_connect;
|
||||
}
|
||||
|
||||
#============= fail2ban_t ==============
|
||||
allow fail2ban_t http_cache_port_t:tcp_socket name_connect;
|
||||
Reference in New Issue
Block a user