Archives June 13, 2013
Single Artefact Deployment
Written by
on
in
Snaking,
Pony.
The first talk at Django Toronto was on Wave's single artefact deployment mechanism. Basically it's the Fussy Firmware Packager, but without the signatures. We use Fussy to be able to send/provide customers with (signed) images that can be loaded on (potentially disconnected) machines (through their web interfaces).
The images include a built virtualenv including ...
Linux Refuses to See the HDMI
Written by
on
in
Snaking,
Pony,
Tuxedo.
My talk at Django Toronto was scuttled by my computer refusing to recognize the HDMI (complained about a checksum failure when the HDMI was plugged in) and the further failure of the VirtualBox image to get onto the network so I could use another machine. We spent all of the prep time trying to get ...
Fail2ban + Django convenient format
Written by
on
in
Snaking,
Pony.
You want to use Django auth failures to generate fail2ban bans to protect against brute-forcing of your passwords. Nothing on django packages... So, you: wrap your login handler with a decorator that logs out messages on failures...
def log_login_failures( function ): auth_log = logging.getLogger( 'django.auth' ) @wraps(function) def wrapped( request, *args, **named ): result = ...
avahi-daemon just works for hostname.local
Written by
on
in
Tuxedo.
So I wanted to set up my demo to be available at a friendly local URL when I run it tomorrow, so I decided to check out how avahi is doing these days.
sudo aptitude install avahi-server
Then edit /etc/avahi/avahi-daemon.conf
host-name=<yourhostname>
Restart avahi and your server will show up as <yourhostname>.local (or something similar, if ...