Code tag

Have you ever seen on websites where they show you some lines of code and those lines are seperated in a little box and clearly demarcated from the rest of the page? I’ve always wanted to be able to do that, now i can. I’ve edited the style.css page here and added a style for the code tag. Once i get it how i want it i’ll retroactively put code tags around all the code i’ve ever posted. See below for what i settled on.

pre {border: inset 1px blue;
font-size: 1.3 em;
color: blue;
margin: 10px;
background: #fde8b9}

I’ve finished adding the pre tags to the rest of the code on the site. That right i said pre tags. Turns out, pre, standing for “preformatted text”, reproduces exactly what is in the text including whitespace, etc. This was more useful than the code tags which don’t quite do that. Also, i found out that if you paste something from dreamweaver mx into a post and then save it, it drops everything after what you pasted and crashes the browser. So…don’t do that.

dns queries

In a previous post i explained how i run a server, etc. etc. Since i have absolutely nothing else to write about, i’m posting a part II of sorts for that post. This time its about the dns server i run. A few months ago i switched my internal network over to use my own locally hosted dns server. The following are the top queries its received from the internal hosts.


Ok, we can see we have several very popular sites. The first is not quite what you’d expect, its You don’t think about it but every computer and device you own likely keeps itself synchronized with a time server. Every time it goes to synchronize, it has to do a dns lookup. Actually this number is a tad distorted by the fact that my router decided it should update its time 10 or 11 times a day, (thank you Dlink). I actually got sick of it a made it use the ip address for instead of the hostname so hopefully that number won’t go up so much.

The next most popular query is for No surprise there. Every time you type in the website or use the search bar in your browser and possibly even just visiting certain websites will cause a query to be performed.

The most interesting out of all these though is the fact that, in my top 10 queries, 2 of them ( and are well known ad servers. What a waste of time and bandwidth that is. In the future, i may start blocking queries to well known ad sites just to avoid giving them stats on us.

New Theme.

I forgot to mention before my last post but i have a new theme.  You like?  I feel it has a pirate type of feel to it.  Anyway, its new.  Leave suggestions in the comments.

ssh attempts

So. I run a server. And by that i mean i have a computer with many different services running on it that are accessible over a network. One of these services is ssh. Over the past few months while my computer has been exposed to the internet, i have received thousands of automated ssh login attempts by people doing a dictionary attack trying common usernames and password. I have decided to post some of the ip address and some of the more common usernames attempted. The first column is number of attempts since Oct 28 06:47:05.

1319   692 root
352   81 admin
275   79 test
168   41 guest
156   34 user
137   27 clark
120   23 oracle
105   21 smith
104   21 anderson
84   19 staff

ps. For the love of god if you know how to format that so that both columns are next to each other, tell me! I’ll give you a treat. Really, it will happen.

*Update* I cheated and got a table to do what i want. If anyone can tell me a better way please do. The treat thing still stands.

*Update 2* Nevermind, i’ve decided i like the way looks. After looking around a bit, it appears that there really isn’t a more elegant solution so i’m going to stick with it.

Page 6 of 9« First...45678...Last »