Varnish 4.1 - "Hash" in varnishlog is.. masked

Guillaume Quintard guillaume at varnish-software.com
Tue Feb 21 09:58:34 CET 2017


yes, these are the null character. This makes sure that
"hash("123");hash("456");" returns a different result than
"hash("1");hash("23456");"

-- 
Guillaume Quintard

On Tue, Feb 21, 2017 at 9:02 AM, Vlad Rusu <vlad.rusu at lola.tech> wrote:

> Are those %00 expected at the end of the Hash?
>
> ...
> -   ReqURL         /sites/all/themes/allegiant3/
> g4www-style/dist/styles/style.min.1.css
> ...
> -   VCL_call       RECV
> ...
> -   VCL_call       HASH
> -   Hash           "/sites/all/themes/allegiant3/
> g4www-style/dist/styles/style.min.1.css%00"
> -   Hash           "444%00"
> -   Hash           “www…..com%00"
>
>
> Thanks!
>
> --
> *Vlad Rusu*
> skypeid: rusu.h.vlad | cell: +40758066019 <+40%20758%20066%20019>
>
> Lola Tech | lola.tech
>
> On 21 Feb 2017, at 09:58, Vlad Rusu <vlad.rusu at lola.tech> wrote:
>
> Thanks a lot!
>
> --
> *Vlad Rusu*
> skypeid: rusu.h.vlad | cell: +40758066019 <+40%20758%20066%20019>
>
> Lola Tech | lola.tech
>
> On 21 Feb 2017, at 09:57, Geoff Simmons <geoff at uplex.de> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On 02/21/2017 08:46 AM, Vlad Rusu wrote:
>
>
> Per https://varnish-cache.org/docs/4.1/reference/vsl.html, “Hash”
> is masked by default.
>
> I am trying to use varnishlog to see the values added to the hash
> and I just can’t find a way to show it.
>
>
> Start varnishd with: -p vsl_mask=+Hash
>
> The default setting for vsl_mask is:
> - -VCL_trace,-WorkThread,-Hash,-VfpAcct
>
> Documentation here:
> https://www.varnish-cache.org/docs/4.1/reference/varnishd.html#vsl-mask
>
>
> HTH,
> Geoff
> - --
> ** * * UPLEX - Nils Goroll Systemoptimierung
>
> Scheffelstraße 32
> 22301 Hamburg
>
> Tel +49 40 2880 5731 <+49%2040%2028805731>
> Mob +49 176 636 90917 <+49%20176%2063690917>
> Fax +49 40 42949753 <+49%2040%2042949753>
>
> http://uplex.de
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQIcBAEBCAAGBQJYq/LrAAoJEOUwvh9pJNURmIkP/iVnEpxv1/h/z9Fa/h7njuOW
> vHapCbAeXpji7tD5uapWPb8a3h8vEAq1hxVPL2+eSAcrrSh4tsUaF0GaW83UTNms
> aOTecGxlF/n0HTCE/HAyKHgOD7B5dffeq1sm52UeB/mvz4GbhVg/K77tZIxNc12g
> HrtP0SXsKqYIHasE2QBryAdlkFBA7b36oyCGELnw5fpLsBqiJQ1AmjcmV71Oz6YE
> 9CkPK6e5FHRlMaKKPcbiI6upd6lGHh7SKUEOdVLI8ne4luvJQqEArvv1s6ZpHoY8
> 744M/yxnoDOyRBnr+pGSOo6Vv+HlN4+2vh8mXzgtD7PxjLjp3H9ooPbfyzcGmuPK
> i9PxuuKu6Epat+C38Y+VzPvbZeCO/S1ZvOepR7eId8Honwh/bAxfdOriqmVETfsI
> YPM+iEYWkDHvtjWwDHhkmfW6cAvWh564j2JZT0hAmY0INFpiZ5uMohId3nAUZ9/D
> FIQnEaO+67Y89nvkQZlcSB3h/D0Tu67oSuGs6JxqcND48Z1pIDsznxunl9Hly2Vw
> jzRg6a+jW/ZO/inQpA76SHhrlcEN6peakaGusHT/MrJPlLOkhzt2vGYxiusKvA2f
> ddVa6XWPjugcFLxEHgOck+QCDFBkz8Y+qVdWKEA5jHhFlc3bvmla+3zU/olEeyvk
> +q4oQ5Kg6zhVlY9bssZZ
> =22Ly
> -----END PGP SIGNATURE-----
>
>
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20170221/c313de54/attachment.html>


More information about the varnish-misc mailing list