Varnish security.vcl

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 […]

Tags: , , , , , , , , ,

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 […]

Tags: , , , , , , , ,

Check how many users in a group

Nagios plugin to Check how many users in a group check_group.vbs This script verifies if the number of users in a particular group changes. The output in debug mode Example: c:Program Files (x86)Nc_netscript>cscript.exe //nologo C:PROGRA~2NC_Netscr iptcheck_group.vbs -g CN=Domain Admins,CN=Users -u […]

Tags: , , , , , , , , , ,