Re: [PR] Update transparent_proxy.cfg

2017-06-20 Thread Willy Tarreau
On Tue, Jun 20, 2017 at 07:29:29PM +0200, PR Bot wrote:
> Dear list!
> 
> Author: hflamboauto1 
> Number of patches: 1
> 
> This is an automated relay of the Github pull request:
>Update transparent_proxy.cfg
> 
> Patch title(s): 
>Update transparent_proxy.cfg
> 
> Link:
>https://github.com/haproxy/haproxy/pull/79
> 
> Edit locally:
>wget https://github.com/haproxy/haproxy/pull/79.patch && vi 79.patch
> 
> Apply locally:
>curl https://github.com/haproxy/haproxy/pull/79.patch | git am -
> 
> Description:
>This is basically a question regarding this value.
>Everywhere on
>"internet resources" i see *clientip* ... which one is correct? This
>example ?

Both are valid, have a look at doc/configuration.txt. In short :

  - "client" asks to reuse both the client's address and port. This is
the most transparent mode, when you know what you're doing, and the
one with the least risk of running out of source ports. But it
requires that you properly configure your timeouts.

  - "clientip" only reuses the source address, and lets the system
allocate a spare port.

Willy



[PR] Update transparent_proxy.cfg

2017-06-20 Thread PR Bot
Dear list!

Author: hflamboauto1 
Number of patches: 1

This is an automated relay of the Github pull request:
   Update transparent_proxy.cfg

Patch title(s): 
   Update transparent_proxy.cfg

Link:
   https://github.com/haproxy/haproxy/pull/79

Edit locally:
   wget https://github.com/haproxy/haproxy/pull/79.patch && vi 79.patch

Apply locally:
   curl https://github.com/haproxy/haproxy/pull/79.patch | git am -

Description:
   This is basically a question regarding this value.
   Everywhere on
   "internet resources" i see *clientip* ... which one is correct? This
   example ?

Instructions:
   This github pull request will be closed automatically; patch should be
   reviewed on the haproxy mailing list (haproxy@formilux.org). Everyone is
   invited to comment, even the patch's author. Please keep the author and
   list CCed in replies. Please note that in absence of any response this
   pull request will be lost.