Re: configuration.txt questions

2017-04-22 Thread Willy Tarreau
On Sat, Apr 22, 2017 at 11:37:56AM +0300, Jarno Huuskonen wrote: > I'm attaching the patch now. The second one adds missing status codes > to errorloc/errorloc302/errorloc303. Now merged, thank you Jarno! Willy

Re: configuration.txt questions

2017-04-22 Thread Jarno Huuskonen
Hi, On Wed, Apr 05, Willy Tarreau wrote: > On Tue, Apr 04, 2017 at 04:05:23PM +0300, Jarno Huuskonen wrote: > > Hi, > > > > On Tue, Apr 04, Aleksandar Lazic wrote: > > > @Jarno: How about to add in the comment this information? > > > Maybe some other users also assume that bloack means L4

Re: configuration.txt questions

2017-04-04 Thread Willy Tarreau
On Tue, Apr 04, 2017 at 04:05:23PM +0300, Jarno Huuskonen wrote: > Hi, > > On Tue, Apr 04, Aleksandar Lazic wrote: > > @Jarno: How about to add in the comment this information? > > Maybe some other users also assume that bloack means L4+L7 > > How about something like this: (...) fine by

Re: configuration.txt questions

2017-04-04 Thread Aleksandar Lazic
Am 04-04-2017 15:05, schrieb Jarno Huuskonen: Hi, On Tue, Apr 04, Aleksandar Lazic wrote: @Jarno: How about to add in the comment this information? Maybe some other users also assume that bloack means L4+L7 How about something like this: Great thanks ;-) --- a/doc/configuration.

Re: configuration.txt questions

2017-04-04 Thread Jarno Huuskonen
Hi, On Tue, Apr 04, Aleksandar Lazic wrote: > @Jarno: How about to add in the comment this information? > Maybe some other users also assume that bloack means L4+L7 How about something like this: --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -2501,7 +2501,9 @@ block { if | u

Re: configuration.txt questions

2017-04-04 Thread Willy Tarreau
On Mon, Apr 03, 2017 at 03:15:54PM +0300, Jarno Huuskonen wrote: > I'm attaching two more patches for configuration.txt (hopefully with > better subject/commit messages this time:) > > First one updates "block" examples to use http-request deny. > > Second one adds some comments to examples, and

Re: configuration.txt questions

2017-04-04 Thread Willy Tarreau
On Tue, Apr 04, 2017 at 10:19:02AM +0200, Aleksandar Lazic wrote: > @Jarno: How about to add in the comment this information? > Maybe some other users also assume that bloack means L4+L7 To be honnest, I got trapped not long ago with this one, especially since the warning about it used to

Re: configuration.txt questions

2017-04-04 Thread Aleksandar Lazic
Am 04-04-2017 10:15, schrieb Willy Tarreau: Hi Aleks, On Tue, Apr 04, 2017 at 10:07:45AM +0200, Aleksandar Lazic wrote: Hi. Am 03-04-2017 14:15, schrieb Jarno Huuskonen: > Hi, > > On Fri, Mar 31, Willy Tarreau wrote: > > On Fri, Mar 31, 2017 at 02:59:37PM +0300, Jarno Huuskonen wrote: > > >

Re: configuration.txt questions

2017-04-04 Thread Jarno Huuskonen
Hi, On Tue, Apr 04, Aleksandar Lazic wrote: > >I'm attaching two more patches for configuration.txt (hopefully with > >better subject/commit messages this time:) > > > >First one updates "block" examples to use http-request deny. > > I'm sure I have overseen it but what's the 'http-request deny'

Re: configuration.txt questions

2017-04-04 Thread Willy Tarreau
Hi Aleks, On Tue, Apr 04, 2017 at 10:07:45AM +0200, Aleksandar Lazic wrote: > Hi. > > Am 03-04-2017 14:15, schrieb Jarno Huuskonen: > > Hi, > > > > On Fri, Mar 31, Willy Tarreau wrote: > > > On Fri, Mar 31, 2017 at 02:59:37PM +0300, Jarno Huuskonen wrote: > > > > On Fri, Mar 31, Jarno Huuskonen

Re: configuration.txt questions

2017-04-04 Thread Aleksandar Lazic
Hi. Am 03-04-2017 14:15, schrieb Jarno Huuskonen: Hi, On Fri, Mar 31, Willy Tarreau wrote: On Fri, Mar 31, 2017 at 02:59:37PM +0300, Jarno Huuskonen wrote: > On Fri, Mar 31, Jarno Huuskonen wrote: > > First I'm attaching a patch that corrects ]) order for urlp_val > > and adds 'Example:' strin

Re: configuration.txt questions

2017-04-03 Thread Jarno Huuskonen
Hi, On Fri, Mar 31, Willy Tarreau wrote: > On Fri, Mar 31, 2017 at 02:59:37PM +0300, Jarno Huuskonen wrote: > > On Fri, Mar 31, Jarno Huuskonen wrote: > > > First I'm attaching a patch that corrects ]) order for urlp_val > > > and adds 'Example:' string to > > > src_clr_gpc0,src_inc_gpc0,sc2_clr_g

Re: configuration.txt questions

2017-03-31 Thread Willy Tarreau
On Fri, Mar 31, 2017 at 02:59:37PM +0300, Jarno Huuskonen wrote: > On Fri, Mar 31, Jarno Huuskonen wrote: > > First I'm attaching a patch that corrects ]) order for urlp_val > > and adds 'Example:' string to > > src_clr_gpc0,src_inc_gpc0,sc2_clr_gpc0,sc2_inc_gpc0,ssl_c_sha1 > > (I assume that Examp

Re: configuration.txt questions

2017-03-31 Thread Jarno Huuskonen
On Fri, Mar 31, Jarno Huuskonen wrote: > First I'm attaching a patch that corrects ]) order for urlp_val > and adds 'Example:' string to > src_clr_gpc0,src_inc_gpc0,sc2_clr_gpc0,sc2_inc_gpc0,ssl_c_sha1 > (I assume that Example: is what generates the example formatting in > html/dconv documentation)

configuration.txt questions

2017-03-31 Thread Jarno Huuskonen
Hi, Here's couple of questions/suggestions for configuration.txt. First I'm attaching a patch that corrects ]) order for urlp_val and adds 'Example:' string to src_clr_gpc0,src_inc_gpc0,sc2_clr_gpc0,sc2_inc_gpc0,ssl_c_sha1 (I assume that Example: is what generates the example formatting in html/d