Archive for January, 2010

A View From The Ivory Tower: What’s Wrong With NAT?

Categories: Rants, Technology | January 30th, 2010 | by breandan | no comments

I have long espoused a theory about network design that gets me laughed at, especially in smaller organizations. This theory is that Network Address Translation, or NAT, is a fundamentally broken technology and it makes everyone on the Internet suffer. A lot of people think I’m crazy – NAT is the tool that allows a house with cable modem to have more than one computer online at a time. In short, NAT takes the single, public IP address given to you by your ISP, and hides any number of computers behind it. It assigns IP addresses from one of the three ‘private’ address ranges (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16) to each computer, and everything works as expected.

The problem is that this breaks one of the original visions of the Internet – where everyone is an equal consumer and producer. Wasn’t the Internet supposed to set us free? Decentralize communication, so the flow of information was between peers, and not coming from The One Blessed Source? NAT makes that impossible, as it is a single-direction filter. A computer behind a NAT isn’t accessible from the rest of the Internet at large. It makes huge chunks of computers act only as consumers of media. This, coupled with the fact that most Internet connections are optimized for downloads and severely limited for uploads makes publishing content on the Internet even more costly to the end user. It limits connections, freedoms and slowly moves the whole Internet back into the control of the people at the top. The whole point of the Internet was the lack of “someone” at the top – it was designed for communications after nuclear attacks, after all – but we’re moving steadily in that direction.

To compound matters, many companies use NAT for ‘security’. The idea is that most users aren’t aware of how to safely run servers, so if they are hidden behind a NAT, they simply can’t. (The people who say NAT makes things secure in other ways is selling something – most likely network security equipment.) The job of network security really should be left to things like perimeter firewalls, intrusion detection/prevention devices, and hardened servers and hosts. This includes running anti-virus software on platforms that need it, and possibly on those that don’t, as well as turning off sharing services that aren’t being used, and enabling host-based firewalls. That is a real security policy. NAT isn’t.

The real problem, the one NAT is actually solving these days, is the shortage of IPv4 addresses. When TCP/IP was released on the world in 1980, there were thousands of hosts on the Internet, so the address space of just over 4 billion IP addresses seemed rather large enough. Hundreds of millions of addresses were set aside for private networks and special research projects. The network address that is reserved for each computer to talk to itself, called the loopback, is often referred to by the first address in the network: 127.0.0.1. A lot of system administrators don’t know that the rest of that network – 16 million addresses – are also set aside in this network, never to be used for any kind of real purpose.

Now, 30 years after IPv4 was adopted, the Internet is coming close to running out of addresses. Current estimates suggest the address space will be fully assigned by the middle of 2011. It doesn’t mean the internet is going to stop working, just that it will be harder and harder to get IPv4 addresses that can be seen anywhere else in the world. As more and more houses get always-on internet connections, and more businesses wire themselves to the internet, it will be harder to get access to the public Internet. A lot of people address this shortage with NAT, but the real solution is IPv6 addressing, which has been in the works for over 12 years. It provides 3.4×10^38 addresses – which (at this point) should hold us for quite some time.

Paywall Data

Categories: Economics, General, Rants | January 26th, 2010 | by breandan | no comments

Everyone keeps talking about what happens when the paywalls start going up for the new sites – and we finally have some data. After three months, Newsday has a total of 35 paying subscribers. 35.

Preparing to Upgrade to OpenSolaris

Categories: Development, Home Network, Technology | January 24th, 2010 | by breandan | no comments

I’m finally doing it – working out all the bits needed to upgrade my remaining Solaris Nevada box to OpenSolaris. It’s doing a lot more than just being a fileserver, and it will require wiping out the boot drive (I don’t have a handy spare drive laying around), so I had to go into and make sure I knew exactly what the impact was of me formatting the drive and reinstalling.

Squid Proxy Server
OpenSolaris 06.09 has squid built in, registered with SMF. It’s just a matter of preserving my config files and making sure all the cache and log repositories aren’t on the root pool. Once I reinstall, 10 minutes later I’ll have my squid server back – and updates will be managed by Sun, not the bozos at blastwave.

DynDNS ddclient
I’ve got a copy of the script and the config file I’m using. It’s a matter of re-writing an SMF manifest to import, and making sure the pieces are in place. I should probably deploy this on other platforms – it’s not going to penalize me for running multiple copies.

DNS Server
Another simple service – it takes a hosts file and creates zone files etc. So, to get this ported is to grab a copy of the script and the hosts file, and run along my merry way, adding a cron job as I go.

Nagios Server
If you look into the contrib repository for OpenSolaris you can find packages for nagios, nagios-plugins, and nrpe. Perfect. Well, not perfect, as it’s Nagios 3.0.3, but it’s at least somewhat modern, and means I don’t have to mess with blastwave again. Again, save config files, move things over.

Firefly/mt-daapd Server
I’ve decided not to move this over. We simply don’t use it as much as I thought we would, and it’s not worth the trouble to move. If, at some point, we need it, I’ll dig up the instructions to get it running and blog it here.

UPDATE: I went ahead and did the upgrade (after saving the rpool to another ZFS pool). Two hours of reinstalling later, and we’re all good. I’ve got a couple of things left to do, but we’re back in business.

Techies vs Normals

Categories: Rants, Technology | January 23rd, 2010 | by breandan | no comments

I read a post this morning in Google Reader, comparing technical people with everyone else. I’ve never been a fan of the put downs for non-technical people – part of the reason I’m paid to go to work during the day is that I have a skill set most people don’t have. If everyone else was like me, I’d have to find a new job. Anyway, the author of the post had a really nice way of describing the non-techs out there – “normals”. If anything, it’s a slam against the technical people, and it describes the breakdown pretty well.

Why Do We Need Sinuses, Anyway

Categories: Family News | January 21st, 2010 | by breandan | no comments

For the past week, I’ve been suffering from my sinuses. Qais got nasty sick – RSV – and we all caught it to some degree. Of course I got lucky, and also picked up the worst sinus infection I’ve had in years. Bad enough that I was willing to go to the doctor and complain about it. She took one look in my nose and told me that I needed to take antibiotics. The funny thing – she’s a very holistic doctor who isn’t into medicine. This apparently looked bad enough though.

Do our sinuses do any good for us? Or are they just like our appendixes, waiting to get infected and make us miserable?

Older Posts »

The Guru College is Digg proof thanks to caching by WP Super Cache