As promised in the presentation, here's the full ghetto peer script. Believe me, there's plenty of room for improvement. This script should be run out of the crontab. Some day I'm going to write some docs.
check_inet_oldAnd here is a new, easier to understand version that doesn't depend on some unusual interface configuration
check_inet