-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: blog
action: blob
revision:
path_from: ident
revision_from: refs/heads/master:
path_to:
revision_to:

git.thebackupbox.net

blog

git://git.thebackupbox.net/blog

blob of:

blog

/ ident

refs/heads/master:/ident
 # ident. port 113.

 IDENT! So, when you connect to some service on the internet with TCP (and UDP, but that's not important atm) There's a unique pairing of IP:port pairs.
 your IP:your port, their IP:their port
 Now, when people had multiple users on their servers, other servers might want to know which user was connecting, so stuff like bans could be directed at only one user
 instead of banning the whole server.
 The way they did that was with the ident protocol.
 what happens is when you connect to the remote server, the remote server connects to the IP you connected from
 on port 113, and sends that unique pairing of pairs.
 the daemon listening on port 113 then looks up in its list of connections, for which user created that connection.
 then tells the remote server that asked, what youre username is.
 of course now when everyone has admin on the computers they're connecting from you can only trust the response as far as you trust the IP.
 which is not far most of the time.
 but I'm using it on my website only to get what you're preferred username is.
 instead of asking over http.
 I also use it as a method of preventing spam, because setting up ident takes a bit more effort than spamming forms over HTTP

-- Response ended

-- Page fetched on Sun Jun 2 14:48:57 2024