Commit Graph

  • 23df2c017b Configuration can now be assembled from a directory. tinuage David Soulayrol 2022-08-21 11:33:14 +02:00
  • 827a9c1481 Bug fix: File path is checked to make sure it's in the root directory or in ~/public_gemini master int 80h 2022-02-17 22:24:21 -05:00
  • eb129467f1 Bug fix: Another traversal bug. This time /..%2F int 80h 2022-02-09 21:50:18 -05:00
  • 406fea7b6c Bug Fix: file system traversal bug where %2F is treated as / int 80h 2022-02-02 18:03:04 -05:00
  • 2eabc3e893 Bug fix: the server would hang if there was an error with the config file int 80h 2021-12-30 17:28:46 -05:00
  • 0f07e7c2be Added Reload on SIGHUP int 80h 2021-12-29 22:40:01 -05:00
  • f7429f3ad6 Updated Cargo.toml to v0.6.2 int 80h 2021-12-27 20:47:21 -05:00
  • 0230134e39 Bug fix: time-rs crate panics when changing time to local so for now the logger uses utc int 80h 2021-12-27 20:33:06 -05:00
  • 57113d61c4 Added release-linux.yml to automatically build and upload tagged releases for linux int 80h 2021-12-27 19:54:34 -05:00
  • 34494da320 Added docker.yml int 80h 2021-12-27 15:01:53 -05:00
  • 6d11676da4 Bug fix: If text file wasn't utf8 it would fail and not send any response to clients. int 80h 2021-12-12 14:56:52 -05:00
  • f23fa8668b Added Dockerfile, updated README and pumped Version int 80h 2021-12-05 15:27:45 -05:00
  • 2de9594c0c Fixed regression in get_binary int 80h 2021-12-05 15:00:33 -05:00
  • f332604088 Cleaning up code int 80h 2021-12-04 20:42:59 -05:00
  • 0223e31622 Switched from openssl to Rustls int 80h 2021-12-01 21:25:37 -05:00
  • 9ece7c3d3b Updated version to 0.5.0 and updated deps int 80h 2021-11-26 20:32:55 -05:00
  • cecc6f5793 Changed host/port to interface and can now listen on multiple interface/ports int 80h 2021-11-26 10:41:17 -05:00
  • a022203074 Refactoring int 80h 2021-11-24 21:06:41 -05:00
  • 0e39b3dc80 Refactoring int 80h 2021-11-23 12:40:52 -05:00
  • 0afdf8075f Changed hostname check to be case insensitive int 80h 2021-11-21 16:02:38 -05:00
  • c7677ce2f2 Added .build.yml int 80h 2021-11-21 15:32:18 -05:00
  • 4fb31bec38 Small amount of refactoring int 80h 2021-11-21 15:04:26 -05:00
  • e5c44c2c53 Fixed redirect and scgi path when its the root url int 80h 2021-11-17 21:33:26 -05:00
  • 077357e0d9 Fixed clean shutdown int 80h 2021-11-15 21:32:23 -05:00
  • 76a5dabe94 Changed homepage to https to be able to upload to crates.io int 80h 2021-11-14 20:52:53 -05:00
  • f91113d96f Removed mut from runtime int 80h 2021-11-14 20:46:24 -05:00
  • fc1f2cbf33 Added fields in Cargo.toml int 80h 2021-11-14 20:36:53 -05:00
  • 9deac53413 Updated all deps int 80h 2021-11-14 18:24:37 -05:00
  • 2388cbda98 Handle macOS user paths when running on macOS Jessica Stokes 2021-02-20 17:25:48 -08:00
  • d68b815be4 Quote the "proxy_all" option Jessica Stokes 2021-02-20 17:00:10 -08:00
  • f9c41edcb4 don't round-trip CGI response through UTF-8 Melody Horn 2020-11-11 16:06:28 -07:00
  • 7be0d5fa1f Typo in ProxyRequestRefused meta Remco van 't Veer 2020-10-29 12:04:07 +01:00
  • 6fceccd2cd Avoid logging 0 characters Remco van 't Veer 2020-10-23 10:30:50 +02:00
  • ddecdbccb3 Updated lock and fixed dir list int 80h 2020-12-24 09:05:00 -05:00
  • ebc229643a Bump version and dependencies int 80h 2020-08-15 19:36:48 -04:00
  • d75af48844 Sort directory listings, grouped by dirs then files Kirk Strauser 2020-08-14 17:03:17 -07:00
  • b3879e3733 update config.toml and bumb version int 80h 2020-07-11 15:01:31 -04:00
  • 7f3248e92d Implement proxy_all for proxying entire domains Hannu Hartikainen 2020-07-09 00:58:17 +03:00
  • cb4ee95620 Stopped ignoring Cargo.lock in git int 80h 2020-07-05 18:27:45 -04:00
  • 12b1cf3923 Added CGI vars AUTH_TYPE, REMOTE_USER and TLS_CLIENT_HASH int 80h 2020-05-26 16:59:06 -04:00
  • 2582d1db45 Bumped version number int 80h 2020-07-05 14:16:08 -04:00
  • e0e426694b Add CGI env parameter PATH_INFO Hannu Hartikainen 2020-07-03 01:59:03 +03:00
  • ecba9a266d Url encoding and decoding int 80h 2020-06-08 13:21:45 -04:00
  • ac3b98d72f Add lang option int 80h 2020-06-08 00:05:45 -04:00
  • 543ce4c15e CFG int 80h 2020-05-28 23:55:32 -04:00
  • b1743749ab Strip CRLN int 80h 2020-06-06 13:41:05 -04:00
  • cfcaf3f7c7 Error handling int 80h 2020-05-29 23:34:49 -04:00
  • 213bd81803 Updated Readme int 80h 2020-05-29 16:35:52 -04:00
  • 258d2b9ef6 Added log levels int 80h 2020-05-28 17:56:42 -04:00
  • 44f37e139b If there's no extension or unknown file type it will send text/plain int 80h 2020-05-28 17:28:00 -04:00
  • 014b7c938b Added UPDATING FILE. also fixed a few bugs int 80h 2020-05-28 16:34:48 -04:00
  • 2f89d8cb9a Fixed typo in config.toml int 80h 2020-05-28 15:30:48 -04:00
  • cc757b3bdd Added Openrc init script int 80h 2020-05-28 15:25:12 -04:00
  • bec2d0e858 Added timeout to readme int 80h 2020-05-22 15:51:48 -04:00
  • 77fdc18097 Timeout for request and cgi int 80h 2020-05-22 15:12:28 -04:00
  • e9f71f600d SCGI int 80h 2020-05-17 00:17:35 -04:00
  • 5c7f0f2275 Updated README int 80h 2020-05-23 18:03:55 -04:00
  • 5c00fb24fd Fixed bugs in cgi-everywhere int 80h 2020-05-23 17:55:26 -04:00
  • 16f9358128 Fixed bug with index int 80h 2020-05-23 17:38:22 -04:00
  • 56384f35d0 CGI Everywhere int 80h 2020-05-23 14:33:01 -04:00
  • 8ebe1becf1 Bug fix: removed unwrap in mime guess int 80h 2020-05-23 16:45:51 -04:00
  • fadd8fd8b9 Bump version int 80h 2020-05-23 13:20:31 -04:00
  • d63152bc5b Changed tab to space in header int 80h 2020-05-23 13:16:13 -04:00
  • 5060977fd9 Added timeout to readme int 80h 2020-05-22 15:51:48 -04:00
  • 12ed0e7c03 Timeout for request and cgi int 80h 2020-05-22 15:12:28 -04:00
  • e80abd0553 Fixed bug where usrdir could be false but still pass int 80h 2020-05-20 12:22:24 -04:00
  • c27688d7d7 Updated README int 80h 2020-05-19 16:42:59 -04:00
  • 41d3447b83 Reorginized config int 80h 2020-05-19 14:25:16 -04:00
  • 0cc3f8205e Added NetBSD instructions int 80h 2020-05-15 16:59:04 -04:00
  • 4ebc2ff8fb The index file is now configurable int 80h 2020-05-14 20:59:00 -04:00
  • b5c85a3f70 Fixed bug with pocket gemini int 80h 2020-05-14 16:31:48 -04:00
  • 3fff95daec Added default server if client doesn't use sni int 80h 2020-05-14 15:33:45 -04:00
  • dfae3705c4 Added redirect and cgienv int 80h 2020-05-13 21:42:00 -04:00
  • 929a11a91c Added init script. Cleaned up imports int 80h 2020-05-12 23:55:32 -04:00
  • 57e370b52c Added logger.rs int 80h 2020-05-12 21:17:29 -04:00
  • ea2c67c72f Added to_str for Status int 80h 2020-05-12 19:45:21 -04:00
  • 51a78ad04a Fixed bug with base url and proxy enabled int 80h 2020-05-10 20:48:46 -04:00
  • 4eb65aabef Updated config.toml and README int 80h 2020-05-10 17:26:26 -04:00
  • 26b55f7d1e Revproxy is working. Added example cgi script int 80h 2020-05-10 17:18:14 -04:00
  • ae2d7e0092 Merge branch 'openssl' into revproxy-openssl int 80h 2020-05-09 20:56:58 -04:00
  • 5a90aaffc1 Switched rustls for openssl int 80h 2020-05-09 18:49:04 -04:00
  • 24a47ccd70 Port checked from config int 80h 2020-05-08 16:12:09 -04:00
  • 839c6bbf81 Revproxy can't connect int 80h 2020-05-08 16:02:55 -04:00
  • a066e54acc Changed main to only look at the config once instead of per connection int 80h 2020-05-06 23:19:34 -04:00
  • 83163f9a95 Fixed some errors found by jetforce_diagnostics.py int 80h 2020-05-05 23:58:02 -04:00
  • b8e2ff3fd8 Handle some errors int 80h 2020-05-05 19:31:31 -04:00
  • f50a748bde Updated README, added ~usrdirs and now checks permissions int 80h 2020-05-04 20:59:39 -04:00
  • c077d94835 Changed dir list int 80h 2020-05-03 16:36:38 -04:00
  • 82245b4778 Return 'text/gemini' if no file extension int 80h 2020-05-02 18:33:28 -04:00
  • 36036dc716 Added config.toml, README and LICENSE int 80h 2020-04-28 18:49:34 -04:00
  • 6a118ad66a Added command line to find config int 80h 2020-04-28 17:54:50 -04:00
  • 596783d613 Changed util to conn int 80h 2020-04-28 16:21:31 -04:00
  • f0e6056033 Added binary send int 80h 2020-04-27 22:25:44 -04:00
  • c37a12ae15 Adding meta int 80h 2020-04-27 18:25:09 -04:00
  • 9f9c35b248 Made the send functions methods of Connection struct int 80h 2020-04-27 15:37:54 -04:00
  • f8006616f3 Added time int 80h 2020-04-27 15:05:12 -04:00
  • 5cf4e41863 Added cgi and util mod int 80h 2020-04-23 18:35:33 -04:00
  • a5c52dd4d9 CGI works but no time out or other safeties int 80h 2020-04-23 00:00:23 -04:00
  • ac75542dc6 Added send function int 80h 2020-04-22 20:15:23 -04:00
  • a3d3cc7214 Moved function to another file int 80h 2020-04-21 21:09:57 -04:00