Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
finger
fingerd
.gitignore
Makefile
README.md

README.md

gofinger

This repo holds a Finger-like daemon and client. The server is pretty simple: you send it a TCP packet containing a username, it looks up that username on the system, and then prints back information about the user. The Internet really was a simpler place long ago.

Compiling

To build the server and client, run make. To remove artifacts, run make clean.

Running the Server

$ cd fingerd
$ ./fingerd
2019/06/05 00:41:48 listening on 127.0.0.1:4500

Running the Client

$ cd finger
$ ./finger root

username: root  name: System Administrator
directory: /var/root
No plan file.

Notes

  • This should have enough error handling and defer-style closing to be safe. Please let me know if it doesn't!
  • The server will only bind to the loopback interface. That's intentional--I didn't want this program to be accessible outside this machine.
You can’t perform that action at this time.