Archive for the ‘Uncategorized’ Category

auth.log noise

Below are the top 50 login names when trying to gain access to this web server over the last 4 weeks

Name
Attempts

root
3273

admin
119

test
110

mysql
44

guest
41

user
37

oracle
37

temp
25

sales
24

info
21

webmaster
21

postgres
21

dan
18

robert
18

student
17

ftpuser
17

ftp
17

richard
16

apache
16

web
15

adm
15

webadmin
15

john
15

paul
15

office
15

tony
14

james
14

postfix
13

michael
13

alex
13

david
13

amanda
13

adam
12

mike
12

staff
12

steven
12

recruit
12

jeff
12

pgsql
12

library
12

username
12

frank
12

susan
11

cyrus
11

dave
11

gast
10

postmaster
10

nagios
10

martin
10

admins
10

Note: No external connections are allowed to log in as root (of course)
Note2: After 5 failed login attempt, the IP address is temporary banned (fail2ban)

Posted by Matthew on July 7th, 2008

Filed under Uncategorized | 1 Comment »

import life

A console based implementation of Conway’s Game of Life in Python.
As fascinating as it is useless.
#!/usr/bin/python

import sys
import random
import time
import os
import copy

WIDTH = 32
HEIGHT = 16

class Grid:
    def __init__(self, width, height):
        self.width  = width
        self.height = height
        self.create_blank_grid()

    def create_blank_grid(self):
        self.grid = [...]

Posted by Matthew on June 20th, 2008

Filed under Uncategorized | No Comments »

Pretending PHP doesn’t suck

<?php

// Perhaps the simplest practical use of a fold?
//
// (While this is fairly consise (even in PHP) it calculates the length of a
// string 2n-2 times [which is n-2 times more than needed])
function getLongestWord($words)
{
  $fun = create_function(’$a,$b’, ‘return (strlen($a) > strlen($b)) ? $a : $b;’);

  return array_reduce($words, $fun);
}

// This looks a little better, but [...]

Posted by Matthew on June 19th, 2008

Filed under Uncategorized | No Comments »

WoW Progress

First trip to Kara on the weekend, being mostly a PUG we started off really poorly. We eventually replaced our off tank (who was arms :/) with a well geared (epic) tank which helped substantially. Though, we still only managed to down Huntsman and Maiden of Virtue.
I have most of the standard instances [...]

Posted by Matthew on October 2nd, 2007

Filed under Uncategorized, games | No Comments »

Yet more wow

Progress
+834 Fire (+845 With Arcane Intellect) with one Metagem slot to fill and without Major Spellpower on my weapon. Though, it did cost a bit of Int and Stam.

Enchant Enchant Weapon - Major Spellpower on my Greatsword of Horrid Dreams
Actually start running Karazhan
Craft Spellfire Robe to finish the Wrath of Spellfire set
Karazhan [...]

Posted by Matthew on September 9th, 2007

Filed under Uncategorized | No Comments »

Internet Connection

Yay, about time too
Though the speed is pretty similar to what I had with Internode on ADSL1

Upstream: 990500
Downstream: 8362800

Downstream
SNR Margin 6.0 dB
Line Attenuation 35.0 dB

Upstream
SNR Margin [...]

Posted by Matthew on August 18th, 2007

Filed under Uncategorized | 1 Comment »