Research Article
A Novel Protective Framework for Defeating HTTP-Based Denial of Service and Distributed Denial of Service Attacks
Algorithm 7
High rate attack entropy algorithm.
calculate avg_c = (cold_uri1_clicks + cold_uri2_clicks + ⋯ + cold_uriN_clicks)/N | IF (avg_c >= 10000) | calculate entropy H = −H(cold_uri1) + −H(cold_uri2) + ⋯ + −H(cold_uriN) | IF (H <= −1.36 OR H >= +1.36) | return HTTP_FORBIDDEN | Blacklist_Table(remote_ip) | EdgeRouter_Ban(remote_ip) | ENDIF | ENDIF |
|