Tue, 28 Feb 2006

9:38 PM - (no subject)

Went to the apple store today and we got a copy of toast 7. :)

Had lunch at uno's. Gotta love pizza. Looks like apple launched intel based macs again.. this time the mac mini, but it has a higher price and intel video. DAMN. But at least there is a dual core model and its got sata drives.

()

9:36 PM - Xserve hd failure

Had a hard drive fail in the raid 1 array in the herald xserve. Its one of the g4 models and had 2 seagate IDE drives. Talked my boss into buying 2 new 160gb drives (seagate) to replace the bad drive and so there'd be a matched set. The old drives were 60gb drives. I am going to use a disk image so i don't have to reinstall the damn thing. At least thats what I hope.

()

Mon, 27 Feb 2006

12:26 AM - (no subject)

Not feeling to well tonight. Terrible headache and i'm dizzy. I am getting of pc in a minute.

got a copy of fantastic 4 90s series. very weird... bad theme song but some of the plots ar eok. can't watch screen while typing.. ok bed time...

()

Sun, 26 Feb 2006

11:08 AM - Fg| and JJ sites

Well i got a little work done on Fg| today. Added the about, members, and server rules pages back to the site.

As for JJ, I got a neat idea to post the top 15 posts in an rss feed. So the recent public posts will be put on the first page. That might encourage more user community stuff. Plus other sites do it. The catch is writing a good query. I'd like to do 15 unique users, but i'm not sure how to write the query. For now i'll just do the top 15 posts which will often be me. On a side note, Google can index many of the journals now if they are public posts. I'll enable a pref panel feature to flip that on and off sometime. Its part of the original design/schema but it wasn't done. If you need the switch flipped off, drop me an email and i'll do it for you in the database. Caryn can do her own :)


location: Home

()

Fri, 24 Feb 2006

9:43 PM - More fun stuff

I'm just so busy tonight :)

Java 1.4.2 p8 (patch level 8) installed tonight. This seems faster and that will certainly help jj and fgnet.

I fucked up the MidnightBSD cvs trying to import some stuff. I'll have to fix it as soon as possible. (i did re-import 6.0 and 6.1 beta though but its not tagged correctly)

I also updated a shitload of services.

location: Home

()

9:08 PM - Generating SSH keys

Protocol version 2 SSH uses this:
ssh-keygen -t dsa

(rsa is for version 1)

Then put the contents of .pub file on the server you want in the .ssh dir in the home directory. so ~/.ssh/authorized_keys2

Now you can use ssh keys. If you don't use a password when you generate the key, you won't need to type it anymore. There is a security risk if someone gets a copy of your pub file or worse yet gets physical access to your computer. There's also a ssh-agent that you can setup to work around this problem and still maintain security.

See IBM article here: http://www-128.ibm.com/developerworks/library/l-keyc.html

location: Home

()

8:31 PM - SSL Docs

SSL certificates for Apache2, Courier, Exim4 and Jabberd2 on Debian

Creating SSL certificates for web, mail and IM servers is not well documented. Here are some notes on generating certificates on a Debian server, signed by your own certificate authority, plus instructions for using them on OS X (instructions for installing and configuring openssl, apache2 and mod_ssl, exim4, courier-imap-ssl, courier-pop3-ssl and jabberd2 are not included):
Certificate Authority

First of all you need to create a root Certificate Authority certificate [ca.crt], which will later be used to sign the other certificates. It's encrypted by a password-protected key [ca.key].

cd /usr/share/ssl-cert/

Create index and serial files

cp /dev/null ca.index
echo '01' >ca.serial

Edit file paths in the default config file
[here's mine]

nano ca.config

Generate key and certificate for signing authority

openssl genrsa -des3 -out ca.key 2048
openssl req -new -x509 -days 3650 -key ca.key -out ca.crt

(use . for everything except the Common Name, which is the name of your Certificate Authority, eg Example Certificate Authority)

So that OS X trusts all certificates signed by your Certificate Authority, download ca.crt then double-click and import it into the X509Anchors keychain using Keychain Access.
Apache2

For Apache, a key [example.org.key] is generated and used to encrypt a certificate request [example.org.csr], which is then signed by the Certificate Authority to produce the final certificate [example.org.crt]. The files are named this way so that you can have multiple certificates for virtual hosts. The keys must not be password protected, otherwise Apache will hang waiting for a password when it starts up.
Generate key and certificate for Apache

openssl genrsa -out example.org.key 2048
openssl req -new -key example.org.key -out example.org.csr

(use . for everything except the Common Name, which is the web server address, eg www.example.org)
Sign Apache certificate

openssl ca -config ca.config -keyfile ca.key -cert ca.crt -out example.org.crt -infiles example.org.csr

Set up Apache

cp example.org.key /etc/apache2/ssl/
cp example.org.crt /etc/apache2/ssl/

nano /etc/apache2/sites-enabled/example.org

ServerName www.example.org

SSLEngine on
SSLCertificateFile /etc/apache2/ssl/example.org.crt
SSLCertificateKeyFile /etc/apache2/ssl/example.org.key


apache2ctl stop
apache2ctl start

Courier

For Courier, a non-protected key [courier.key] is generated and used to encrypt a certificate request [courier.csr], which is then signed by the Certificate Authority to produce the final certificate [courier.crt]. The key and certificate are combined into a PEM file [courier.pem], which is then used for both the IMAP and POP3 servers.
Generate key and certificate for Courier

openssl genrsa -out courier.key 2048
openssl req -new -key courier.key -out courier.csr

(use . for everything except the Common Name, which is the mailserver address, eg mail.example.org)
Sign Courier certificate

openssl ca -config ca.config -keyfile ca.key -cert ca.crt -out courier.crt -infiles courier.csr

Combine key and certificate into PEM file

nano courier.crt

(strip out eveything before the BEGIN CERTIFICATE line)

cat courier.key courier.crt > courier.pem
openssl gendh >> courier.pem

Set up Courier

cp courier.pem /etc/courier/imapd.pem
cp courier.pem /etc/courier/pop3d.pem
chmod 0600 /etc/courier/imapd.pem
chmod 0600 /etc/courier/pop3d.pem
/etc/init.d/courier-imap-ssl stop
/etc/init.d/courier-imap-ssl start
/etc/init.d/courier-pop-ssl stop
/etc/init.d/courier-pop-ssl start

Exim

For Exim4, a non-protected key [exim.key] and certificate request [exim.csr] are generated. The request is then signed by the Certificate Authority to produce the final certificate [exim.crt].
Generate key and certificate for Exim4

openssl req -newkey rsa:2048 -keyout exim.key -out exim.csr -days 3650 -nodes

(use . for everything except the Common Name, which is the SMTP server address, eg smtp.example.org)
Sign Exim4 certificate

openssl ca -config ca.config -keyfile ca.key -cert ca.crt -out exim.crt -infiles exim.csr

Set up Exim4

cp exim.crt /etc/exim4/exim.crt
cp exim.key /etc/exim4/exim.key
chown root:Debian-exim /etc/exim4/exim.key /etc/exim4/exim.crt
chmod 640 /etc/exim4/exim.key /etc/exim4/exim.crt
/etc/init.d/exim4 stop
/etc/init.d/exim4 start

Jabberd2

For Jabberd2, a non-protected key [jabberd.key] is generated and used to encrypt a certificate request [jabberd.csr], which is then signed by the Certificate Authority to produce the final certificate [jabberd.crt]. The key and certificate are combined into a PEM file [jabberd.pem], which is used for messages between client and server.
Generate key and certificate for Jabberd

openssl genrsa -out jabberd.key 2048
openssl req -new -key jabberd.key -out jabberd.csr

(use . for everything except the Common Name, which is the Jabber server address, eg jabber.example.org)
Sign Jabberd certificate

openssl ca -config ca.config -keyfile ca.key -cert ca.crt -out jabberd.crt -infiles jabberd.csr

Combine key and certificate into PEM file

nano jabberd.crt

(strip out eveything before BEGIN CERTIFICATE)

cat jabberd.key jabberd.crt > jabberd.pem

Set up Jabberd

cp jabberd.pem /usr/local/etc/jabberd/
chown root:jabber /usr/local/etc/jabberd/jabberd.pem
chmod 640 /usr/local/etc/jabberd/jabberd.pem

( edit all xml files so that points to /usr/local/etc/jabberd/jabberd.pem )

su jabber
jabberd &

Psi is the only OS X Jabber client (as far as I know) that verifies the authenticity of SSL certificates, though there is an option to hide warnings. It comes with a set of root certificates, to which you have to add the certificate for your root Certificate Authority (instead of using the system Keychain).

In ca.crt, replace

-----BEGIN CERTIFICATE-----

with



and

-----END CERTIFICATE-----

with



Do Show Package Contents on Psi.app, then open Contents/Resources/certs/rootcert.xml and add in the new data from ca.crt. Connect to the server on port 5223.

()

7:50 PM - my websites

Well i've got some time this weekend and i've already started putting effort into my sites. I just changed the ip addresses for www.foolishgames.com and www.foolishgames.net. Both now resolve to seperate ips so that I could add home generated SSL certs. Now when using the forum on foolishgames.net, you can securely connect. This change might make the sites go down for 24 hours or less. JJ should not be affected.

location: Home

()

7:39 PM - SSL setup docs

http://hublog.hubmed.org/archives/001075.html

(apache, etc)

location: Home

()

4:43 PM - (no subject)

Got a really dicked up g5 at work.. boss ordered a "new" power supply for it and got the wrong one.. 450 watt instead of 650! Other two techs broke the clips on the logic board for the MEMORY. Fuckers gave them my mac as a TEMP!

Machine is a dual 1.8ghz with 256mb ram! (theft of ram) Its obvious someone is stealing ram now.

had to deal with a paper jam in a color laserjet and imaging/testing some mac images today plus upgrading a machine to 10.4.5 along with a prosoft EVIL NOVELL client. FOund out dreamweaver has a patch to fix some problems with drive listings.

()

Thu, 23 Feb 2006

8:11 PM - (no subject)

What a day...

Well I had a linux assignment as i've posted before. It was turned it sort of... well its in but not just right. I have to demo the fucking thing.

I forgot d_path or something like that which does the paths.. known. Everyone got the page buffer problem. See when implementing some damn thing in the /proc file system, you get 2 approaches and one requires that a single page be allocated. On a x86 32bit box thats 4KB. Bitch... so if you write more.. its crash time. kernel messages about buffer overflows and an eventual death.

Linux sucks.

Moving on... someone found some security issues in my bsd server over the last 2 days.. doh! I fixed the permissons problems (how fred of me) and i've been upgrading binaries as well.

I upgraded my router to a cvsup of beta 1 bsd and it crashed bad. fsck hell.. somehow i got a cvsup to work and got a new kernel from beta2 and all is well so far. Thank god the /home partition raid array was not harmed.

Midnight is on caryn's g4.. its back and works fine aside from the burner not being hooked up. The ati card doesnt seem to work :( there goes 200 dollars. Avoid newegg refurb video cards...


location: Home

()

Tue, 21 Feb 2006

7:13 PM - ET server

In case you hadn't noticed by my earlier post, I'm trying to tweak expenses. I want to get out of debt and plan in case caryn has trouble getting a job. She has to look for after graduation now. Even if everything goes according to plan, we are looking at moving expenses, etc. It will probably be the most expensive move for us ever.

I'm toying with getting a shittier server both specs and os wise... maybe a lowend linux box. Of course that will affect the server situation quite a bit and i'll have to drop hosting for third party sites. (speed reasons)

Its like 85 dollars a month or so right now. Then with cable and all.. i just want to get things lowered a bit. I need breathing room. I've been worrying about my car lately. I just have a bad feeling. I've been trying to get in more hours at work, although this week is a bust with this damn linux assignment.

I've been cleaning some today to try to get some of this out. I wish i could find a new source of income using my computer talents.

()

7:10 PM - Linux sucks.. i have proof

http://www.tldp.org/LDP/lkmpg/2.6/html/index.html

kernel module crap

File system crap:
http://72.14.207.104/search?q=cache:iQmrnJKgLXYJ:www.atcomputing.nl/Publicaties/lkifs.pdf+list+open+files+linux+kernel&hl=en&gl=us&ct=clnk&cd=13&client=safari

More procfs crap:
http://72.14.207.104/search?q=cache:uOlP0a2LYEcJ:www.kernelnewbies.org/documents/kdoc/procfs-guide.pdf+linux+create+procfs+entry&hl=en&gl=us&ct=clnk&cd=3&client=safari#7

GNU's not unix alrightythen...



()

6:59 PM - Hmm..

Well verio finally replied to me. I had to change my email address for the to cancel.. :(

Real fucking billed me for rhapsody even though I cancelled and was supposed to "have a free month".

I cancelled netflix because caryn and I rarely get time to watch them and they are slow about getting videos back when we have a break, etc. I figure that money might cover my iTunes addiction and well caryn might want to buy office episodes or something. We were a member since jan 2004.. geeze.

I'm trying to figure out how the hell i can pay off dell.. fucking 28 percent interest rate now and everytime we get below 1100 dollars they "pretend not to get our payment" so they can chare late fees. fucking shit. We literally sent it the day we got it this time. THey had 3 weeks to get it and process it before it was due. Its in illinois! NEVER EVER USE DELL FINANCIAL SERVICES. I've already paid 900 dollars (estimated) for my computer and actually paid about 300 from its original cost. Its the most expensive computer i've ever seen other than a big fucking server. We "owe" 1200 dollars on it now although it will be that way forever unless i can do it all at once plus secret fee coverage money. If the stock market didn't suck, I could do it right now. I wanted to in september, but i decided to get caryn the iBook instead. I don't regret the mac purchase, but it sucks now that i still have to deal with dell. I may not buy anything from them after this. Maybe CHINA is better.. (Lenovo/IBM PC division). I don't have a problem with china, just that the gov't owns part of IBM's former pc division. My iBook was made in china so its not like i care about that.

My fucking linux assignment is not going well either. I'm just fucking it up left and right.

Last night my aunt called me and talked to me for a long time. She admitted its her fault that we aren't in contact more. I guess thats nice. I don't know what to think. (booner)

My parents sent me email today both about similar things. In both emails it talks about my dads new love interest, the fact that he's moved in and so forth. Whatever. Funny thing is caryn and i think we've met the person before, a unisys tech for dell accounts. LOL

()

Sun, 19 Feb 2006

12:54 AM - (no subject)

Ok so i cleared out about 5 gb on my file server, 2gb on my user partition which was 100% used in blocks (negative actually), and now the file server runs agian.. plus i have kde now. :)

Caryn started the cvsup for 6.1. That 600 packets really impressed me today on the server.. i think i'll do the home router too. Good et playing today. I've got a good start on my linux kernel module assignment, foolishgames.net, justjournal.com, and fixed the windows issues. Linux does something goofy with the smp and i have to power cyle to fix it before a windows boot. I repaired the damage (explorer was crazy, i lost themes, firewall and there was some disk damage according to chkdsk) Damn linux.

This new jj client is much faster than the old one.. its all .NET 2. Everytime i run it, its faster. I love it.. almost feels like native code. (no garbage collection, etc)

oh i think i deleted the post about installing the free vmware server product in windows. It pownz although it interacts badly with windows onecare beta firewall. i will try to do a bsd install of it soon enough with the linux port.. not sure it supports the parallel port system calls though.

location: Home

()

12:08 AM - (no subject)

Played et for 5 hours today.. well maybe more... who's counting :)

At the peak, i had 14 users on the server (max). Most of the time there were 10-12 and only 4 fg members.

It was quite fun and during the peak the server was pushing 600 packets a second (udp and tcp combined). I think its partially because i got rid of that damn e107 POS. 103 sql queries for one page is bull shit, hell fred rappuhn knows better than that. They are assholes.

Still didn't call booner.

The sports illustrated swimsuit videos on itunes look really bad. If you preview the first one it looks much worse than those "girls gone wild" videos which show absolutely nothing. Hell i've seen more at western on campus. Maybe they should film there?

music: theme to austin powers...

()

Fri, 17 Feb 2006

7:32 PM - Today

Hmm.. well i deleted a post the other day. i need to make that harder to do.

Lots of stuff happened. I'll just post some now.

First, i'm currently working on getting linux back up. I managed to boot off my gentoo cd and install grub to /dev/sda2 (my ext3 linux partition with /). Then i reinstalled system commander into my mbr and i can boot linux. haven't tested windows, but it must likely works. Before i installed grub into the mbr and windows blue screened on the chain load. DAMN GNU SOFTWARE.

Second, I had idiots at wmu today. Physics test (unknown to me), Math test was postponed till monday. Fun. My boss needed another OSX lesson today.. so i left 30 minutes late from work. (not overtime i wish.. but hey i got in ~10 hours this week)

Third, i'm rebuilding my linux kernel with module support because i have to write a kernel module by next week. Guess what i'm doing this weekend.

Caryn's mac is still in GR. It seems the video card burned up and won't work. They had to order one to TEST WITH IT. Unkewl. So she'll have to drop back to an nvidia geforce 4 mx 32mb from a radeon 9800 128mb. Both are agp 4x. And she's still out the computer.

I installed the free vmware server beta. Going to play with that. Hoping to get it to run in bsd. I have it in windows and its fast. I need to test ie6 somehow.

I got the worst jj bugs fixed so ie users can see the site although its still not right. i'll fix that later.

If i get this kernel thing done, i'll update JJ this weekend. I also need to install MVN forum for fgnet.

Some guy wanted to buy foolishgames.com from me. I haven't responded yet as i'm not sure what to do. I have email and so does caryn. I'd have to change it and its been 8 years almost with the same one.

Caryn is in the other room surfing and coding.

()

12:14 AM - Son of a bitch

I hate IE. JJ still isn't working right. I figured out why it didn't render AT ALL. i had to add a comment inside the script tag for the fucking javascript.. now it renders but still incorrectly.

()

Wed, 15 Feb 2006

9:34 PM - Internet explorer is broken

Well Microsoft outdid themselves this time. IE7 beta2 can not handle javascript properly. Not only do errors not appear, but the new template i've partially got up for justjournal won't render AT ALL in ie. No reason why either. It works in firefox and Safari ok. Very strange. I'm wondering if ie6 is working now...


location: Home

()