Finding and blocking an abusive host from your Apache log

Finding and blocking an abusive host from your Apache log

My web site slowed to a crawl last night, my CPU usage soared to 100%, and my built-in security measures weren’t helping. I ended up having to do some old-school Linux sysadmin work to stop them.

I haven’t been an everyday sysadmin since 2009. But every once in a while I can still come off the bench and do this stuff.

Read more

Using Adsense with WordPress

I first started using Google Adsense sometime in 2003 or 2004. But using Adsense with WordPress isn’t completely straightforward. So here’s an easy, concise guide to using Adsense with WordPress, including within your content.

I’m not a full-time blogger. I’m a computer security analyst by day, and blog part time. I went to journalism school in the ’90s in hopes of landing a job that doesn’t exist anymore. Some of what I learned about printing magazines applies to modern blogging. Some of it is subtly different. I don’t need to make a ton of money blogging, but I don’t blog to lose money either. There are an awful lot of bad people with bad motives making a lot of money online off sketchy or downright dishonest content. I’m writing this so the good guys can learn what the bad guys know, and make a little money too.

Read more

Change a headline, go to prison

A former journalist whose track record includes being fired from the Tribune Co. and from Reuters is facing two decades in prison for giving the hacking group Anonymous credentials to log into a Tribune web site and change stuff.

Anonymous changed one headline, and it took about 40 minutes for someone at Tribune Co. to notice and change it back.

It reminds me of something that happened at the newspaper where I used to work.

Read more

Cleaning a PC when fdisk-format-reinstall isn’t an option

There are any number of pie-in-the-sky pundits who will tell you when a computer starts to get slow, to format the hard drive, reinstall Windows, and go on your merry way.

Unfortunately it’s not always realistic. I don’t clean up PCs all that often anymore, but here’s what I do when I need to.

Read more

Keeping your NAS off Google

I read in a couple of places the last few days about search engines picking up data stored on poorly configured consumer routers acting as a NAS. This isn’t a case of being evil; rather it’s a case of people accidentally posting stuff in public where search engines will find it. Finding difficult-to-find data is what search engines do for a living, so I don’t fault any of the search engine companies for this. Keeping your NAS off Google is probably something you want. Here’s how to do it.

The solution is to know what you’re doing when you need to access your data both at home and on the road. I apologize for the snark, but there are consumer-friendly ways to do it, like using a cloud provider.

Read more

Upgrading a D-Link DIR-615 to DD-WRT

Last year I bought my mother in law a D-Link router, an oddball DIR-615 revision E1 that was only sold at a few stores. It was supposed to be a Fry’s exclusive, but I bought hers at Micro Center. It worked for a while, then gave her trouble, so this year I was working with it again, and when I was setting it up, I noticed it had some security vulnerabilities–remote code execution, UPnP vulnerabilities, and who knows what else.  So that got me some practice upgrading a D-Link DIR-615 to DD-WRT.

DD-WRT’s track record and attitude towards security research could be better, but I’d rather trust my mother in law to DD-WRT’s B+ security than D-Link’s F.

Read more

Can you mix Lionel and Marx track? Yes, pretty much.

Here’s a question from the search engines: Can you mix Lionel and Marx track?

Generally speaking, yes you can. Just stick with O27 track, and you can mix Lionel, Marx, and K-Line as needed. Dad had a mixture of Lionel and Marx track in the 1950s–my theory is that someone tipped my grandfather off that you could buy a Lionel O27 starter set, expand it with cheaper Marx track, and once you had the track assembled, no one would know the difference. When we set his layout back up in the mid 1980s, we added some K-Line O27 track, because it was what we could find. I have a mixture of all three brands to this day. Read more

Exploiting Twitter

It’s interesting that I read two things about buying Twitter publicity today: John C Dvorak’s experiment for PC Magazine and an interview with my classmate and friend Ken. The idea is that people buy Twitter followers to make themselves look bigger than they are, whether they’re celebrities trying to make themselves look like they’re on their way up rather than down, or, like the scam my friend discovered, indie book authors trying to build a following.

Read more

WordPress Appliance - Powered by TurnKey Linux