David Andrzejewski

Squid: Bypass redirector for specific URL

Often times, in your Squid proxy, you may have a redirector configured – such as SquidGuard:

I ran into a problem tonight with my Roku box where SquidGuard was seeing Roku’s NetFlix access as a security threat.  So, to make Squid bypass the redirector, add an ACL and a redirector-access rule:

There you …

Squid: Bypass redirector for specific URL Read More »

Squid Proxy: Make Outgoing Headers Anonymous

By default, Squid sends HTTP headers on every request that can give away information about your internal network. Here’s an example of these headers:

That’s three pieces of information you may not want to give away: The host name of your proxy server, the version of Squid it’s running, and the IP address of …

Squid Proxy: Make Outgoing Headers Anonymous Read More »

CSS: Make an element unselectable

Apparently, it’s necessary to use separate CSS properties for each browser.

Python URLGrabber: Ignore System Proxy Settings

The Duke URLGrabber package for Python makes it incredibly easy to retrieve files from remote servers, and it abstracts urllib2 for you in a protocol-independent way, so you can focus on your application instead of spending time working with Python’s built-in urllib2. On Windows and Mac OSX, by default, urllib2 (and therefore URLGrabber) will use …

Python URLGrabber: Ignore System Proxy Settings Read More »

FreeBSD: Monitor Your Disks’ Health with Smartmontools

Whether you’re using FreeBSD for your workstation, a simple home server, or in a complex IT environment where reliability is critical, losing the data on your hard disk(s) is probably the worst type of failure you can have.  I’ve already gone over a backup strategy for FreeBSD, but it’s best to try to prevent data …

FreeBSD: Monitor Your Disks’ Health with Smartmontools Read More »

Scroll to Top