Re: Rate limiting using HAProxy

2016-09-29 Thread Samrat Roy
Hello Sir, Please tell me is it possible to achieve the above scenario using HAproxy. Thanks Samrat On Tue, Sep 27, 2016 at 9:18 PM, Samrat Roy <samratroy@gmail.com> wrote: > Hello Sir, > > I am trying to implement rate limiting feature using HAroxy. My > requirement is t

Rate limiting using HAProxy

2016-09-27 Thread Samrat Roy
Hello Sir, I am trying to implement rate limiting feature using HAroxy. My requirement is to do rate limiting using a custom header . I have created the below config file. I have configured 40 request are allowed in 10 sec and anything above 40 should give 429 error. But I am facing one problem

Re: Help Needed || haproxy limiting the connection rate per user

2016-08-30 Thread Samrat Roy
wrote: > Greetings, > > On 08/26/2016 09:14 AM, Samrat Roy wrote: > > Hello Sir, > > > > down votefavorite > <http://stackoverflow.com/questions/39166887/haproxy-limiting-the-connection-rate-per-user#> > > I am trying to achieve rate limiting usin

Help Needed || haproxy limiting the connection rate per user

2016-08-26 Thread Samrat Roy
Hello Sir, down votefavorite I am trying to achieve rate limiting using HAProxy. I am trying to follow the "Limiting the connection rate per user" approach. I am able to achieve this by the below

QUERY REGARDING HAPROXY

2016-07-28 Thread Abhijit Roy
ther 2 servers when a request come against the webserver it will pass through the haproxy but will you please help us regarding auto replication between 2 servers or you can say it auto updates. -- Abhijit Roy Jr. Computer Engineer Satyendra Nath Bose National Centre for Basic Sciences Bloc

[SPAM] pics editing solutions

2015-04-28 Thread Roy
service is good and price is affordable. You may choose to send us a test photo to judge our quality and services. Have a good time! Thank you! Roy Email: anke...@tom.com You can send address to pia...@aliyun.com for remove

Re: How does http_find_header() work?

2011-04-01 Thread Roy Smith
On Apr 1, 2011, at 2:11 AM, Willy Tarreau wrote: On Thu, Mar 31, 2011 at 08:10:04AM -0400, Roy Smith wrote: I didn't really write a specification, but I think a critical part of the spec would be that the only guarantee about the id string is that it's unique It's unique within

Re: How does http_find_header() work?

2011-03-31 Thread Roy Smith
. If all the fields correspond to something meaningful, like host_id, pid, timestamp, etcetera, would it make sense to have them in a more human readable format? Regards, Bart On Thu, Mar 31, 2011 at 4:30 AM, Roy Smith r...@s7labs.com wrote: Willy, This turned out to be surprisingly

Re: How does http_find_header() work?

2011-03-30 Thread Roy Smith
Willy, This turned out to be surprisingly straight-forward. Patch attached (against the 1.4.11 sources). To enable generation of the X-Unique-Id headers, you add unique-id to a listen stanza in the config file. This doesn't make any sense unless you're in http mode (although my code doesn't

Re: How does http_find_header() work?

2011-03-28 Thread Roy Smith
On Mon, 2011-03-28 at 07:22 +0200, Willy Tarreau wrote: On Sun, Mar 27, 2011 at 09:28:15PM -0400, Roy Smith wrote: Thanks! Looks like capture request header does exactly what I want. Well, mostly. This gets me logging if the header exists. Now I need to figure out how to insert

Re: How does http_find_header() work?

2011-03-27 Thread Roy Smith
it for your needs. -- Roy Smith roy.sm...@s7labs.com

Parsing haproxy log files (python)

2011-03-18 Thread Roy Smith
Before I reinvent the wheel, has anybody already written code to parse haproxy log messages with Python?

Re: Adding a unique id header to each request?

2011-01-27 Thread Roy Smith
On Jan 26, 2011, at 1:09 AM, Willy Tarreau wrote: Hi Roy, On Sun, Jan 23, 2011 at 10:04:57AM -0500, Roy Smith wrote: Cool. What can I do to help? Could you try to identify precisely how it would be used at your site ? Try to think about these cases : - what to do with reqids

Re: Adding a unique id header to each request?

2011-01-27 Thread Roy Smith
the first one strip existing tags, and all the later ones keep them, since that would be the one added by the first one in the chain. On Jan 27, 2011, at 5:44 PM, Willy Tarreau wrote: Hi Roy, On Thu, Jan 27, 2011 at 02:51:37PM -0500, Roy Smith wrote: Try to think about these cases : - what

Re: Adding a unique id header to each request?

2011-01-23 Thread Roy Smith
Cool. What can I do to help? On Jan 23, 2011, at 12:51 AM, Willy Tarreau wrote: Hi Roy, On Sat, Jan 22, 2011 at 05:26:12PM -0500, Roy Smith wrote: Is there a way to have haproxy generate (and log) a unique ID for every incoming request, and add that ID as a header line to each outgoing

Re: Can't get server check to work with virtual hosts

2010-08-17 Thread Roy Smith
inter 2s and it's sending the correct headers, at least for test1. The problem is that it's also sending Host: test1... to test2. I don't see how to configure it to send each host the correct header. On Aug 17, 2010, at 5:23 PM, Graeme Donaldson wrote: Hi Roy You simply need to send an HTTP