2024-05-17T03:21:12Z https://git.thebackupbox.net/shell-daemons/commit/540c2c94a96f61164823d77e6bdaa5a542d1f906 websocket.cgi.c was trying to send write -1 length data to subprocess after sending back a pong. also arguments are now what is being ran instead of hard-coded /var/websocket/handler 2024-04-19T07:48:03Z https://git.thebackupbox.net/shell-daemons/commit/66e5084ee7d9944f01f7eed33f67a3cc2ed56f43 remove child kill code. the httpd calling this CGI can kill all the children. add support for ping, pong, and timingout 2024-02-19T19:36:35Z https://git.thebackupbox.net/shell-daemons/commit/881116c36332173ef0407779d1d1d3b4d52f9c85 poll-my-finger-ring was expect user@host format for third field instead of a finger URI. using uricut from uritools repo to parse those now. 2024-02-19T19:35:28Z https://git.thebackupbox.net/shell-daemons/commit/bc45a254b0686b0950a61fa1070c95db3759d3ab was missing a newline at the end of a message 2024-01-20T07:10:41Z https://git.thebackupbox.net/shell-daemons/commit/96e079a2f1992093f63cde87c10972499050a1ad trying to get websocket.cgi to actually clean up its mess 2024-01-20T07:08:17Z https://git.thebackupbox.net/shell-daemons/commit/2f1c4d9925bd5da99f55574dc09b12b8e01c19dd deleted gopherd-tiny. rearranged, cleaned up, removed old code from httpd. added gzip content-encoding support to httpd and its cgi handler 2023-12-15T07:02:07Z https://git.thebackupbox.net/shell-daemons/commit/4c97584ae716b700e79459513bc81706ff477919 someone thought of serving blog posts over finger or something, so I added a way of doing that. other small changes. 2023-12-15T07:00:57Z https://git.thebackupbox.net/shell-daemons/commit/88dcdd52a5117750a5004b423bb33d147647751f added a tiny gopher daemon written in Perl. a "PH daemon" written in shell, and a script to run ident on a remote service we connect to. 2023-10-18T21:57:33Z https://git.thebackupbox.net/shell-daemons/commit/35c4e8b9f97f81f65af4bcbc2e3855ec58196ccb Merge branch 'master' of ssh://git.thebackupbox.net/shell-daemons 2023-10-18T21:56:44Z https://git.thebackupbox.net/shell-daemons/commit/07de7558c2ef34ae9abf5856cb7f3c3a7e725e17 actually put a serious license on two files by request 2023-10-16T07:35:52Z https://git.thebackupbox.net/shell-daemons/commit/466b69de5aa081ce6f1b5aa87de3e7863be8d93d copyright information added 2023-08-28T08:49:34Z https://git.thebackupbox.net/shell-daemons/commit/dbb1d227e5ff4feeed98e81d1e57309f08988fed tell HTTP clients to fuck off. added crappy PHP "support" 2023-05-20T22:46:46Z https://git.thebackupbox.net/shell-daemons/commit/459d2548ddb22e8867ccf27dc410a42bdf37190d not a shell script I guess, but gopherd-tiny does pretty close to absolute minimum safely enough 2023-04-25T21:53:04Z https://git.thebackupbox.net/shell-daemons/commit/c52234adc419a249406765b51ee2120f53059590 a lot of websocket.cgi.c got changed. seems stable enough now though. 2023-03-03T21:30:57Z https://git.thebackupbox.net/shell-daemons/commit/90821030f6a6e2ca579678cdaadc9f8c833a4e6f added a logger line and a handy message if the user's finger response won't work 2023-02-25T09:54:14Z https://git.thebackupbox.net/shell-daemons/commit/ee42736a727c6507bfdbfcf7af748d58afa933c1 coule changes to work with php 2023-02-25T09:53:40Z https://git.thebackupbox.net/shell-daemons/commit/39f97ca908b9912494aad90165bf14b172e32260 added some php support, and attempted to prevent tilde dirs from working for *all* vhosts 2023-02-25T09:51:47Z https://git.thebackupbox.net/shell-daemons/commit/c46f0c269433d9af8c1687de81111c7c92cd3d08 fixed a redirect bug that wasn't taking PATH_INFO being empty into account, also default to autoindex 2023-02-25T09:25:43Z https://git.thebackupbox.net/shell-daemons/commit/ae6910219fd8e2e706ec4740e78a9f6fc13ab640 automatically recheck all fingers on the ring list 2023-02-24T09:48:10Z https://git.thebackupbox.net/shell-daemons/commit/0bec9d9f2e815ad5e86cedd7fab0263eba7510e2 added finger ring fun 2022-08-11T22:12:32Z https://git.thebackupbox.net/shell-daemons/commit/af1e712aa3b0a8617766f09e2b915e067011132d Merge branch 'master' of ssh://git.thebackupbox.net/shell-daemons 2022-08-11T22:11:43Z https://git.thebackupbox.net/shell-daemons/commit/00e738e2fc125cb9450db72554b2ba3a2972a621 properly 404 if we do not pass PATH_INFO to a CGI 2022-08-01T07:05:30Z https://git.thebackupbox.net/shell-daemons/commit/ef516d5efbcd3e35bc034aa2d2fc9932f6a4e4c1 made read_headers not explode when ran naively. 2022-08-01T07:04:56Z https://git.thebackupbox.net/shell-daemons/commit/dd10ffeaddf980d5ae5d9a02363b1a0e76b345ec finally took the three places where I run CGIs and put it into an external script 2022-06-17T06:36:06Z https://git.thebackupbox.net/shell-daemons/commit/7c45081d9bfae87b14757425b610a3e70c6be7bf cd into the dir a CGI is running in before running it. set as many env vars as we can. error message on a previously untested case. 2022-06-12T10:04:54Z https://git.thebackupbox.net/shell-daemons/commit/61d88412cd2c5818b1eda276f14ad0b7928c1e39 added supersu 2022-06-12T10:01:50Z https://git.thebackupbox.net/shell-daemons/commit/cc4483286056e50c1d70c13d1a12d45bf4b2bc06 added sockip and peerip helpers 2022-03-23T02:09:11Z https://git.thebackupbox.net/shell-daemons/commit/58b92336ad6833ff881e071cbbd981ad23b6bead lowered the bs of dd so streams from CGIs are per-byte instead of per-chunk 2022-03-23T02:08:21Z https://git.thebackupbox.net/shell-daemons/commit/d2929e3363afbfa5020da92c88629b93f017e46c very terrible kind of working version of websocket.cgi.c 2022-02-18T07:47:35Z https://git.thebackupbox.net/shell-daemons/commit/8fabffbb8b34893fa4b566b1ce6f795c955417d0 actually made it read files instead of just the request 2022-02-18T07:27:13Z https://git.thebackupbox.net/shell-daemons/commit/a3737c58fcf678dd069ea3cc349fe6315252a035 minimal spartand that just shows env vars 2022-02-10T00:56:38Z https://git.thebackupbox.net/shell-daemons/commit/dc9d999b27302c98fb088df0d26dfc35283a60f8 more logging. I wanted to see referers too. also, return 408 if request times out 2022-01-20T11:08:22Z https://git.thebackupbox.net/shell-daemons/commit/e921ece42bbcc6fe802d19fb1d6d7825e5f99837 fmrl relay 2022-01-07T04:54:49Z https://git.thebackupbox.net/shell-daemons/commit/8ead2641c5159fb76df7b09bdd986dffce71ad82 convert IPv4 as IPv6 address to a plain-IPv4-looking address 2022-01-05T06:57:15Z https://git.thebackupbox.net/shell-daemons/commit/5d941dea82e880f0f0ebeb031efcb2b9c427607c forgot to add finger daemon. last commit, the Makefile would fail on install target. 2022-01-05T06:54:22Z https://git.thebackupbox.net/shell-daemons/commit/2e2f7bca5d340460c862abd21268af41fe2fd60e the source file for that thing I added to the Makefile two commits ago 2022-01-05T06:53:59Z https://git.thebackupbox.net/shell-daemons/commit/54e59429f63474164f5713b877c9468dde6fe79f PATH_INFO broke some stuff and this appears to be stuff I did to fix some of the borkedness 2022-01-05T06:52:59Z https://git.thebackupbox.net/shell-daemons/commit/9cc2953a137e1a9b2bf99c4b704fca43b5750987 added rfc7231date to Makefile and added missing stuff to clean up to clean target 2021-12-03T04:28:31Z https://git.thebackupbox.net/shell-daemons/commit/ae5d1945a4ece19cb4a0148d5df34e3606424e29 added an X-Debug header so it is easier to see where your error pages are coming from. also was missing some usual headers in a couple spots. 2021-11-19T07:19:14Z https://git.thebackupbox.net/shell-daemons/commit/14c733f23770ff11063dc04bf5fc7bc4b08300d6 normalize request domain to lower-case. comment out some debug messages. use an earlier variable instead of deriving the same value again. 2021-11-14T07:48:25Z https://git.thebackupbox.net/shell-daemons/commit/41b79cdae26385695c7765e9cefc913ef4c9d3ff added things to gitignore 2021-11-14T07:46:56Z https://git.thebackupbox.net/shell-daemons/commit/c3bdc2ffaad68927ed9d8c52d548fa55ba205680 some derpy coin daemon I made 2021-11-14T07:46:17Z https://git.thebackupbox.net/shell-daemons/commit/432a3699278209d18fca9375b79e8cdda53b38ba ident stuff added. 2021-11-14T07:45:35Z https://git.thebackupbox.net/shell-daemons/commit/359b9bf28d84f13ebbaed22d911ee1bf14b29a97 added dict and ident stuff to Makefile 2021-11-14T07:45:14Z https://git.thebackupbox.net/shell-daemons/commit/742e7da66f59f624e23e30fa5838d1c12de2a865 geminid now does user CGIs and drops privs from root to that user or to gemini user 2021-11-14T07:44:39Z https://git.thebackupbox.net/shell-daemons/commit/66951a88e1c8a71ea66e39bbd5dcd669982dd82f change the gemini2html call to not cause duplicate header and footer html. status codes now also do messages 2021-10-19T06:31:36Z https://git.thebackupbox.net/shell-daemons/commit/79688f74086747187974743150403eeef183dbb5 was adding an extra \n for no good reason 2021-10-19T06:08:14Z https://git.thebackupbox.net/shell-daemons/commit/d88dc5712167c0d7baac91faabab036666e9c4be added alpha version of dictd 2021-09-28T08:47:32Z https://git.thebackupbox.net/shell-daemons/commit/cba2e87a70ff1243d5ae8e36548fa8061bab1ef2 cleaned up some comments and fixed the broken loops in --set and --unset 2021-09-20T08:24:45Z https://git.thebackupbox.net/shell-daemons/commit/69e3cc1ca79457ae95d7223a4d803b59eccf21e5 fixed comment about a missing feature that I added last commit. 2021-09-20T08:17:11Z https://git.thebackupbox.net/shell-daemons/commit/2a2e655201b307c42e4a9e7339d33bf7363ad0d8 first-pass at getting unquoted values working too. 2021-09-20T08:04:58Z https://git.thebackupbox.net/shell-daemons/commit/daca99bf67d9e587d50b0931edc6ff3c667d9ac2 added a partially working auth-param parser for easier use of scripting the parsing of HTTP Signature headers 2021-08-11T01:46:10Z https://git.thebackupbox.net/shell-daemons/commit/135dbc1a727057af92f290382a81a445bdb847c0 rearranged the main loop in mime-type. duplicated a bit of code, but as long as it does not have to use file --mime-type for everything, it will go faster than it used to. now uses wordtr from the examples in libhashtable so... I guess install that shit too. 2021-08-09T11:45:01Z https://git.thebackupbox.net/shell-daemons/commit/efccad5d3b9c71c3c2e46d62ddc44a28b581b0a9 added some helpful other ways of running mime-type, like setting, unsetting, and verbose for the new multi-file ability so you can tell what file it is. 2021-05-08T06:52:45Z https://git.thebackupbox.net/shell-daemons/commit/59e9a885c69627d5e5259c450b0baff52c5160c3 query_param was busted I guess. just barely. 2021-05-08T06:52:19Z https://git.thebackupbox.net/shell-daemons/commit/259f5b33c8c62dca6a96033b7baba220adc26200 added some unicode file extension for gemini symbol to be text/gemini and irc file extension to be text/irc... as if anyone knows how to interpret those 2021-05-08T06:50:41Z https://git.thebackupbox.net/shell-daemons/commit/6248d020153492d173f534945022ec8b6930ee9c I don't remember. stop bothering me with commit messages. 2021-05-08T06:50:01Z https://git.thebackupbox.net/shell-daemons/commit/89b762c9f022e59c817fadfe3e3eefee72b3f2a8 switched from using $path to $SCRIPT_FILENAME and added the better PATH_INFO handling using path_info_find. probably other stuff. check a diff. 2021-05-08T06:48:05Z https://git.thebackupbox.net/shell-daemons/commit/3abd3561c7ffc9db8336d46055050315467e9e35 added a new non shell script that httpd and geminid use for finding PATH_INFO path_info_find. no idea how I came up with the name. 2021-05-08T06:46:39Z https://git.thebackupbox.net/shell-daemons/commit/74b8eee7b9d504e9f01e7a36b9bf9c9669ddc6d1 added better PATH_INFO determining, put SERVER_PROTOCOL into a variable, set it to 1.0. moved some stuff around... I should have commit'd sooner. 2020-11-08T23:01:44Z https://git.thebackupbox.net/shell-daemons/commit/e135389ad00071fda39cb995d8fa04d8111221de added http2gemini script for use by gemini proxies just needing to pass along HTTP responses. 2020-11-02T03:01:27Z https://git.thebackupbox.net/shell-daemons/commit/887b64c8ecf84a55823550dd06ecb1641c37a8a0 added support for user CGIs in the httpd which I did by making it assume it is running as root... yeah. how much do you trust my shell-coding to not open a root hole? 2020-11-02T02:33:38Z https://git.thebackupbox.net/shell-daemons/commit/f9da4a65b1c0d0d40c4f8961d10eb22f8bbbf5a2 forgot to add gopherd to Makefile 2020-11-02T02:33:09Z https://git.thebackupbox.net/shell-daemons/commit/61a34b1f59334b661f6d361946ea7cfcaef62540 added fallback host if SNI is not sent by client. fixed bug caused by change in normalpath. added index.cgi support. removed couple comments. added file-extension guessing so /derp will try /derp.cgi and /derp.gmi which makes URLs cleaner 2020-09-18T04:32:13Z https://git.thebackupbox.net/shell-daemons/commit/0fde8919c900c91db52fc7ace48944ff0cbe46c7 added query param to make install target 2020-09-18T04:29:06Z https://git.thebackupbox.net/shell-daemons/commit/afff1aa458fc170b7c38baf3900bca829a5d7722 hurray. some tests failed and I fixed them. 2020-09-18T04:22:03Z https://git.thebackupbox.net/shell-daemons/commit/b0b04ab79f6e736892665bbac241bf9e45a66120 added a usage: for when no arguments. attempted to prevent any possible overflow by allocating /at least/ enough based on the length of the expanding string where the string gets expanded compared to the input 2020-09-18T03:56:02Z https://git.thebackupbox.net/shell-daemons/commit/40a9a1c2dc3f312c53b0fe2670636896ee44b891 actually deleted the test output 2020-09-18T03:55:32Z https://git.thebackupbox.net/shell-daemons/commit/ce6409ec8e9e2e413f4fdaef71d861e58770e8d4 added tests/normalpath.output to git ignore 2020-09-18T03:54:18Z https://git.thebackupbox.net/shell-daemons/commit/741acda299d540bc7f894440998320ca69d58ae9 added 3 more tests. multiple ../s from root, invalid user home, and invalid user home subdir 2020-09-18T03:53:40Z https://git.thebackupbox.net/shell-daemons/commit/6923bfc4b8ee345c1e4daa2b80d00f65316803f0 fixed the case where you use an invalid username after a tilde 2020-09-18T03:53:04Z https://git.thebackupbox.net/shell-daemons/commit/ca1dc07f4b0749c84a54eb1bf79885b514208294 make clean now cleans up tests. make all does make test 2020-09-18T03:39:32Z https://git.thebackupbox.net/shell-daemons/commit/e07d2bf09a6232cdf1f9456a0685923296748a89 readme now mentions the C programs 2020-09-18T03:37:42Z https://git.thebackupbox.net/shell-daemons/commit/6c86ea63b80a445e55b8fd25b95802c69d1f155d added tests for normalpath. I have no idea what I am doing with tests. added a "clean" and "test" target to the makefile. updated normalpath to handle some cases I thought of while making tests 2020-09-13T23:08:56Z https://git.thebackupbox.net/shell-daemons/commit/bd837da8409d41ebdebe12b877a1f545f9111c3f forgot to remove an echo $0 I was using for testing 2020-09-13T23:05:44Z https://git.thebackupbox.net/shell-daemons/commit/b41d8148c1f127553b3d4e3d98aee3164d0271f1 added includes and some other fixes that pedantic walls suggested. thank you, compiler 2020-09-13T23:04:54Z https://git.thebackupbox.net/shell-daemons/commit/35f82d8b806d67b376a72f6d528fba006895fdf9 added a pedantic wall 2020-09-13T22:59:36Z https://git.thebackupbox.net/shell-daemons/commit/a86aa14e770dc75d1a81cadf942a779d5788788b added two more binaries to gitignore. Makefile now build query_param too 2020-09-13T22:58:14Z https://git.thebackupbox.net/shell-daemons/commit/fb421016a8e9d8a369032f22174a1fb34ccaa45c made a Makefile so you can do make install and to build the C programs in here 2020-09-13T22:57:42Z https://git.thebackupbox.net/shell-daemons/commit/2a0c6ce5ba9a240fe954032e3a4c08505e7d7e4f added a couple SERVER_ env vars that CGI scripts might want to use 2020-09-13T22:57:13Z https://git.thebackupbox.net/shell-daemons/commit/66aa51c405f1dca875fb127a716434ff77f4c5a7 added a few comments 2020-09-13T22:50:17Z https://git.thebackupbox.net/shell-daemons/commit/b2bdd88559961d103705ffcc44ba6bf21e795ffa made a C program to read headers from stdin and put them into the environment so the httpd is now two-staged 2020-09-01T16:13:42Z https://git.thebackupbox.net/shell-daemons/commit/69747592d2cb6e86dc975428ab49c349454ca789 was missing characters in the HTTP_HOST whitelist for raw IPv6 addresses 2020-08-28T17:29:18Z https://git.thebackupbox.net/shell-daemons/commit/cfdfb4a3a39a263621482b0af34f6279db81adf1 added a .gitignore for query_param 2020-08-28T17:28:44Z https://git.thebackupbox.net/shell-daemons/commit/6a2c12d62d1a6a1edd137ca2f275329070c6c0b0 same thing that the geminid got in the last commit, but I also made home dirs work for homes that are not in /home 2020-08-28T17:27:40Z https://git.thebackupbox.net/shell-daemons/commit/d2777a2adb9b80658724b942be4e3353095de98d added the ability for a 404 to be turned into a script-call... so any user with a home dir and ~/public_gemini can run whatever script they want as the gemini daemon. do not use this unless you are sure you know what is going on 2020-08-21T06:21:13Z https://git.thebackupbox.net/shell-daemons/commit/1c18b640f841520647ad34aca60c5cef5df2e51e added a little C program (yes, I know, this repo says "shell-daemons", but this is a helper program, not the "daemon" part) to extract a query string parameter value from QUERY_STRING env var 2020-08-21T06:19:38Z https://git.thebackupbox.net/shell-daemons/commit/7d3d222f42eaa175c29f15eb98aafad547dbeb6d I think I might have made things better instead of worse. oh well 2020-08-21T06:19:02Z https://git.thebackupbox.net/shell-daemons/commit/c14274c573ca8c9756fa7e1952e3422ac1485afa added support for text/gemini autoconversion to the httpd using gemini2html from the geminiclient repo (now in a data-store near you!) 2020-08-06T20:33:21Z https://git.thebackupbox.net/shell-daemons/commit/7fa8092199f316db70d42203e25ba45df0b44700 config examples 2020-08-06T19:56:50Z https://git.thebackupbox.net/shell-daemons/commit/cc96bd7ffded4ab1001bb991907467d126b62c6d renamed REQUEST_URI to REQUEST since REQUEST_URI isn't a URI, just the path requested after the REQUEST_METHOD part of the request. 2020-08-06T19:55:40Z https://git.thebackupbox.net/shell-daemons/commit/f4bd63270bf9f5107e7b8e858b923f2a2caebb04 some tests with SNI info from stunnel. this should not be considered a "release" if I actually did those things 2020-07-05T11:36:27Z https://git.thebackupbox.net/shell-daemons/commit/d2bbd7408eb3aa1639fe2d91e550d154b35ecc7d added .gmi meaning text/gemini 2020-06-15T13:05:36Z https://git.thebackupbox.net/shell-daemons/commit/fa3a04c105f28d3f5162cae8ae0335db58bf73d1 no sniffing me in httpd. renamed gemini to geminid 2020-06-12T07:37:52Z https://git.thebackupbox.net/shell-daemons/commit/c61e3b23dcb23e45d3611e788df654f17d7188a3 updated mime-type to allow extended attributes to override the mime-type response 2020-05-24T04:45:37Z https://git.thebackupbox.net/shell-daemons/commit/1b42a9f931fe1a5dd8126d3487542cc717f5dc93 save point. collecting deps 2020-05-24T04:42:54Z https://git.thebackupbox.net/shell-daemons/commit/a063bad15e4648aa5408f0891916571bfcd994f8 wow. derp me. symlinks do no work for this. changed to hardlinks. 2020-05-24T04:41:06Z https://git.thebackupbox.net/shell-daemons/commit/6f3d5326a6e70c384dfc3198e9fee7943364f2d3 added gemini. ofc. you can read the diffs. 2019-11-16T02:31:36Z https://git.thebackupbox.net/shell-daemons/commit/2da9401ed0f2b8caf290e274d0f6ddcc1b0fdfca init. ofc. that's always the first commit message. gemini://git.thebackupbox.net/shell-daemons/twtxt

-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/plain

-- Response ended

-- Page fetched on Sun Jun 2 09:41:59 2024