User Activity

  • Posted a comment on discussion Help on ModSecurity

    Hi All, I want to do URI based rate limiting in modsecurity. There are two rates that have to be kept track of, one is the overall rate and the other is the site specific rate. Can someone please translate the below pseudocode into modsecurity code? I am new to modsecurity. Pseudocode: when HTTP_REQUEST { if { HTTP_URI starts_with "/ms/site/" } { $site = get_third_field_from_HTTP-URI #if HTTP_URI = /ms/site/abcorp/123, then get "abcorp" $overall_rate = some_number $overall_limit = some_number $per_site_rate...

View All

Personal Data

Username:
nesamani
Joined:
2020-11-05 17:00:28

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB