January 25, 2007

Anatomy of Frustration

Filed under: Bout-Me, Goofing-off, Tech-Stuff — Chris @ 10:09 pm

Last Friday I woke up and checked on Mission.net a Alumni site for Mormon Missionaries. As I was in the midst of bringing up the home page, I was redirected to a site that redirected to a site call k*g*e*b*a. As I shut down the webserver, and started to investigate, I found that every file that the webserver could access was bringing up this page. As I was formulating a plan to fix this problem, Xmission, the ISP where the host lives, physically pulled the plug. Through the weekend I laboured to find someone who could help me get this fixed.

I was finally able to find contact my contact Deseret Book and he got the host SSH access on Tuesday. As soon as I was able to access the box I ran the following sed script

grep -lR k*g*e*b*a {directories} | xargs sed -i.cmh -e ’s/< \/html>//g’

This removed the redirects that had been inserted into the files. The site was sitting pretty as far as having the infestation removed.

I then went to work upgrading the hosts, remotely, through two revisions (using there instructions) only to find all access to the outside had been blocked.

So I went to back to asking for access, asking for the ability to talk to the outside so that I could fix the problem. Every time I asked the ISP, I got rejected.

This is where the Frustration breaks in.

Then, today, I had an idea. I decided to work around the problem. I used what is called ssh port forwarding and I would now I’m using my DSL connection to upgrade the host

First, I created two remote SSH connections, then I used netcat to encapsulate dns traffic.

I’d go into more detail, but since most of the one readers of this blog aren’t tech nerds, I’ll spare ya’ll.

If you want to know the nitty gritty commands and what I did to get it let me know in the comments and I’ll add them to the post.

Cuz I am tired and all.

Popularity: 2% [?]