All posts tagged linux

Blocking Countries on Nginx without the GeoIP Module

the-world-in-flags

Sometimes blocking entire swathes of the world is the way to go if you truly want a defense in depth approach on your web apps, for instance do your administrators truly need to log on from every country on Earth?  As website administrators we get a feel for where our legitimate traffic is coming from and where we see nefarious connections from.

Continue reading →

Bonding Interfaces on Ubuntu 12.04LTS

uber-neat-uber-switches

Having multiple interfaces on a server helps for a variety of reasons, and recently I had to get a server (a Sun Micrososystems X4100 incidentally), up and running with Ubuntu 12.04LTS and bonded interfaces.

Continue reading →

Setting up Nginx with Cloudflare

generic_cloud

I’ve written about the very excellent Cloudflare CDN before.  It’s a fantastic content delivery network with inbuilt security, I love it.  This is another quick howto to get your Nginx web server working properly with Cloudflare.

I will assume you already have a working LEMP server working.

Continue reading →

Useful SSH Commands (Including Mac OSX)

im-doing-the-internet

SSH Port Forwarding Examples

SSH is a very flexible and very useful tool for those of us working across multiple systems sometimes in multiple locations.  Here are a few SSH commands I regularly use and include mostly SSH port forwarding.  I use all these commands regularly on Linux and Mac OSX and they all work quite happily!

Continue reading →

Pyrit Benchmark for Raspberry Pi

Raspberry Pi Pyrit Benchmark

I’ve been playing with my Raspberry Pi quite a bit lately, it’s a wonderful bit of kit.  If you don’t have one already go and buy one!  The cost/power balance is really amazing.  This post is in no way a criticism of a Raspberry Pi, it is a wonderful computer made with education in mind and I am certainly learning!
Continue reading →