Wind River Support Network

HomeDefectsLIN8-5147
Fixed

LIN8-5147 : CLONE - NetSNMP not working properly for IPv6

Created: Nov 20, 2016    Updated: Dec 9, 2019
Resolved Date: Nov 22, 2016
Found In Version: 8.0.0.11
Fix Version: 8.0.0.12
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Networking

Description

These 2 were back-ported from upstream, the WRL 8 which uses net-snmp 5.7.3 have not yet included them:
0001-net-snmp-fix-snmptrap-use-clientaddr-in-snmp.conf.patch
0001-net-snmp-snmplib-UDPIPv6-transport-Add-a-missing-ret.patch

And these 2 are dedicated modification, should not be integrated to standard product, and be kept in customer layer:
0001-net-snmp-UDP-can-reuse-address.patch
0001-removing-tdomain-from-clientaddr.patch


Background:
To fulfill the requirement of "binding" snmp to a single IP address in an IP-multihomed environment we make use of the configuration attribute 'clientaddr' in snmpd.conf.

example IPv4:
[snmp]
clientaddr 10.11.12.13
[snmpd]

example IPv6:
[snmp]
clientaddr 2001:1b70:6281:f100::61
[snmpd]

This works for IPv4 but not for IPv6.
After checking the NetSNMP version it seems likely that the cause is the one explained here:
https://sourceforge.net/p/net-snmp/mailman/message/33064273/

Details:
# net-snmp 5.7.2 (without patch above, this is our current version) https://sourceforge.net/p/net-snmp/code/ci/v5.7.2/tree/snmplib/transports/
snmpUDPIPv6Domain.c

# Master branchen (is patched)
https://sourceforge.net/p/net-snmp/code/ci/master/tree/snmplib/transports/
snmpUDPIPv6Domain.c#l291

# 5.7.3 seems to NOT have the patch
https://sourceforge.net/p/net-snmp/code/ci/v5.7.3/tree/snmplib/transports/
snmpUDPIPv6Domain.c

http://www.net-snmp.org/download.html

Latest release is 5.7.3 

Other Downloads


Live chat
Online