add man pages + add -n option to nobotgate-access
This commit is contained in:
parent
107ec67105
commit
26aa9c3b7e
4 changed files with 57 additions and 4 deletions
24
doc/nobotgate.1
Normal file
24
doc/nobotgate.1
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
.TH nobotgate 3
|
||||
.SH NAME
|
||||
nobotgate \- block bots using http header authentication
|
||||
.SH SYNOPSIS
|
||||
nobotgate TOKENFILE VALID INVALID
|
||||
.SH DESCRIPTION
|
||||
nobotgate-access is meant to run under a superserver such
|
||||
as tcpserver(1) or inetd(8).
|
||||
It reads http request headers from stdin and tries find a
|
||||
HTTP Bearer token. If no token is found or the token is not
|
||||
listed in TOKENFILE, it exec's into INVALID.
|
||||
If a token is found and the token is listed in
|
||||
TOKENFILE, it exec's into VALID.
|
||||
.SH "TOKENFILE FORMAT"
|
||||
The tokenfile is parsed line by line. Empty lines are
|
||||
ignored.
|
||||
The token begins at line start and ends at the first space
|
||||
in the line(the space is not part of the token of course).
|
||||
.SH "EXAMPLE"
|
||||
An example tokenfile:
|
||||
1234 this is bob's token
|
||||
abc223-23cm ci/cd token
|
||||
.SH "SEE ALSO"
|
||||
nobotgate-access(1), tcpserver(1), inetd(8)
|
||||
Loading…
Add table
Add a link
Reference in a new issue