Fun with telemarketeers – “The Religious Zealot”

September 3rd, 2006

So, I’ve been trying to think of more interesting ways to get rid of telemarketeers. The number here is on the Caller Preference Service and a bunch of other “don’t bother” lists, but they still call from time to time with fantastic offers I just shouldn’t miss…

caller: Hello, Mr. Masters!
< bit of questioning from me to find out if it's a legit. call >
caller: Are you currently using a mobile phone?
me: yeah.
caller: Which network are you with?
me: The GOD network.
caller: And are you on pay as you go or contract?
me: Neither.
caller: So how much do you pay per month?
me: Nothing. It's paid for through devine intervention.
caller: Uh, I see, that's great.

Give it a go! Be creative!

Jon.

The world’s worst embedded Linux device

September 2nd, 2006

Door rings, it’s the mailman to deliver a package I missed the other day and rescheduled. I ordered the D-Link DSL-G604T ADSL router and a Linksys WRT54GL. Both of these are (intentionally) running on Embedded Linux environments because I want to manage them remotely. They’re going to be at my parent’s place, I’ll be overseas.

What I want to do is establish an ADSL connection, run some WiFi and forward a couple of ports (temporarily) into an internal machine. Nothing that should be even remotely tricky on a Linux system and in fact is not. Now, I’m not going to write about the Linksys box at this point because I know for a fact that they run just great and I’m not planning to use the vendor firmware on it anyway. However, I will (for the sake of humanity) write a little about the shockingly appaling D-Link DSL-G604T that I received in the mail this morning.

I’ve managed to find the world’s worst ever Embedded Linux device! This little fucker is apparently based on some MVL variant and the underlying Linux is actually just fine – I mean, how could you honestly screw up busybox and iptables? Even D-Link didn’t manage to do that. No, logging in on the console is the only nice thing about it. Let’s see… the web interface is very simplistic, filled with (minor), annoying bugs and even the Advanced settings are trashy. Adding Port Forwarding rules shows them in the web interface, but iptables on the device (via the undocumented telnet) confirms that they don’t actually setup the rules right. Various fora suggest all kinds of fixes (and document other classical bugs) but none work. It’s just badly done.

I could just work around D-Link’s crappy product and script the device startup, but for the fact that there’s no free space on the flash by default and I’d have to remotely reconfigure it on every reset. That’s not a problem – I mean, you can’t assume that those buying your product will want to hack it in this way. BUT they could supply it in a way that meant it worked in the first place. I decided to look for a firmware upgrade. I used the nasty windows exe installer directly after several attempts at using the web interface – and that’s about the point when the device bricked itself. No amount of factory reset button usage is bringing this thing back from the dead at this point.

So, I’ve lost a few hours, I’ve got a brick. I’m going to return it, right? Actually no. I’ve decided I’m going to help out on the OpenWRT firmware and take this fucker apart/reflash it by hand. If D-Link won’t produce a device that works, then the least we can do is to provide an alternative – and hopefully kick some idiots into trying a little harder next time. Not impressed. Meanwhile, please don’t buy this product.

Jon.

HA mail (part deux)

August 30th, 2006

So, I spent a while trying to figure out how I’m going to shutdown all these machines I’ve got at home. I came up with the idea of getting some more colo to handle stuff I don’t really want based at home in the first place – well, not really, it’s more hassle than it’s worth to worry about unreliable [A]DSL connections and the like.

I prefer my email to just work. So, I decided everything needed replication. Not just in the way I’ve copied things previously – now I want live copies of mail that are synchronized, right down to the meta data for which mails I’ve read/deleted or otherwise tagged/flagged. Take a look at the MX for jonmasters.org now:

jonmasters.org.         9601    IN      MX      10 mx1.jonmasters.org.
jonmasters.org.         9601    IN      MX      20 mx2.jonmasters.org.
jonmasters.org.         9601    IN      MX      30 mx3.jonmasters.org.
jonmasters.org.         9601    IN      MX      40 mx4.jonmasters.org.
jonmasters.org.         9601    IN      MX      100 mx5.jonmasters.org.

I setup a couple more colo boxen (actually low cost VM) that can see each other over my private VPN. These are mx1 (fremont.jonmasters.org) and mx2 (london.jonmasters.org). They run exim4 and both think they’re delivering locally all of my mail. Fremont delivers into /fremont/mail/jcm/Maildir, while London delivers into /london/mail/jcm/Maildir. Since fremont.jonmasters.org is the top priority MX, most of my mail will end up there, some (mostly SPAM) will go to the secondaries. Both fremont.jonmasters.org and london.jonmasters.org export /fremont and /london over NFS over the VPN so they can see each other’s mail.

I wanted a distributed filesystem (thanks to my friends at work for suggestions) but unfortunately cannot get my colo providers to do that just yet (they’re busy moving to Xen anyway – then I can just take the matter into my own hands) so I have to have this (growing) NFS hack for the moment. I can’t just deliver mail into both directories on both machines, because that won’t help when the two are out of sync. Instead, I have looked at a variety of Maildir syncing software with a view to syncing the two machines once per minute.

First off, I looked at offlineimap. Mostly because other people seem to like it. It sucks. Not only is it badly documented, but it doesn’t work in the way you would expect, errors out if it’s not happy and likes to create lots of duplicates of mail/waste space. I won’t use it again unless it’s for something that’s a really simple syncing-mail-with-laptop scenario. Oh well.

Next, I looked at maildirsync. This is a simple looking utility, but it actually works. Through a wrapper script, I now have the machines sync the maildirs of those users for which I want this replication enabled. Each user has pretty typical procmail filters and the like, thanks to some macros abstracting the difference between hosts.

The net result from this work is that I now have several places with live copies of my mail, synced together and make it available using IMAP, Squirrelmail and through other media. Eventually, I’ll increase the number of hosts involved so that I can handle multiple failures on different continents and still have mail I never read nor reply to :-)

Jon.

Stupid law of the day

August 21st, 2006

Apparently Madonna may be prosecuted in Germany for Blasphemy over her appearance on a cross with a crown of thorns on her head. Yes, that’s right, there’s actually (apparently) a law against that in Germay – and that’s fucked up.

Ok, most of you know I’m an atheist. I don’t give a shit, except when religion starts trying to influence the laws of the land (and I spent a good 20 minutes the other day swearing at the TV when watching the UK House of Lords filled with unelected religious representatives nobody voted for – I’m that anti Religion influencing politics on any level). Having a law against Blasphemy is just so wrong I don’t know where to start discussing it. I hope they do prosecute Madonna (over someone else) because her lawyers would have a field day over it (I hope). I really hope she doesn’t give in to calls not to have those scenes in her performance – for once, she could do a good thing by standing up for the right to nail yourself to a cross in public.

Jon.

Why I won’t fly with Monarch

August 20th, 2006

Last week, a flight bound for Manchester was disrupted by unruly passengers demanding that two men of Middle Eastern origin be ejected from the plane. They were apparently guilty of speaking more than one language (something that most British people struggle to do at all) and the other language happened to be Arabic. Some Daily Mail readers[0] later tried to explain away this institutionalized British racism but it’s pretty clear these guys were guilty of flying while having the wrong colored skin and not speaking English loudly and obnoxiously. This stupid British racist hysteria makes my blood boil.

Next time this country accuses other countries of being Xenophobic, I think people need to take a long hard look at what we allow people to get away with in the UK today. It’s called introspection folks. Many of these Daily Mail, The Sun, The News Of The World “people” seem to think it’s perfectly acceptable to treat foreign people like dirt. It’s somehow acceptable not to embrace other cultures and welcome them but instead, we need to fear them for some reason. Monarch should know better than to pander to racists – they should have delayed the flight and ejected those making the unfounded accusations. I won’t fly with an airline that openly panders to these British racist extremists.

Jon.

[0] I saw the BBC News TV reports in which the couple being interviewed were actually holding a copy of that foul newspaper whilst being “interviewed”. That pretty much destroyed their “credibility”.

Terrorism FUD wins again

August 19th, 2006

I’m no big fan of EasyRyan but I think Ryanair have a point in threatening the UK government over the security hysteria that followed last week’s terror plot. In the aftermath of last week, it’s now becoming increasingly difficult to take hand luggage onto planes and this is helping to pander to terrorists everywhere. I sympathyise with the comments made today about how the UK government is dealing with the situation and even though I don’t think Ryanair have a legal leg to stand on, I hope they help to win some kind of backlash against the powers that be. The government need a large injection of realism to aid their “governance” of all the little people.

Either you allow baggage onto planes, or you don’t. Either you allow fluids or you don’t. What you don’t do is apply an uneven unstandardized set of “requirements” on to the traveling public in different locales and at different times. I have seen first hand just how they apply different standards at different airports and on different occasions and have seen the ineptitude of these security folks first hand. They don’t care about your security – they care about targets and getting a bonus from the company to whom the passenger screening has been outsourced to (probably to the lowest bidder, too). In turn, security companies care about making profit for their shareholders. You just don’t outsource security in airports and expect to be taken seriously – and some of us see right through all that farce.

But isn’t it brilliant how the US and UK have overreacted? Over the last week, we’ve had one plane diverted because a woman had a panic attack and an airport closed down after a pregnant woman of pakistani origin had some cream that might have been explosive. At the same time, we’ve had one passenger get back onto a plane and a 12 year old boy walk onto a plane without being checked by anyone (until he was on the plane itself). The right-wing media have had a field day with all their stupidly pointless animations and GIANT RED ALERT SIGNS on the screen and global terrorism has won the victory of making life just that little bit more miserable for the traveling public.

It is still safer to fly than to walk down many streets late at night. It’s safer to fly than it is to drive a car, or cross the street, or go into some banks, or do many other things that we take for granted. Heck, you’re almost as likely to win the lottery as get caught up in an incident – and when was the last time you won the lottery? But it’s still somehow necessary to go nuts and pander to extremists. And now we apparently need more profiling to take place and more ID cards and more <insert government surveillance here> to make our lives safer. I don’t feel any less secure than I did a week ago – just now I know about one more plot. Here’s a radical idea: let’s spend more money on curing disease and making cars safer. Let’s save a lot more people every day. Meanwhile, I’m still going to be flying.

Jon.

Warrentless wiretapping is unconstitutional

August 18th, 2006

Well, there’s some good news this week in the global “war on terror”. The people who care about privacy in the US have successfully pointed out to the fuckwit in chief that he is not above the law. Yes, unfortunately, he has to actually listen to that pesky “it’s just a piece of paper” constitution from time to time and not spy on people without any legal mandate to do so. Of course, the government will appeal this decision until they get their way (why not? Who cares about the rights of the people not to have unreasonable search or privacy in their own home from intrusive surveillance?). They’ll get legislation through to make it all legal after the fact because right-wing conservative nutjobs will support privacy errosion as an “anti-terror” “necessity”. I don’t think they even understand what the ACLU is trying to save.

While people who can’t add two numbers together continue the expensive and pointless fight to undermine freedoms in society, the ACLU will be doing something about it. They are one of the greatest institutions in the United States. These people care about defending the rights of the people that were fought for all those years ago by the founding fathers. What’s the point of having brave people stand up and establish the Union if idiots can undermine that on a whim? In a world increasingly twisted and distorted by the acts of a small number of people, who would love to see us all living in a police state, it’s refreshing to see brave people making a last stand for freedom.

Jon.