Re: [PATCH] MEDIUM: init: allow directory as argument of -f

2016-05-12 Thread Willy Tarreau
Hi Maxime, On Fri, May 13, 2016 at 12:48:43AM +0200, Maxime de Roucy wrote: > If -f argument is a directory add all the files (and only files) it > containes to the config files list. > These files are added in lexical order (man alphasort). > Only files with ".cfg" extension are added. > Only non

[PATCH] MEDIUM: init: allow directory as argument of -f

2016-05-12 Thread Maxime de Roucy
If -f argument is a directory add all the files (and only files) it containes to the config files list. These files are added in lexical order (man alphasort). Only files with ".cfg" extension are added. Only non hidden files (not prefixed with ".") are added. Symlink are followed. The -f order is

Re: Regarding http basic authentication in haproxy

2016-05-12 Thread Igor Cicimov
On 13 May 2016 4:19 am, "bln prasad" wrote: > > Hi, > I've setup basic http authentication in the frontend. I'm finding that it's asking for authentication for first time only when i access from the browser. Once it succeeds it's alway bypasses authentication even if i access it from other tabs

Votre écran neuf fois plus résistant Réf 72813

2016-05-12 Thread Chloé THOMAS
Cordialement, Chloé THOMAS 859649513.png Description: Binary data <>

Re: Adding backend server name as request header

2016-05-12 Thread Dennis Jacobfeuerborn
Hi, remember that this directive adds a request header and not a response header i.e. you will not see this header in the response in the browser but only in the request on the backend server that will serve the request. There you can copy that information into a response header if you want. Regar

镍铝合金

2016-05-12 Thread 镍铝合金
你的老朋友邀你来Q群:343257759 抢优惠券

Re: dynamically choosing back-end port

2016-05-12 Thread Derek Brown
Hi- I'm wondering if you need any additional information, or if I can provide any clarification, to get a response to my query. Thanks, in advance Derek On Tue, May 10, 2016 at 3:08 PM, Derek Brown wrote: > Sure. > > I have a setup where we're using HAProxy to front hundreds of different > ser

Re: Adding backend server name as request header

2016-05-12 Thread Guillaume Bourque
Hello I looked into the doc to saw that we can put the directive in the backend this is what I added to my config http-send-name-header X-CustomHeader But from my user browser I never get this header is there something that I need to enable on the global section in order for this to be

Empty DNS does not mark server as down

2016-05-12 Thread James Stroehmann
I am using haproxy version 1.6.3 and my server is defined using dns. It is an ELB in amazon web services so it changes IP addresses frequently and that functionality seems to work fine. However, if I delete the DNS entry, the server is not marked down. It then keeps sending traffic to the IP ad

Re: Adding backend server name as request header

2016-05-12 Thread Dennis Jacobfeuerborn
This is exactly what I'm looking for, thanks! I was looking at the variables in Section 7.3 as I didn't think there would be a dedicated directive for this. Apparently I was wrong :) Regards, Dennis On 12.05.2016 18:48, Mehdi Ahmadi wrote: > It may be that your after: > ``` > http-send-name-hea

Regarding http basic authentication in haproxy

2016-05-12 Thread bln prasad
Hi, I've setup basic http authentication in the frontend. I'm finding that it's asking for authentication for first time only when i access from the browser. Once it succeeds it's alway bypasses authentication even if i access it from other tabs or re access from sam tab. Is it expected? If yes

Re: Adding backend server name as request header

2016-05-12 Thread Mehdi Ahmadi
It may be that your after: ``` http-send-name-header X-CustomHeader ``` Which would set the ID of the selected server into the header `X-CustomHeader`. See the documentation for further details. http://cbonte.github.io/haproxy-dconv/configuration-1.5.html On Thu, May 12, 2016 at 6:29 PM, Dennis

Adding backend server name as request header

2016-05-12 Thread Dennis Jacobfeuerborn
Hi, I'm wondering if there is a way to add the name of the server chosen for the request as a request header i.e. if the following server is chosen for the request: server back1 10.1.0.10:8080 check inter 2 then I'd like to receive this header on the 10.1.0.10 system: X-CustomHeader: back1

Re: Haproxy running on 100% CPU and slow downloads

2016-05-12 Thread Lukas Tribus
Hi, Am 12.05.2016 um 14:37 schrieb Sachin Shetty: Hi Willy, We are seeing a strange problem on the patched server. We have several haproxy servers running but only one with the latest patch, and this haproxy has frozen twice in last two days, basically it hits max open connections 2000 on fro

Re: Haproxy running on 100% CPU and slow downloads

2016-05-12 Thread Sachin Shetty
Hi Willy, We are seeing a strange problem on the patched server. We have several haproxy servers running but only one with the latest patch, and this haproxy has frozen twice in last two days, basically it hits max open connections 2000 on frontend and then stalls. From the logs it has 1999 conne

[PATCH] [RFC]/MINOR: connection: Add server name to proxy protocol v2 header.

2016-05-12 Thread Erik Seres
If the client provides the server name it intends to connect to, per RFC3546, Section 3.1. Server Name Indication, this patch will pass the server name onto the backend server as part of the proxy protocol v2 header. The patch defines the new SSL subtype PP2_TYPE_SSL_SNI and the corresponding f

Server-sent event and Haproxy

2016-05-12 Thread Kevin Maziere
Hi I'm trying to configure Haproxy to work with server_send events ( https://developer.mozilla.org/fr/docs/Server-sent_events/Using_server-sent_events ) and can't find any working configuration yet. I've tried to set long timeout server and client, to 'option httpclose' on backend, http tunnel-m

New Arrival Hot Sell LED corn light.

2016-05-12 Thread Bonnie
Dear Manager, Good day!This is Bonnie from Shenzhen Guohui Lighting Equipment Co.,Ltd.Now, I'd like to introduce our NEW ARRIVAL LED Corn light to you.This series Corn light is our private design, other suppliers don't have this item. It's IP grade is IP64 waterproof.Now,it is hot sell in the mar

AW: 100% cpu , epoll_wait()

2016-05-12 Thread Sebastian Heid
Hi Lukas, starting from around 200mbit/s in&out, haproxy processes (nbproc 6) are hitting 100% cpu regularly (noticed up to 3 processes at the same time with 100%), but recover again on its own after some time. stracing such a process yesterday showed the following: epoll_wait(0, {}, 200, 0)

'src_http_req_rate' is neither a number nor a supported operator

2016-05-12 Thread Madhav Khakhar
Hi, I am using src_http_req_rate with a map in an ACL. The configuration is as follows: stick-table type ip size 1m expire 60s store http_req_rate(60s) acl abuse src,map_ip_int(/etc/haproxy/ips.map) -m int lt src_http_req_rate tcp-request connection reject if abuse !whitelist tcp-request connecti

Re: Crash with kernel error

2016-05-12 Thread Lukas Tribus
Hi, ok, thanks. This probably has to do with the changes regarding buffers. If this is a lab setup, my suggestion would be you don't use the init scripts to start haproxy, but start it manually from the haproxy directory (ulimit -c unlimited; ./haproxy -f configfile), when haproxy crashes