Websocket metrics

2017-11-14 Thread Claus Strommer
Hi, I'm looking for recommendations on best practices for collecting metrics and performing analytics on websocket connections through HAProxy. I'm already capturing the http log which serves me well for http traffic, but since websockets get upgraded to TCP connections I'm losing the kind of

Re: Odd behaviour with option forwardfor.

2017-07-23 Thread Claus Strommer
t> wrote: Hi Patrick Hemmer, Patrick Hemmer wrote on 22.07.2017: > On 2017/7/22 11:11, Claus Strommer wrote: > > Hi all, I'm seeing some odd behaviour with our > haproxy balancer and am looking for some insights. > >The setup: > >

Re: Odd behaviour with option forwardfor.

2017-07-22 Thread Claus Strommer
Thanks Patrick, your explanation makes sense. On Sat, Jul 22, 2017 at 12:28 PM, Patrick Hemmer <hapr...@stormcloud9.net> wrote: > On 2017/7/22 11:11, Claus Strommer wrote: > > Hi all, I'm seeing some odd behaviour with our haproxy balancer and am > looking for some insights. &g

Odd behaviour with option forwardfor.

2017-07-22 Thread Claus Strommer
Hi all, I'm seeing some odd behaviour with our haproxy balancer and am looking for some insights. The setup: I have a webserver that is behind two haproxy balancers (version 1.5.18 on EL7), which are behind CloudFlare. In effect the request goes client->CF->haproxy1->haproxy2->server. On

Mixed-mode frontend

2014-06-25 Thread Claus Strommer
. How would I go about doing that? Can I have both a TCP and HTTP frontend bind to the same port? How would I shape the ACLs to direct https://about.site.com to the TCP frontend, and everything else to the HTTP frontend? -- Claus Strommer, Dev/Ops Engineering Specialist

Re: Mixed-mode frontend

2014-06-25 Thread Claus Strommer
our backends except host_about and host_error go through SSL. host_error is forced to HTTP, host_about is kept at whatever the client requests. http://api.site.com On Wed, Jun 25, 2014 at 3:37 PM, Baptiste bed...@gmail.com wrote: On Wed, Jun 25, 2014 at 5:47 PM, Claus Strommer claus.strom

Re: Mixed-mode frontend

2014-06-25 Thread Claus Strommer
, Baptiste! On Wed, Jun 25, 2014 at 3:49 PM, Claus Strommer claus.strom...@primal.com wrote: Whoops! Just to be safe, here's the whole thing again, with additions 8 snip frontend httpweb bind *:80 bind *:443 ssl crt /etc/ssl/private/primal_bundle_2014.pem