Copyright (c) 2013 Ted Unangst <tedu@openbsd.org> Copyright 2016, Joyent Inc Author: Alex Wilson <alex.wilson@joyent.com> Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>