I have been working with RPZ policy blacklists to do DNS firewalling. A great introduction to DNS firewalling can be found here An overview of the syntax can be found at this link I had previously done blacklisting at home using pi-hole and wanted to migrate to an RPZ based solution. I wrote a python… Continue reading New Python Project for RPZ Blacklists
I have transitioning from a primary Windows desktop environment to a Linux desktop, and found that I wanted to get my saved connections from superputty, which my co-workers are using to a Linux tool. I found a tool called PAC Manager which does what I needed. The main thing I wanted was a tree hierarchy… Continue reading Moving SuperPutty config to Linux Pac Manager
Cisco has a set of OID that can be used to copy things to and from a router using SNMP.
Following up on my Formating mac addresses using python post I have a better way of using Mac addresses. I have been using the netaddr library for ip and mac address manipulations. To convert a binary mac address to an EUI object you can use the following code import netaddr from netaddr import EUI def convertMac(octet): """ This Function… Continue reading Better way of formatting Mac Addresses in Python
As I have been working with different routers I have squired a small repository of configuration files that I use for examples, backups, and ways of remembering the way the network was set up before a change. At the start I maintained each config as a separate file, usually containing the date (i.e. router1-071012.cfg). While… Continue reading Mercurial for Tracking Cisco Configs
UPDATE A better way to do this is using the netaddr library. as shown in this post Better way of formatting mac addresses in python I have a large set of shell script that I had written in shell, which I have been converting to python based scripts. I found using python I could better… Continue reading Formating Mac addresses using python