Tag Archives: linux

Garmin GND10 unveiled (it is Nexus FDX!)

Mother of all detours; the USB port on the Garmin GND10 isn’t NMEA2000, it is something called Nexus FDX. That took a couple of weeks to figure out, hunting for NMEA2000 protocol headers. Always check your assumptions. Anyway, I’ve written … Continue reading

Posted in sailing, varnish | Tagged , , , , , , | 11 Comments

NMEA2000 and CANbus

I’ve been looking at NMEA2000 and CANbus lately. I’m attempting to reverse engineer the binary protocol seen coming out of the USB port on a Garmin GND10 network bridge, and that opens a whole field of new and interesting stuff … Continue reading

Posted in stuff | Tagged , , , , , | Leave a comment

Disable Spotify song change notification in Debian Linux

Recently Spotify started sending notifications to the desktop on song change. This is unnecessarily annoying and breaks my flow, so it had to go. (and since I usually just listen to the same playlists anyway, I’m very well aware what … Continue reading

Posted in Uncategorized | Tagged , , , | 5 Comments

DNS RBL test address for development

If you are writing code that checks a DNS real-time blockhole list (RBL), it looks like 127.0.0.2 is the standard address that is always in the black/white -list. This is probably know for most sysadmins/security people and whatnot, but wasn’t … Continue reading

Posted in stuff | Tagged , , , , | Leave a comment

libvmod-cookie; simpler cookie handling in Varnish VCL

I’ve written a Varnish module (VMOD) to simplify handling of HTTP cookies in Varnish VCL. In essence it does the usual stuff you’d usually do with regular expressions, but with much simpler syntax and readability. It works by parsing the … Continue reading

Posted in Uncategorized | Tagged , , , , | 7 Comments

Hostname Unsuitable for Printing in dhcpd logs

Some time ago I spent som time googling some strange ISC DHCPd log lines: Oct 13 12:38:33 amuka dhcpd: DHCPREQUEST for 129.241.x.y from 00:1b:38:xx:xx:xx (Hostname Unsuitable for Printing) via 129.241.x.1 Oct 13 12:38:33 amuka dhcpd: DHCPACK on 129.241.x.y to 00:1b:38:xx:xx:xx … Continue reading

Posted in stuff | Tagged , , | 1 Comment