rix.is ip filter:
Edit the list from rix.is for an ASA object-group
http://dl.getdropbox.com/u/66544/scripts/edit-rix-ipv4-is.py
Send the edited list to the ASA
http://dl.getdropbox.com/u/66544/scripts/update-ASA.py
Icelandic whitelisting, much fun ;) the script that started the blog, still brilliant :D
Configuration Downloader:
http://dl.getdropbox.com/u/66544/scripts/dl-config.py
In addition to the dl-config.py script you will need a settings file declaring the tftp host (ASA/PIX don't support scp afaik) and some other variables mentioned in the dl-config.py file itself.
You will need a new-line delimited device list flat file (hostnames/ip addresses, passed as arguments to ssh) and optionally a telnet device list.
You should use the following lines in your/etc/ssh/ssh_config file if you often add devices and don't want to manually accept the host_keys for each one before running the script:
Host *
StrictHostKeyChecking no
I use this instead of alternatives such as rancid (i'm the only networking guy at my IT firm anyway so i use this for backups and with dropbox running on the *nix boxes receiving the configurations i get archives and availability.
http://wiki.getdropbox.com/TipsAndTricks/TextBasedLinuxInstall <- Highly recommmended
Device Commander:
http://dl.getdropbox.com/u/66544/scripts/device-commander.py
Requirements are mostly the same as for dl-config.py (settings file, device-list and preferably edit your /etc/ssh/ssh_config file)
This guys awesome, I use it at one site like a poor mans WLAN-Controller :D
just make sure to test the command list out on one device first before you run it against a batch.. and remember "reload in" is your friend! with the inbuilt expect feature of the command sender you can answer questions from commands such as reload in and copy.
Named master/slave scripted domain additions:
http://dl.getdropbox.com/u/66544/scripts/domain%20additions%20-%20removals.7z
This ones the oldest of my scripts and it shows, it's still using TCL expect and i hardly believe it works.. :)
