https://bugzilla.redhat.com/show_bug.cgi?id=2212317
Bug ID: 2212317
Summary: IPv6 is not working
Product: Fedora
Version: 37
OS: Linux
Status: NEW
Component: perl-SNMP_Session
Severity: medium
Assignee: spotrh(a)gmail.com
Reporter: mspacek(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: perl-devel(a)lists.fedoraproject.org, spotrh(a)gmail.com
Target Milestone: ---
Classification: Fedora
SNMP_Session Perl library has issue in usage of IPv6.
Fix is in
https://github.com/sleinen/snmp-session/pull/15/commits/599378943bf3cac92...
Reproducible: Always
Steps to Reproduce:
1. Set SNMP with IPv6 only (agentaddress [::1] in /etc/snmp/snmpd.conf)
2. Run the example in the attachment with: ./test.pl '[::1]' and check result.
Actual Results:
Error:
can't resolve "[::1]" to IP address
at ./test.pl line 19.
Couldn't open SNMP session to [::1]:161. at /__PATH_TO_TEST__/test.pl line 20.
Expected Results:
Something like:
1.3.6.1.2.1.1.1.0 => Linux man 6.2.15-300.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC
Thu May 11 17:37:39 UTC 2023 x86_64
1.3.6.1.2.1.1.4.0 => Root <root@localhost> (configure
/etc/snmp/snmp.local.conf)
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2212317