search
top
Currently Browsing: perl

Fixing Debian / Ubuntu iostat Munin Plugin

Munin is written in perl. Yummy. I noticed that the iostat plugin was broken and was not returning any values. To fix this you need to change a line in the plugin code. nano -w /usr/share/munin/plugins/iostat You need to change line 176 to read: next unless $tmpnam !~ \/c\d+d\d+$/ In nano, press ctrl + shift + – (or ctrl+underscore) and type 177 [enter] That should do... read more

Transparent Linux Anonymity

I started cleaning up my github account, and found an old script I wrote which configures a Linux (well, tested on Ubuntu) box to pass all internet traffic through through Tor. Its a perl script which requires IPTables to be installed, and before running, a small config file needs to be created at /etc/anonymiser.conf containing something like this: @mynets =... read more
top