]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
imapd|nntpd|pop3d: output IP + port on new connections
authorEric Wong <e@80x24.org>
Thu, 2 Oct 2025 19:29:39 +0000 (19:29 +0000)
committerEric Wong <e@80x24.org>
Mon, 6 Oct 2025 23:57:55 +0000 (23:57 +0000)
commit848fbcda3f97777a60501cc9ade3ff665eefc159
treed81076b27e3015d07c905c0c0c4d6448b1e14d60
parente0066f045f37b413b3fab1aca855d5022e57351f
imapd|nntpd|pop3d: output IP + port on new connections

Dumping the IP address will help admins use the (standard)
output of these servers to track abusive IMAP and POP3 scanners
looking for private mail.  NNTP doesn't seem affected at
the moment, but it's easier to keep the common code
across all three of these stateful protocols.
lib/PublicInbox/DS.pm
lib/PublicInbox/Daemon.pm
lib/PublicInbox/IMAP.pm
lib/PublicInbox/NNTP.pm
lib/PublicInbox/POP3.pm