gogopherd.git
6 years ago* Fixed Makefile; install control script to prefix.
Urban Wallasch [Fri, 12 Apr 2019 15:33:29 +0000 (17:33 +0200)]
* Fixed Makefile; install control script to prefix.

6 years ago* Added option to let parent wait for background child.
Urban Wallasch [Fri, 12 Apr 2019 08:11:25 +0000 (10:11 +0200)]
* Added option to let parent wait for background child.
* Fixed child attempts to reopen logfile bug.
* Added gogopherd.sh init script.

6 years ago* Added install and uninstall make targets.
Urban Wallasch [Thu, 11 Apr 2019 19:26:18 +0000 (21:26 +0200)]
* Added install and uninstall make targets.
* Redesigned most of the Makefile logic.

6 years ago* Added capability to respawn as background process.
Urban Wallasch [Thu, 11 Apr 2019 13:44:21 +0000 (15:44 +0200)]
* Added capability to respawn as background process.
* Made some (partially related) changes to logging.
* Updated README.md.

6 years ago* Added options to set connection and worker queue limits.
Urban Wallasch [Wed, 10 Apr 2019 21:04:16 +0000 (23:04 +0200)]
* Added options to set connection and worker queue limits.
* Improved usage strings of several flags.

6 years ago* Improved sample gopherhole index page.
Urban Wallasch [Wed, 10 Apr 2019 21:03:42 +0000 (23:03 +0200)]
* Improved sample gopherhole index page.

6 years ago* Added connection accept rate throttling and worker job queue based request handling.
Urban Wallasch [Wed, 10 Apr 2019 17:06:01 +0000 (19:06 +0200)]
* Added connection accept rate throttling and worker job queue based request handling.

6 years ago* Discern temporary network errors and don't treat those as fatal.
Urban Wallasch [Wed, 10 Apr 2019 17:01:04 +0000 (19:01 +0200)]
* Discern temporary network errors and don't treat those as fatal.

6 years ago* Renamed -l command line flag to -D.
Urban Wallasch [Wed, 10 Apr 2019 11:55:35 +0000 (13:55 +0200)]
* Renamed -l command line flag to -D.

6 years ago* Added option to send logging output to file.
Urban Wallasch [Wed, 10 Apr 2019 11:15:50 +0000 (13:15 +0200)]
* Added option to send logging output to file.
* Moved logger to separate source file.

6 years ago* Improved tracing and logging, so check and checkFatal show the correct source location.
Urban Wallasch [Mon, 8 Apr 2019 20:51:43 +0000 (22:51 +0200)]
* Improved tracing and logging, so check and checkFatal show the correct source location.

6 years ago* Use the non-generic TCP versions of listen and accept.
Urban Wallasch [Mon, 8 Apr 2019 20:09:02 +0000 (22:09 +0200)]
* Use the non-generic TCP versions of listen and accept.

6 years ago* Added connection read/write timeout option; default: 60 seconds.
Urban Wallasch [Mon, 8 Apr 2019 19:35:05 +0000 (21:35 +0200)]
* Added connection read/write timeout option; default: 60 seconds.
* Support verbose option in configuration files.

6 years ago* Use (file)path.Join, and (file)path.IsAbs where reasonable.
Urban Wallasch [Sun, 7 Apr 2019 22:08:37 +0000 (00:08 +0200)]
* Use (file)path.Join, and (file)path.IsAbs where reasonable.
* Sorted out the filepath vs. path mess, just in case someone intends to run this on WinDOS.
* Straightened code in createIndex().

6 years ago* Replaced old exit strategy by waiting for SIGINT / SIGTERM.
Urban Wallasch [Sun, 7 Apr 2019 20:08:59 +0000 (22:08 +0200)]
* Replaced old exit strategy by waiting for SIGINT / SIGTERM.

6 years ago* Version bump v0.3. v0.3
Urban Wallasch [Sun, 7 Apr 2019 16:29:15 +0000 (18:29 +0200)]
* Version bump v0.3.

6 years ago* Removed unnecessary string concatenations in Print statements.
Urban Wallasch [Sun, 7 Apr 2019 16:15:38 +0000 (18:15 +0200)]
* Removed unnecessary string concatenations in Print statements.
* Fixed .footer.goph layout.

6 years ago* Updated sample configuration file and README.md.
Urban Wallasch [Sun, 7 Apr 2019 12:13:15 +0000 (14:13 +0200)]
* Updated sample configuration file and README.md.
* Added sample gopherhole.

6 years ago* Added options to specify header and footer files to include in generated pages.
Urban Wallasch [Sun, 7 Apr 2019 10:28:06 +0000 (12:28 +0200)]
* Added options to specify header and footer files to include in generated pages.
* Include header and footer in error pages and generated directory indexes.
* Improved error page appearance.
* Lots of refactoring, especially WRT to configuration options and variable naming.

6 years ago* Added a sorry excuse for a configuration file parser.
Urban Wallasch [Sat, 6 Apr 2019 22:04:02 +0000 (00:04 +0200)]
* Added a sorry excuse for a configuration file parser.

6 years ago* Added -I directory index file command line option; default: index.goph.
Urban Wallasch [Sat, 6 Apr 2019 18:36:19 +0000 (20:36 +0200)]
* Added -I directory index file command line option; default: index.goph.
* Dropped -M message command line option.
* Refactored send file and send index logic.

6 years ago* Updated copyright year in LICENSE.
Urban Wallasch [Sat, 6 Apr 2019 15:01:40 +0000 (17:01 +0200)]
* Updated copyright year in LICENSE.

6 years ago* Added README.md. v0.2
Urban Wallasch [Sat, 6 Apr 2019 13:19:25 +0000 (15:19 +0200)]
* Added README.md.

6 years ago* Evaluate errors returned by guessFiletype().
Urban Wallasch [Sat, 6 Apr 2019 11:33:18 +0000 (13:33 +0200)]
* Evaluate errors returned by guessFiletype().

6 years ago* Set correct type '3' for error replies.
Urban Wallasch [Sat, 6 Apr 2019 10:27:21 +0000 (12:27 +0200)]
* Set correct type '3' for error replies.

6 years ago* Fixed a regression bug in handling of symbolic links.
Urban Wallasch [Sat, 6 Apr 2019 07:55:40 +0000 (09:55 +0200)]
* Fixed a regression bug in handling of symbolic links.
* Added option to disable directory indexes, in preparation for index page support.
* Some minor adjustments.

6 years ago* Send at least a generic error reply when we are unable to satisfy the request.
Urban Wallasch [Fri, 5 Apr 2019 21:38:48 +0000 (23:38 +0200)]
* Send at least a generic error reply when we are unable to satisfy the request.

6 years ago* Fixed comment.
Urban Wallasch [Fri, 5 Apr 2019 17:41:59 +0000 (19:41 +0200)]
* Fixed comment.

6 years ago* Include file modification time in directory listings.
Urban Wallasch [Fri, 5 Apr 2019 17:38:28 +0000 (19:38 +0200)]
* Include file  modification time in directory listings.

6 years ago* Incorporated generation of version.go into Makefile and dropped version.sh.
Urban Wallasch [Fri, 5 Apr 2019 15:28:45 +0000 (17:28 +0200)]
* Incorporated generation of version.go into Makefile and dropped version.sh.

6 years ago* Display symbolic links like regular files and directories, do not expose the the...
Urban Wallasch [Fri, 5 Apr 2019 15:04:00 +0000 (17:04 +0200)]
* Display symbolic links like regular files and directories, do not expose the the target path.

6 years ago* Added option to show dotfiles which are now hidden by default.
Urban Wallasch [Fri, 5 Apr 2019 14:55:23 +0000 (16:55 +0200)]
* Added option to show dotfiles which are now hidden by default.

6 years ago* Moved utility initialization to util.go.
Urban Wallasch [Fri, 5 Apr 2019 14:24:56 +0000 (16:24 +0200)]
* Moved utility initialization to util.go.

6 years ago* Split source into several files.
Urban Wallasch [Fri, 5 Apr 2019 14:04:48 +0000 (16:04 +0200)]
* Split source into several files.

6 years ago* Added automatic git version string generation.
Urban Wallasch [Fri, 5 Apr 2019 08:23:33 +0000 (10:23 +0200)]
* Added automatic git version string generation.

6 years ago* Fixed path canonicalize logic. v0.1
Urban Wallasch [Fri, 5 Apr 2019 07:48:43 +0000 (09:48 +0200)]
* Fixed path canonicalize logic.
* Added option to follow symbolic links (default: don't).
* Fixed default value for -f FQDN option.
* Renamed -d option to -r.
* Replaced os.File.Readdir() by ioutil.ReadDir() to get a sorted list.
* Removed dot-dot entry from top level menu.
* Removed HOME reference from directory listings.
* Several small fixes and minor improvements.

6 years ago* Added command line switch to specify FQDN.
Urban Wallasch [Thu, 4 Apr 2019 16:45:46 +0000 (18:45 +0200)]
* Added command line switch to specify FQDN.
* Display file sizes in human readable units.

6 years ago* Fixed partially initialized buffer bug in content type detection for short files.
Urban Wallasch [Thu, 4 Apr 2019 15:52:24 +0000 (17:52 +0200)]
* Fixed partially initialized buffer bug in content type detection for short files.

6 years ago* Added file type guessing.
Urban Wallasch [Thu, 4 Apr 2019 15:21:04 +0000 (17:21 +0200)]
* Added file type guessing.

6 years ago* Improved and more secure handling of paths and symbolic links.
Urban Wallasch [Thu, 4 Apr 2019 14:13:24 +0000 (16:13 +0200)]
* Improved and more secure handling of paths and symbolic links.
* General cleanup and refactoring.

6 years ago* Auto generate directory indexes.
Urban Wallasch [Wed, 3 Apr 2019 23:42:41 +0000 (01:42 +0200)]
* Auto generate directory indexes.
* Use io.Copy to send file contents.
* Refactored and reformatted source.
* Removed stage 1 test files.

6 years ago* initial commit
Urban Wallasch [Wed, 3 Apr 2019 19:13:43 +0000 (21:13 +0200)]
* initial commit