Knock: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 18: | Line 18: | ||
This can be used to test a local instance of the knock server by going to http://127.0.0.1:8008/knock | This can be used to test a local instance of the knock server by going to http://127.0.0.1:8008/knock | ||
[[Category:Fort]] |
Latest revision as of 03:30, 21 December 2013
A virtual door.
Knock Back Door (Server)[edit]
The server end is a listening TCP/IP Socket on port 8008 by default.
Server initiates a ServerSocket to listen on all available IPv4 IP's at port 8008 by default.
Server waits for any incoming socket requests. Accepts connection, triggers appropriate knock and status response to client.
Knock Front Door (Client)[edit]
The client end is a socket request to the server at it's listening IP and port.
A knock request can be generated via http using a common GET request.
ip_address:port/knock
This can be used to test a local instance of the knock server by going to http://127.0.0.1:8008/knock