]> Sergey Matveev's repositories - public-inbox.git/commitdiff
lei: IMAP .onion support via --proxy=s switch
authorEric Wong <e@80x24.org>
Fri, 30 Apr 2021 09:24:36 +0000 (09:24 +0000)
committerEric Wong <e@80x24.org>
Fri, 30 Apr 2021 19:59:46 +0000 (19:59 +0000)
Mail::IMAPClient provides the ability to pass a pre-connected
Socket to it.  We can rely on this functionality to use
IO::Socket::Socks in place whatever socket class
Mail::IMAPClient chooses to use.

The --proxy=s is shared with curl(1), though we only support
socks5h:// at the moment.  Is there any need for SOCKS4 or SOCKS5
without name resolution?  Tor .onions require socks5h:// for
name resolution and to prevent data leakage.


No differences found