Re: varnish with apache mod_auth

2017-03-18 Thread Hernán Marsili
Actually, Varnish should set the XFF header even before you enter > vcl_recv. > > > -- > Guillaume Quintard > > On Mar 17, 2017 19:23, "Hernán Marsili" <her...@cmsmedios.com> wrote: > > Ok, so I finally make it work with the suggested rule. >

Re: varnish with apache mod_auth

2017-03-17 Thread Hernán Marsili
. Fell free to test, using regex101.com for example. or > better, a Varnish Test case Case: > https://gist.github.com/gquintard/ee47432bb8b5c97b615d973b57b6338e > test it using: varnishtest foo.vtc > > -- > Guillaume Quintard > > On Fri, Mar 17, 2017 at 1:33 PM, Hernán Marsili <her

Re: varnish with apache mod_auth

2017-03-17 Thread Hernán Marsili
nal port > down to IPTables or similar. > 4) Push the list of IP addresses to external Firewall, or Security Group > or whatever. > > > > On Thu, Mar 16, 2017 at 5:46 PM, Hernán Marsili <her...@cmsmedios.com> > wrote: > > Hi, > > We are having an issue with VARN

varnish with apache mod_auth

2017-03-16 Thread Hernán Marsili
Hi, We are having an issue with VARNISH and apache mod_auth. Varnish is on port 80 serving users and Apache is the backend. We have servers restricting access only to authenticated users or certain IP addresses. Since we installed Varnish the issue is that we need to enable 127.0.0.1 as a

Re: using http/2 with varnish

2015-12-28 Thread Hernán Marsili
Thank you very much. Is there an estimate time for h2 support? (first quarter 2016, mid-year, etc?). Just to have a notion. Best regards, Hernán. On Mon, Dec 28, 2015 at 5:48 AM Guillaume Quintard < guilla...@varnish-software.com> wrote: > Hi, > > For a more detailed answer : we don't support

using http/2 with varnish

2015-12-26 Thread Hernán Marsili
Hi, We are migrating a lot of customer to HTTPS to take advantage of HTTP/2. We are running VARNISH 3 and as far as we were able to determine, is not possible to run this scenario using Varnish. Can anyone point us on the right direction here? a) is there any way to run https on varnish 3? b)

session id problem

2014-12-17 Thread Hernán Marsili
Hi, We have a simple problem, every time we ask for a page, the sessionid change. Is this a normal behavior with Varnish? and how can we solved it? Any help will be much appreciate! Saludos, Hernán. ___ varnish-misc mailing list

tuning nfiles and memlock

2014-10-28 Thread Hernán Marsili
Hi, We have sites with around 3000 concurrentes users per box. We where using the defaults for NFILES and MEMLOCK. We tuned them to the following values and we found a 20% increase in the server traffic handling limit (consistently benchmark with Apache AB tool). NFILES=262144 MEMLOCK=204800

problem with statistics varnishstat

2014-08-31 Thread Hernán Marsili
Hi, I have a web site in which every url with _req on it, it should be PASS and not cached on Varnish. We are using PASS on the VCL to not cache this, but it trashed the hit ratio statistics. How can we make varnish to not count this on the average hit ratio? the use of PIPE has been suggested.

memory alloc and probe

2014-06-18 Thread Hernán Marsili
Hi, We have two problems while using Varnish: 1) we actually don't know how to determine if the amount of memory we assigned to the MALLOC is enough or not. varnishstat -1 show this: SMA.s0.c_req 5803534.08 Allocator requests SMA.s0.c_fail 0 0.00

varnish mp4 streaming

2014-06-09 Thread Hernán Marsili
Hi, We are working on a VIDEO SITE for a sports sites. Currently working with Varnish 3.0.5. The average video size is 100mb. We have a 4gb malloc storage. Right now, we are handling mp4 as just a regular file. No problems so far. A couple of questions: 1) STREAM. We tried this on the vcl but

Re: help with logged in users VCL

2014-02-26 Thread Hernán Marsili
5350-1090 | España +34 93 179-0330 | El Salvador +503 21 13-9730 | Venezuela +58 212 335-1180 | Colombia +57 1 508-7840 On Wed, Feb 26, 2014 at 7:28 AM, Lasse Karstensen lkars...@varnish-software.com wrote: On Mon, Feb 24, 2014 at 04:35:40PM -0300, Hernán Marsili wrote: [..] We are getting

help with logged in users VCL

2014-02-24 Thread Hernán Marsili
Hi, We are 'tuning' a VCL for an editorial site. We we need is basically to cache all images, css, js, fonts (for about 600 seconds and 7200 seconds depending on the directory) and HTML (for 60 seconds). When a user is logged in, we want to read a cookie named LOGD and DO NOT cache HTML and set

best varnish architecture for high concurrency site

2014-02-20 Thread Hernán Marsili
Hi, We are 'playing' with different architecture options to maximize the usage of Varnish Cache. We currently have 6000 concurrentes users and we are balancing over 4 servers. Each server has a Varnish, (4gb malloc) which consumes a local backend with Apache / Tomcat (another 4gb). Every box is a

Re: best varnish architecture for high concurrency site

2014-02-20 Thread Hernán Marsili
Hi John, Thank you very much for you quick response. To be honest I don't have a measure right now of how many connections produces this 6000 concurrent users. I will measure it on the next rush hour. Currently, is distributed along 4 servers. On average, each servers has 1000 connections. a) we