Re: reqadd srcIP for header

2012-06-05 Thread Baptiste
Hey, Using stunnel and haproxy, both with the proxy protocol may help when you want to add the X-SRC-IP header for a SSL connection. cheers

Re: reqadd srcIP for header

2012-06-05 Thread Chris LeBlanc
Oh hey guys, I do the same thing and use the stunnel proxy protocol. You just add protocol = proxy to stunnel and use bind :81 accept-proxy for haproxy and it seems to take care of the rest. I do have to add some extra headers using addreq to identify port and protocol but that's just

RE: reqadd srcIP for header

2012-06-05 Thread Karl Kloppenborg
your office paper. Description: crucial_2012 From: Chris LeBlanc [mailto:ch...@blendedby.us] Sent: Tuesday, 5 June 2012 5:07 PM To: Baptiste Cc: Karl Kloppenborg; haproxy@formilux.org Subject: Re: reqadd srcIP for header Oh hey guys, I do the same thing and use the stunnel proxy

Re: reqadd srcIP for header

2012-06-04 Thread Chris LeBlanc
Karl, Take a look at...http://code.google.com/p/haproxy-docs/wiki/forwardforYou can also use reqadd which I've done to add ports and protocols like so (thought I'm not sure how you'd get the client ip)…reqadd X-Forwarded-Protocol:\ httpreqadd

RE: reqadd srcIP for header

2012-06-04 Thread Karl Kloppenborg
: Re: reqadd srcIP for header Karl, Take a look at... http://code.google.com/p/haproxy-docs/wiki/forwardfor You can also use reqadd which I've done to add ports and protocols like so (thought I'm not sure how you'd get the client ip)… reqadd X-Forwarded-Protocol:\ http reqadd X

Re: reqadd srcIP for header

2012-06-04 Thread Chris LeBlanc
reduce, reuse and recycle your office paper. image002.jpg *From:* Chris LeBlanc [mailto:ch...@blendedby.us] *Sent:* Monday, 4 June 2012 5:07 PM *To:* Karl Kloppenborg *Cc:* haproxy@formilux.org *Subject:* Re: reqadd srcIP for header Karl, Take a look at... http://code.google.com/p/haproxy