I rank OSSEC as one of my favorite pieces of open source software, and finally decided to play around with it more in my own free time. (Yup, I do this sort of stuff for fun). My goal was quite simple: send syslog packets from my Cisco to my “proxy” server, running OSSEC. I found that, although OSSEC supports Cisco IOS logging, it didn’t really work. In fact, I couldn’t find any examples or articles of anybody actually getting it to work.
Read Integrating OSSEC with Cisco IOSAs you can tell from reading some of the other pages, I like Linux and open source. But I also like to answer the question “what if…” This post is my [brief] run down of answering “what if I could run Django on Server 2003 with SQL Server and IIS.” Why, you may ask? To be honest with you, at this point, I don’t really know. One of the deciding factors was seeing that the django-mssql project maintains support for inspectdb, which means I could take a stock 2003 server running SQL Server, inspect the DB, and build a web app on top of it. The Django docs offer a lengthy howto for using Django with IIS and SQL Server, but the website for PyISAPIe seems to have been down for the …
Read Using Django with SQL Server and IISI’m always forgetting the exact string to enter at the CLI for updating the IOS on a wireless Cisco AP, so I’ll just put it here to end my future searches:
Chimp# archive download-sw /force-reload /overwrite tftp://192.168.83.150/c1100-k9w7-tar.123-8.JEC1.tar 192.168.83.150 obviously being your tftp server, and the .tar file sitting in the root of the tftp server.
I suppose if you wanted to backup your IOS you could do something along the lines of:
Read Upgrading Cisco Wireless FirmwareBacking up your Openfiler box to S3
While I don’t think most pople would expect to backup their entire NAS/SAN to Amazon’s S3, there might be a few very crucial things you need to backup.
I’ve seen an implementation using Ruby and s3sync – something that I do on my server – but I’m trying to migrate everything to Python. Although there are a lot of great tools out there for S3, many of them Python-based, I wanted to do one thing and do it well: have one complete full backup available, and using as little bandwidth as possible. In these regards Duplicity would work well, except I wanted the ability to browse the S3 store using any other tool.
Read Backup OpenFiler to S3Using TimeVault with a shared drive as a backend is actually quite easy, but it does require a few special things setup. Note: this is gonna be a brief summary.
Install samba-tools, smbfs…
sudo apt-get install samba-tools smbfs A lot more other stuff may install as well.
Create a script that mounts your samba share. You could also do this in fstab, but I tend to suspend my laptop when I come home, and I like clicking buttons.
Read Configure Timevault to Remote ServerI’m writing down these quick notes so I can remember the steps for getting py2exe to work with GTK.
Download the GTK+ runtime Download py2exe Copy over your project into the windows box Create a setup.py file (see below) Run “c:\Python25\python.exe setup.py py2exe” Copy over the lib, etc, and share folder from C:\Program Files\GTK2-Runtime into the dist folder Run app! setup.py:
from distutils.core import setup import py2exe setup( name = 'ploteq', description = 'Bunnys Plotting Tool', version = '1.0', windows = [ { 'script': 'ploteq.py', } ], options = { 'py2exe': { 'packages':'encodings', 'includes': 'cairo, pango, …
Read PyGTK + py2exe for WindowsI’ve lived in several different parts of the world, and they all do internet differently. Back in the US I had 8Mb/sec cable (leaving just before Fios was really an option, darn!) In New Zealand, for instance, I was paying for “high speed ADSL” rated at 1.5Mb/256k. Vrooom. Up in Taiwan I was paying 1/2 what I paid in New Zealand, but for 12Mb/1Mb. Down to Sydney and we have a rated 24Mb/1Mb.
Read Capped InternetThis is the laundry list of things I did while creating a mod_tile VMware appliance based on Ubuntu Server 8.04. I’ve kept descriptions limited but left all the commands in. Let’s start installing things…
Useful goodies for compiling source
sudo apt-get build-essential More goodies for Mapnik + Friends
sudo apt-get install libboost-dev libboost-filesystem-dev libboost-filesystem1.34.1 libboost-iostreams-dev libboost-iostreams1.34.1 libboost-program-options-dev libboost-program-options1.34.1 libboost-python-dev libboost-python1.34.1 libboost-regex-dev libboost-regex1.34.1 libboost-serialization-dev libboost-serialization1.34.1 libboost-thread-dev libboost-thread1.34.1 libicu-dev libicu38 …
Read Revised mod_tile Install HOWTOMost weekends closely mimic each other: drinking a lot of wine, playing on the computers, eating lots of food. However, this past weekend was pleasantly eventful.
On Saturday night, I met some friends in Windsor, a small suburb on the way to the Blue Mountains. After a stunning dinner of fish curry with numerous sides, I drove into Richmond to watch a local theatre guild’s production, A Dark Winter Night. Having been spoiled by theatre since childhood, I still enjoyed the performance. It was humble but entertaining. They even served free coffee and biscuits at intermission!
Read Taming the JungleFor various reasons I had the need to open a raw disk inside VMware Server 2. The reports from the field say that this just isn’t supported. Although I don’t need to actually run a raw disk, I needed to get some data off it – 400GB worth. It turns out ’not supported’ really means ’not in the UI.’ I don’t know the reason why it isn’t in the UI, maybe marketing wants people to use ESX, or maybe the UI guys fell behind with their workload.
Read Using Raw Disks with VMware Server 2