Thursday, March 11, 2010

Shades of Tan






Shades of Tan, originally uploaded by marcn.



Monochrome photos don't have to be the result of processing or desaturation. Find a monochrome composition and shoot it.

DailyShoot.com #ds100

No they are not






No they are not, originally uploaded by marcn.



Squares and grids surround us in our built environment. Focus in on some squares today and make a photograph.

@dailyshoot #ds99

Green Moss






Green Moss, originally uploaded by marcn.



Backgrounds are tricky. They can make a subject stand out or distract from it. Make a photo with a good background today.

Evil Eye






Evil Eye, originally uploaded by marcn.



An old adage in photography says if you want to improve your photographs, move closer. Fill your frame today! #ds97

Tuesday, March 9, 2010

sshguard on Debian/lenny

The sshguard documentation is correct, but a little lacking.

Here are my notes of what is needed in case I ever need to re-do it:



  • Download sshguard-1.4.tar.gz from http://www.sshguard.net/


  • Unpack and compile (see the stock documentation on sshguard.net)


  • In /etc/rc.local add the following lines before the "exit 0". This sets up iptables with a filter for ssh connections:



    iptables -N sshguard

    iptables -A INPUT -p tcp --dport 22 -j sshguard



    You should run those commands before you edit the syslog configuration. Or reboot.


  • In /etc/syslog-ng/syslog-ng.conf add around line 190 the following lines:



    filter sshlogs { facility(auth, authpriv) and not match("sshguard"); };

    destination sshguardproc {
    program("/usr/local/sbin/sshguard"
    template("$DATE $FULLHOST $MESSAGE\n"));

    };


    And down near the end of the file, add:


    log { source(s_all); filter(sshlogs); destination(sshguardproc); };



  • And finally restart syslog-ng (sudo killall -HUP syslog-ng) and read the sshguard faqs: http://www.sshguard.net/docs/faqs/

Tuesday, February 16, 2010

Ubuntu/lucid on hp2133

Tonight I wiped my hp2133 running Ubuntu/karmic and installed lucid.

The only pain was of course getting the wireless card to work. That simply meant getting the Broadcom firmware into /lib/firmware/b43

The instructutions on http://wireless.kernel.org/en/users/Drivers/b43 were right on. You will need to build b43-fwcutter from source pulled from the git repo, but the commands are provided.