Categories
Uncategorized

fail2ban, Debian buster/10 and iptables vs nftables

Buster forces a move to nftables, unfortunately fail2ban thinks it’s still using iptables, so nothing gets blocked. To fix ….

Categories
Uncategorized

Google Titan Security Key on Linux

Fixing udev so a Titan security key works on Linux …

Categories
Uncategorized

john the ripper on crypt passwords out of postfixadmin

This might help my future self : SELECT username, password into outfile ‘/tmp/passwords.txt’ fields terminated by ‘:’ optionally enclosed by ” lines terminated by ‘\n’ from mailbox where mailbox.active = 1; and then : john /tmp/passwords.txt …. e.g. root@mail:~# john /tmp/passwords.txt Created directory: /root/.john Loaded 2327 password hashes with 2326 different salts (md5crypt [MD5 32/64 […]

Categories
Uncategorized

Arduino lights etc.

One day I’ll give up on the illusion that I actually might post something useful here. Thanks to MonkeySailor. over Christmas I did had an Arduino and some lights. But there are loads of tutorials for it (like: http://www.instructables.com/id/Arduino-Controlled-LED-Strip-Holiday-Lighting/ ) , so there’s no point in me trying to document it. Perhaps it’s time for […]

Categories
Uncategorized

Lazy wordpress updating using wp-cli.phar

Fed up installing updates to WordPress sites? Stick this in a cron job somewhere, and cross your fingers (a little)….

Categories
Uncategorized

The spam and regular expressions

I think the spammers need some help with their regular expressions….  

Categories
Uncategorized

spam (policyd-weight + excommunicado)

1. See http://github.com/palepurple/policyd-weight – I’m trying to make some changes to policyd-weight (something I’ve been using for ages) to make it more configurable and add in a GeoIP patch which I’ve seen floating around. 2. See https://twitter.com/excommunicado and http://blog.hinterlands.org/2013/11/an-update-on-communicado/ – for a DNS Blacklist you might want to use –  using excommunicado.co.uk as a RHSBL has stopped about 700 […]

Categories
Uncategorized

WordPress 3.6 is here….

And a new theme. Perhaps one day I’ll fix my twitter sync script. In the mean time, there’s a bit on Solr on Pale Purple’s blog. along with SpamDyke to stop Qmail being overrun by spam.

Categories
Uncategorized

Wanted: Developer with interesting skills…. oh, and it’s for the minimum wage… (Is this a joke?)

Recently on the Twitter the following (attached) image came up – presumably legit, of a job advert. Highlights below. It’s almost like someone cut and pasted two job postings together. The phone number does appear to be legit … so perhaps the advert itself is?

Categories
Uncategorized

Weird Akismet behaviour with WordPress (incorrect spam identification)

One of my customers uses Akismet to protect his various blogs from the masses of spam. Oddly torwards the end of last week, Akismet started to identify everything as spam, with no error message being returned on check of spam, and the admin dashboard showing the api key/akismet were happy. I initially thought that perhaps […]