Skip to main content

My Stuff

Scripts and other stuff I've written.

Bulk Check IPs Against List Of Subnets

(2024-11-15) Problem You have a logfile full of IP addresses and you need to figure out if they b...

getarp

A perl script to get the ARP table out of a router. Requires Net::SNMP, Net::hostent, and Sys::Sy...

List all sender, receiver addresses for successful relay IPs

(2024-11-22) mkdir tmp.$$ cd tmp.$$ for z in /var/log/maillog ; do for i in `grep stat= $z | aw...

List IPs by number of successful mail transactions

(2024-11-22) for z in /var/log/maillog* ; do for i in `grep stat= $z | awk '{print $6}' | sort ...

mrrogers

(2014-07-17) MrRogers knows who is in your neighbourhood. mrrogers is a perl script which uses sn...

dotfiles

(2024-11-24) Dotfiles for my personal consumption: # wget https://raw.githubusercontent.com/xdroo...

.bashrc

(2025-08-31) # .bashrc # User specific aliases and functions #if [ "$DOTBASHRC" ]; then # exit...

.bash_profile

(2025-08-31) # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then ....

.inputrc

(2025-08-31) # Smart History Completion "\M-[A":history-search-backward "\M-[B":history-search-fo...

.perltidyrc

(2025-08-31) -bl # braces on new lines -pt=2 # tight bracket spacing -bt=2 # tight bracket s...

.screenrc

(2025-08-31) # Status line hardstatus alwayslastline #hardstatus string '%H %{= mK}%-Lw%{= KW}%50...

.vimrc

(2025-08-31) " Dave's .vimrc " History: " 020522 - updated with comments " 091001 - added st...

davem.sh

(2025-08-31) # # /etc/profile.d/davem.sh # # Bash Customizations I like because I'm picky # fr...