knockknock is a simple, secure, and stealthy port knocking implementation that does not use libpcap or bind to a socket interface.
http://www.thoughtcrime.org/software/knockknock/