Bug 2212317 - IPv6 is not working
Summary: IPv6 is not working
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-SNMP_Session
Version: 37
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-05 09:45 UTC by Michal Josef Spacek
Modified: 2023-11-23 08:41 UTC (History)
3 users (show)

Fixed In Version: perl-SNMP_Session-1.13-34.fc39
Clone Of:
Environment:
Last Closed: 2023-11-23 08:41:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github sleinen snmp-session issues 16 0 None open IPv6 is not working 2023-06-05 09:57:49 UTC

Description Michal Josef Spacek 2023-06-05 09:45:37 UTC
SNMP_Session Perl library has issue in usage of IPv6.
Fix is in https://github.com/sleinen/snmp-session/pull/15/commits/599378943bf3cac92fda33fc450d8ac04db41644

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)

Comment 1 Michal Josef Spacek 2023-06-05 09:46:20 UTC
Created attachment 1969020 [details]
Test script

Comment 2 Michal Josef Spacek 2023-06-05 09:56:01 UTC
PR: https://src.fedoraproject.org/rpms/perl-SNMP_Session/pull-request/2

Comment 3 Aoife Moloney 2023-11-23 01:46:05 UTC
This message is a reminder that Fedora Linux 37 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '37'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 37 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.


Note You need to log in before you can comment on or make changes to this bug.