SSH is a very secure encrypted connection. Much much easier to setup then a VPN. its quite easy to setup, on the server side all we need is Open SSH and Squid on the client side Windows we can use […]
varnish for wordpress
/etc/yum.repos.d/varnish.repo [varnishcache_varnish41] name=varnishcache_varnish41 baseurl=https://packagecloud.io/varnishcache/varnish41/el/6/$basearch repo_gpgcheck=1 gpgcheck=0 enabled=1 gpgkey=https://packagecloud.io/varnishcache/varnish41/gpgkey sslverify=1 sslcacert=/etc/pki/tls/certs/ca-bundle.crt metadata_expire=300 OK, ready then yum clean all yum install varnish Check the version: # /usr/sbin/varnishd -V varnishd (varnish-4.1.8 revision d266ac5c6) here is my varnish default configuration /etc/sysconfig/varnish NFILES=131072 MEMLOCK=2000 NPROCS=”unlimited” […]
ipset and iptables
Got IP zones from the internet: wget http://www.ipdeny.com/ipblocks/data/countries/all-zones.tar.gz gunzip -d all-zones.tar.gz ; tar -xvf all-zones.tar Then with ipset ipset create onlyita hash:net hashsize 64000 while read ip; do echo $ip ; done < it.zone Iptables: iptables -N countryfilter iptables -A […]
Centreon no Graphics
Troubleshooting Centreon no Graphics (Using centreon brokers 2.11.8 BBDO not nagios NDO) Centos 6.8 x64 centreon-broker-2.11.8-2.el6.x86_64 centreon-broker-cbd-2.11.8-2.el6.x86_64 centreon-broker-cbmod-2.11.8-2.el6.x86_64 centreon-broker-core-2.11.8-2.el6.x86_64 centreon-broker-storage-2.11.8-2.el6.x86_64 PROBLEM Centreon graphics are not updated CAUSE Usualy it is related to centreon-broker not writing in my case I […]
Block IP bash script
Still working hard to keep my server security locked down from attacks. This script checks lighttpd logfile for unusual behaviour Script to monitor and block IPs spaming in varios ways my Word Press and SQUID Server Update 07/2016 tested on […]
yum update security check script
simple bash script to check for missing security this is important to make sure your linux is updated here is the script:
