Sunday, December 03, 2017 in Programming
I wrote a small web application which I’m calling “PSaas” – Port Scan as a Service. This webapp was an opportunity for me to do some coding and interaction with RabbitMQ. RabbitMQ has come up a few times for me lately. First, …
Monday, December 14, 2015 in Programming
I’ve been waiting to add some features to ipquail.com for a while, but the way in which I was handling API endpoints at the moment needed to change before I could accommodate anything fancier – at the moment I was using simple Server Side …
Saturday, November 08, 2014 in Programming
As part of maintaining my list of Manitoban ASNs and their IPv6 status, I need to determine new Canadian, and specifically, Manitoban ASNs issued by ARIN. I had been doing this manually by reading through bgp.he.net/country/CA, but this was very time …
Thursday, October 09, 2014 in Programming
I run an OpenBSD system as a packet filter in front of my various virtual machines at my colo. I’ve got a default block drop in log all rule which drops and logs all un-handled traffic. I’ve been rotating the logs around, but not doing …
Sunday, September 14, 2014 in Programming
While I’ve been supporting making requests to ipquail.com with useragent curl and responding with only plaintext, I don’t have a formal API for the site. Being inspired by the recent Arin on the Road talks on their Whois-RWS and Reg-RWS …
Tuesday, August 12, 2014 in Programming
Sometimes you get a short URL for something and would like to know where it goes before clicking on it. cURL can help you determine this. This can be done with the following one-liner. curl -s -o /dev/null -I -w "%{url_effective}\n" -L $URL …
Saturday, July 05, 2014 in Programming
I’ve always liked how the site ifconfig.me (down today it seems) returns JUST the IP address from command line when accessed via CURL. Unfortunately it is not IPv6 enabled. This morning I set out to CLI-enable ipquail.com. The journey is …
Sunday, May 04, 2014 in Programming
One of the many tasks that I do quite often is subnetting. Sometimes when I am allocating subnets by hand, I get distracted by requests/email/calls/etc, and I occasionally make subnetting errors. This is annoying, embarassing, and I prefer to just …
Thursday, April 10, 2014 in Programming
Another huge blunder this week in the ubiquitous OpenSSL library secadv. This one’s called Heartbleed. You can easily check if your services are vulnerable at filippo.io/Heartbleed. This one is particularly scary as it allows reading random …
Sunday, April 06, 2014 in Programming
I’ve moved up in time/history to the 1980’s with Python – INI files! I’ve modified one of my python scripts to now use ConfigParser to read in a .cfg file. The simplicity, built in functionality to do tons, easy …