Skip to content

IPv4 addresses not parsed correctly in IIS #1109

Closed
@culyerr

Description

@culyerr

Port number is included when passed to tree_contains_ip(..) and code attempts to parse as an IPv6 address.

Error is raised to Windows Event Log when doing IPmatch rules

[client 213.78.82.1:34984] ModSecurity: IPmatch: bad IPv6 specification "213.78.82.1:34984". [hostname "ACTUSAA1"] [uri "/api/ping"] [unique_id "16717361818946771401"]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions