Category Archive: coding and admin

Jan 11 2013

dovecot failure

Today I ran a routine apt-get update/apt-get upgrade on my mailserver and dovecot failed afterwards. This is a “bad thing” (TM). No routine software upgrade should cause a failure of the kind I experienced. Two things happened which should not have done. Firstly the SSL certificates appeared to have changed (which meant that mail clients …

Continue reading »

Permanent link to this article: http://baldric.net/2013/01/11/dovecot-failure/

Dec 19 2012

no sites are broken

Or so the wordpress post at wordpress.org would have us believe. However, I think there is flaw in both their logic, and their decision making here. I spotted the problem following an upgrade to wordpress 3.5 on a site I use. One of the plugins on that site objected to the upgrade with the following …

Continue reading »

Permanent link to this article: http://baldric.net/2012/12/19/no-sites-are-broken/

Nov 16 2012

forcing innodb recovery in mysql

Today I had a nasty looking problem with my mysql installation. At first I thought I might have to drop one or more databases and re-install. Fortunately, I didn’t actually have to do that in the end. I first noticed a problem at around 15.45 today when I couldn’t collect my mail. My mail system …

Continue reading »

Permanent link to this article: http://baldric.net/2012/11/16/forcing-innodb-recovery-in-mysql/

Oct 27 2012

using openvpn to bypass NAT firewalls

OpenVPN is a free, open source, general purpose VPN tool which allows users to build secure tunnels through insecure networks such as the internet. It is the ideal solution to a wide range of secure tunnelling requirements, but it is not always immediately obvious how it should be deployed in some circumstances. Recently, a correspondent …

Continue reading »

Permanent link to this article: http://baldric.net/2012/10/27/using-openvpn-to-bypass-nat-firewalls/

Oct 20 2012

grep -R doesn’t search amazon

Towards the end of last month, following the release of the unity lens in ubuntu which searches amazon, “akeane” posted a bug report on launchpad complaining that “grep -R doesn’t automatically search amazon”. In his first posting he said: Dear “root owning” overlords, When using grep recursively I only get local results: grep -R fish_t …

Continue reading »

Permanent link to this article: http://baldric.net/2012/10/20/grep-r-doesnt-search-amazon/

Sep 09 2012

iptables firewall for servers

I paid for a new VPS to run tor this week. It is cheaper, and offers a higher bandwidth allowance than my existing tor server so I may yet close that one down – particularly as I recently had trouble with the exit policy on my existing server. In setting up the new server, the …

Continue reading »

Permanent link to this article: http://baldric.net/2012/09/09/iptables-firewall-for-servers/

Jan 12 2012

tails in a spin

When I first tested running a tails mirror on one of my VMs, the traffic level reported by vnstat ran at around 20-30 GiB per day. I figured I could live with that because it meant that my total monthly traffic would be unlikely to exceed my monthly 1TB allowance. However, when I checked the …

Continue reading »

Permanent link to this article: http://baldric.net/2012/01/12/tails-in-a-spin/

Dec 19 2011

tunnelling X over ssh

OK, yes, I know there are probably already a gazillion web pages on the ‘net explaining exactly how to do this, but I got caught out by a silly gotcha when I tried to do this a couple of days ago, so I thought I’d post a note. Firstly, X is not exactly a secure …

Continue reading »

Permanent link to this article: http://baldric.net/2011/12/19/tunnelling-x-over-ssh/

Oct 14 2011

clarity is not a virtue

Picking up my copy of the second edition I was reminded of the old obfuscated c contests. One of the earliest (anonymous) entries was this tribute to K&R’s famous printf(“hello world\n”); —————————————————————————- int i;main(){for(;i[“]<i;++i){–i;}”];read(‘-‘-‘-‘,i+++”hell\ o, world!\n”,’/’/’/’));}read(j,i,p){write(j/p+p,i—j,i/i);} —————————————————————————- c is not known as flexible for nothing.

Permanent link to this article: http://baldric.net/2011/10/14/clarity-is-not-a-virtue/

Oct 10 2011

that looks like a scam to me

The volume of spam backscatter I am receiving at the baldric.net domain currently runs at around 18-20,000 emails per month, nearly all of which is aimed at the info@ address I have mentioned before. My mail server is currently configured to reject mail to non-existent users at the SMTP level with a permanent failure message …

Continue reading »

Permanent link to this article: http://baldric.net/2011/10/10/that-looks-like-a-scam-to-me/

Sep 26 2011

squeezing the slugs

Debian 6 (squeeze) has been the current stable version since February 2011. The latest version (6.02) was released in late June. I have put off updating my slugs from lenny (old stable) for a while because I wanted to see how others faired before committing myself. Indeed, initial reports on the debian arm list indicated …

Continue reading »

Permanent link to this article: http://baldric.net/2011/09/26/squeezing-the-slugs/

Feb 01 2011

no police here

screenshot of www.police.uk website

The UK Home Office launched a new crime statistics website today at www.police.uk. The site is supposed to show “Local crime and policing information for England and Wales”. I’m not entirely convinced of the merit of the site in the first place (and can see all sorts of potential objections arising in some of the …

Continue reading »

Permanent link to this article: http://baldric.net/2011/02/01/no-police-here/

» Newer posts