RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1184433 - udpTable has wrong indices
Summary: udpTable has wrong indices
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: net-snmp
Version: 7.0
Hardware: s390x
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Jan Safranek
QA Contact: Dalibor Pospíšil
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-21 11:34 UTC by Dalibor Pospíšil
Modified: 2015-11-19 11:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: snmpd, the Net-SNMP daemon, wrongly converted IPv4 addresses into network format on big-endian platform when processing UDP-MIB::udpTable. Consequence: Indices in the table were always '0.0.0.0' on big-endian platform, instead of real local IP address of UDP socket. Fix: The IP address is now converted correctly. Result: UDP-MIB::udpTable now contains local IP addresses as indices of the table.
Clone Of: 556824
Environment:
Last Closed: 2015-11-19 11:45:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2345 0 normal SHIPPED_LIVE Moderate: net-snmp security and bug fix update 2015-11-19 10:30:06 UTC

Description Dalibor Pospíšil 2015-01-21 11:34:39 UTC
Similar problem can be reproduced on RHEL5.4 on s390x.

after executing following command in the test 58:
# /usr/src/redhat/BUILD/net-snmp-5.3.2.2/apps/snmpnetstat/snmpnetstat -Cn -Cp udp -v2c -c testcommunity udp:localhost:8791

The output is searched for "127.0.0.1.8791" therefore it should be something like:

Active Internet (udp) Connections
Proto Local Address               
... excluded several lines with open udp ports ...
udp   127.0.0.1.123         
udp   127.0.0.1.8791        

but instead of it the output is:

Active Internet (udp) Connections
Proto Local Address               
... excluded several lines with open udp ports ...
udp   *:123         
udp   *:8791        

and therefore the test fails

58:testing if snmpnetstat finds the running agent in udpTable...FAIL


Version of the component:
net-snmp-5.7.2-20.el7.s390x

Comment 2 Jan Safranek 2015-06-18 09:49:12 UTC
This applies also to ppc64:

# snmpwalk localhost udpTable
...
UDP-MIB::udpLocalAddress.0.0.0.0.323 = IpAddress: 127.0.0.1
...

The IP address in the index (0.0.0.0) should be the same as the value (127.0.0.1).

Comment 7 errata-xmlrpc 2015-11-19 11:45:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-2345.html


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