Monthly Archives: May 2015

How To Protect your Linux Server Against the GHOST Vulnerability

On January 27, 2015, a GNU C Library (glibc) vulnerability, referred to as the GHOST vulnerability, was announced to the general public. In summary, the vulnerability allows remote attackers to take complete control of a system by exploiting a buffer … Continue reading

Posted in Linux How-To | Leave a comment

Amanda Cheat Sheet

Config The workings of Amanda all center around one or more config directories you set up We currently have only one configuration set up to dump all the workstations and it is called allAll of the Amanda commands need the … Continue reading

Posted in Linux How-To | Leave a comment

How to Protect your Server Against the Shellshock Bash Vulnerability

On September 24, 2014, a GNU Bash vulnerability, referred to as Shellshock or the “Bash Bug”, was disclosed. In short, the vulnerability allows remote attackers to execute arbitrary code given certain conditions, by passing strings of code following environment variable … Continue reading

Posted in Linux How-To | Leave a comment

Blocking a DNS DDOS using the fail2ban package

how you can reject these DDOS attempts via the fail2ban package. These events look something like this: System Events =-=-=-=-=-=-= Jan 21 06:02:13 www named[32410]: client 66.230.128.15#15333: query (cache) +’./NS/IN’ denied Tired of your DNS server being used as someone’s … Continue reading

Posted in Linux How-To | Leave a comment

How to Flush DNS cache

HowTo: Flush nscd dns cache Nscd caches libc-issued requests to the Name Service. If retrieving NSS data is fairly expensive, nscd is able to speed up consecutive access to the same data dramatically and increase overall system performance. Just restart … Continue reading

Posted in Linux How-To | Leave a comment

How to setup NRPE monitoring with Nagios

1 – Summary NRPE (Nagios Remote Plugin Executor) plugin allows you to monitor any number of remote network devices and services using Nagios. Installing and Configuring a Nagios Server is not part of this HowTo. You will need a nagios … Continue reading

Posted in Linux How-To | Leave a comment

Nagios check_http Plugin Examples for HTTP / HTTPS

1. Check HTTP Check whether Apache HTTP is running on a remote server using check_http. $ check_http -H 192.168.1.50 HTTP OK HTTP/1.1 200 OK – 332 bytes in 0.004 seconds |time=0.004144s;;;0.000000 size=332B;;;0 2. Check HTTPS Check whether Apache HTTPS is … Continue reading

Posted in Linux How-To | 2 Comments

NTP Server using Ubuntu 14.04

Network Time Protocol (NTP) is a networking protocol for time and date synchronisation between computers. By default, Windows 7 provides five servers (default being┬átime.windows.com) to synchronise with. Time varies based on network latency however with tens of milliseconds over the … Continue reading

Posted in Linux How-To | Leave a comment

How to shut down or restart the computer with a batch file

Below are steps on how to restart, shutdown, and hibernate a Windows computer from a batch file or the command line. Windows Vista, 7, and 8 users Windows XP users Windows 95, 98, and ME users MS-DOS users Windows Vista, … Continue reading

Posted in Windows How-To | Leave a comment

Batch file to copy files from one folder to another folder

xcopy.exe It’s built into Windows, so its cost is nothing. Just xcopy /s c:\source d:\target You’d probably want to tweak a few things; some of the options we also add include these: /s/e – recursive copy, including copying empty directories. … Continue reading

Posted in Windows How-To | Leave a comment