Showing posts with label FAIL. Show all posts
Showing posts with label FAIL. Show all posts

Sunday, August 14, 2011

Skipped a beat... or two


Make that three.

I woke up this morning at about 6:15AM—which is late for me, but it's a weekend—and checked the proxy list to find there had been no updates since 4AM.

I did a hard Ctrl-F5 and came up with a "Host not found".

This is not the first time this has happened, and I've been waiting for it to happen again.

The first thing I did was do an nslookup on www.mrhinkydink.com.

SERVFAIL

So I tried www.Mrhinkydink.com (with a capitol "M")...

SUCCESS

Not this shit again.

I really didn't want to deal with it so I grudgingly added the addresses back into good old faithful /etc/hosts. WTF, it worked last time.

The 7AM and 8AM updates ran fine. Then, working on something else entirely, I borked the box—sucked up all the RAM & CPU cycles—during the 9AM run. By 10AM the list was back on schedule. Now, it's 11AM and it's back to normal, which is entirely different from "on schedule".

While messing around with all that crap, I popped in to the hosting provider to poke around. While there, I grabbed my stats, below. The bar graph is slightly truncated on the right.


These stats only go back to May, when I moved the list off GoDaddy. The Cameroonians lost their top spot to the USA, unless you consider "Hits" more important than "Pages". Then they're Numero Uno again. But Germany beats them all in bandwidth.

This is completely different from the Extreme-DM stats page, which only counts "unique visitors".

Russia didn't even make it to the top ten. No love for хинки? Probably not, considering I scraped all their proxies.

Saturday, June 04, 2011

Gunz, Lulz, and InfraGard

Being an 80s vintage hacker, I have often claimed that I don't own a hat... black, white, gray, or otherwise, although it might be proper to refer to me as a "tinfoil hat hacker" at times.

I'm just not that into hats. Or people who wear hats, metaphorical or physical.

But lately, in the people-who-wear-hats security universe, a battle is going on between the white hats and the black hats, and the black hats are winning.

As usual.

Of course, I'm referring to LulzSec vs. Everyone Else. One of their most recent targets has been InfraGard, an association of Security Tards Professionals I have had very little contact with in the last ten years.

In fact, my exposure to them has been very brief. I went to one of the first public meetings of the local chapter just to see what it was about. This was somewhere in the 2001-2003 time frame. The Guest of Honor was an alleged "FBI Agent" who never showed a badge and left a HotMail address.

Yeah, riiiight. Some credentials you got there, Mulder.

The only other thing I remember about that meeting was leaving, unimpressed. I never planned to join. It was just curiosity.

But somehow, I got on their mailing list. In almost every meeting announcement, there was usually something about going out to a shooting range afterwards to kill imaginary hackers. And sometimes the emails were only about getting together at a shooting range, to the point that InfraGard was more about guns than anything else.

Don't believe that? Try this Google search. I'm not making it up.

Then, at various Travelling Security Dog & Pony Shows in the area, I ran across the InfraGard "principals" as either participants or sponsors. The chit-chat from these clowns before or after the show was always "my new gun this" or "my new gun that" ad nauseum.

By this time—around 2005—I was firmly convinced InfraGard was just another Gun Club that had nothing to do with security (except for killing people, which I will admit is a valid security strategy, but not the only one and not among those I was personally or professionally interested in).

So I have to admit to no small amount of schadenfreud over LulzSec's recent pwnage of the Atlanta InfraGard chapter.

There's more to security than guns, fellas.

But you know that... now.

Monday, May 09, 2011

Buyer's Remorse

Well, this hosting provider appears to be a loser.  This time around, I'm not mentioning names, but it shouldn't be too hard to figure out who they are.

Their ftp server seems to be out in the weeds.  The List is supposed to be updated every hour... as long as there's an ftp server on the other end.  Right now, it's been almost three hours since the List was updated.

I send a SYN for the three-way TCP handshake and nothing comes back.  They assure me there is no issue on their end.  Then, if you do some troubleshooting on your end, like scanning port 21 to see if it's open, they block your IP.  I'm not kidding.

In fact, I've taken to viewing my own List over one of the many fine Glype proxies out there (NoScript and Ad Block enabled) just to keep my connection count down with their servers.

This does solve the problem of list scrapers, which I never really considered a problem.  If you snarf the whole list down with a wget script, you'll exceed their limits and they'll block your IP.

Jesus.

So right now Wireshark's been running, collecting data on every update run.

It doesn't look good.

To be fair(-ish), these folks have had serious DDoS issues in the past, so they're in paranoid overkill mode on the security side.  But the result is they're DoS'ing their own customers.  Very strange business model.

I have some options, but I expect the same results.  I didn't mess with them over the weekend because, for one, they kept blocking my IP, and two, I was preoccupied with rebuilding my system, which died right after I started bringing the site back (moving XP to another physical box—without reinstalling—is always fun).

Anyway, I can live with the failed updates for a few weeks while I look for another provider.  The collection process runs as it always has, so I have the data, even if you don't.

I'm open to suggestions, but I'm leaning toward BlueHost.

Monday, April 11, 2011

Server IP Change

If you bookmarked BOT House, BITCH House, et. al., in UT99 your bookmarks are now out of date.

This time it wasn't a power outage.  It just had to be done.

Last week, I ragged on GoDaddy's DNS services (I didn't say one word about Bob Parsons shooting the elephant... not one word!).  By early Saturday morning, between 1AM and 2AM they took away my ability to resolve my own DNS name through their servers.  After banging my head on the wall for several hours over this issue, it became obvious from the responses I received from their DNS servers ("Query refused") that they had blocked my IP at their servers.

No, I'm not paranoid.  Changing my IP fixed everything.  At least, everything DNS.  My IPv6 tunnel with Hurricane Electric broke, but I'm working on that.

EDIT:

For some reason I confused Bob Larson with Bob Parsons.  For all I know Larson could be an elephant killer, too.

Sunday, April 03, 2011

Dropping the -ly

A few years back I started hearing certain people in everyday conversation dropping the -ly in adverbs. For example, instead of saying...
I am literally swamped with work.
... they would say...
I am literal swamped with work.
... dropping the -ly from "literally".

This drives me nuts. Not because I'm a grammar cop. It simply hurts my ear. ("It simple hurts my ear." - can you stand that?)

First it was one person, then multiple people. Then, horrified, I started seeing it in print. Here is the most recent offender.



The offensive fragment is "Man previous convicted...", which should read "previously convicted". I guarantee this is not a typo. This is how the author (and obviously his editor) speaks. Why he didn't go for the double whammy and drop the -ly in "allegedly strikes" is anyone's guess. Maybe because it didn't sound right? Maybe because it sounded bad enough already?

OK, here's another one, which you could conceivably (conveivable?) blame on Twitter's character limit, but this guy, whoever the fuck he is (I hate retweets), had 18 characters to spare...


Again, I guarantee this is how he speaks. Do I have to spell it out? It should be "absolutely love it".

How wrong is this? I got 912,000 hits on Google for "absolute love it" and 80,000,000 hits for "absolutely love it".

Where the fuck does this come from?

04/16/2011 — Here we go again...


I'd give "work slow" a pass (technically it should be "work slowly") but "temporary inaccessible"?

HELL NO!

OK, the guy's name is "Sergey", so he's probably not a native English speaker.

The guy who wrote or translated this article got "temporarily crippled" right but absolutely blew it with "repeated delayed"...

It never stops!

09/17/2011

I would've let this slide because it was Twitter but "inevitably" has the same number of characters.

I never forget.

12/14/2011 Here we have yet another fine example, this time from Security Week...

Oh, come on, people!



I have to assume this was on purpose, because nobody talks like that, right?

I took some liberties with the image.  See if you can guess what they were.  The original is here.

03/08/2012

SHAME ON GLENN S. PHILIPS!!!!  For this crap, published in Dark Reading...


Why stop at "possible understand"?  Why not "communicate effective" or "discussed sensible"? 

NO excuse.

NONE!

03/29/2012

If you could see me now you would be able to tell that I am visibly upset by the content of this story from WSOC-TV in North Carolina, which contains the following sentence...


If you watch the video, you will hear the reporter, Andrew Doud, say "visibly upset", so whoever made the transcription decided to "correct" him.

I hate when that happens.

06/28/2012

Hey look boys and girls!  I'm not the only one bothered by this crap...

The original is here.

I have been seeing "remote exploitable" for a long, long time and I just have to grit my teeth every freakin time it pops up and it pops up all the fucking time, mostly from a Certain Security Company That Will Remain Nameless.

I appreciate that the editor tried to correct this doofus, but I would have gone with (sic) instead of (sp).

Sunday, October 24, 2010

Another One Bites The Dust


Sadly, EXP3 died today.

In fact, given its pedigree, it took EXP 1&2 with it. So I got about 48 months out of that dog, which was a Tiger Direct refurb to begin with.

I didn't actually croak. It's still operational. One of its 256MB DIMMs took a shit on itself and the box became unbootable. An fsck with bad RAM finished off the boot disk, so at this point it's just euthanasia.

It's just as well. There are far too many boxes around here anyway. EXP4 sits in a corner waiting for "something" to happen. Plus, I have a nearly 12 year old Windows domain controller that should just die and get it over with (it's so old there's even an NT4 boot partition on it). It barely serves any purpose anymore (local DNS but that's easily replaced by a Linux box).

In fact I'm starting to look at Windows as a Third World operating system these days (not sure what that makes Linux). It is a hopeless, lost cause.

But I digress.

EXP5 continues to shine. It's a very nice box and I've been using it a lot while you folks aren't using it. And sometimes while you are. I installed the HTTP Anti-Virus Proxy (HAVP) on it out of concern for all the crap floating around on the Interwebs. It, in turn, shoves everything through SQUID, which lives on BOT House.

I'm not convinced it's a robust AV solution, being based on ClamAV which is very e-mail centric, but I felt I needed another layer of protection after seeing all the trouble the fools folks back at the Salt Mines have been getting themselves into with their wacky Web browsing habits. So far it seems all I can detect are EICAR files (you will get a warning from your AV on that link, but it's just an AV test file).

There's never a virus around when you need one.

Saturday, September 25, 2010

So Long, Ubuntu!


I have to admit I'm a little behind the curve on Ubuntu. 10.4 LTS has been around for months now, but all I've done is throw it on a VM and play with it a bit. That, and a disastrous upgrade attempt on a VirtualBox VM. But the other day I installed Xubuntu 10.4 (the Xcfe version) and I really liked what I saw, especially after installing Chrome on it.

In fact it was just about set up to my liking and I was moving some UT servers over to the disk when I decided to wrap up the install over Xwin from my XP box.

What a fucking disaster that turned out to be. It's all explained here.

Long story short, Ubuntu has decided to start screwing its pooch. So I said "buh-bye" to Ubuntu for good and started to look for another distro to install.

Oh, I thought about Fedora and CentOS and Suse and my first love, Slackware and I even [i]tried [/i]to download Suse & Slackie but it was a no go.

And although I'd [i]had it [/i]with Debian 5.0, that's where I landed. Deb will always take you back like a fat fuckbuddy.

At least it runs Chrome. That's about all I ask for in a Linux distro these days.

So here we are again. Look for EXPIV to become EXPV, but the BITCH House and Classic ]i[ will remain the same.

Wednesday, September 22, 2010

Five Hour FAIL


Today, on the Autumnal Equinox, a powerful storm blew through the area during rush hour. Driving through it was a serious BITCH, and when Pinky & I finally got home, the power was out and the house was dark.

According to the one analog clock in this house, it shut down a 5PM. It finally came back on after 10PM.

On the bright(-ish) side, all four UPSes shut down perfectly, even the new APC 1500, which had been giving me fits lately. Everything came back up without incident.

But, as expected for a long outage, the IP address changed, so you'll have to update your UT99 favorites accordingly.

And speaking of UT99, I may be replacing one of the servers in the near future, probably the 64bit dual core system, which is the hottest box I have right now. Unfortunately it is also severely underutilized.

But that plan is subject to change without notice and I have so many things going on right now it may be quite some time before I do anything at all (but I do have the replacement box right now).

Stay tuned.

Monday, September 20, 2010

FUCK Adobe


And the horse they rode in on.

I patched Firefox for a Flash 0day and I got this horseshit along with it (click for a larger view)...


I didn't want "New York Times Reader" and they never asked.

I avoid the NYT like the plague.  The first time I ever logged in to NYT was in 1997.  I did not know SPAM before that day.  Afterwards, my inbox was trash.

What's even worse is I haven't found out how to uninstall this crapware yet!

GRRRRRRRRRRR....

Monday, September 13, 2010

BOT House is BACK ON TWITTER!!!

It's kind of a lulzy state of affairs and it probably won't last long, but BH is back on Twitter!

Here's the trick: Twitter sucks.

They didn't really get rid of BASIC Authentication, they got rid of it for the Little Guy (that's you and me, boys and girls). If you're a Big Playah, you get a pass and your application can use BASIC Auth.


The details can be found here.

You will get a chuckle out of it!

Thanks to achillean for tweeting this!

Monday, September 06, 2010

A Case of the Stickies


I have no clue what happened, but yesterday I took the joint down cold to check out the UPS hooked up to BOT House, an APC BackUPS x1500.

Yeah, that one. The new one.

This little bitch is pissing me off. Very occasionally it will go "click click" and BOT House will hang, requiring a reboot.

That is not what a UPS is for.

Everything was hooked up correctly, so I did the only thing I could do. I just plugged it in to a different outlet on the UPS.

I fired BH up and played a few games. I kept getting stuck, and I noticed bots kept getting stuck. Players, too. WTF?

So I took the place down again and did what I did on EXP4 that fixed that particular problem; I tied the game down to one CPU (with taskset). That doesn't make sense, since it's a single CPU system, but it is hyperthreaded, so it thinks it has two CPUs. I started it back up and the problem went away.

It's been running fine ever since.

Friday, September 03, 2010

Twitter Muzzles BOT House, EXP4

Twitter updates from BOT House and EXPIV stopped abruptly on September 1st when Twitter stopped supporting BASIC authentication.

This is both good and bad.

Bad because I have no idea how to use their new authentication model. I'm sure I can hack it out sooner or later, but I have other weenies to roast at the moment.

Busy, busy, busy!

Good because, face it, BASIC authentication sucks ass. It's so barely encrypted (in BASE64) that it might as well be clear text. It's a method to be avoided at all costs. But, it's also a good quick hack, something I'm very good at.

So for now, no more Twitter updates from BH or EXP4.

You can still tweet me if you feel like it.

UPDATE!

09/13/2010 — BOT House is back on Twitter!

Wednesday, August 18, 2010

Websense/ISA "Via:" Bypass Redux


discovered by mrhinkydink

PRODUCT: Websense Enterprise

EXPOSURE: Trivial Web Policy Bypass (III)


SYNOPSIS
========

On May 29, 2010 I demonstrated that by adding a "Via:" header to an HTTP request it is possible for a user to completely bypass filtering and monitoring in a Websense Enterprise 6.3.3/Microsoft ISA Server (2004 or 2006) proxy integration environment. This was addressed in Websense Knowledge Base article #5117.

However, anyone familiar with the Via bypass technique would have noticed this remediation was insufficient.


PROOF OF CONCEPT
================

The following works in a Websense Enterprise system using the ISA Server integration product in a Cache Array Routing Protocol (CARP, sometimes referred to as "CRAP") configuration, which requires at least two ISA servers.

Assuming there a two ISA servers configured as per Websense Knowledge Base article #5117, one at IP address 10.10.0.1 and another at 10.10.0.2, perform the following:

I. Install Firefox >= 3.5

II. Configure Firefox to use one of the proxy servers in the CARP array (10.10.0.1).

III. Obtain and install the Modify Headers plug-in by Gareth Hunt

IV. Configure the plug-in to add a valid "Via:" header pointing to the other server in the array.

    Example: "Via: 1.0 10.10.0.2"

V. Browse to a filtered Web site

VI. All content is allowed without monitoring or filtering


PoC RESTRICTIONS
================

All restrictions of the original Via Bypass article apply.

See http://mrhinkydink.blogspot.com/2010/05/websense-633-via-bypass.html

OTHER USES
==========

Limited only by your imagination! You do have an imagination, don't you?

See http://mrhinkydink.blogspot.com/2010/05/websense-633-via-bypass.html


WORK-AROUNDS
============

Install Hotfix 17 provided by Websense.

HISTORY
=======

06/25/2010 - vendor notified

08/13/2010 - vendor releases Hotfix 17

08/18/2010 - PoC published



c. MMX mrhinkydink

Sunday, August 01, 2010

Pussyfooting Does It AGAIN!!!


Last night at about 7:45PM she shut down EXP IV for the second time in three days!

She wasn't as graceful this time. First I heard the sound of shit getting knocked over before the tell tale "beep" of the UPS off-button.

This was obviously a malicious, deliberate act! Cyberwar in my own Fambly Room!!!

I have since implemented countermeasures to keep it from happening again. A cardboard barricade, secured with spare paving bricks, is the first obstacle. If she gets past that, she has to knock the keyboard out of the way.

Saturday, May 29, 2010

Websense 6.3.3 "Via:" Bypass


discovered by mrhinkydink

PRODUCT: Websense Enterprise v6.3.3

EXPOSURE: Trivial Web Policy Bypass


SYNOPSIS
========

By adding a "Via:" header to an HTTP request it is possible for a user to completely bypass filtering and monitoring in a Websense Enterprise 6.3.3/Microsoft ISA Server (2004 or 2006) proxy integration environment.


PROOF OF CONCEPT
================

The following works in a Websense 6.3.3 Enterprise system using the ISA Server integration product and transparent authentication. It is assumed it will work with other proxy integration products, but this has not been tested.

I. Install Firefox >= 3.5

II. Obtain and install the Modify Headers plug-in by Gareth Hunt

III. Configure the plug-in to add a valid "Via:" header to every request

    Example: "Via: 1.1 VIAPROXY"

IV. Browse to a filtered Web site

V. All content is allowed without monitoring

VIDEO PoC!
==========




PoC RESTRICTIONS
================

The Modify Header plug-in does not work with SSL. However, in practice a user could browse to a so-called (by Websense) "Proxy Avoidance" Web site and use the SSL capabilities of the remote proxy.


OTHER USES
==========

Properly configured, a downstream SQUID proxy can send requests to the upstream ISA server and all requests will pass through without blocking or monitoring. No evidence of activity will be logged by Websense. This was in fact how this vulnerability was originally discovered. Considering the simplicity of the attack, the author suspects this bypass technique is already well-known in certain circles.

Also, it is trivial to modify proxy-enabled Linux utilities to leverage this bypass. The author has recompiled (that is, HACKED) OpenVPN, connect-proxy, PuTTY, stunnel, and others to take advantage of this policy bypass.

Obviously, the risk of undetected (by Websense, at least) covert tunnels is high in a vulnerable installation of this product.

Linux platforms using this method in this specific environment will also enjoy bypassing Websense's transparent authentication.


WORK-AROUNDS
============

For this specific installation scenario (Websense 6.3.3 + ISA 2004/6 + transparent authentication), none are known. The following may work:

  * Use Windows Integrated Authentication on the ISA Server

  * Upgrade to Websense 7.x

  * Do not use a proxy integration product


HISTORY
=======

10/09/2009 - vendor notified

05/29/2010 - PoC published



c. MMX mrhinkydink

Saturday, April 24, 2010

McAfee's 5958 DAT Fiasco


This week I got caught up in McAfee’s 5958 DAT mess back at the Salt Mines. Not only am I the local Network Nazi, but I also manage McAfee’s crappy AV for the entire enterprise. Luckily that day (Wednesday) I was telecommuting, so I was not in the thick of things.

I was “in the cloud”, as it were.

I was also wise enough never to have installed Service Pack 3 on my Salt Mine PC, so I was one of the lucky ones. For a variety of reasons, I never trusted it. I was almost ready to apply it once IE 7.0 came out, but then I heard there was no roll-back to IE 6 on machines with SP3, so I passed. I have it on all the XP machines here on DinkNet, but I use different AV on those boxes.

And that was an odd thing...

I have Microsoft Security Essentials (MSE) on my main box and that fateful morning it died. Very mysteriously. The little green system tray icon was just plain gone and when I went to restart it from Control Panel, Services the system told me it could not be found.

This was before the news came out that the whole thing was due to a turd dropped on the world by McAfee, so I was quietly sweating bullets. Had some bug followed me home? Or crawled through my other covert tunnel, OpenVPN? I switched boxes while I re-installed MSE on that system. Then I rebooted it and performed a full scan. Nothing.

And “nothing” doesn’t mean shit these days, with fast-mutating bugz like Zeus floating around the Interwebs. The virus definitions you get today are for crap that has been around for months.

While all this is going on I get a call from my sprog, Inky Dink, and it turns out he’s having AV problems too! And I know damn well he doesn’t run McAfee because I personally installed MSE on his system!

What the motherfucking fuck was going on here?

But it turned out Inky had been victimized by one of those scareware AV programs. I pointed him to malwarebytes.org and he took care of it himself later that evening.

Again, all this time we, the corporate IT proles, had no idea it was a McAfee problem. What was I to think? AV software was dying everywhere as far as I could tell from my small corner of the Universe. Was it cyberwar? Was the the “Digital Pearl Harbor” the trade press has been crying about for the last four months? Was Google’s January hack the warning shot?

No. It was ludicrous. It had to be a series of coincidences, so I kept my mouth shut during the Salt Mine phone conference.

Other people were not so cautious. They started spreading all sorts of FUD. All it takes is one jerk to read one unsubstantiated claim on one Internet forum and as soon as that happens he’s sending e-mail out to everyone and his brother and the next thing you know you’re in full chickens-with-their-heads-cut-off mode.

Luckily even though that particular jerk (our very own local security wannabee) made a complete idiot of himself that day, cooler heads prevailed. The only thing he damaged was his own credibility.

By about 10:30AM that morning the news finally came out and we went into Full Damage Control Mode. When the dust cleared, about 25% of our systems were down.

McAfee later stated it only affected one half of one percent of their customers. Do tell. Maybe they based that number on the phone calls they got that day (“All lines are busy, please hold!”). Maybe they thought it was just rubberneckers that took their site offline.

And WTF happened?

This event was curious in that the update that caused this mess arrived early that day. Normally, and I admit I haven’t checked in some time, we get that update between 11:30AM and 2:30PM EST. The timestamp on the files said they came in at 4:37AM. Why? Did their QA department in Bangalore (or Shanghai or whatever) take off early that day? What was the Big Rush?

If McAfee’s Legal Department gets their way – and there is no doubt in my mind it will get its way – we may never know what happened.

Monday, March 22, 2010

The Hinky Dink Top 10 Koobface Infested Shitholes Report


FOR IMMEDIATE RELEASE

The Hinky Dink Top 10 Koobface Infested Shitholes Report

Columbus, Ohio – March 22, 2010 – Mr. Hinky Dink, a Big Time Security Professional™ today released an analysis of the spread of the Koobface worm. Based on an exhaustive study of his database of over two and a half million open Web proxies collected over two years, Hinky's findings demonstrate where the most vulnerable social networking users can be found.

“With more losers piling into social networking sites this trend is very likely to continue,” said Hinky. “This study highlights the cities with the most gullible users on the Internet. This study will no doubt help cybercriminals, script kidz, and Cameroonian puppy scammers target their next online marketing campaigns.”

View the complete report here.

Sunday, February 21, 2010

UPS Post-mortem


It's dead, Jim!
We had another power outage today! Did you notice? Of course not, because everything's working as intended now.

For giggles, I plugged in the old UPS and hooked it up to a power-unprotected Windows XP box. I installed the GAWD-AWFUL-UGLY software (see below) and did a self-test on the UPS.


The result?

IT DIED. THE FUCKER CHOKED. IT PUKED ALL OVER ITSELF.

And everything went dark.

I had to go back to the Old Blog to see when I installed this thing. It was officially announced in October 2005, so it lasted for four years and change. Now, it's junk.

TOXIC JUNK, since it has a lead-acid battery inside it. I suppose if I were a drunken electrician (like my dear old bald-headed Daddy, Drinky Dink) I could fix this thing, but now I have to take it somewhere and probably pay somebody GOOD MONEY to throw it in the lake for me.

For the record, I would never buy one of these again, although... ummm... I already have bought one (a different model) for my "domain services" box. That one appears to be working fine, but I do feel like I'm waiting for the other shoe to drop.

If/when I buy another UPS, it's definitely going to be an APC.

Monday, February 15, 2010

UPS Replaced!


We had yet another power outage today! EXPIV was seriously fuckered when the power came back on, just like last time.

Thing is, I bought a new UPS yesterday. I just neglected to set it up.

So, I set it up. And while BOT House was offline I gave it a much needed cleaning. It was caked with dust and cat hair. Very nasty.

Instead of going with a cheap Chinese knock-off, this time I bought an APC Smart UPS (which was probably made in China anyway but what the fuck).

The last UPS had a serial port connection. It was probably the last of its kind because everything is USB these days. So I had some fucking around to do. EXPIV has had a USB UPS since it was EXPIII so I just copied the config files over. It didn't work! In fact it seems the UPS on EXPIV has never worked, which explains why it was always fucked up whenever the power went out. So I had two boxes to fix.

I fixed EXPIV first, because, like I said, it was fucked up. After I un-fucked it (it turns out mounting a JFS root partition with errors=ro is very bad idea - it fixes itself at boot but never remounts read/write), I set about getting the UPS to run right. When I proceeded to fix BOT House I discovered I was using two different versions of Network UPS Tools (NUT). The old version worked fine with the new UPS, but the new version of NUT seemed more capable, even though EXPIV's UPS (also an APC) has less features.

So I bit the bullet and built the new version for BOT House.

The dust has settled and everything's working fine now. We should be good to go for the next power outage/brownout.

Famous last words.

Saturday, December 26, 2009

EXP /// Risen From The Ashes


I dragged the old NetVista out of its resting place and experimented with dropping connections when players request a local file.

It doesn't look like it's gonna happen, boys and girls. Although there is a unique byte sequence at the beginning of every UT mod file, the server apparently doesn't start sending data exactly from byte zero. Sometimes it does, sometimes it doesn't. But mostly it doesn't. Scratch that idea (but I do have a Plan B).

This old box didn't take well to sitting in a corner for the past year. Booting it was iffy. Sometimes it took six power on/off cycles to come up, so on Christmas Morning, in true Busman's Holiday style, I replaced the boot drive, which was a tiny 6G Maxtor with a manufacturing date of 10/30/1998.

Whoa. No wonder it had problems booting.

I replaced it with a 20G Maxtor that had "GOOD" written on it in Sharpie marker. That's the only way I can keep track of these things anymore (I have a huge box of "BAD" Sharpie'd CD ROM drives in the basement. I'd throw them out but the spiders think they're upscale condos).

I used Clonezilla to copy the drive. It was the first time I've ever used it and was quite pleased withe the result, although the user interface leaves much to be desired.

I moved the /var partition to the "new" drive and put the box back together. Then just for the Hell of it I upgraded the kernel to 2.6.32.2 (yes, while you weren't looking they up-revved it twice). Re-compiling the kernel killed about four hours.

Now it runs better than ever, with no sign of the DMA issues BOT House had, even though I raided its RAM to beef up the old iPaq I've been twiddling around with (it suffered a horrible fate when I attempted to upgrade it to Ubuntu 9.10, BTW).

The only complaint I had with the new kernel was that damned Linux penguin (Tux) appeared out of nowhere on the boot screen. I've always hated that little rat bastard ever since they made it the official logo (this is blasphemy, BTW) and I had one Hell of a time getting rid of the little fucker. It happens there's a little known kernel default option - logo.nologo - that shuts him off, although I've never had to use it on any other box.

So that got me wondering if I could put my own logo on the boot screen. It's possible, but you have to recompile the kernel to make it happen. I thought it would be cute to have a little Hinky head in there, but I just couldn't seem to get a good 80x80 pixel version in the required 16 color (not 16 bit color) console format. But I wasted hours playing around with it.

HOURS.

So anyway, that was my Christmas. I hope you had more fun than I did.