1
0
forked from aniani/gmnisrv

Commit Graph

  • 41c4bfecc7 README.md: add maintenance notice master Drew DeVault 2023-01-16 13:33:40 +0100
  • 95138564ac Close some files when too many are open Remy Noulin 2022-11-22 08:03:22 +0100
  • 132f2ececc notify clients about malformed requests Julian Maingot 2022-07-30 17:24:36 -0700
  • 1925bc3e7a serve: make hostname matching case-insensitive William Casarin 2021-11-15 10:25:30 -0800
  • 5783501752 set session id context 1.0 mbays 2021-08-26 18:52:34 +0200
  • 32854b79c7 Check index before serving autoindex Karmanyaah Malhotra 2021-06-21 03:53:06 -0400
  • 9f2481dcdf Support REMOTE_USER in CGI dece 2021-06-17 13:25:27 +0200
  • d7bd3c6a0d Support TLS_CLIENT_SERIAL_NUMBER in CGI dece 2021-06-17 13:25:26 +0200
  • 0bf3cde2a0 Use strncpy to build TLS_CLIENT_HASH dece 2021-06-17 13:25:25 +0200
  • b9a92193e9 disconnect_client: fix index calculation Eyal Sawady 2021-05-16 15:53:47 -0400
  • 53e4ce4abd Create certificates which last 68 years (INT32_MAX seconds) Thomas Karpiniec 2021-05-15 13:38:27 +1000
  • 0dc0e4432a Revert "Routing: Fix non-ascii paths" Drew DeVault 2021-05-04 09:43:23 -0400
  • 8b65e303b0 Fix integer overflow error in tls.c bacardi55 2021-03-23 20:04:20 +0100
  • f23ec10a6d Move certificate expiration into the far future Drew DeVault 2021-03-04 11:04:46 -0500
  • ae7ca3db39 Send client certificate hash for CGI scripts. nytpu 2021-02-10 18:14:41 -0700
  • 6d9dd838e4 ignore SIGCHLD to prevent CGI zombies Nolan Prescott 2021-02-07 00:51:10 -0500
  • d1ccb60a52 Use v3 X509 certificate Matt Keeter 2021-02-02 20:33:03 -0500
  • 32913c35cd implement handling of ROUTE_EXACT definitions René Wagner 2021-01-27 20:57:18 +0100
  • ea360fa4c1 Routing: Fix non-ascii paths Zach DeCook 2021-01-20 23:46:59 -0500
  • fbef1d34a1 autoindex: fix off-by-one buffer size Zach DeCook 2020-12-27 08:00:15 -0500
  • eac874b925 autoindex: end directories with trailing slash Zach DeCook 2020-12-22 23:23:15 -0500
  • 61bf4c53aa Fix IP address logging Nolan Prescott 2020-12-18 21:30:42 -0500
  • cb2c84b0ad Switch to using ECDSA (secp384r1) keys Mark Dain 2020-11-21 13:56:37 +0000
  • 10662cac46 serve: handle return value from chdir William Casarin 2020-11-20 08:17:13 -0800
  • c538c2aae9 gitignore: add *.5 Eyal Sawady 2020-11-15 12:00:12 -0500
  • cb042d6263 CGI: Don't hang on directory with no index Eyal Sawady 2020-11-15 11:32:59 -0500
  • 0646fd020c CGI: Fix paths which end in '/' Eyal Sawady 2020-11-15 10:54:36 -0500
  • 05a71905f9 Fix typo in documentation for $GATEWAY_INTERFACE Eyal Sawady 2020-11-11 00:31:02 -0500
  • 9fd9eef9d7 Fix use of wrong index during pollfd refresh Kenny Levinsen 2020-11-10 14:05:43 +0100
  • fdd27bb4c1 Update pollfd pointers when destroying a client Kenny Levinsen 2020-11-08 23:59:41 +0100
  • 74077b6f95 Prevent double free of client resources Drew DeVault 2020-11-08 16:37:53 -0500
  • ea2914efff Set CWD to cgi-bin when executing scripts Drew DeVault 2020-11-08 12:16:59 -0500
  • 57f4fcdc41 Fix double free Drew DeVault 2020-11-08 12:12:43 -0500
  • 02a386b568 check if file served as cgi is executable René Wagner 2020-11-05 14:42:45 +0100
  • c145ac6a65 fix typo in GATEWAY_INTERFACE value dbandstra 2020-11-07 23:14:52 +0000
  • 4b2c3afdb0 Set POLLOUT only when there's something to write mbays 2020-11-08 14:30:45 +0100
  • ea40fb5a53 tls: fix crash when opening priv key for writing William Casarin 2020-11-07 10:57:36 -0800
  • 7aedbed774 Don't memmove one past clients Tom Lebreux 2020-11-07 07:56:48 -0500
  • d20caf389b Fix not moving all fds Tom Lebreux 2020-11-07 00:12:00 -0500
  • 4f12abfbc2 Fix memory leaks Tom Lebreux 2020-11-07 00:09:42 -0500
  • d484ba0ab0 config/routing: fix maybe-uninitialized errors William Casarin 2020-11-02 09:29:01 -0800
  • b45ddd813b Add mailcap to dependencies Drew DeVault 2020-11-01 14:24:31 -0500
  • dc6e4e80c0 Implement URL rewrites with regex capture groups Drew DeVault 2020-11-01 11:19:51 -0500
  • 953039e0b1 gmnisrv.ini(5): clarify tokens in route config Drew DeVault 2020-11-01 10:34:41 -0500
  • 16e55c6262 Change meaning of root (backwards incompatible!) Drew DeVault 2020-11-01 10:30:35 -0500
  • 36e53f1f7f It's actually ECMAScript 2018 compatible Drew DeVault 2020-11-01 10:21:01 -0500
  • 0ba984b841 regexp.c: ditch unused test code Drew DeVault 2020-11-01 09:50:48 -0500
  • 4b6f5a1c61 Clarify regex details in gmnisrv.ini(5) Drew DeVault 2020-11-01 09:48:10 -0500
  • f15bea6583 Implement regex route matching Drew DeVault 2020-11-01 09:43:46 -0500
  • 70fadc21b9 Drop most of the unicode tables Drew DeVault 2020-10-29 23:30:49 -0400
  • 7e8a953794 Initial pass on regex routing support Drew DeVault 2020-10-29 22:47:56 -0400
  • a26573251b Fail gracefully if mime database is not present Drew DeVault 2020-10-28 12:49:47 -0400
  • 077b96d3cc config: free more routing information on finish Drew DeVault 2020-10-28 12:43:05 -0400
  • becc4460b6 Implement MIME database support Drew DeVault 2020-10-28 12:38:32 -0400
  • ac6145ed6a server: handle write errors Drew DeVault 2020-10-28 12:36:05 -0400
  • da6f7e9f05 CGI: Fix SCRIPT_NAME variable Drew DeVault 2020-10-26 18:16:05 -0400
  • 5d725ff4ee CGI: set PATH_INFO Drew DeVault 2020-10-25 23:35:19 -0400
  • cc1bd152e3 Initial support for CGI scripts Drew DeVault 2020-10-25 23:16:50 -0400
  • 8baeb5a51c Initial implementation of a routing table Drew DeVault 2020-10-25 21:46:01 -0400
  • 1fe107875b Overhaul network I/O to be async for real Drew DeVault 2020-10-25 14:50:07 -0400
  • a22bec5149 add a missing "/" to autoindex paths io mintz 2020-10-13 07:05:10 +0000
  • e77f354ca3 serve: fix gcc-9.3.0 error in serve_autoindex William Casarin 2020-10-15 08:48:07 -0700
  • 9d17ce46b0 return false on request_validate errors Chris Vittal 2020-10-12 00:35:02 -0400
  • cff1f71f1a Change assert to 2-param version to comply with C11. Kevin Sangeelee 2020-09-29 22:55:39 +0100
  • 477bf5db81 Bubble up client disconnect state Drew DeVault 2020-09-27 13:54:19 -0400
  • a9ee61418f Break after processing polled client Drew DeVault 2020-09-27 12:11:11 -0400
  • 7fed84898b Only handle one client per poll iteration Drew DeVault 2020-09-27 10:18:52 -0400
  • 1f229ba123 mime: add .xml -> text/xml Drew DeVault 2020-09-27 00:46:38 -0400
  • 71bbd1b315 server.c: re-locate definitions to appropriate scope Drew DeVault 2020-09-26 18:54:32 -0400
  • f3075e4bbd README.md: update example config Drew DeVault 2020-09-26 18:51:24 -0400
  • 57893ff09c Set SO_REUSEADDR Drew DeVault 2020-09-26 18:24:32 -0400
  • f6602ddd08 server.c: appease GCC's magic pixie bullshit Drew DeVault 2020-09-26 18:13:11 -0400
  • 6d866ba3df server.c: import netinet/in.h Drew DeVault 2020-09-26 17:54:40 -0400
  • 53bf5bc54f config.ini: change suggested root directory Drew DeVault 2020-09-26 17:46:56 -0400
  • 534efe8e34 Fix size of in{,6}_addr Drew DeVault 2020-09-26 17:33:13 -0400
  • 814a6e7657 Document (and tweak) log format Drew DeVault 2020-09-26 17:02:06 -0400
  • c601583f7d README.md: formatting Drew DeVault 2020-09-26 16:46:07 -0400
  • a35a910c63 Add dependency list Drew DeVault 2020-09-26 16:45:43 -0400
  • 0933880b2b Documentation Drew DeVault 2020-09-26 16:43:34 -0400
  • fc036335eb Remove [:tls] email directive Drew DeVault 2020-09-26 16:41:11 -0400
  • 50d21c03f5 Free up resources throughout Drew DeVault 2020-09-26 16:10:10 -0400
  • e9641dbf1e disconnect_client: free more client resources Drew DeVault 2020-09-26 15:53:37 -0400
  • 6bc9c4deb9 Implement autoindex option Drew DeVault 2020-09-26 15:51:28 -0400
  • 165e3c02fc Rehome some logic from server.c -> serve.c Drew DeVault 2020-09-26 15:08:25 -0400
  • 61bc033740 Okay, time to quit fucking around with BUFSIZ Drew DeVault 2020-09-26 15:00:40 -0400
  • d4d8ea646c Turns out BUFSIZ is small sometimes Drew DeVault 2020-09-26 14:56:18 -0400
  • 48f75abcfd Bump client buffer size to BUFSIZ Drew DeVault 2020-09-26 14:45:17 -0400
  • 9bed26b8d9 Log response body size in bytes Drew DeVault 2020-09-26 14:41:17 -0400
  • dfab99ace5 Serve files from root Drew DeVault 2020-09-26 14:36:52 -0400
  • 0d6eca2c79 disconnect_client: clean up bios Drew DeVault 2020-09-26 13:58:51 -0400
  • 264c3b4602 Always log server messages to stderr Drew DeVault 2020-09-26 13:40:20 -0400
  • ce467cebd3 Parse requests and serve simple responses Drew DeVault 2020-09-26 13:39:37 -0400
  • 5388725d41 Use O_NONBLOCK for client file descriptors Drew DeVault 2020-09-26 10:53:22 -0400
  • fa69887e52 Implement TLS exchange with clients Drew DeVault 2020-09-24 19:58:34 -0400
  • 7af04ea471 tls: move cert/key into host structure Drew DeVault 2020-09-24 17:55:10 -0400
  • 0d1137f987 Implement TLS store Drew DeVault 2020-09-24 17:51:29 -0400
  • e15aca171d configure: add --libdir Eyal Sawady 2020-09-24 14:39:36 -0400
  • 85a85b37f8 Log bind addresses on startup Drew DeVault 2020-09-24 11:15:04 -0400
  • b14e33c349 Add README.md Drew DeVault 2020-09-24 11:11:48 -0400
  • b85c64b441 Generalize logging Drew DeVault 2020-09-23 14:32:52 -0400