tempesta-tech / tempesta

All-in-one solution for high performance web content delivery and advanced protection against DDoS and web attacks
https://tempesta-tech.com/
GNU General Public License v2.0
613 stars 103 forks source link

TDB crash #1921

Open krizhanovsky opened 1 year ago

krizhanovsky commented 1 year ago

Bug report from the recent pilot on just released 0.7 (as of 9653573932a8f4e99bf6f1d08b343c0dc9dbb72e). photo_5276405853743860028_y

photo_5276405853743860019_y

photo_5276405853743860013_y photo_5276405853743860009_y

krizhanovsky commented 1 year ago

Tempesta's config:

listen 80;
cache 1;
cache_fulfill * *;

block_action attack reply;

server 10.3.145.179:8080;
#access_log off;
vhost fakeapp.lab.bwaf.local {
  proxy_pass default; # reference to the server group
#sticky {
#    cookie name=__tfw;
#    cookie enforce;
#    js_challenge delay_min=1000 delay_range=1000;
#    cookie name=my_js_cookie enforce max_misses=3 timeout=3;
#    js_challenge resp_code=200 delay_min=1000 delay_range=1000 delay_limit=3000;
#}
}
http_chain {
  -> fakeapp.lab.bwaf.local;
}
krizhanovsky commented 1 year ago

This crash appeared on 0.6.8 and we couldn't reproduce it on the current master and analytics also didn't reveal any possible causes for the issue. Having that HTrie is going to be rewritten in #515 , move the issue to the next milestone.