@node Usage
@unnumbered Usage
-@itemize
+Currently @command{tofuproxy} uses:
+GnuTLS'es @url{https://www.gnutls.org/manual/html_node/certtool-Invocation.html, certtool},
+@url{http://cr.yp.to/redo.html, redo} build system,
+@url{https://www.tcl.tk/, Tcl/Tk}'s @command{wish} shell for GUI dialogues,
+@command{dwebp}, @command{djxl}, @command{avifdec} for images transcoding,
+@url{https://github.com/halturin/multitail, multitail} for logs viewing.
-@item Currently @command{tofuproxy} uses:
- GnuTLS'es @url{https://www.gnutls.org/manual/html_node/certtool-Invocation.html, certtool},
- @url{http://cr.yp.to/redo.html, redo} build system,
- @url{https://www.tcl.tk/, Tcl/Tk}'s @command{wish} shell for GUI dialogues,
- @command{dwebp}, @command{djxl} for images transcoding,
- @url{https://github.com/halturin/multitail, multitail} for logs viewing.
+@itemize
@item Download and build @command{tofuproxy}:
@item
Run @command{tofuproxy} itself. By default it will bind to
-@code{[::1]:8080}, use @code{[::1]:53} DNS server for DANE requests
+@code{[::1]:8080} and use @code{[::1]:53} DNS server for DANE requests
(set to an empty string to disable DANE lookups):
@example
# cat cert.pem >> /etc/ssl/cert.pem
@end example
-@item Point you HTTP/HTTPS clients to @code{http://localhost:8080}.
-
-@item
-If you want to use TLS client certificates, then place them to
-@file{-ccerts} directory.
+@item Point you HTTP/HTTPS clients to @code{http://localhost:8080} proxy.
@item Watch logs:
@image{logs,,,Example logs,.webp}
-@item
-When you encounter something requiring your attention and decision, you
-will be shown Tk-dialog through the @command{wish} invocation. GnuTLS'es
-@command{certtool} is used for certificate information printing.
-
-@image{dialog,,,Example dialog,.webp}
-
-@item
-To list currently accepted, rejected, HTTP authorized, TLS client
-authenticated hosts:
-
-@example
-$ cat fifos/list-@{accepted,rejected,http-auth,tls-auth@}
-@end example
-
-@item
-To remove knowledge of the host from any of the states mentioned above:
-
-@example
-$ echo www.example.com > fifos/del-tls-auth
-@end example
-
@end itemize