How to setup Security.vcl on Varnish 3.0 Download it wget https://github.com/KristianLyng/varnish/tree/my2.1/varnish-tools/security.vcl # cd vcl/ # make # cp -a vcl/ /etc/varnish/security.vcl/ (alternatively you could symlink it, of course). Now all it has to be done is edit your normal VCL […]
How to install varnish
How to install varnish This is a step-by-step on howto setup and run varnish web cache. This was done for Linux RedHat 6 64bits, same works for CentOS 5.5 64bits with varnish 3.0 This install is made of Varnish and […]
How to setup sshguard
How to setup sshguard Using Iptables and centos or redhat (another option is to use fail2ban, checkout my howto here ) 1.Download sshguard source and compile it (could also try yum install sshguard) # wget http://downloads.sourceforge.net/project/sshguard/sshguard/sshguard-1.5/sshguard-1.5.tar.bz2 Other downloads from here […]
How to install snort on centos 5.5
How to install snort on centos 5.5 This guide is a step by step on how to install from source snort-2.9.0.5 on CentOS 5.5 64bits it should work the same way for RedHat. Also with the mysql option enabled. The […]
Setup check_vmware.pl on CentOS
Setup VMWare-CLI Perl Kit on CentOS 5.5 x64 (RedHat) Older Post with Simillar Information And overall info on how to monitor ESX IMPORTANT: For ESX(i) 6.x use https://github.com/op5/check_vmware_api First download my full package witch has all dependencies plus the vmware-vSphere-CLI Required […]
How to setup Centreon with MK_Livestatus
How to setup Centreon with MK_Livestatus Setup mk_livestatus: wget http://mathias-kettner.de/download/mk-livestatus-1.1.10p1.tar.gztar -zxvf mk-livestatus-1.1.10p1.tar.gz cd mk-livestatus-1.1.10p1make installchown nagios.apache/usr/local/lib/mk-livestatus/livestatus.o To patch centreon to use multibrokers: SQL:1. Create new tables in DB: ‘centreon’ CREATE TABLE IF NOT EXISTS `cfg_nagios_bkmod` (`bkmod_id` int(11) NOT NULL AUTO_INCREMENT,`nagios_id` […]
NETFILTER PACKET FLOW
NETFILTER PACKET FLOW (kernel): DROP will not warn REJECT will let them know its closed example: (RULE CHECK CHAIN) (THE RULE, WHAT TO DO) iptables -t filter -A INPUT -s 192.168.0.1 -j DROP Notes: The default for -t is filter […]
