Re: [stunnel-users] xforwardedfor in config

This is a discussion on Re: [stunnel-users] xforwardedfor in config within the Stunnel Users forums, part of the Networking and Network Related category; Yeah ... It was an HAProxy patch for stunnel ... thanks! -----Original Message----- From: Brian Hatch [mailto:bri@stunnel.org] Sent: Saturday, ...


Go Back   Usenet Forums > Networking and Network Related > Stunnel Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-04-2008
Jill Rochelle
 
Posts: n/a
Default Re: [stunnel-users] xforwardedfor in config

Yeah ... It was an HAProxy patch for stunnel ... thanks!

-----Original Message-----
From: Brian Hatch [mailto:bri@stunnel.org]
Sent: Saturday, February 02, 2008 4:14 PM
To: Jill Rochelle
Cc: stunnel-users@mirt.net
Subject: Re: [stunnel-users] xforwardedfor in config

Around 2008-01-31 16:58 -0500, Jill Rochelle growled:

> I am new to stunnel and the ssl world. I'm trying to get stunnel to work
> with haproxy for load balancing https requests. In the haproxy
> documentation it says that the stunnel.conf should look like this
>
> cert=/etc/stunnel/stunnel.pem
> setuid=stunnel
> setgid=proxy
>
> socket=l:TCP_NODELAY=1
> socket=r:TCP_NODELAY=1
>
> [https]
> accept=192.168.1.1:443
> connect=192.168.1.1:80
> xforwardedfor=yes


You're probably reading documentation from someone who's patched
stunnel to support X-Forwarded-For.

Quick google finds the following in some haproxy documentation
above a snippet like yours:


"By default, stunnel does not process HTTP and does not add any
X-Forwarded-For header, but there is a patch on the official
haproxy site to provide this feature to recent stunnel versions."

I'd suggest you find and apply that patch if that's the road
down which you wish to go.

--
Brian Hatch What's the best remote
Systems and administration tool for
Security Engineer Microsoft Windows?
http://www.ifokr.org/bri/ A car.

Every message PGP signed

_______________________________________________
stunnel-users mailing list
stunnel-users@mirt.net
http://stunnel.mirt.net/mailman/listinfo/stunnel-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:29 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0