-
Recent Posts
Archives
- September 2021
- May 2019
- January 2019
- November 2017
- July 2017
- March 2017
- August 2016
- May 2015
- January 2015
- October 2014
- June 2014
- December 2013
- September 2013
- August 2013
- July 2013
- May 2013
- March 2013
- February 2013
- January 2013
- October 2012
- August 2012
- June 2012
- February 2012
- January 2011
- October 2010
- December 2009
- July 2009
- January 2009
- October 2008
Me on Twitter
- RT @jedisct1: Counting unique visitors without using cookies, UIDs or fingerprinting. notes.normally.com/cookieless-uni… 3 months ago
- IPv4 price forecasts for 2022-2023 lassekarstensen.wordpress.com/2021/09/08/ipv… 1 year ago
- RT @cryptopathe: GPRS (2G & 3G data) encryption schemes GEA-1 and GEA-2 have a security of 2^40 (due to a backdoor) and 2^45 (apparently un… 1 year ago
- RT @bcrypt: merry xss-mas! here’s one from chessbase.com that was fixed recently. send <script>if ($('.cbChatUserName')[0].innerT… 2 years ago
- RT @pancak3lullz: #BMW customer data up for sale @BMW @BMWUSA https://t.co/EJJQjhegQZ 2 years ago
- RT @haveibeenpwned: New breach: Foodora had 583k unique customers exposed in 2016. Data included names, delivery addresses, phone numbers a… 2 years ago
Tag Archives: work
PROXY protocol in Varnish
Dag has been working implementing support for HAProxy’s PROXY protocol[1] in Varnish. This is a protocol adds a small header on each incoming TCP connection that describes who the real client is, added by (for example) an SSL terminating process. … Continue reading
What happened to ban.url in Varnish 4.0?
tl;dr; when using Varnish 4 and bans via varnishadm, instead of “ban.url EXPRESSION”, use “ban req.url ~ EXPRESSION”. In Varnish 3.0 we had the ban.url command in the varnishadm CLI. This was a shortcut function expanding to the a bit cryptic (but powerful) … Continue reading
Setting client.ip in Varnish VCL with libvmod-ipcast
I’ve written a new Varnish 3.0 VMOD called ipcast. It has a single function; ipcast.clientip(ipstring) which sets the internal Varnish variable client.ip to whatever IPv4/IPv6 address you give as the argument. You need this if you want to do ACL checks … Continue reading
libvmod-cookie; simpler cookie handling in Varnish VCL
I’ve written a Varnish module (VMOD) to simplify handling of HTTP cookies in Varnish VCL. In essence it does the usual stuff you’d usually do with regular expressions, but with much simpler syntax and readability. It works by parsing the … Continue reading
HTTP Live Streaming (HLS) tools
Delivering video over HTTP is up and coming. The two protocols that seem to be winning (currently) are HLS and HDS. These are my notes from playing around with HLS. If you want to play HLS on Linux, this python … Continue reading
Varnishncsa and std.log()
New in Varnish 3.0.3rc1 is that you can put arbitrary log lines from VCL into the varnishncsa output. This can be used for funky stuff like logging the session cookie along with the request. Let’s say you have the following … Continue reading