Skip to content

Instantly share code, notes, and snippets.

Marco Rodrigues gothicx

View GitHub Profile
gothicx / gist:2b9742329304610a9437
Created Jul 7, 2015
fail2ban mod_antiloris failregex
View gist:2b9742329304610a9437
enabled = true
filter = antiloris
action = iptables-multiport[name=apache-antiloris,port="80,443"]
logpath = /var/log/httpd/error_log
# Option: failregex
View selinux_httpd_zabbix
# Start httpd from zabbix with httpd_t domain
policy_module(myfix, 1.0.0)
gen_require(` type httpd_initrc_exec_t, zabbix_agent_t; ')
init_labeled_script_domtrans(zabbix_agent_t, httpd_initrc_exec_t)
You can’t perform that action at this time.