Evil copyright industry

OK. That’s it. I’ve had it. The film and music industry is Evil. Plain Evil. You know the bad guys from The Exorcist? Well, those are nothing compared to that freakin’ copyright industry.
Let’s summarize the latest news, brought to life thanks to Senator Palpatine, Sony’s lates CEO.

I wrote about Sony’s rootkit two weeks ago. In the meantime

    ALCEI-EFI, an Italian digital-rights advocacy group, has formally asked the Italian government to investigate Sony for possible Italian law violations

So writes Mark Russinovich, who also reported back how badly Sony reacted to the whole situation:

Sony has told the press that they’ve made a decloaking patch and uninstaller available to customers, however this still leaves the following problems:

    There is no way for customers to find the patch from Sony BMG’s main web page
    The patch decloaks in an unsafe manner that can crash Windows, despite my warning to the First 4 Internet developers
    Access to the uninstaller is gated by two forms and an ActiveX control
    The uninstaller is locked to a single computer, preventing deployment in a corporation

Do you, just as I do, always click Yes I agree when one asks you to accept an EULA? Now, read this piece about the EULA’s in Sony’s Killer Audio CDs and think twice.

Comments on Slashdot and the Boycott Sony blog.

Forward Confirmed Reverse DNS

Forward Conmed Reverse DNS (FCrDNS) , is when an IP address has both forward (name -> IP) and reverse (IP -> name) DNS entries that match each other. Failing to properly configure FCrDNS is failing to adhere to basic internet rules, as explained in RFC 1912:

Every Internet-reachable host should have a name. The consequences of this are becoming more and more obvious. Many services available on the Internet will not talk to you if you aren't correctly registered in the DNS.
Make sure your PTR and A records match. For every IP address, there should be a matching PTR record in the in-addr.arpa domain. If a host is multi-homed, (more than one IP address) make sure that all IP addresses have a corresponding PTR record (not just the first one). Failure to have matching PTR and A records can cause loss of Internet services similar to not being registered in the DNS at all. Also, PTR records must point back to a valid A record, not a alias defined by a CNAME.

FCrDNS explains an important point on how DNS should be properly configured, not the least important for mail servers. Let’s check my domain (read the last section on MX checks.)
First of all, let’s verify which are my mail servers.

serge@goldorak:~$ dig +short mx vanginderachter.be
100 mail1.www.ginsys.eu.
300 mail.rollernet.us.
300 mail2.rollernet.us.

The primary is of course mail1.www.ginsys.eu, the other ones being backup relayers. Let’s dig up this server’s IP address:

serge@goldorak:~$ dig +short A mail1.www.ginsys.eu
80.68.91.64

Now, as stated in RFC 1912, that IP needs a reverse lookup entry 64.91.68.80.in-addr.arpa:

serge@goldorak:~$ dig +short PTR 64.91.68.80.in-addr.arpa
skuniboot.www.ginsys.eu.

Or as a short form lookup:

serge@goldorak:~$ dig +short -x 80.68.91.64
skuniboot.www.ginsys.eu.

And that hostname A record should point back to that same IP address:

serge@goldorak:~$ dig +short A skuniboot.www.ginsys.eu.
80.68.91.64

Simple enough? In fact, a whole lot of servers are not configured like that. Often they are configured with different A and PTR records and sometimes without an existing PTR record, which can break email reception from them. More and more mail servers are configured to bounce emails from servers with such a broken configuration. As is skuniboot.www.ginsys.eu. But as a lot of admins don’t follow the rules, I need to whitelist certain broken servers to be able to receive email from them.

Note that above examples are mostly important for email that is sent by skuniboot.www.ginsys.eu. Most of the mails I sent from my personal email address, from my personal home desktop, is sent through my ISP’s relayers? In such case, you better hope your ISP follows the rules. My ISP, Telenet tends to behave pretty well. Other Belgian ISP’s like Belgacom/Skynet don’t always follow the rules. Even big hosting companies which tend to have a good name in the corporate world, like Hostbasket, often break the rules.

svg@skuniboot:~$ dig +short mx somedomain.belgium
10 mailforwarding.hostbasket.com.
dig +short A mailforwarding.hostbasket.com.
85.255.194.5
85.255.194.6
svg@skuniboot:~$ dig +short -x 85.255.194.5 -x 85.255.194.6
hosted.by.hostbasket.com.
/postfix/hosted.by.hostbasket.com.
svg@skuniboot:~$ dig +short A hosted.by.hostbasket.com.
212.123.6.131
svg@skuniboot:~$ dig +short -x 212.123.6.131
hosted.by.hostbasket.com.

Looks good? Then why do I need to whitelist certain IP’s to be able to receive mail from somedomain.belgium?

svg@skuniboot:~$ less /etc/postfix/access
# hosted.by.hostbasket.com
195.130.154.125 OK
195.130.154.124 OK

Hmpf. Another series of IP’s for that domain. Those are ip’s who sent mail from that domain to me. Mail that initially got blocked by postfix’ reject_invalid_hostname and especially reject_unknown_hostname directives to check on the rules I explained above, and that only got through after I whitelested them. Let’s check the PTR records:

svg@skuniboot:~$ dig +short -x 195.130.154.125 -x 195.130.154.124
hosted.by.hostbasket.com.
avas4.hostbasket.com.

Hmpf. The first IP looks good (now), the second gives another A record.

svg@skuniboot:~$ dig +short A avas4.hostbasket.com
85.255.194.5

OK, another IP again, which reverses to hosted.by.hostbasket.com as we saw above.

All in all, not that bad I must say. But, as you may have noticed, they tend made things a little difficult with their marketing driven hosted.by.hostbasket.com. A record. The RFC paragraph 2.1 I quoted above also mentioned:

It is highly recommended that you use some software which automates this checking, or generate your DNS data from a database which automatically creates consistent data.

which should not be a problem for such a big hosting company.
One last example? Let’s show some good guys now.

svg@skuniboot:~$ dig +short MX whiplash.commercial
50 hotel.openminds.be.
10 tango.openminds.be.
svg@skuniboot:~$ dig +short A hotel.openminds.be. tango.openminds.be.
193.221.125.47
195.47.215.24
svg@skuniboot:~$ dig +short -x 193.221.125.47 -x 195.47.215.24
hotel.openminds.be.
tango.openminds.be.

Simple. Short. Nice configured. Even better than my domain, who users an extra generic, separate A record mail1.www.ginsys.eu. in the MX records. (AFAIK there’s no problem with that and it’s in respect with RFC’s – tell me if otherwise! – but, although it makes it easier to configure things when you want to change a lot of domains to another mail server, I tend to think it’s less clean.)

That’s all folks!

Unreadable CD

Today our guys on the helpdesk asked whether it was possible to retrieve a file from backup, dated july 2003. Then, there was no schedule to keep backups separate for more than two years. Even nowadays most small companies don’t keep backups more than a couple of weeks or months, not to speak of one year back.

If I may remember you, I wrote some time ago about the problems of information archiving. Nothing unusual so far.

The reason they wanted to go back that far, was of course a user who needed a file from back then. A file they did archive in July 2003. On CD.

Now, only a little more than two years later, that CD appears to be unreadable.

Computer Networks

Bought myself a geek book last week, which according to Wouter Verhelst is the best computer-related book ever. As some other people also acknowledged me that and I got good impressions with reviews, I got out and bought the Dutch version. I wonder if that’s the original version, the author, Andy Tanenbaum being a Dutch professor. Hmpf, it appears not, translated from English it is:

Computer Networks by Andrew Tanenbaum - book cover Fourth Edition

If you would happen not to know ast, he is also famous for being the author of Minix, which influenced the design decisions Linus Torvalds applied in the creation of Linux. Linux and Andy didn’t always agreed however, to say the least..

Didn’t get very far, so far, but it seems to be a well written book, explaining every aspect of computers and networks. Hopefully it will help me filling the many gaps in my knowledge 🙂

Which makes me think I still have to finish another book by the same author, which I started reading maybe 10 years ago:
Structured Computer Organisation by Andy Tanenbaum - Book Cover but the First Edition 🙂

How a company policy begins

Every now and then something so good comes along that it must be spread. I cannnot take credit for this gem and unfortunately I cannot credit it’s author as I found it devoid of all origin information.

Start with a cage containing five monkeys. Inside the cage, hang a banana on a string and place a set of stairs under it. Before long, a monkey will go to the stairs and start to climb towards the banana. As soon as he touches the stairs, spray all of the other monkeys with cold water.

After a while, another monkey makes an attempt with the same result; all the other monkeys are sprayed with cold water. Pretty soon, when another monkey tries to climb the stairs, the other monkeys will try to prevent it.

Now, put away the cold water. Remove one monkey from the cage and replace it with a new one. The new monkey sees the banana and wants to climb the stairs. To his surprise and horror, all of the other monkeys attack him.
After another attempt and attack, he knows that if he tries to climb the stairs, he will be assaulted.

Next, remove another of the original five monkeys and replace it with a new one. The newcomer goes to the stairs and is attacked. The previous newcomer takes part in the punishment with enthusiasm!

Likewise, replace a third original monkey with a new one, then a fourth, then the fifth.

Every time the newest monkey takes to the stairs, he is attacked. Most of the monkeys that are beating him have no idea why they were not permitted to climb the stairs or why they are participating in the beating of the newest monkey.

After replacing all the original monkeys, none of the remaining monkeys have ever been sprayed with cold water. Nevertheless, no monkey ever again approaches the stairs to try for the banana.

Why not?

Because as far as they know that’s the way it’s always been done around here. And that, my friends, is how a company policy begins.

Symantec antivirus stops production

Last week I witnessed an upgrade of the Symantec Anti-virus client to version 10, at a major customer. This company represents a Benelux division of a multinational who sells fast moving consumer goods. Picture a big American, Fortune 500 company.

After a period of testing several standard desktop deployments, the team involved with this upgrade decided to effectively deploy the new client, starting at the local premises at the Belgium production plant, from which they operated. Setup the server, push the clients.

I guess half a day work to get that rolling. During that, they witnessed one production machine with a failing hard drive. At least that’s what they thought. It appeared to be a Windows 2000 professional machine and it wasn’t a hard drive failure. It appeared to be the first of all Windows 2000 professional based machines who plainly crashed after the new Antivirus client got working. Plain BSOD. No rocking, no rolling. The ideal tool every Union would like to have. We had to rescue boot every single machine and rename the AV’s application directory to get things working again. Without any active antivirus, that is.

Now when you realise most W2K machines were to be found in the production areas, halting all production on about 6 lines, you might have a clue of the extent of the problem :-).

Ok, the team should have tested it on W2K pro. It appeared they overlooked that and only tested it on Windows XP. But, you should now that

    Symantec Anti Virus v.10 has been out for about half a year now
    Symantec Anti Virus v.10 has been installed by other colleagues with several customers in several different circumstances, and never crashed

The corporate nerd in you will rightfully say ´´That’s not enough, they should have tested the exact circumstances of their environment”. Well…, that’s true given the actual facts of how most – dare I say Windows based – computers act nowadays and how they should be managed. But technically, that just sucks.

My colleague, who suffered this strike, tried to find the exact cause of the crash. Tried to reinstall workstations in several ways. Set the damn thing up with the corporate workstation, which involved some Windows Group Policies and some specific applications – nothing unusual, dare I say – and it crashed. Blue nightmare. Setup the same AV client with a vanilla Windows 2000 setup, no problem. It was that same AV client, who during testing phase gave a (minor) problem because the ´´My Pictures'' folder was redirected to a UNC path. Standard Windows configuration possibility, I thought. But no, it appears even simple things cause a problem.

When I’m confronted with this kind of problem, it keeps striking me how totally illogic those are. And I’m not even a Vulcan. For me, this stuff makes the uttered signs of the inner problems in Microsoft Windows. It shows very well how its basis is b0rken. But few people seem to agree, or even care. I could tell you similar horror stories on how backup breaks on Windows. Every single day I spend on my company’s IT helpdesk – luckily not that much – I’m confronted with backup problems. More, that helpdesk probably lives by 20% to 40% on backup problems. I never, ever experienced (software) backup problems with my Linux based systems. Once configured, a Linux backup always finished as it should be. Never, ever expect such a thing of a Windows backup.

I wonder when people will get those facts when thinking of their ROI.

Oh well.

Sony DRM Installs a Rootkit

For whom still thinks DRM ain’t no problem, slashdot reports how Sony DRM Installs a Rootkit:

SysInternals.com guru Mark Russinovich has a detailed investigation of a rootkit from Sony Music. It’s installed with a DRM-encumbered music CD, Van Zant’s “Get Right with the Man”. (Mmmm, delicious irony!) The rootkit introduces several security holes into the system that could be exploited by others, such as hiding any executable file that starts with ‘$sys$’. Russinovich also identifies several programming bugs in the method it uses to hook system calls, and chronicles the painful steps he had to take to ‘exorcise the daemon’ from his system.

Full article here.

If you want to skip the technical stuff, here is Mark Russinovich’s conclusion:

The entire experience was frustrating and irritating. Not only had Sony put software on my system that uses techniques commonly used by malware to mask its presence, the software is poorly written and provides no means for uninstall. Worse, most users that stumble across the cloaked files with a RKR scan will cripple their computer if they attempt the obvious step of deleting the cloaked files.
While I believe in the media industry’s right to use copy protection mechanisms to prevent illegal copying, I don’t think that we’ve found the right balance of fair use and copy protection, yet. This is a clear case of Sony taking DRM too far.

I’ve thought it before, George Orwell picked his title twenty years too early.

On the problems of information archiving

Linux Journal runs an article entitled Everybody’s Guide to OpenDocument. In explaining why it is important to have Open Standards to store data, they refer to a story of scientists who couldn’t read magnetic tapes from the 1976 Viking landings on Mars, with their data being stored in an unknown format. And that’s only data that’s 30 years old.

While scholars can still read the 1086 tome, the digital version needs customized software and hardware that are breaking down from old age, meaning records from just 17 years ago are rapidly vanishing.

Although this goes about the format in which data is stored, the problem goes even further when you consider the media on which data is stored. Ask my customers how confident they are with backups. One of them already has a problem with reading his tapes from 5 years ago. We sold him a new server with a newer tape drive 3 years ago. The old one isn’t supported any more. Same story last month, with that same customer. He needed a new server.

Data is lost. Zero. Nada. /dev/null.

Face it, what can you do to be sure to have a working tape drive along with your old tapes? Maybe big enterprises can bear the cost to provide spares, but when it comes to it, they will also face the fact that the manufacturer dropped support. Small companies? Private persons? If they’re lucky, they might find something on ebay. Right. That’s the way we will preserve our history.

My mother has been cleaning and ordering my aunt’s house last year. It was fun to check all the old photographs of my grandparents and relatives she found. She even made a dedicated ancestor’s album with all those pictures. Which still will be around in the coming decades. And at no significant cost. I don’t wan’t to think what’s going to be left of my albums in a couple of years. And at least I’m doing backups. And pay for hosting.

Archive information? Are you going to trust your stuff to CD’s of DVD’s? I’m not. They might last a couple of years, but that’s going to be it. The only way I’m confident of keeping my data right now is by keeping it on-line. On my file server. If something breaks, I’m going to know and I (hopefully) will have a recent backup. How the hell am I supposed to know if my archived data is still safe? Testing each CD every 6 months? Recopying them every year? Keeping 2 copies? Do you want to trust your data to Google Photo Album?

As I said, I’m a geek thinking about this stuff. It’s my job. But every decent normal person I know of sucks at backups. And actually, I can’t blame them. They never had to do that with plain old paper photo albums. Why should they now?

Because that’s progress?

While scholars can still read the 1086 tome, the digital version needs customized software and hardware that are breaking down from old age, meaning records from just 17 years ago are rapidly vanishing.

Back to basics?