Hi, i'm helping to fix some issues with cookies (number, length...) thus I need to dump all the cookies in every request (tied with the host header). I tried with varnishlog but the actual value is limited (in our configuration) to ~ 700 bytes by the vsl_reclen parameter, I suppose. Reading the documentation, that value ranges between 16b and 4084b, which is lower than what I need to dump the full monster cookie (~ 24kb).
At the moment I'm using tcpdump in the proxy port, but it is really impractical as I have to grep/awk and group the requests...and I'm not really proud about its manutenablity. Is there a way to dump, for every request that contains the cookie header, such header plus others? (in my case: host)? I was thinking about tapping into varnish functions using eBPF. What do you think? Do you have something already working for my case that I could tamper with? Thanks Luca
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
