Hi
I have question, because I was not able to find answer anywhere on internet.
I started to use Stunnel in server mode to provide POP3S/SMTPS functionality. Everything works fine except that I am missing remote IP of connecting client.
I am using Windows version so I can not use transparent proxy mode working on Unix.
Is there way how to make Stunnel for example after each establishment of TCP connection to send to SMTP/POP3 server port some special command like
REMOTEIP 123.123.123.123<crlf>
to pass this information there. I know it is not in SMTP/POP3 standard but it is simple for me extend behavior of SMTP/POP3 service by this command?
Thank you very much for any advice
Zdenek
____________________________________________________________ FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop! Check it out at http://www.inbox.com/marineaquarium
Zdenek Valach wrote:
Is there way how to make Stunnel for example after each establishment of TCP connection to send to SMTP/POP3 server port some special command like
REMOTEIP 123.123.123.123<crlf>
Good news: This feature is already available in stunnel since version 4.45.
To enable it add the following line to your stunnel.conf: protocol = proxy
Protocol description: http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt
Best regards, Michal Trojnara
Hi
Thank you for advice, looks exactly like functionality I need. I am going to test it right now.
Z.
On 3/7/2012 8:14 PM, Michal Trojnara wrote:
Zdenek Valach wrote:
Is there way how to make Stunnel for example after each establishment of TCP connection to send to SMTP/POP3 server port some special command like
REMOTEIP 123.123.123.123<crlf>
Good news: This feature is already available in stunnel since version 4.45.
To enable it add the following line to your stunnel.conf: protocol = proxy
Protocol description: http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt
Best regards, Michal Trojnara
stunnel-users mailing list stunnel-users@stunnel.org http://stunnel.mirt.net/mailman/listinfo/stunnel-users
____________________________________________________________ FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! Check it out at http://www.inbox.com/earth
Hi
I can confirm that suggested solution is working properly.
Thank you again
Z.
On 3/7/2012 8:14 PM, Michal Trojnara wrote:
Zdenek Valach wrote:
Is there way how to make Stunnel for example after each establishment of TCP connection to send to SMTP/POP3 server port some special command like
REMOTEIP 123.123.123.123<crlf>
Good news: This feature is already available in stunnel since version 4.45.
To enable it add the following line to your stunnel.conf: protocol = proxy
Protocol description: http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt
Best regards, Michal Trojnara
stunnel-users mailing list stunnel-users@stunnel.org http://stunnel.mirt.net/mailman/listinfo/stunnel-users
____________________________________________________________ FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family! Visit http://www.inbox.com/photosharing to find out more!