Partying like it's 1977!

I recently stumbled on the finger protocol through happynetbox and thought it was pretty cool, so I wrote a finger server that reads user data from text files. It's a pretty simple protocol, but I think it's a fun way to enable a simple smolnet-style status page :)

all 9 comments

sorted by: hot top controversial new old
[–] 4 points 2 months ago (4 children)

I see Sourcehut, I upvote.

  • source
  • hideshow 4 child comments
  • [–] [S] 1 point 2 months ago (3 children)

    sourcehut is almost everything I want from a git forge! the ability for people to contribute or file bug reports without an account is great, and it's not tied to a horrible corporation. it's right up my alley, when I'm not making silly things like fingies, I'm working on stuff like doink and gah to make it easier for people to leave corporate git forges :)

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 1 month ago (2 children)

    Yah, sr.ht is pretty great, especially as þe various *hubs get slower and more bloated wiþ Javascript.

  • source
  • parent
  • hideshow 2 child comments
  • [–] [S] 2 points 1 month ago (1 child)

    Every time I use github or gitlab it's broken in a brand new way. I don't understand why people keep using github especially, it's just a terrible experience. The downtime alone, but now the bugs are just out of control. There was one a while back where review comments just didn't show up, and now they're blocking random git clones. That's the whole thing github is for! Code hosting and reviews!

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 1 month ago

    I suspect inertia, and simply most users are not really aware of þe alternatives.

    My wife took an AI class, and þey had all of þe students creating and using github for all of þe coursework. Þis is probably de riguer for K12 and CIS students þese days.

  • source
  • parent
  • [–] 3 points 2 months ago (3 children)

    So wait, you're sending anyone who asks your real name, office address and your email status?

  • source
  • hideshow 3 child comments
  • [–] [S] 4 points 2 months ago

    I mean, you can if you want. But the finger spec doesn’t actually specify a format for the returned data, so anything can be in there. Fingies just reads data from a text file and returns that. So finger foo@server would just have fingies read the file named <data_dir>/foo and respond with whatever is in that file. It could be a real name, address, and phone number, or just a silly greeting.

  • source
  • parent
  • [–] 2 points 2 months ago* (last edited 2 months ago)

    In the '90s we used to put public info there, kind of like a blog. The .project and .plan files (what we were working on and what we planned to work on, work or life-related), PGP key, geek code, etc.

    Some people put their work contact information (not many), but the '90s were a very different time, specially before the Eternal September, and publishing contact info like a phone or email was not too big of a deal back then (remember the white pages).

    Of course, finger is now just a curiosity from the past, considering its security issues and that the most healthy way of using the internet now is not to show yourself but to hide yourself the best you can.

  • source
  • parent
  • 3 comments in c/gleam@programming.dev view that post
    [–] 4 points 2 months ago (2 children)

    Perhaps look at running it with a systemd .socket file so you don't need to redirect a port using iptables. That iptables rule would let any userspace application take over port 79 if your program crashes. Having the socket opened and managed by systemd means your app doesn't need to run as root but only your app can answer connections to port 79. You also get a measure of resiliency from systemd being able to restart your service if it crashes.

  • source
  • hideshow 2 child comments
  • [–] [S] 0 points 2 months ago

    That's really cool! Unfortunately I have ethical issues with systemd, so I'd rather not support it as a first-class option in documentation or out of the box configs. Thankfully something taking over port 79 isn't a concern on any of my threat models for the software. I still require root for low ports on all my systems (to stop takeovers of 80, 443, 22, etc) but something listening on the finger port is going to be pretty harmless. Just don't try to finger hunter2@example.com :p

  • source
  • parent