Sat, 6 Sep 2003

10:26 AM - Domain renewal

i just renewed foolishgames.com for five years as it was up at the end of the month. I'm so tired of renewing every year.. it was 66 dollars for 5 years.

location: Home
mood: Amused
music: U2 - please - with or without you

()

10:20 AM - ipod

Caryn is waiting on her new ipod. Her mom ordered an ipod for her birthday..

I got her the fm transmitter for her car. I tested it out with my cd player the other day. Its very kewl. It must be right next to the antenna though.. i also had to turn up the volume more than it suggested.

The ipod is coming next week i think. Its customized. I think its the 30 gig model too!

I've been looking at handheld devices. I want to get something i can surf with on the campus 802.11b network. Since i can't get a laptop, i was looking at pocketpc's. The palm units are missing several features i want even though they're mac compatible. Plus caryn's handspring doesn't even work in OSX. With 10.3 coming out, i'm not counting on OS support anyway. I can get third party mac sync software if i want it.

I found a unit for 300 bucks that has integrated 802.11b support, 64mb ram, and an intel 400mhz cpu.. only problem is it has pocketpc 2002 instead of 2003. It comes with pocket everything though plus outlook 2002. i can get an ac adapter with it and plug in during class (2 classes have ports built in to the desk for each student) ac and ethernet. The rooms will be wired at the new campus for wireless in the next 3 weeks at western.

location: Home
mood: Amused

()

10:14 AM - FreeBSD 4.9 pre release

I upgraded the server today to 4.9 pr1. So far, so good. The kernel is larger but its very peppy. SSH is much more responsive, and compiling seems quick too.

I have the firewall up, but the config got screwed up. Its only blocking limited traffic right now. I want to setup a script to restore my settings if this happens again. I want the firewall just as an extra precautionary measure. I feel the services offered are up to date other than tomcat. There aren't any big security issues with my tomcat install that i'm aware of.. so that means we are good to go. I will upgrade tomcat to release 4.1.27 plus patch today if i get time. 5.x is still to new..

location: Home
mood: Amused
music: U2 - Please - Where the streets have no name

()

10:08 AM - p0f

p0f is a program that analyzes incoming ip traffic and tells you important information about the request including an OS fingerprint.

Its quite neat. I have it installed on the freebsd server and my windows xp box here. It uses the bpf in freebsd to read the inbound traffic. It does not make a connection to the host, but rather uses the information available from the packets the host sends.

Basically its like running nmap -sS -O on a host except you don't know the ports they have open.

I don't think i will leave p0f up all the time, but it might be nice to have if i think i'm under attack.

For example, here is the output from some guy infected with one of those worms:

216.94.201.209:2686 - Windows 2000 SP4, XP SP1 (2)
-> 216.93.162.119:135 (distance 9, link: ethernet/modem)
216.94.201.209:2688 - Windows 2000 SP4, XP SP1 (2)
-> 216.93.162.120:135 (distance 10, link: ethernet/modem)
216.94.201.209:2686 - Windows 2000 SP4, XP SP1 (2)
-> 216.93.162.119:135 (distance 9, link: ethernet/modem)

Here is an example of output from my macintosh:

64.109.110.62:49500 - FreeBSD 4.8-5.1 (or MacOS X 10.2-10.3) (up: 5375 hrs)
-> 216.93.162.119:80 (distance 16, link: sometimes DSL (4))


Of course its wrong on the uptime.. i booted the mac up 4 hours ago.

location: Home
mood: Amused

()

Thu, 28 Aug 2003

11:09 AM - WMU

My first class is tomorrow... its discrete. (thats computer math btw)

I'm a bit nervous, but at least my class isn't till 1pm. I'm not used to getting up early. Today I woke up at 10:30am.

location: Home
mood: Tired Tired
music: Dido - Thank You

()

11:07 AM - jj experimentation

I'm playing around with a connection pool right now. I want to make sure its reliable. If so, I can remove a lot of database code from the site. In fact, i can drop an interface.

This site is setup like crap internally.. i'm still learning java. Its getting better though.

location: Home
mood: Tired Tired

()

Mon, 25 Aug 2003

10:23 PM - jj

I finally added the template system. It certainly took long enough.. only 3 hours of work too. I'm half way through the overrides as well. I have a few other suprises planned for this site soon.

location: Home

()

12:09 AM - Just Journal and MySql

I just tweaked some of the tables on jj by converting them to Inno DB. It was much easier than I thought. I will check the memory setting later and verify they are set properly.

So far so good. I did do a backup of that table before doing it. I will change the articles table on foolishgames.com as well if i like the benefits.

I'm planning on writing a script to do backups soon. I want to automate the process. (better yet bring the database down once a month and do a binary backup) Of course, i would have down time with jj if i did that. I will probably end up doing that every three months and doing regular mysqldump procedures otherwise. (on a side note, mysqldump is not working right since i ugraded to 4.1.0 alpha)

My webserver project hit a snag.. its called threading hell. My first version had flawless threading, then i switched to someone else's code base and his sucked. Now I am trying to refactor the code to use a new system i devised. I'm getting permission errors like crazy on the threads. I think i figured it out though.

Here's my thoughts:
my pooling system needs to start 10 threads (probably less in future.. maybe 6 like apache?) using a class that extends thread. Next i need to make an object pool of tasks i want run on the thread that implements runnable? The threads get notified using notify or notify all, one wakes up to clean the pool?

I'd rather hand off the socket to another thread and process that but i don't see how that woudl be done. If i get this figured out, i want to create a seperate logging manager with several threads to handle logging, plus run some type of status system, signal system on seperate threads. (this thing will almost need a second processor at this rate huh? )

I love the idea of getting status information on all the active threads like apache 2's controller does with lynx.

All well.. maybe i'll get this figured out someday.

location: Home
mood: Bewildered

()

Tue, 19 Aug 2003

11:48 AM - foolishgames.com

I just added content feeds to foolish games. RSS content is now available for all the jewel news. :)

Most of the people using my site won't even know what it is.

location: Home
mood: Accomplished

()

11:44 AM - Worm and Microsoft Update feature!

That internet worm was interesting. I looked at the analasis done by several people on bugtraq. Very interesting work.

Microsoft is planning on enabling automatic update in the next release of windows. It will force upgrade your box and if you disable it, your warrenty will be void. (meaning support options)

Whats worse is they might roll it out for XP in the next service pack. Mine is setup to download updates and notify me. That way if my box crashes, I know it was the update. I can use a restore point and not apply the patch again.

location: Home
mood: Annoyed

()

11:42 AM - firewall

I'm having a heck of a time configuring the firewall for this box. I locked out dns on my first attempt (lookups to the outside, inbound worked).

I've got the TCP rules in place, but UDP is a pain. I need to set down and figure out all the rules. Then i will need to reorder them after i see what rules get hit.

location: Home
mood: Annoyed

()

Thu, 14 Aug 2003

9:49 PM - Whatever

I decided to post a journal entry tonight. Its been some time since my last post. My imac locked up using project builder and running my webserver. Granted I had itunes, ternminal.app, and safari open too. I'm not sure if it was my webserver or not. The code is drastically different from the version i was running as I am refactoring a good chunk of it right now. Hopefully i will get it worked out.

On the site front, I haven't done anything with jj lately. My java IDE expired and I don't have the money to buy it right now. It saved me hours of work though so its a priority after i get college and caryn's stuff worked out. I'll have to setup a new environment before i continue development.. that might mean going back to the old way of sshing into the server and working on it on there.

So far so good about the worm. My desktop was patched, antivirus updated, and my firewall is up. I should be ok for now.

Only my pc is exploitable as mac's are very safe from microsoft dcom. :)

location: Home
mood: Tired Tired

()

Fri, 1 Aug 2003

9:09 AM - KVCC sucks

I graduated in May and I still haven't received my diploma. I called them earlier and they said it will be 2 weeks before they MAIL THEM. Come on.

I start western on the 29th.

My webserver is coming along nicely. I ran it last night on foolishgames.com on a different port. It was almost as fast as Apache. I downloaded a 40MB file at 129 Kbps. I'd get around that through apache 2.. dsl is great.

I did pull 150 Kbps once from my site, but their connectivity sucks lately.

Caryn might have another programmer lined up to help with JJ. That would be really great.

Caryn got her replacement power supply today. Apple offered a replacement for 20 dollars including fan and power supply to make the PowerMac quieter. The system runs fine, but sounded like a wind tunnel. The new power supply is a 350 watt instead of 400 and the fan is variable speed.

In order to ship G4 systems on time, apple went with a different vendor that sucked. 20 bucks isn't bad and a new power supply after 7 months doesn't hurt anything either!

location: Home
mood: Awake

()

Mon, 28 Jul 2003

6:28 PM - ahhggg

Caryn's car is a pain sometimes. I really wish we could replace it. (engine rebuild.. woo hoo)

I got some work done on .NET earlier.. still haven't had time to work on either java project. My webserver is coming along though. I have the config file stuff about half done now. I also have several things seperated from the main class now. I haven't noticed a large performance hit either. It handles more requests than the microsoft web stress tool can give out from my pc to my mac. Memory usage is a joke too. The program doesn't even use a meg as far as i can tell. I figured out the threading system too. Its pretty clever really. My plan is to seperate the request and response into seperate objects after the config system is done. I will also add code to handle named hosting (multiple domains one ip) and multi ip hosting.

The last step will be to add POST support. (it only does get requests now)

I will release a public alpha at that point (well maybe before)

I plan on using it to host the downloads on foolishgames.com first. That will be a good test of its speed. I plan on adding a servlet like interface too. CGI also. Well ok it won't be that much like servlets.. it will be easier to code.

location: Home
mood: Awake

()

Sun, 20 Jul 2003

9:32 AM - Mac OS X died

I was "tweaking" mac os x and killed it. It figures.

Jaguar is reinstalling now. I can't work on jj until my mac is up. It does give me the urge to start backing up things.. this is my forth windows install too. (3rd in last two weeks).

Whats going on with my computers lately?

location: Home
mood: Annoyed

()

Thu, 17 Jul 2003

8:36 PM - Good day..

Caryn and I got an early dinner at jimmy johns.. good sandwiches.

We hung out with tim and his wife (caryn works with tim). That went pretty well.

I didn't do anything today lol. No work. It was a nice break.

I just published a new version of JJ. It seems much faster. Don't know if there are any bugs yet.. although rss doesn't seem to work. (i'm guessing there is some kind of exception there)

location: Home
mood: Happy Happy

()

Sat, 12 Jul 2003

10:13 AM - Orientation

The orientation at WMU went ok. It was an orientation though.. that means it was a bit boring. I figured out where most things are. I have everything but my parking permit taken care of.

location: Home
mood: Accomplished

()

10:13 AM - jj

I've been working very hard on JJ lately. In fact, I almost have RSS ready. The code is done, I am just having trouble integrating it into the display servlet (users). I only designed it for html which was stupid. I should be able to refit it soon.

I upgraded the mysql driver today too. Now I am running 3.08 instead of 2.0. Supposedly it is much faster. I noticed small queries are quicker but the users servlet seems slower to me.

location: Home
mood: Accomplished

()

Wed, 9 Jul 2003

9:43 PM - Other stuff

I will be attending an orientation with caryn on friday for WMU. I'll get my student id, etc on that day.

I plan on implementing some new stuff on JJ this weekend too. Hopefully I'll get the comments done.. i've been rethinking my original idea.. but i think I will just go with it and come up with a better system later.

I need to think from a NON database point of view on this one.

I also need to lookup how to handle time zones.. JJ shows up with Pacific time and my webserver is using EST on my mac. Webservers must use UTC time for logging and timestamps on files. Since both projects need the code, I will probably bump up the priority.

location: Home
mood: Tired Tired

()