Welcome! Log In Create A New Profile

Advanced

Guard websites with a secret handshake [ngx_http_knock_module]

Phillip Taylor (nginx)
August 18, 2014 07:52PM
Hello everyone,

I've written a module for nginx that takes the concept of "Port
Knocking" and applies it to websites. When you visit an configured nginx
website, it returns a 404 "page not found" error. However if you go to
secret urls, even though they all, on the service appear to return 404,
you are secretly handshaking with nginx. After you've hit the magic
combination you ip is logged server side, and you're allowed to the
visit the site (that is, it returns content instead of 404).

The benefits include:
* private websites
* protect login pages against bots and scripts
* protect against zero day exploits
* protect against known exploits if you're slow to defend the site.

The code, documentation and even a link to demonstration youtube video
is available here:

https://github.com/PhillipTaylor/ngx_http_knock_module

I contact this mailing list:

* to raise awareness that I have developed it.
* for possibly inclusion on the 3rd Party Modules page for nginx
(http://wiki.nginx.org/3rdPartyModules)
* to ask if you would be so kind to provide some code review feedback
and advice regarding its quality.
* and any other thoughts.

Thank you

Phillip Taylor

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Guard websites with a secret handshake [ngx_http_knock_module]

Phillip Taylor (nginx) 901 August 18, 2014 07:52PM

Re: Guard websites with a secret handshake [ngx_http_knock_module]

splitice 707 August 18, 2014 10:56PM

Re: Guard websites with a secret handshake [ngx_http_knock_module]

Phillip Taylor (nginx) 539 September 15, 2014 05:48AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 131
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready