All posts tagged ubuntu

How to Install AVG Anti Virus on Ubuntu Server

virus

Although in my experience Linux is much less susceptible to malware, it would be unfair to say that they are completely secure.  Even if a Linux machine isn’t infected it doesn’t mean it can’t be an unsuspecting virus delivery mechanism.  Although saying that a web server really shouldn’t be delivering any malware…

AVG is a widely recognised anti-malware vendor, especially in the Windows world, and we’ll be installing their Linux Antivirus on our server and then setting it for a scheduled run daily. Continue reading →

A Tinyproxy Transparent Installation on Ubuntu 12.04 with HTTPS Support

ninjas_cant_catch_you_if_youre_invisible
If you want an easier way to get Tinyproxy working and don’t want to use transparent support try this post to install Tinyproxy on Ubuntu.

The repositories for Ubuntu don’t have Transparent Support enabled for Tinyproxy.  Some firewalls and corporate installations need to use transparent proxies if they are internally redirecting.  This post will guide you through building Tinyproxy from source on Ubuntu 12.04 as a complete installation and working system.

I couldn’t find any decent guides out there on how to make this work, so I thought I’d put one together.  Hopefully my research will come in useful for someone else…  Warning this is a little more in-depth than my usual tutorials, but I promise it will be worth it in the end.

Continue reading →

Nginx Not Showing Client IP and Varnish Not Forwarding Client IP

ubuntu_varnish_nginx

I came across a setup using numerous Varnish front end cache servers with one Nginx backend server.  All built on Ubuntu machines.  It appeared that Varnish was not forwarding the client IP to the backend server, which meant that the only records in the web server logs was the IP addresses of the Varnish Cache servers.

Continue reading →

How to Log BIND Queries on Ubuntu 12.10

old_rope

I’ve been troubleshooting some pretty large networks lately, and since DNS underpins most enterprise networks it’s very useful to see what traffic is going through the DNS servers.  By default Ubuntu doesn’t log every query, and I can understand why.  The average home network generates 100′s of DNS queries an hour, enterprise networks generate magnitudes of scale more.

Continue reading →

How to Enable Squid Anonymous Stealth Mode

Stealthy Squid

There are some times when you don’t want your proxy server announcing that it’s a proxy server to the world.  Getting Squid to anonymise the requests coming from behind it isn’t done out of the box.

Continue reading →