-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Milestone
Description
Slash notation no longer works for IPv6 subnets in @ipMatch
operator in 2.8.0:
SecRule REMOTE_ADDR "@ipMatch 2001:db8::/32" \
"id:9999999,phase:1,t:none,nolog,deny"
Parsing gives the following error:
AH00526: Syntax error on line 45 of /usr/local/etc/apache24/mods-enabled/security2.conf:
Error creating rule: Could not add entry "2001:db8::/32" from: 2001:db8::/32.
Normal IPv6 address notation, such as "@ipMatch 2001:db8::"
works normally.
Tested on FreeBSD 8.4+Apache 2.2 and FreeBSD 9.2+Apache 2.4.