Archive for the ‘General’ Category

Yesterdays Crash

Friday, September 2nd, 2005

I`m sorry for today’s and yesterday’s downtime.

@noud, please don’t play with home brewed assembly in root the next time.

B-Day

Tuesday, August 30th, 2005

Today it’s my birthday :-) . My 17th to be exact.

Quantumic FS

Sunday, August 28th, 2005

Recently most linux file systems are atomic. An operation is either performed fully or not at all.

QNTFS even goes further down. Quantumic operations. Something is done, or not done, or done and not done at the same time, depending on the reader, everytime.

Strange pagerank

Tuesday, August 23rd, 2005

Google uses pagerank to give a site a ranking of importance. Pagerank is strange.

One thing to note is that pagerank is logarithmic-ish. A pagerank of 2 is a lot better than just the double of pagerank 1.

By far the most visited site on my server, this blog, has got a page rank of 3.

Other pages on my server which are visited sometimes like w-nz.com, board.w-nz.com have got a pagerank of 2.

What catched my attention is that the page xr12.com, which basicly is a filler containing a link to the xr12 wiki has got a pagerank of 5. This is the same pagerank as a big site like newgrounds!

Maybe google values xr12.com a lot because it is about one topic and is the only site about that topic and that is xr12.com, where this blog has got tons of links about practicly everything from very various sources.

Pagerank itself isn’t the sorting factor for google but rather the context, although pagerank still is an indicator. Maybe google values a few links which are very specific above tons of links about very different topics.

Spread Firefox Clone

Friday, August 19th, 2005

SpreadInternetExplorer.com

It’s hilarious

Opeth’s Ghost Reveries

Thursday, July 21st, 2005

Sweden’s OPETH and Jens Bogren have finished the recording and mixing of the group’s latest opus, “Ghost Reveries”. The album was mastered on Thursday (June 16) at the Cutting Room facilities in Stockholm. The total running time will be around 65 minutes.

The two released tracks, Ghost of Perdition and The Grand Conjuration sound promising.

The album will be for sale on my birthday :-) , the 30th of August.

And they will perform it during their Europian tour, which I`ll visit on the 11th of September in the 013 in Tilburg.

I`m thrilled.

GMail invites

Monday, July 11th, 2005

It seems that the place to get a gmail invite has been closed down: isnoop.net/gmail.

I haven’t got a place anymore to send my gmail invites so I have them spare again.

If you want a gmail invite, just mail to bas.westerbaan [curly thing] gmail.com.

Linux Mount Security

Sunday, July 10th, 2005

With the linux Set UID Attribute you can let the owner of the file be the one the execute it when another user executes the file. This feature has traditionaly be used for system tools in linux which require root access to run but also must be able to be run my users.

It came to mind that a floppy with the ext2 filesystem could contain files of the root user with this Set UID Attribute set. Which theoraticly would allow anyone who is allowed to mount floppy’s or other media with an filesystem that supports this attribute to gain root access for a program.

On my system I got this entry in my /mnt/fstab, which allows an user to mount the floppy:

/dev/floppy/0 /mnt/floppy auto noauto,user 0 0

I made a simple C program which would show the contents of /etc/shadow, which contains the password hashes of the users, and chmodded it accordingly. (chmod = showshadow; chmod go+x showshadow; chmod u+rs showshadow)

I ran my program, and it seemed to work! The contents of the /etc/shadow file was streaming on my console.

Euforicly I went to another linux computer and tried the same trick.

darkshines@darkshines-one /mnt/floppy $ ./showshadow
bash: ./showshadow: Permission denied

Dissapointed but releived it seemed that linux had already some precaution against a root Set UID-ed executable.

I copied the contents of the folder whilest preserving permissions to another folder outside the /mnt/floppy and it all seemed to work again, although I couldn’t do it with a normal user account for I can’t preserve the owner when copying a file as a normal user.

I wondered how linux would secure it and tried to run the program while it was unchmodded.

darkshines@darkshines-one /mnt/floppy $ ./showshadow.unchmodded
bash: ./showshadow.unchmodded: Permission denied

The warning is from bash which can’t seem to execute the program. (note that it isn’t the program that can’t acces shadow) . After recompiling it on the floppy itself it seems that linux prevents any program to be executed in an user mounted folder.

I recon that that security precaution is a bit too strict. Although copying the file from the medium to a normal folder and then executing is still possible, I find it a bit strange that nothing of the user itself can be executed.

This could result in trouble when dealing with netmounts where one user can has a share on a server where he puts his files and can access only that mount for space on a terminal, when dealing with an user mount which would be required for security.

London Bombings

Thursday, July 7th, 2005

One thing that amazed me about the bombings is that the people didn’t panic, but remained calm.

Even though the people of London and the rest of England were hurt, they weren’t terrorized.

Although it might sound harsh, the terrorists have lost this fight: they gained nothing by these bombings.

Update: although it is s a bit inconvenient, this post is my 100th blog post. And currently the 100th comment has been made too.

Welcome to 213.133.112.101

Wednesday, July 6th, 2005

When you read this, this page has been served from my virtual server.

This also means that luckily the whole web content transfer has been a success :-D .

Sadly things haven’t gone as smoothly with the qmail configuration for my mail accounts.

So please mail me to bas.westerbaan@gmail.com instead of my @w-nz.com acccount.

Even though the minor setback with the mail (which is giving me headaches), it has been rather fun to do. And I learned a lot. (like that putting a restriction on the amount of memory that php uses isn’t just to annoy the customer but just to safe the server from some terribly php scripts)

When everything is working fine I`ll post some more on setting up your own server.

I desperately need some sleep.

Update: seems that there are quite some bugs in the transfer after all: ftp which only recursed a certain amount of times; .htaccess files not being transfered; permissions changing; php sucking too much memory (again); not enough sleep :-P
But seems to be working right now

213.133.112.101

Monday, July 4th, 2005

That’s the Ip of the vserver I have bought from greenT, and to which this site will be transfered within the next week.

There will certainly be some downtime.

update: I have installed most of the software, now all that remains is transfering.

update 2: Xr12 transfered

Bye Bye Spam

Saturday, June 25th, 2005

I just installed Hash Cash, which is an anti spam plugin for WordPress.

Hash Cash protects this blog from spam by requiring the client to execute javascript which calculates a checksum of the content from a seed which is very hard to extract.

Since I installed it I haven’t got any spam comments :-) .

The downside is that it disallows anyone who hasn’t got a javascript enabled browser to post a comment.

Now I still need to get some good means to combat trackback spam. Just putting them under moderation isn’t good enough for they keep coming

Opeth Ghost Reveries tour

Saturday, June 4th, 2005

I just bought a ticket for an Opeth performance in the Netherlands (013, Tilburg) on 11 september 2005. I’m looking forward to the performance even more, for Opeth really seems to be a great live band. I just bought their Lamentations DVD, which was quite amazing.

XBox 360

Friday, May 20th, 2005

Microsoft released the specifications of the XBox 360..
it is a beast..

With 3 CPU cores running on 3.2Ghz each with 2 hardware threads and 1 mb l2-cache each it is a powerhouse.

A remarkable feature of the XBox 360 is that it has got processor level support for MSIL (the bytecode used by .net applications).

The best thing of the XBox 360 is that it’ll be quite cheap (~150$), this probably lets the XBox360 deliver the most processor capability per dollar.

Maybe I’ll buy a few and make my own little linux server cluster with it, when the guys behind xbox-linux.org have added support for the XBox360 :-) .

Music Fill Out Thingy

Thursday, May 19th, 2005

Zef handed me the music baton, meaning I got to fill out a form ’bout music. So well… here it is:

Total volume of music files on my computer
3.2 GB.. that isn’t a lot.. but in contrary to some with huge collections I do listen to them all.

The last CD I bought was
I got myself some albums of Children of Bodom recently. I`m trying to get the Lamentations DVD of Opeth.

Song playing right now
Opeth – Still Life – The Moor

Five songs I listen to a lot/mean a lot to me
I don’t really listen to a certain song a lot.. although recently I listened to these a bit more than the others:

- Opeth – The Drapery Falls
- Children of Bodom – Needled 24/7
- Nirvana – You Know You’re Right
- Opeth – Dirge for November
- Muse – Citizen Erased

Lets be creative and add another question:

Artists you like
Opeth, Children of Bodom, Nightwish, Nirvana, Linkin Park and last but not least Muse.

The five people where this meme will go on
- Kaja Fumei
- Noud Aldenhoven
- Gumuz
- you!
- (yes, i was out of idea`s)

Fun with hex

Friday, April 22nd, 2005

hexopeth

Yes, I was bored.

(and no, I did not do that by hand)

Linux style

Wednesday, April 20th, 2005

Make your own tux toy:

tux

They only redistribute source branches ^_^

You got to config and build it manually..

Foolish people

Tuesday, April 19th, 2005

You can buy World of Warcraft gold and items by paying real money…

It actually seems they are having quite good bussiness for the amount of adds linking to them has increased IMHO.

So.. there must be a lot of people buying basicly nothing for damned high prices…

How can people be so foolish?

Pope

Tuesday, April 19th, 2005

(dutch joke)

Our brand new german pope: “Bedankt voor de stranden”