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
Is the issue related to the environment of the customer or Software related issue?
Software-related
Is it related to Data loss, please explain ?
Protocol? Hardware specs?
No
Last chance index/Fallback index?
Configured as sc4s_default
Is the issue related to local customization?
No
Do we have all the default indexes created?
Yes
Describe the bug
The parser_source_cache.py script fails when a source address uses IPv6. The parser is using inet_aton and inet_ntoa, which only supports ipv4.
Was the issue replicated by support?
No
What is the sc4s version ?
3.4.3
Is there a pcap available?
No
Is the issue related to the environment of the customer or Software related issue?
Software-related
Is it related to Data loss, please explain ?
Protocol? Hardware specs?
No
Last chance index/Fallback index?
Configured as sc4s_default
Is the issue related to local customization?
No
Do we have all the default indexes created?
Yes
Describe the bug
The parser_source_cache.py script fails when a source address uses IPv6. The parser is using inet_aton and inet_ntoa, which only supports ipv4.
File in question: https://github.com/splunk/splunk-connect-for-syslog/blob/main/package/etc/pylib/parser_source_cache.py
Problem sections:
def ip2int(addr):
return struct.unpack("!I", socket.inet_aton(addr))[0]
def int2ip(addr):
return socket.inet_ntoa(struct.pack("!I", addr))
Errors from syslog-ng:
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: