My name is Tobias and I've always messed or had something going on with computers. I use the majority of my time with computers; mostly invested in programming and trying out new ideas. This site functions as a personal place and as a place where I show off my personal projects.News/my blog
Tales of a patched sshd
17/10/2012 Filed in: Programming
Some months back I applied this little patch and recompiled openssh. This patch records incoming login attempts on my ssh server in a convinient logfile; both the username and password. I thought this would be a great way to compile a nice little dictionary with username and passwords for bruteforce attacks. Just for fun of course. I didn't really think I would collect that many attempts. Today... months later I checked this very logfile. This is what I saw;
[root@hyrule ~]# wc -l /var/log/sshd_logged 138032 /var/log/sshd_logged
138k of usernames and passwords. That is pretty impressive, if I may say so, considering my relatively low-in-traffic server.
The Venus transit
7/6/2012 Filed in: News
It has been a while since I last made a post. So here I come!
I watched the Venus transit on the 6th of June and what a great sight it was. I viewed the transition through my Celestron C8-SCT. The pictures aren't the best--mainly because of the atmospheric disturbances at the time and my own tiredness. The transit was from around 4 in the morning to 6.49. So I was up early, and I'm not that kind of type.
Here is one of the shots I got:
My little ad-blocking tool; adblock-c
24/12/2011 Filed in: Programming
First of all, Merry Christmas to whomever is reading this article! ;)
I hate ads, and only tend to enable them on pages I use frequently (to support the page). I've been using various ad-block extensions/plugins with the browsers I use--I only use Chromium for the time being. I like the extensions, but with Chrome the ad-block extension does not actually remove the ads--it only hides them--fair enough you may say, but I like not using bandwidth on ads or material I never actually see. Therefore you can go back to use your machines /etc/hosts file. This is actually much better, because you can then "blacklist" the domains that hosts the ads; affectively never using bandwidth from these domains/hosts. This is easy, you just add the hosts to your /etc/hosts file and set their pointing IP-address to your localhost... problem solved. This is tiresome to do manually because there are so many different hosts handling ads. Therefore I decided to write a little tool. I made the tool in C, rather than a shell-script, this is because I like C, simple as that.
The C program grabs ad-block hosts lists that are provided by third-party providers that frequently updates these lists--you can also add addional ad-block hosts sources to a file yourself and then fetch this file to the program. The C program then merge these hosts to your /etc/hosts file... and voila... ads are gone! You can add this program to your crontab and have it update your host-file on a regular basis; ie. every day or week. You are never dependent on a browser extension/plugin after this.
The source is freely available and I invite you to tamper with it as much as you'd want. You can of course just download, and compile it yourself, then use it on your machine.
- You can grab the source here; https://bitbucket.org/Tobiaswk/adblock-c/
Over and out! Merry Christmas and a happy new year!
1. Com Truise – Dreambender
2. Tycho – Sunrise Projector (Dice Remix By Nautilis)
3. Foo Fighters – Good Grief
4. Foo Fighters – Alone + Easy Target
5. Foo Fighters – Big Me
6. Foo Fighters – Big Me
7. Foo Fighters – I'll Stick Around
8. Foo Fighters – Good Grief
9. 13th Floor Elevators – Slip Inside This House
10. 13th Floor Elevators – You're Gonna Miss Me
I love taking photographs. Here you can see my latest snaps. More photos...
You can read my professional qualifications on the about page or proceed directly to: