From 6ebc6b6d4fbd63428ea7c3e9f8e3bc18407600d9 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Mon, 23 Jul 2018 16:28:14 +0100 Subject: .gph files are now rendered as gophermaps --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 2518c6e..7480473 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,10 @@ to modify the values of the variables `NETCAT` and `STYLE` in `gosher` If the selector is a directory, `gosher` will look for a file named `gophermap` to render the submenu. If a `gophermap` does not exist, `gosher` looks for the index.gph gopherfile in the folder and, if it -exists, renders it as a gophermap. +exists, renders it as a gophermap. If the required selector has a '.gph' +extension, `gosher` will treat it as a gopherpile, and render it as a +gophermap. + ## Which netcat? @@ -47,6 +50,21 @@ combination for your version of `netcat`: **N.B.: Using STYLE='pipe' is preferable, since the '-c' option used by the 'fork' mode is a potential security risk** + +## Running `gosher` under `chroot` + +In general, it makes sense to run a server in a `chroot` environment, to +reduce the risks connected with remote exploits. If you would like to +run `gosher` under `chroot` be sure to have the following binaries (and +the corresponding libs) available in the chroot-ed environment: + +``` + basename cat cut mkfifo netcat realpath rm sed sh +``` + +Obviously, `netcat` will be your preferred `netcat` implementation. + + ## Why `gosher`? Just for fun. There are only a few TCP/IP application protocols left -- cgit v1.2.3