jpillora / go-tcp-proxy

A small TCP proxy written in Go
MIT License
745 stars 197 forks source link

Cannot print imap commands #7

Closed xmkevin closed 6 years ago

xmkevin commented 6 years ago

I use it to redirect imap ssl connections, but I the buffer cannot printed correctly, what's the reason ? tks. go-tcp-proxy -l localhost:993 -r imap.gmail.com:993 -vv

jpillora commented 6 years ago

IMAP over 993 is generally encrypted. So you're seeing the ciphertext whereas you want the plaintext. You could use a TCP port instead or strip TLS

On Mon, 12 Feb 2018 at 13:27 Yongqing Gao notifications@github.com wrote:

I use it to redirect imap ssl connections, but I the buffer cannot printed correctly, what's the reason ? tks. go-tcp-proxy -l localhost:993 -r imap.gmail.com:993 -vv

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jpillora/go-tcp-proxy/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmr8z69B-05KQctHxaUf910hUW-RaE5ks5tT6GUgaJpZM4SBoQB .