This has been in all releases since 5.7.3 in 2014. Where do you need it (in other words, you really need to upgrade)?
Did you read my response from 2012? That file is in ASN.1 format, not SMIv2 (nor SMIv1). It is not intended for our parser. /Niels
Fix a spurious warning when running tests
Fix a spurious warning when running tests
Merge branch 'V5-9-patches'
Fix build for NetBSD by adding kernel_netbsd
apps/Makefile.in: add mysql libs to snmåptrapd link
Merge branch 'V5-9-patches'
mibs: updated IANAifType-MIB, IANA-ADDRESS-FAMILY-NUMBERS-MIB
Merge branch 'V5-9-patches'
Merge branch 'V5-7-patches' into V5-8-patches
parse: remove a forgotten debug message
Merge branch 'V5-8-patches'
snmpwalk/snmpbulkwalk: flush stdout buffers before bailing out on stderr
Merge branch 'V5-4-patches' into V5-7-patches
Merge branch 'V5-7-patches' into V5-8-patches
Merge branch 'V5-8-patches'
IANA updates for IANAifTypeMIB and IANA-ADDRESS-FAMILY-NUMBERS-MIB
Merge branch 'V5-7-patches' into V5-8-patches
Merge branch 'V5-8-patches'
fsys_mrtent: add glusterfs as a recognized filesystem type.
Merge branch 'V5-7-patches' into V5-8-patches
Merge branch 'V5-8-patches'
snmplib/parse: change the tclist (TEXTUAL-CONVENTION) data structure
Merge branch 'V5-8-patches'
Merge branch 'V5-7-patches' into V5-8-patches
Merge branch 'V5-7-patches' into V5-8-patches
Support for NetBSD 9.0
Merge branch 'V5-8-patches'
snmptable: fix crash when agent has more columns than MIB.
Merge branch 'V5-7-patches' into V5-8-patches
Reorder ifdefs to unbreak DragonflyBSD compilation.
Merge branch 'V5-8-patches'
Merge branch 'V5-4-patches' into V5-7-patches
nmptable: detect and fail on non-increaing OIDs.
Merge branch 'V5-7-patches' into V5-8-patches
Merge branch 'V5-8-patches'
Merge branch 'V5-7-patches' into V5-8-patches
testing: Debian 10 (buster) moved ss to /usr/bin/ss
Merge branch 'V5-8-patches'
Merge branch 'V5-8-patches'
Fix CentOS6 compile witch does not define ETHTOOL_GLINKSETTINGS
hr_disk_bsd: OpenBSD needs to include sys/dkio.h
swrun_kinfo: DragonflyBSD does not have KERN_PROC_PROC
Merge branch 'V5-8-patches'
Not all compilers groks mixed declaration and statements.
Remove a superfluous semicolon.
Merge branch 'V5-8-patches'
Merge branch 'V5-7-patches' into V5-8-patches
Merge branch 'V5-8-patches'
Merge branch 'V5-7-patches' into V5-8-patches
Add openbsd6.h to headers to install.
Merge branch 'V5-8-patches'
mibs/rfclist: Add RFCs 8389, 8502, 8502.
Merge branch 'V5-7-patches' into V5-8-patches
Update IANAifType-MIB to current version.
Proactively add FreeBSD 13, 14
Merge branch 'V5-8-patches'
hr_disk: include sys/disk.h is not cosher for DragonFly
Merge branch 'V5-4-patches' into V5-7-patches
Merge branch 'V5-7-patches' into V5-8-patches
hr_disk_bsd: Forward port fixes for NetBSD
New data access handler: hr_disk_dfly.
Patch for cpu_sysctl for FreeBSD 12.
Merge branch 'V5-7-patches' into V5-8-patches
Merge branch 'V5-8-patches'
Merge branch 'V5-8-patches'
Forward port FreeBSD 12 patches
Update IANAifType-MIB to current IANA version
Merge branch 'V5-4-patches' into V5-7-patches
Minor hr_disk fixes for FreeBSD/NetBSD.
Merge branch 'V5-7-patches'
Fix hr_disk for newer FreeBSD and NetBSD.
Merge branch 'V5-8-patches'
Merge branch 'V5-8-patches'
Patch for udpEndpointTable for FreeBSD 12.
Patch for tcpTable for FreeBSD 12
Merge branch 'V5-7-patches'
Update IANAifType-MIB to current IANA version.
Merge branch 'V5-4-patches' into V5-7-patches
Patch for tcpConnTable for FreeBSD 12
Merge branch 'V5-7-patches'
Patch for udpTable for FreeBSD 12.
Merge branch 'V5-4-patches' into V5-7-patches
Merge branch 'V5-7-patches'
The current 5-7-patches branch (and 5.8 release) has support for OpenSSL 1.1, and compile without problems on Ubuntu 18.10 and Fedora 29 which both come with OpenSSL 1.1.1. I am in the process of backporting networking patches from FreeBSD 12 ports to verify it is working there too.
Please upgrade to 5.7.3, it has the fix integrated.
Additional patch for NetBSD 8 support.
NetBSD 8 only exports krb5_auth_con_getsendsubkey, so separate configure
Support for NetBSD 8
Remove duplicated function in usmDHParameters.c that breaks compilation with
Merge branch 'V5-7-patches'
mibs: Add SNMP-USM-HMAC-SHA2-MIB.txt
Merge branch 'V5-7-patches'
On what OS do you see this problem? What version of Net-SNMP?
You should be able to disable anything to do with the printer part of the host mib by disabling that module using the option -I-hr_print when starting snmpd.
This is expected behaviour. You are entering an ifIndex which is out of range according to the IF-MIB, so the parser complains. There are two possibilities to get around this, and you have already found one: using -Ir on the command line. The other possibility is to stop the tools from loading IF-MIB, so they do not know about the ifIndex OID and its limitations. We are just trying to be helpful.
Or, instead of rewriting the file, write a new file and rename it when the file is complete.
memory leaks in net-snmp-5.7.3
Thanks for the patch! It has been applied to te active branches.