bugzilla-daemon at netfilter.org
2019-Nov-06 19:05 UTC
[Bug 1378] New: UDP IPv6 destination address not usable
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>
bugzilla-daemon at netfilter.org
2019-Nov-06 20:36 UTC
[Bug 1378] UDP IPv6 destination address not usable
https://bugzilla.netfilter.org/show_bug.cgi?id=1378 Pablo Neira Ayuso <pablo at netfilter.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |pablo at netfilter.org --- Comment #1 from Pablo Neira Ayuso <pablo at netfilter.org> --- Looks good, would you post this patch to netfilter-devel at vger.kernel.org through git-format patch, also include your Signed-off-by tag. Thanks! -- 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/6fc396f6/attachment.html>
bugzilla-daemon at netfilter.org
2019-Nov-07 09:38 UTC
[Bug 1378] UDP IPv6 destination address not usable
https://bugzilla.netfilter.org/show_bug.cgi?id=1378 Pablo Neira Ayuso <pablo at netfilter.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Pablo Neira Ayuso <pablo at netfilter.org> --- http://git.netfilter.org/conntrack-tools/commit/?id=ab0dcb580324dc8d9296443bc32ed3364642db1e -- 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/20191107/4cb01f06/attachment.html>
Seemingly Similar Threads
- [ANNOUNCE] conntrack-tools 1.2.0 release
- DOS Client and Basic Redirector and security=user (PR#1378)
- [Bug 1378] New: incorrect port check in parse_forward()
- CESA-2011:1378 Moderate CentOS 5 i386 postgresql84 Update
- CESA-2011:1378 Moderate CentOS 5 x86_64 postgresql84 Update