Browse Source

more precise RE (avoids weakness with catch-all's and is injection safe)

pull/2742/head
Sergey G. Brester 4 years ago committed by GitHub
parent
commit
d678440658
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      config/filter.d/drupal-auth.conf

2
config/filter.d/drupal-auth.conf

@ -14,7 +14,7 @@ before = common.conf
[Definition]
failregex = ^%(__prefix_line)s(https?:\/\/)([\da-z\.-]+)\.([a-z\.]{2,6})(\/[\w\.-]+)*\|\d{10}\|user\|<HOST>\|.+\|.*\|\d\|.*\|Login attempt failed (?:for|from) .+\.$
failregex = ^%(__prefix_line)s(?:https?:\/\/)[^|]+\|[^|]+\|[^|]+\|<ADDR>\|(?:[^|]*\|)*Login attempt failed (?:for|from) <F-USER>[^|]+</F-USER>\.$
ignoreregex =

Loading…
Cancel
Save