intentionet / netconan

netconan - a Network Configuration Anonymizer
Apache License 2.0
145 stars 12 forks source link

Recognize more IP addresses #144

Closed sfraint closed 3 years ago

sfraint commented 3 years ago

Identify IP addresses when they're surrounded by other characters like ; and -, e.g. my ip 1.2.3.4; will now be anonymized.

Instead of explicitly allowing certain characters, we're now just not allowing "word" characters or the reserved separator (. for v4, : for v6).

Fixes https://github.com/intentionet/netconan/issues/143


This change is Reviewable