geomyidae

A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae)
git clone git://r-36.net/geomyidae
Log | Files | Refs | README | LICENSE

commit 8216b7d07eb66529f51b3a44c2ff8151e4716dbe
parent 28ba6b76c3cc61bdce1984cdc35733f704c22c52
Author: Christoph Lohmann <20h@r-36.net>
Date:   Wed, 31 Jan 2018 15:28:06 +0100

Update the manpage to the new log format.

Diffstat:
Mgeomyidae.8 | 40++++++++++++++++++++--------------------
1 file changed, 20 insertions(+), 20 deletions(-)

diff --git a/geomyidae.8 b/geomyidae.8 @@ -449,7 +449,7 @@ recursions, and/or unintended writes in the working directory. The log file (ie. /var/log/gopherd.log) has the following structure: . .Pp -.Ic [<date>|<IP:port>] <item path> <query> (<status>) +.Ic [<date>|<IP/Host>|<port>|<status>] <item path> . .Pp where, @@ -459,36 +459,36 @@ where, = access date and time (std 'date' format) .Pp ex. -.Qq "Sun Feb 17 06:11:10 PST 2008" -.It Ic <IP:port> -= client IP address and port served +.Qq "2018-01-31 14:18:34 +0000" +.It Ic <IP/Host> += client IP/Host served .Pp ex. -.Qq "24.208.18.127:16857" -.It Ic <item path> -= full path to item served -.Pp -ex. -.D1 Qo "/PICS/simple2.jpg" Qc for an image file -.D1 Qo "/PICS" Qc for a directory access -.It Ic <query> -= query term submitted (Type 7 requests only) +.Qq "104.23.33.1" +.It Ic <port> += client port served .Pp ex. -.Dl % snarf Qq "gopher://frog.bog/7/hello.cgi?Christoph" -.Dl would log Qo "Christoph" Qc as the query term. -.It Ic (<status>) +.Qq "16857" +.It Ic <status> = status of client request .Pp ex. - some common status entries: -.It Qo (serving) Qc +.It Qo serving Qc => a successful request -.It Qo (not found) Qc +.It Qo not found Qc => an unsuccessful request -.It Qo (HTTP redirect) Qc +.It Qo HTTP redirect Qc => web link redirect (Type h) -.It Qo (dir listing) Qc +.It Qo dir listing Qc => unindexed directory listing +.Pp +.It Ic <item path> += full path to item served +.Pp +ex. +.D1 Qo "/PICS/simple2.jpg" Qc for an image file +.D1 Qo "/PICS" Qc for a directory access .El . .Sh FILES