Re: Temporary Maintenance frontend for all port 80/443 ?

2016-01-24 Thread Philipp Buehler
Am 24.01.2016 17:58 schrieb Jeff Buchbinder: The way we've done it has been to add a maintenance server to all of our backends, then use the admin socket to iteratively disable all "real" servers for our backends. The maintenance server points all requests to your temporary page. Something

Proposal: auto-reload of ACL files

2016-04-29 Thread Philipp Buehler
Hi, I quite like not to reload haproxy every here and there (stats and races..) and make quite some use of 'acl foo .. -f aclfile'. Now feature-creep mounts and aclfile shall be build/extended "on demand" (think of something along fail2ban). Besides losing stats, that can grow into a problem

Re: Proposal: auto-reload of ACL files

2016-04-29 Thread Philipp Buehler
Am 29.04.2016 17:27 schrieb Chad Lavoie: HAProxy sockets support "add acl " to add an ACL entry or "add map" to add to a map. Can be used with "clear acl"/"clear map" to empty the table first to refresh them completely. See

Re: License questions

2016-05-20 Thread Philipp Buehler
Am 20.05.2016 16:12 schrieb Aleksandar Lazic: Maybe off topic and just for my curiosity 'why'. Lazy developers. Oh so shiny to get client-ip and other info "for free" from the ajp-listener/container. Next to any jboss/tomcat app I get on the table "suffers" from this. There are one/some that

RE: Rewriting/redirecting part of URL

2017-06-29 Thread Philipp Buehler
Am 29.06.2017 13:32 schrieb Mark Holmes: This worked perfectly - thanks again Philipp - but now the goalposts have moved slightly... So what I need to do is If a request comes in for www.old.com/audi/thesite/pages I'd like to redirect to www.new.com/audi/thesite/pages maintaining

Re: Rewriting/redirecting part of URL

2017-06-28 Thread Philipp Buehler
Am 28.06.2017 19:20 schrieb Mark Holmes: Note that /audi/page/whatever will change all the time - essentially, I want to preserve whatever comes after the first /, just rewriting the domain part I feel bad for "Audi" (shouts from an ex-Daimler one.. :D ) now. With 1.6 you can just do that

Re: server template feature

2018-02-23 Thread Philipp Buehler
Am 23.02.2018 09:57 schrieb Aleksandar Lazic: Can I run something like this? ``` server-template units 1-40 "10.0.8.${num}":"1000${num}" maxconn 2 check ``` Because I haven't seen that the iterator is exported maybe it's not possible. As I see it from docs and the haproxy-blog*,

Re: Haproxy 1.8 version help

2018-01-03 Thread Philipp Buehler
Am 03.01.2018 17:39 schrieb Lukas Tribus: To compile Haproxy 1.8 with threads, at least GCC 4.7 is needed. CentOs 6 only ships GCC 4.4.7, therefor compilation fails. Waaah, thanks for telling before I tried to rush 1.8 to customer :-P Rather not in the mood to make a build-VM with 4.7+ on C6

Re: OpenBSD/2.1.0 - weird syslogging?

2019-12-03 Thread Philipp Buehler
Am 03.12.2019 07:22 schrieb Willy Tarreau: I suspect that on other platforms, logging 0 characters from a NULL pointer is OK and results in nothing being emitted while on OpenBSD it still checks the pointer's validity before detecting it doesn't need it, resulting in the error. Could you

OpenBSD/2.1.0 - weird syslogging?

2019-11-30 Thread Philipp Buehler
Hello, just build 2.1.0 on OpenBSD.. while the actual processing (fe->be) works, I am getting quite some weird logging (in /var/log/messages) per http-request: Nov 30 23:01:05 tyo haproxy: vfprintf %s NULL in ">%s %2d %02d:%02d:%02d %.*s%*s" syslog.conf pretty straight forward:

Re: OpenBSD/2.1.0 - weird syslogging?

2019-12-01 Thread Philipp Buehler
Am 01.12.2019 12:00 schrieb Aleksandar Lazic: just a wild guess have you set "log-send-hostname" if not can you set it and tell us if anything is changed. http://cbonte.github.io/haproxy-dconv/2.1/configuration.html#log-send-hostname I had not, but made me curious. So I did some tcpdump on it