HAProxy configuration and lua scripts implementing a challenge-response page where visitors solve a captcha and/or proof-of-work (cpu intensive) task. Intended to stop bots, spam, ddos, etc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

11 lines
190 B

ts=%Ts.%ms
h=%[hdr(host)]
ip=%ci
uag=%[req.fhdr(user-agent)]
http=%HV
tls=%[ssl_fc]
tlsv=%sslv
tlsf=%[ssl_c_sha1,hex]
sni=%[ssl_fc_sni]
vey_id=%[env(RAY_ID)]
expiry=%[env(CHALLENGE_EXPIRY)]