News for hackers. Stuff that matters.
Re:Application-Layer DDoS Attack Protection with HAProxy by idealhavoc on Friday November 09, 2018 @05:25PM (#18418569)
For the first example that looks good to catch scanners and the like, though it needs an "http-response track-sc0 src" or nothing will get stored in the stick table. The second example it looks good; since there aren't any regexes in there the ip/substring/end lookups are quite CPU friendly so shouldn't have a large impact even at higher request rates (IP ACL files notably get loaded into a binary tree format and take next to no CPU work to check for a match even with millions of IP's).
Re:Application-Layer DDoS Attack Protection with HAProxy by LinuxBender on Monday November 12, 2018 @11:52AM (#18433720)
Ah yes, I left off the track-sc0 from my config. Good catch. I tried to stay away from regex or long strings. Ty for verifying that it looks ok.
Re:Application-Layer DDoS Attack Protection with HAProxy by bedis9 on Sunday November 11, 2018 @08:28AM (#18426264)
Partially true. Sub matching is stored in chained lists and could take some CPU if improperly used