💾 Archived View for rawtext.club › ~sloum › geminilist › 004721.gmi captured on 2021-11-30 at 19:37:34. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

<-- back to the mailing list

[tech][ann] simple gemini-to-gemini proxy server

Johann Galle johann at qwertqwefsday.eu

Mon Jan 4 11:03:29 GMT 2021

- - - - - - - - - - - - - - - - - - - 

Hello all,

since a desire for this was expressed, I have adapted the agate gemini server todo proxying instead[1]. It is intended to be run on port 80. You can still run aweb server on the standard 443 port, in fact the server will try to redirectHTTP requests to the HTTPS version of the website (it just spits out some HTTPresponse if the TLS connection cannot be established as an assumption).

The certificate policy is very weak, it will simply accept any certificate. Ithink that is the laziest and easiest solution, while of course a major flaw.If you know better, you are welcome to submit a patch/open a pull request.

I am running a demo on my own VPS, for some basic instructions you can go to<gemini://qwertqwefsday.eu:80/>.[2] And you'll have to find a client that canmake use of proxying if you really want to try it. I did some rudimentary tests,but am not sure how well it works. If you encounter issues, feel free to reachout to me (or open an issue/pull request on GitHub[1]).

Johann

[1] <https://git.qwertqwefsday.eu/index.cgi/agateway.git>     <https://github.com/Johann150/agateway>[2] In the hope that this email will not cause it to melt. If it is down when     you try, there is probably some problem with it and I am already on it.     I'm not sure how long I'll keep the service up.

---You can verify the digital signature on this email with the public keyavailable through web key discovery. Try e.g. `gpg --locate-keys`...

-------------- next part --------------A non-text attachment was scrubbed...Name: OpenPGP_signatureType: application/pgp-signatureSize: 840 bytesDesc: OpenPGP digital signatureURL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20210104/e4f37161/attachment-0001.sig>