Archive for April, 2007

Boy that’s random

Monday, April 30th, 2007

Ever been approached by someone on Facebook just asking you to be in a relationship with them? No, I’m not talking about the MySpace fakes who troll through the web trying to sell some porn site. I’m talking about a real live person. Yeah well it never happened to me either until ~8 hours ago. Someone I don’t know sends a friend request and then follows it up with a relationship request. Now, I’m usually pretty sure about who I know in the world so I was kinda like “wtf, who is this?” when I got the email.

Anyways, turns out to be this girl from Rensselaer Polytechnic Institute in New York. Apparently she dates someone named Tim Rupp; go figure :-)

So she told me she was just looking to play around and my name was lucky number 1 on the “tim rupp” search on facebook. So yeah, I’m game. Her and I are in a relationship now, hehe.

I’ll be honest, she’s quite a looker. The fake Tim Rupp (I’m the only real Tim Rupp) is quite a lucky guy. Some days… :-)

Yessir

Thursday, April 19th, 2007

Hey! Victory!

Thursday, April 19th, 2007

So says me after installing Ubuntu Feisty Fawn and having it support all my hardware on my brand new Dell XPS 1210 laptop. Power Management even works! omfg! Yeah so now I love Ubuntu the most. Cya later Fedora and all you purist fucktards who want your “100% gotta be open source instead of functional”-ness.

About this chinese guy or whatever he was in the news recently. Hahaha what a idiot. I’ll be the first to say “have fun in hell buddy” I think it’s hilarious that he was so fucked up in the head. Cleansing the gene pool though, so at least there’s one less of him on this earth.

All you liberals out there that are screaming about how “he was a human first and a murderer second”, get a fucking clue. He’s a murderer and I’d gladly piss on his body for what he’s done. I also would have loved to spit in his face while he was alive just to make his whole existence feel that much worse. People like him are a cancer and the quicker they leave this life the better. Too bad he had to take 30 people with him.

Cry me a river loser, build a bridge, and then get the fuck over it.

Links 4/18/07

Wednesday, April 18th, 2007

Don’t do what I’ve done

Tuesday, April 17th, 2007

With regards to unit testing. I think it’s a good idea and all but god it’s such an awful task to undertake after you’re thousands of lines deep in code.

nessquik is in need of a unit testing framework. It’s not been demanded of me, but with the flakiness of the KCA code (which sucked to begin with) a hammer came down from above and mandated that testing frameworks be in place for all code that is written. Fine, I’m game, but god I didn’t think it would be this much work.

Think of it as writing your whole application over again because that’s basically what you’re doing. There’s a test for every function, and, logically, you should be able to test most if not all your code by running these tests. You call the function in question for the test.You read it’s output and then compare it to pre-defined output. If you have a match, great. If you don’t, then you have an error.

You create test classes for every method and function…lemme repeat, every method and function. For nessquik this is quite a big job because there are hundreds of methods and functions. Another tough part is generating the data that you know will be correct when you go to run your tests. nessquik generates some big data sets. According to the unit testing crowd though, this means that nessquik needs refactoring…great.

So that’s what has been keeping me busy after I leave work each day. Or I mean, take my 15 minute break (drive home) from work…so that I can work at home. I tell ya, I’m going to burn myself out.

Python, PHP, and FIRE

Sunday, April 15th, 2007

This weekend kicked my ass. Usually weekends are more or less just a fat chunk of time that I use to veg and relax. This weekend I didn’t do much relaxing though.

I saw the movie Grindhouse with my dad and a couple of his friends from college. It was a great movie. Some people were complaining that being over 3 hours long, it was too much for a typical movie go-er. Well, the 3 hours went by very quick. I liked the first movie, Planet Terror, a helluva lot more than Death Proof. Death Proof was just boring. It had a lot of talking, a car chase that lasted way too long and had too much repetition, and the action in it was lacking. Planet Terror was fucking awesome. It was non-stop zombie horror action. It was super ridiculous (which made it good). Dialogue was hilarious as well. I definitely recommend that everyone see Grindhouse.

Next on the line-up we had an external report about some bots on IRC at work. My bot detector didn’t catch them though. At the time that the report came in, I hopped on IRC and checked to see if any nodes were connected from work. Nothing showed up though, so that may explain it. Anyways, I’ve been busy modding the bejezus out of the bot script. I’ve added lots of crap

  • forking daemons for servers
  • app supports an arbitrary number of servers
  • arbitrary number of bot nicks
  • an exemption list for nicks
  • recording conversations from people who speak to the bot
  • alert table for when it finds another nick on the server
  • arbitrary ‘who’ list
  • it also uses a sqlite backend
  • in the process of adding a netflow interface right now
  • and adding a bro interface sometime this week

Lots of crap eh? The netflow and BRO interfaces are supplemental data inputs for detecting bots. The app is able to create bots on the fly, so what the interfaces will do is basically give the app more IRC servers to watch for bots.

The app will read netflow and watch for outgoing IRC connections. Any new connections will cause the botmaster script to spawn a new bot that will connect to the destination IP and watch for connections from our site for ~24 hours, alerting as necessary. After that, the bot will die.

The app also will talk with BRO. BRO has an awesome IRC filter so we’re going to piggy back on that. When BRO fires an IRC alert, the app will receive it and, if it’s a new alert, will spawn a bot to watch that server for ~24 hours, alerting as necessary.

It’s almost all finished, so next week I’ll be busy making sure it works and stays working. I’ve been re-learning python through the whole process though. I think Python sucks.

And if all that other stuff wasn’t enough, I have to balance doing work on nessquik also. I have a lot of documentation to write before 2.5 can be released. I’m helping someone I met at Illinois Institute of Technology set up nessquik. He’s installing it in XAMPP to test it, but XAMPP is being troublesome. Oh well.

One part of nessquik that I’ve been working on heavily this weekend is porting the Perl Nmap::Parser to PHP. Actually it’s not so much porting as it is “gee I wonder how they did that” and move some of it to PHP. That’s some bastardized code, lemme tell you. I only have a general knowledge of Perl and some of the crap that is being done there is just way too confusing. My classes will be available in nessquik as part of portscan-me-now. I need to move over to the Nmap XML output anyway because the raw output from Nmap looks really shitty and doesn’t work well in a browser.

Links 23

Wednesday, April 11th, 2007

Ahoy!

Eastmas or Christer

Sunday, April 8th, 2007

My brother and I had a funny conversation the other day while driving home from my dad’s house. I think the whole thing began with the 4 pound chocolate rabbit my dad gave us for Easter.

My brother said that he was bummed that dad hadn’t got us a Wii instead. I told him that this was Easter and we never get presents for Easter. But come to think of it, it’s super cold outside for April (thanks Al Gore you’re certainly a smart one with that global warming FUD you idiot).

Since it’s so cold outside it may as well just be Christmas. I mean after all, Christmas day we didn’t have any snow (just like Easter) and Christmas day it was about 20 degrees outside; just like Easter.

So logically we should just combine Easter and Christmas into one holiday and be done with it.

It’s at about this point though that I got to thinking. From the Catholic point of view, I know Christmas revolves around the birth of Jesus, so what does Easter revolve around? He thought for a second and then rattled off it revolved around the death of Jesus.

Hehe, so hang with me here. If we combine the two holidays, then I guess that means we’d be celebrating the simultaneous birth and death of Jesus (from a Catholic point of view). Wait, but that sounds impossible. Oh please. Like my boss tells me on an almost daily basis; think outside the box.

So how could Jesus be born and die on the same day? Well, I guess he could be born and then die of SIDS (Sudden Infant Death Syndrome) later that night. Ahh, well that does it then, that’s how it could be possible.

But wait, wasn’t Jesus like 30 years old when he was pwned? True. So how do you explain that one? Well, if pop culture has a say in my theory (and it does) then I’d point you to the movie Jack with Robin Williams. So theoretically, if Jesus had the same medical condition that Jack did (he ages 4 times faster than a normal human being) let’s say that Jesus…in infant form…looked like a 30 year old man.

Aha you say, that makes so much sense. Jesus was all over the pedophile scene right? Hanging around with little boys and saying shit along the lines of children being so pure and innocent and free of sin. But if we say that Jesus had this condition, then in reality he’s more like just a really old man-ish looking 3 or 4 year old. Great.

But wait! Jesus was crucified, so there’s no way he could have died of SIDS. Hrmm, touche` he was crucified wasn’t he. Ok, well, Jesus might not have died from SIDS. Instead it’s likely he died of CIDS (Crucified Infant Death Syndrome). Success!

Wow, so if Jesus was a 3 – 4 year old who was crucified, then that means that the romans or whoever crucified him, actually killed a child. Ok, well I guess that’s not so terribly unlikely. Those people we’re pretty hell bent on killing the first born in every family right?

Links Willis

Monday, April 2nd, 2007