Module ip_logger

Source
Expand description

Manages the logging of IPs passed down from the SLP handler.

Structs§

ClientIpLoggerInfo
Holds Notchian client information that will be logged into the logged_ips file.

Functions§

log_ip
Logs an IP to the logged_ips file. This function should be called in the SLP after receiving positive confirmation the client is a Notchian Minecraft server. This function is low-friction, does not propagate errors.
make_line 🔒
Makes the line that will be appended to the logged_ips file.