2021-10-18

vger/inetd/nginx on openbsd and Linux

tags: gemini operatingsystem

Somewhat late to the show, but heck:

Today I pulled together all the ingredients to create a gemini server setup using vger. Using Solenes description I set the thing up on OpenBSD first. And after I understood the details, I managed to deploy the same setup on Debian 11 as well.

It is quite a stack:

I can see the index.gmi file with emacs/elpher and gcat on port 1965, but I also can use printf and netcat on port 11965 bypassing all the tls bits and pieces:

Yay!

Why? With this setup I can experiment with writing a small special purpose gemini server component while totally ignoring the tls bits and pieces. Thanks to Omar for pointing out the stdin/stdout feature of vger, thanks to Solene to make vger a reality!

Along the way I found out a number of things about my very first instance of OpenBSD:

It's small, which I like. On the other hand it's awkward for my finger habits, of course, but that had to be expected.

Life ain't no candy mountain, you know?

From the movie "Candy Mountain" :)

Cheers,

~ew

gemini://perso.pw/blog/articles/gemini-vger-server.gmi

gemini://perso.pw/blog/articles/nginx-stream.gmi

https://en.wikipedia.org/wiki/Candy_Mountain

Home

Proxied content from gemini://ew.srht.site/en/2021/20211018-openbsd-vger.gmi (external content)

Gemini request details:

Original URL
gemini://ew.srht.site/en/2021/20211018-openbsd-vger.gmi
Status code
Success
Meta
text/gemini
Proxied by
kineto

Be advised that no attempt was made to verify the remote SSL certificate.