-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: shell-daemons action: blob revision: path_from: ident-from-stdin revision_from: refs/heads/master: path_to: revision_to:
/ ident-from-stdin
refs/heads/master:/ident-from-stdin #!/usr/bin/env bash echo 'hi. this server tells you what username your ident daemon tells us. :)' ### need to figure out how to get this data better... ### ncat -klp 1234 -c ident-from-stdin needs to try a different fd ### this script works from the inetd I'm using though. export SERVER_ADDR=$(/usr/local/libexec/sockip | head -n1) export REMOTE_ADDR=$(/usr/local/libexec/peerip | head -n1) export SERVER_PORT=$(/usr/local/libexec/sockip | tail -n1) export REMOTE_PORT=$(/usr/local/libexec/peerip | tail -n1) ident-from-env
-- Response ended
-- Page fetched on Sun Jun 2 17:00:33 2024