Bug 1485755
| Summary: | Misleading "Address family for hostname not supported" from snmptrapd | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | k-endou | ||||
| Component: | net-snmp | Assignee: | Josef Ridky <jridky> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 7.3 | CC: | abetkike, fkrska, ovasik, peter.vreman, ralloway | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2019-10-23 08:49:23 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1660473 | ||||||
| Attachments: |
|
||||||
|
Description
k-endou
2017-08-28 01:33:06 UTC
Reported upstream: https://sourceforge.net/p/net-snmp/bugs/2805/ I was able to replicate this issue and the cause is that snmplib/transports/snmpUDPIPv6Domain.c does not take IPv4 addresses into account. Attached is a patch which will add checking of IPv4 addresses as IPv4-compatible IPv6 address to netsnmp_udp6_parse_security() to resolve this issue. The upstream bug report has also been updated with this solution: https://sourceforge.net/p/net-snmp/bugs/2805/#61ca . -Rich Alloway (Rogue Wave) Created attachment 1475110 [details]
Proposed fix which adds IPv4-compatible IPv6 address support to netsnmp_udp6_parse_security()
|