Subscribe to receive notifications of new posts:

John Graham-Cumming

John Graham-Cumming

Lisbon, Portugal

CloudFlare's new WAF: compiling to Lua

08/23/2013

NGINXWAFReliability

We use nginx throughout our network for front-line web serving, proxying and traffic filtering. In some cases, we've augmented the core C code of nginx with our own modules, but recently we've made a major move to using Lua in conjunction with nginx. One project that's now almost entirely written in Lua is the new CloudFlare WAF that we blogged about the other day. The Lua WAF uses the nginx Lua module to embed Lua code and execute that code as part of the normal nginx handling of phases....