GO-V.ORG
As seen in

Port knocking

In computer networking, port knocking is a method of externally opening ports on a firewall by generating a connection attempt on a set of prespecified closed ports.[1] 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 specific port(s).[src] A variant called single packet authorization (SPA) exists, where only a single "knock" is needed, consisting of an encrypted packet.[2] The primary purpose of port knocking is to prevent an attacker from scanning a system for potentially exploitable services by doing a port scan, because unless the attacker sends the correct knock sequence, the protected ports will appear closed.[1]

In computer networking, port knocking is a method of externally opening ports on a firewall by generating a connection attempt on a set of prespecified closed ports.[1] 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 specific port(s).[src] A variant called single packet authorization (SPA) exists, where only a single "knock" is needed, consisting of an encrypted packet.[2] The primary purpose of port knocking is to prevent an attacker from scanning a system for potentially exploitable services by doing a port scan, because unless the attacker sends the correct knock sequence, the protected ports will appear closed.[1] List of resources about PK and SPA (papers, implementations, presentations...) PortKnocking - A system for stealthy authentication across closed ports.[src] (archived) Linux Journal: Port Knocking (2003) A Critique of Port Knocking (2004) fwknop: An implementation that combines port knocking and passive OS fingerprinting WebKnock: An online Port Knocking and Single Packet Authorization (SPA) client based on fwknop webknocking: Using webpages instead of ports.[1] Port knocking to hide a backdoor Port knocking to hide communication channel for malware, example from the wild Techniques for Lightweight Concealment and Authentication in IP Networks (2002)[1]

11 sentences · 11 cited inline · 6 references stored

References

  1. Michael Rash (2004) [https://www.usenix.org/publications/login/december-2004-volume-29-number-6/combining-port-knocking-and-passive-os Combining Port Knocking and Passive OS Fingerprinting with fwknop . · retrieved 2026-10-02 · rev 1378135518
    Cite this reference

    MLA "Michael Rash (2004) [https://www.usenix.org/publications/login/december-2004-volume-29-number-6/combining-port-knocking-and-passive-os Combining Port Knocking and Passive OS Fingerprinting with fwknop ." Michael Rash (2004) [https://www. 2026-10-02. https://en.wikipedia.org/w/index.php?oldid=1378135518. Accessed 06 December 2026.

    Chicago "Michael Rash (2004) [https://www.usenix.org/publications/login/december-2004-volume-29-number-6/combining-port-knocking-and-passive-os Combining Port Knocking and Passive OS Fingerprinting with fwknop ." Michael Rash (2004) [https://www. 2026-10-02. https://en.wikipedia.org/w/index.php?oldid=1378135518.

    APA Michael Rash (2004) [https://www. (2026). Michael Rash (2004) [https://www.usenix.org/publications/login/december-2004-volume-29-number-6/combining-port-knocking-and-passive-os Combining Port Knocking and Passive OS Fingerprinting with fwknop . Retrieved December 6, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378135518

  2. Michael Rash (2006). [http://www.cipherdyne.org/fwknop/docs/SPA.html Single Packet Authorization with Fwknop] . · retrieved 2026-10-02 · rev 1378135518
    Cite this reference

    MLA "Michael Rash (2006). [http://www.cipherdyne.org/fwknop/docs/SPA.html Single Packet Authorization with Fwknop] ." Michael Rash (2006). 2026-10-02. https://en.wikipedia.org/w/index.php?oldid=1378135518. Accessed 06 December 2026.

    Chicago "Michael Rash (2006). [http://www.cipherdyne.org/fwknop/docs/SPA.html Single Packet Authorization with Fwknop] ." Michael Rash (2006). 2026-10-02. https://en.wikipedia.org/w/index.php?oldid=1378135518.

    APA Michael Rash (2006). (2026). Michael Rash (2006). [http://www.cipherdyne.org/fwknop/docs/SPA.html Single Packet Authorization with Fwknop] . Retrieved December 6, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378135518

  3. Michael Rash (2007). [http://www.linuxjournal.com/article/9621 Protecting SSH Servers with Single Packet Authorization] . · retrieved 2026-10-02 · rev 1378135518
    Cite this reference

    MLA "Michael Rash (2007). [http://www.linuxjournal.com/article/9621 Protecting SSH Servers with Single Packet Authorization] ." Michael Rash (2007). 2026-10-02. https://en.wikipedia.org/w/index.php?oldid=1378135518. Accessed 06 December 2026.

    Chicago "Michael Rash (2007). [http://www.linuxjournal.com/article/9621 Protecting SSH Servers with Single Packet Authorization] ." Michael Rash (2007). 2026-10-02. https://en.wikipedia.org/w/index.php?oldid=1378135518.

    APA Michael Rash (2007). (2026). Michael Rash (2007). [http://www.linuxjournal.com/article/9621 Protecting SSH Servers with Single Packet Authorization] . Retrieved December 6, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378135518

  4. Moxie Marlinspike (2009). [http://www.thoughtcrime.org/software/knockknock/ Using knockknock for Single Packet Authorization] . · retrieved 2026-10-02 · rev 1378135518
    Cite this reference

    MLA "Moxie Marlinspike (2009). [http://www.thoughtcrime.org/software/knockknock/ Using knockknock for Single Packet Authorization] ." Moxie Marlinspike (2009). 2026-10-02. https://en.wikipedia.org/w/index.php?oldid=1378135518. Accessed 06 December 2026.

    Chicago "Moxie Marlinspike (2009). [http://www.thoughtcrime.org/software/knockknock/ Using knockknock for Single Packet Authorization] ." Moxie Marlinspike (2009). 2026-10-02. https://en.wikipedia.org/w/index.php?oldid=1378135518.

    APA Moxie Marlinspike (2009). (2026). Moxie Marlinspike (2009). [http://www.thoughtcrime.org/software/knockknock/ Using knockknock for Single Packet Authorization] . Retrieved December 6, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378135518

  5. PortKnocking - Community Help Wiki . help.ubuntu.com . retrieved 2023-07-08 · retrieved 2023-07-07 · rev 1378135518
    Cite this reference

    MLA "PortKnocking - Community Help Wiki . help.ubuntu.com . retrieved 2023-07-08." PortKnocking - Community Help Wiki. 2023-07-07. https://en.wikipedia.org/w/index.php?oldid=1378135518. Accessed 06 December 2026.

    Chicago "PortKnocking - Community Help Wiki . help.ubuntu.com . retrieved 2023-07-08." PortKnocking - Community Help Wiki. 2023-07-07. https://en.wikipedia.org/w/index.php?oldid=1378135518.

    APA PortKnocking - Community Help Wiki. (2023). PortKnocking - Community Help Wiki . help.ubuntu.com . retrieved 2023-07-08. Retrieved December 6, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378135518

  6. How To Configure Port Knocking Using Only Iptables on . · retrieved 2026-10-02 · rev 1378135518
    Cite this reference

    MLA "How To Configure Port Knocking Using Only Iptables on ." 2026-10-02. https://en.wikipedia.org/w/index.php?oldid=1378135518. Accessed 06 December 2026.

    Chicago "How To Configure Port Knocking Using Only Iptables on ." 2026-10-02. https://en.wikipedia.org/w/index.php?oldid=1378135518.

    APA encyclopegia.org. (2026). How To Configure Port Knocking Using Only Iptables on . Retrieved December 6, 2026, from https://en.wikipedia.org/w/index.php?oldid=1378135518

Cite this article

MLA

"Port knocking." encyclopegia.org, 2026, https://encyclopegia.org/wiki/port-knocking. Accessed 06 December 2026.

Chicago

"Port knocking." encyclopegia.org. Accessed December 6, 2026. https://encyclopegia.org/wiki/port-knocking.

APA

encyclopegia.org. (2026). Port knocking. Retrieved December 6, 2026, from https://encyclopegia.org/wiki/port-knocking

Accessed December 6, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Port Pirie

stub · references available

Port Lincoln Airport

stub · references available

Port Charlotte

stub · references available

Port-Valais

stub · references available

Port Said

stub · references available

Port-Cartier

stub · references available

Port Imperial Street Circuit

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1378135518 · 0.5 · snapshot enwiki-001378135518

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.