You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IpLookupsEnrichment.extractIpInformation(ip: String) strips port number from ip if it is IPv4 whereas it should be the case for both IPv4 and IPv6.
Not stripping port number from IPv6 address probably results in empty lookup result. It is worth confirming this hypothesis first and tackle the rest if that's the case.
One of the transitive dependencies is ipaddress which provides HostName to represent IP addresses or hostnames with port number or service name. It allows stripping port number and service name without dealing with complex, hard to manage regular expressions.
The text was updated successfully, but these errors were encountered:
Not stripping port number from IPv6 address probably results in empty lookup result. It is worth confirming this hypothesis first and tackle the rest if that's the case.
I can confirm that's the case, including this in current milestone. IPv6 address without port number works fine but one with port number doesn't.
IpLookupsEnrichment.extractIpInformation(ip: String)
strips port number fromip
if it is IPv4 whereas it should be the case for both IPv4 and IPv6.Not stripping port number from IPv6 address probably results in empty lookup result. It is worth confirming this hypothesis first and tackle the rest if that's the case.
One of the transitive dependencies is
ipaddress
which providesHostName
to represent IP addresses or hostnames with port number or service name. It allows stripping port number and service name without dealing with complex, hard to manage regular expressions.The text was updated successfully, but these errors were encountered: