Setting up a Squid forward proxy can be a pretty daunting task since Squid is an extremely flexible piece of software. In this article, I'm going to provide a minimal non-caching, authenticated configuration. I have tested this with Squid 3.1.12 on Ubuntu 13.04, but with minor adjustments …
read moreSimple Web Services With Bottle
Recently I rediscovered Bottle, a Python-based micro framework for web applications. Bottle gives you full control over your URLs, has a simple built-in templating engine and a lot of other commonly used stuff. It takes you five minutes to get started and perhaps one hour with its great documentation to …
read moreFive Years of Blogging
When I started this blog in December 2006, I didn't think I'd keep going for five years. Now, more than a hundred articles later, there's still no shortage of topics to write about. Five years is like eternity in my line of business, so let's not dwell in the past …
read moreCannot fork
From time to time, the virtual server I rented acted up. When logging into the system, I would get error messages indicating the server wasn't able to create any more processes: "cannot fork". This was weird because ps(1) showed only 20 processes, while the hard limit of the virtual …
read moreMoving to blog.mafr.de
This blog has been running for four and a half years now. That's quite a while in internet time, so I've decided to move it to my own domain at http://blog.mafr.de/ (the old URL will be valid indefinitely, though). Since I don't want to host a Wordpress …
read moreOpenID Delegation
Excluding Pages From Authentication
Java's Servlet spec allows web applications to delegate authentication and authorization to the servlet container, a mechanism known as container-based security. A lot of people use it for in-house applications or web services because it's simple and containers like Tomcat already provide several authentication backends to choose from. There's one …
read moreDelicious shutting down?
Yesterday, I was quite surprised when I head rumors that Delicious, my favorite link sharing site, is shutting down. According to their blog, they are looking for a way to continue the service outside of Yahoo, but it's better to be safe than sorry and backup all bookmarks.
I was …
read moreInto the Future with IPv6
2011 may not be the year when IPv4 addresses finally run out, but the reserves are running low enough to warrant large IPv6 transition projects. Access providers and domain hosters will see the effects first because the growth of their businesses depends directly on the supply of new IP addresses …
read moreAre Link-Sharing Services Irrelevant?
You can use RSS to easily follow a few high-profile websites and link sharing services like Slashdot or Digg to discover popular web content. But that's like reading a classic newspaper and some magazines: The information provided may have a higher chance of being relevant to you, but there's still …
read more