Logging format for Gemini servers (addition)
Anna “CyberTailor” cyber at sysrq.in
Sun Jul 18 23:38:56 BST 2021
Some missing stuff
### References for ident protocol:
Specification
=> gemini://gemini.bortzmeyer.org/rfc-mirror/rfc1413.txt
Wikipedia article (see "Software" section for identd servers)
=> https://en.wikipedia.org/wiki/Ident_Protocol
## Sample query
```python
import socket
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as client:
client.settimeout(1)
client.connect((foreign_host, 113))
client.send(f"{foreign_port},{local_port}\r\n".encode())
result = client.recv(4096).decode().split(":")[-1].strip()
```
Archive home | About this archive