[Bug 1378] New: UDP IPv6 destination address not usable

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Wed Nov 6 20:05:01 CET 2019


https://bugzilla.netfilter.org/show_bug.cgi?id=1378

            Bug ID: 1378
           Summary: UDP IPv6 destination address not usable
           Product: conntrack-tools
           Version: unspecified
          Hardware: x86_64
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: conntrack-daemon
          Assignee: netfilter-buglog at lists.netfilter.org
          Reporter: raemer at zit-rlp.de

Hi,

if IPv6_Destination_Address is set to a valid IPv6 address, conntrackd fails on
 start with "inet_pton(): IPv6 unsupported".
This can be fixed by changing the else clause to the same used for other IPv6
options:

diff --git a/src/read_config_yy.y b/src/read_config_yy.y
index a4aa7f5..31109c4 100644
--- a/src/read_config_yy.y
+++ b/src/read_config_yy.y
@@ -467,7 +467,7 @@ udp_option : T_IPV6_DEST_ADDR T_IP
                dlog(LOG_WARNING, "%s is not a valid IPv6 address", $2);
                free($2);
                break;
-       } else {
+       } else if (err < 0) {
                dlog(LOG_ERR, "inet_pton(): IPv6 unsupported!");
                exit(EXIT_FAILURE);
        }

Best regards,
Jan-Martin

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20191106/bc918eba/attachment.html>


More information about the netfilter-buglog mailing list