💾 Archived View for ew.srht.site › en › 2021 › 20211018-openbsd-vger.gmi captured on 2022-04-29 at 12:40:29. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-03-01)

➡️ Next capture (2024-06-16)

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

2021-10-18

vger/inetd/nginx on openbsd and Linux

tags: gemini software

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:

me@home:~ 2 > printf "gemini://127.0.0.1/index.gmi\r\n" | netcat 127.0.0.1 11965
20 text/gemini; 
# vger on HOME system

Just to say: yes, I can!
~ew

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

local copy

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

local copy

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

Home