Archive

Posts Tagged ‘internet’

no-www.org

May 24th, 2006 7 comments

For several years, I’ve been trying to convince web surfers and domain owners that the “www” that prefaces most web addresses is now completely unnecessary. The practice of putting “www” before domain names for web pages was started in the early nineties to help web browsers distinguish HTTP-protocol web pages from other protocols such as gopher, ftp, etc. All modern browsers assume that you want to use the http protocol unless you specify otherwise, so the “www” is not necessary. Unfortunately, the vast majority of corporate marketing departments (probably out of ignorance) are still plugging their respective domain names prepended with www. Along with that is the fact that *many* clueless webmasters/sysadmins out there will only serve up their website of you go to the “www” form of their domain name. Ugh.

Anyway – all that to say that I stumbled across no-www.org yesterday. They’re on a campaign to do away with the scourge that is www. My website now validates as a “Class B” no-www site. This means that if you accidentally happen to visit www.andersonfam.org, you’ll get politely redirected to andersonfam.org.

No-www Class B

Categories: general Tags: , , ,

SSH brute force attacks

September 29th, 2005 3 comments

I know there are a few of you out there that admin linux boxes either for hobby or work, so I thought I’d pass this along…

If you pay any attention to your syslogs at all (which you should), you’ll already know this, but in the last year or so, the occurrance of SSH brute force attacks has gone up significantly. For the non-geek (a.k.a. people who have lives), SSH is a way of gaining access to a server remotely. For instance, the server I rent is actually in San Diego – so when I need to change something, I can’t just waltz up to it, turn the monitor on, and make the change. I have to run a program on my laptop called an SSH client which I use to connect over the internet to my server. Once the connection is made, all communications between the server and client are encrypted. Now – what’s this brute force you speak of? I’ll explain. There are many people around the world whose goal in life is to create as much mischief as possible – on the internet, this mischief often comes in the form of hacking attempts. Brute force attacks are a type of “hacking”. Basically, when someone launches a brute-force ssh attack, they try an arbitrary list of common usernames in combination with weak passwords. In server logs, it’s brutally obvious when an attack like this happens. See this for an example of what these attacks look like in the server logs. You can see that they’re just trying random usernames. 99% of the time, these attacks fail, fortunately, but every once in a while, they succeed in breaking into your system. Once that happens, they usually take over your server and use it for sending spam, viruses, etc. Not good – the end result after you discover you’ve been had is a server re-installation.

There are many ways to thwart these attacks – running sshd on a non-standard port, disabling password auth, implementing port knocking, etc. None of these options are acceptable for someone in my position, though, who has several (non-technical) users who need remote access into the machine to update websites, check email, and so on.

Enter DenyHosts. It’s a fairly simple python script written by a guy named Phil Schwartz. Put simply, DenyHosts runs periodically on the server, reading through the system logs. If it detects a brute-force attack, it adds the offending computer’s IP address to the /etc/hosts.deny file. This effectively cuts off all access to the server from that computer. Problem solved. Oh, and it also is able to send email to me when it detects an attack.

I was actually about mid-way through the process of writing a perl script to do just this when I stumbled upon DenyHosts. I gave it a try, and it worked just as advertized, so I figured it wasn’t worth re-inventing the wheel. That’s why I love open-source software. For the great majority of problems, there’s an open-source app that will get you ninety percent of the way to solving your problem, just requiring a bit of tweaking to bring the solution to completion.

So anyway – if you run a publicly-accessible *nix box w/ SSH available, I’d highly recommend you give DenyHosts a try. It really sets your mind at ease – not having to worry that some script kiddie is going to own your box.

Categories: general Tags: , , , ,

Sprint EVDO

September 26th, 2005 No comments

Sprint’s slowly rolling out their high-speed EVDO service in the area. Currently, they only have EVDO turned on in the central metro corridor, but it sounds like they’ll have the whole metro area lit up by the end of Q1, ’06. I ordered one of their EVDO pcmcia cards today, and am very excited to see how it performs. Currently at work, we have 2 of the 1xRTT data cards, which work well, but are *very* slow. Word on the street is that the new EVDO cards are getting about 700kbit sustained, burstable to 2mbit. It would be pretty incredible if that were true. That’s more than enough to stream internet radio while in the car :-). Sure, the latency will still be quite bad, (probably not quick enough for gaming), but it’s not to hard to deal w/ that for normal day-to-day work.

Categories: general Tags: , ,

Fudds

September 2nd, 2005 3 comments

This is stinkin’ awesome. Internet-stylee street justice.

Edit…
Well that’s a dead link now. Sorry if you missed the fun.

Categories: general Tags: ,

FUD

May 19th, 2005 No comments

So there was just an article posted on slashdot with the title “Google Might Dissappear in Five Years”. Nooooooo!!!!! How would we function on the web without Google?

Well then I read that the comment was made by Microsoft CEO Steve Ballmer. In case you didn’t know, Microsoft has put themselves up to the task of becoming Google’s number 1 competitor in the internet search market. There’s obviously a conflict of interest there, don’t ya think? Anyways, you gotta commend MS for their business decisions – they make a *ton* of money. (edit…Okay – yes, their business practices are sucky. Thanks to EKM for giving me a good dopeslap) My commendation stops there, however. I’m frequently amazed by the outright nasty marketing tactics they use. Ballmer’s most recent utterance is only one example. Another was when, a few weeks ago, “Chief Software Architect” Gates (uh-huh) boldly claimed that the iPod would be dead in a few years. Where are these guys coming up with this stuff? Seriously, MS must have a large cube-farm’s worth of marketing droids that sit around all day thinking of ways to discredit competitors. Okay – that’s all I have to say about that…for now.

/me wanders off to get coffee.

Categories: general Tags: , ,