Current sessions count

Ilia Kantor iliakan at
Sat Mar 26 21:12:48 CET 2011


How can I get a count of current Varnish sessions from inside VCL?

Inline C will do. Approximate will do.

I need it to enable DDOS protections if the count of current connects
exceeds given constant.

Maybe there is a VSL_stats field?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list