Skip to content

Commit

Permalink
fix: format errors
Browse files Browse the repository at this point in the history
  • Loading branch information
theseion committed Sep 16, 2023
1 parent 7b23c05 commit d20e9cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plugins/dos-protection-before.conf
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ SecRule REQUEST_BASENAME "@rx .*?(\.[a-z0-9]{1,10})?$" \
# burst threshold is hit.
#
SecRule &IP:DOS_COUNTER "@eq 1" \
"id:9514110,\
"id:9514155,\
phase:5,\
pass,\
capture,\
Expand All @@ -231,7 +231,7 @@ SecRule &IP:DOS_COUNTER "@eq 1" \
tag:'OWASP_CRS',\
tag:'capec/1000/210/227/469',\
ver:'OWASP_CRS/3.4.0-dev',\
expirevar:'ip.dos_counter=%{tx.dos_counter_time_slice}"
expirevar:'ip.dos_counter=%{tx.dos_counter_time_slice}'"

#
# Check DOS Counter
Expand Down
2 changes: 1 addition & 1 deletion plugins/dos-protection-config.conf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ SecAction \
setvar:'tx.dos_burst_time_slice=60',\
setvar:'tx.dos_counter_threshold=100',\
setvar:'tx.dos_block_timeout=600',\
setvar:'tx.dos_reporting_timeout=60"
setvar:'tx.dos_reporting_timeout=60'"


# File extensions considered static files.
Expand Down

0 comments on commit d20e9cf

Please sign in to comment.