This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add comment="Ejecuta actualizacion OpenDNS" interval=15m name=OpenDNS on-event=OpenDNS policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive start-date=mar/23/2016 start-time=12:00:00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PUEDEN ESTAR EN DISTINTOS ARCHIVOS | |
############################################################# | |
# SPAM ASSASSIN | |
check process spamd with pidfile /var/run/spamd.pid | |
group mail | |
start program = "/etc/init.d/spamassassin start" | |
stop program = "/etc/init.d/spamassassin stop" | |
if cpu usage > 99% for 5 cycles then alert | |
if mem usage > 99% for 5 cycles then alert |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/bin/bash | |
#Configure servers | |
#SERVER1=190.228.29.39 | |
SERVER2=newhostname-or-ip | |
#Uncomment to hide folder sizes | |
#FAST="--nofoldersizes" | |
#Uncomment to do a dry run (no actual changes) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global | |
daemon | |
stats socket /var/run/haproxy.stat mode 600 | |
log 127.0.0.1 local0 | |
log 127.0.0.1 local1 notice | |
ulimit-n 80020 | |
pidfile /var/run/haproxy.pid | |
tune.ssl.default-dh-param 2048 | |
ssl-default-bind-options no-sslv3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install zlib zlib-devel pam pam-devel openssl openssl-devel gcc patch make | |
cd /usr/src | |
wget http://www.thirdechelon.org/stuff/openssh-6.6p1-hpnssh14v5.diff.gz | |
wget http://www.thirdechelon.org/stuff/openssh-6.6p1.tar.gz | |
tar -xzvf openssh-6.1p1.tar.gz | |
cd openssh-6.1p1 | |
zcat /usr/src/openssh-6.1p1-hpn13v14.diff.gz | patch | |
./configure –prefix=/usr –sysconfdir=/etc/ssh –with-pam | |
mv /etc/ssh/ssh_config /etc/ssh/ssh_config.original | |
mv /etc/ssh/sshd_config /etc/ssh/sshd_config.original |
NewerOlder