Archived: PortKnocking


“In computing, port knocking is a method of externally opening ports on a firewall by generating a connection attempt on a set of prespecified closed ports. Once a correct sequence of connection attempts is received the firewall rules are dynamically modified to allow the host which sent the connection attempts to connect over specified port(s).” –Source: Wikipedia

Welcome to my port knocking page! I’m pleased that you are also interested in port knocking and this site, perhaps after attending one of my presentations on the topic or upon searching for the topic on your favorite search engine.

Port Knocking Talks

  • Wilbur, Patrick F. Using Modular Arithmetic to Reliably Encode Authentication Information Within Messages Consisting of Port Connection Sequences. Mathematical Association of America Joint Seaway/Metro Conference. Marist College. Poughkeepsie, NY USA. October 14, 2006. [Slides PDF]
  • Wilbur, Patrick F. Fall 2006 Clarkson University Internet Teaching Laboratory Presentation. Clarkson University. Potsdam, NY USA. October 11, 2006.

Source Code & Documentation

Useful Resources

For more information, you should check out