Re: undefined symbol: lua_getmetatable in using luasocket

2016-07-19 Thread Sachin Shetty
Thankyou Cyril. I could not get it work with 5.3 either, I am now trying to use built in sockets with core.tcp(). On 7/19/16, 4:00 AM, "Cyril Bonté" wrote: >Hi Sachin, > >Le 18/07/2016 à 16:16, Sachin Shetty a écrit : >> (...) >> However when starting haproxy, I get this error: >> >> [ALERT] 1

Wrong http_err_rate on standby peer

2016-07-19 Thread Kay Fuchs
Hi all, i'm using a stick-table with HAProxy 1.6.7 on an active/standby configuration like this: stick-table type ipv6 size 500k expire 60s peers hacluster store gpc0,conn_cur,http_req_rate(10s),http_err_rate(10s) http-request track-sc0 On the standby peer the table obviously shows wrong http_

Dynamic backends decided by an external service

2016-07-19 Thread Sachin Shetty
Hi, We always had a unique requirement of picking a backend based on response from a external http service. In the past we have got this working by routing requests via a modified apache and caching the headers in maps for further request, but now I am trying to simplify our topology and trying t

IT decision makers list 2016

2016-07-19 Thread David Christopher
Hi , Hope you are having a pleasant day. Would you be interested in acquiring our recently complied 1 Million+ IT Decision makers list across EMEA and APAC or even across the globe with complete information for your marketing initiatives? Some of the Title': IT manager, IT Director, CIO

Re: Host name resolution in IPv6 only entry in /etc/hosts

2016-07-19 Thread Albert Casademont
Makes sense, I assumed that the Debian package was compiled with that option by default...it's a PITA that it is not, do you think this is something to be reported to the maintainers of the package? HA-Proxy version 1.6.6 2016/06/26 Copyright 2000-2016 Willy Tarreau Build options : TARGET = l

1.6 vs 1.5 http-request add-header format

2016-07-19 Thread haproxy
Hi, The following construction worked in 1.5.4 and doesn't work in 1.6.7: http-request add-header X-Haproxy-ACL %[req.fhdr(X-Haproxy-ACL,-1)]over-3-connections-in-10-seconds, if { src_conn_rate gt 3 } while the one w/o the comma in the end works in 1.6.7 well: http-request add-header X-Haproxy-

Re: Host name resolution in IPv6 only entry in /etc/hosts

2016-07-19 Thread Nenad Merdanovic
Adding Vincent here, as he maintains the Debian package. On 7/19/2016 2:21 PM, Albert Casademont wrote: > Makes sense, I assumed that the Debian package was compiled with that > option by default...it's a PITA that it is not, do you think this is > something to be reported to the maintainers of th

Re: undefined symbol: lua_getmetatable in using luasocket

2016-07-19 Thread Cyril Bonté
Hi, Le 19/07/2016 à 10:10, Sachin Shetty a écrit : Thankyou Cyril. I could not get it work with 5.3 either, I am now trying to use built in sockets with core.tcp(). You should recheck your installation and verify that you are still not loading some 5.1 libraries. After a quick test on my la

Re: rate limiting question

2016-07-19 Thread Cyril Bonté
Hi, Le 18/07/2016 à 11:30, hapr...@abisoft.biz a écrit : Hello, I have a sticky table for ip checks against high connection rate (for testing purposes it's set now to 3 connections in 10 seconds): frontend lb-useast ... tcp-request content track-sc0 src stick-table type ip size 500k expir

Re: 1.6 vs 1.5 http-request add-header format

2016-07-19 Thread Cyril Bonté
Hi again, Le 19/07/2016 à 14:45, hapr...@abisoft.biz a écrit : Hi, The following construction worked in 1.5.4 and doesn't work in 1.6.7: http-request add-header X-Haproxy-ACL %[req.fhdr(X-Haproxy-ACL,-1)]over-3-connections-in-10-seconds, if { src_conn_rate gt 3 } while the one w/o the comma

consistent hash-mapping on header?

2016-07-19 Thread Paul McIntire
Hi Is it possible to do consistent hashing on information other than the IP address i.e. X-Forwarded-For header? I'm using Haproxy 1.5.17. Thank you Paul

Re: consistent hash-mapping on header?

2016-07-19 Thread Nenad Merdanovic
Hello Paul, On 7/20/2016 2:59 AM, Paul McIntire wrote: > Hi > > Is it possible to do consistent hashing on information other than the IP > address i.e. X-Forwarded-For header? I'm using Haproxy 1.5.17. > > Thank you > Paul > I think you are looking for: balance hdr(X-Forwarded-For) has

tcp-mode session hangs on server restart

2016-07-19 Thread Tim Butler
Hi, I'm looking for any enlightenment or suggestions on pursuing the following problem. After bouncing a server with two tcp-mode sessions, my second reconnecting session hangs, even though the frontend socket recv buffer is full and the server is connected. netstat shows all parties connected w

Re: Haproxy with SNI and http2 seperation

2016-07-19 Thread Matthias Fechner
Hi Cyril, Am 19.07.2016 um 00:27 schrieb Cyril Bonté: > You probably have an issue here : hdr(host) won't work with mode tcp. > If you wan't to check the domain provided by SNI, you should use > req.ssl_sni instead. > > Have a look to the example provided in the documentation : > http://cbonte.git