Debian Patches

Status for net-snmp/5.9+dfsg-4+deb11u1

Patch Description Author Forwarded Bugs Origin Last update
fix_snmpcheck_perl_path.patch fix_snmpcheck_perl_path Hideki Yamane <henrich@debian.org> no 2015-06-18
62_add_lib_cflags.patch Add base-lib-cflags option Add option "--base-lib-cflags" to net-snmp-config. This flag returns
options needed to link against libnetsnmp. In particular, no perl
specific options are provided.
.
It was reported in "libsnmp-base: forcing perl headers in net-snmp-config
--cflags breaks perl builds"
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502806
Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org> no 2019-02-07
64_missing_lib.patch Add missing libraries to Makefile Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org> no 2019-02-07
pingmib_perl_path Use perl path directly Original script used /usr/bin/env perl to find the interpreter. This is
against Debian policy 10.4
Craig Small <csmall@debian.org> no 2019-01-05
02_statistics.patch Ignore interfaces without statistics Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org> no 2019-02-07
03_makefiles.patch Update Makefiles Makefile patch to include libwrap and libsensors libraries and install
extra MIB files.
Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org> no 2019-02-07
05_searchdirs.patch _searchdirs
Makefile patch to include libwrap and libsensors libraries and install extra
MIB files.
Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org> no 2015-06-18
06_extramibs.patch _extramibs
Extra MIB files shipped with Debian.
Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org> no 2015-06-18
07_docfiles.patch Document paths Patch documentation files to change paths to Debian specific locations. Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org> no 2019-02-07
60_libsensors_api.patch _libsensors_api
Patch from Jonathan Nieder <jrnieder@gmail.com> to update lmsensors API to libsensors4.
Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org> no 2015-06-18
fix_regular_expression.patch Fix regular expression >>> import os
>>> import re
>>> import string
>>> import sys
>>> netsnmp_libs="-Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu -lnetsnmp -lcrypto -lm"
>>> print netsnmp_libs
-Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu -lnetsnmp -lcrypto -lm
>>> re.findall(r"-l(\S+)", netsnmp_libs)
['inux-gnu', 'netsnmp', 'crypto', 'm']
.
Just inserting space will fix this.
>>> re.findall(r" -l(\S+)", netsnmp_libs)
['netsnmp', 'crypto', 'm']
Hideki Yamane <henrich@debian.org> no 2019-02-07
snmptranslate.1.patch snmptranslate.1 groff errors Hideki Yamane <henrich@debian.org> no 2019-02-07
fix_spelling_error.patch Spelling Errors Fix some minor spelling errors in the code Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org> no 2019-02-07
fix_typo_in_snmpd.conf.patch fix_typo_in_snmpd.conf Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org> no 2015-06-18
fix_manpage-has-errors_break_line.patch Fix man page groff errors Hideki Yamane <henrich@debian.org> no 2019-02-07
add_rocommunity6.patch add_rocommunity6 Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org> no 2015-06-18
fix-request-id-0.patch fix-request-id-0 Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org> no 2019-02-07
0026-fix-Bug-785380-incorrect-date-format.patch fix Bug#785380 incorrect date format Hideki Yamane <henrich@debian.org> no 2016-01-28
0027-fix-455707-traptoemail-use-FQDN.patch fix #455707 traptoemail use FQDN Hideki Yamane <henrich@debian.org> no 2016-01-29
let_perl_access_engineid.diff Let Perl access EngineID Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org> no 2019-02-07
fix_perl_bulk_gets.diff Fix perl bulk gets Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org> no
callback_print.diff callback_print Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org> no 2018-03-05
fix_engineid_reprobe.diff Fix engineID reprobe Do not probe for engineID when we already know it Net-SNMP Packaging Team <pkg-net-snmp-devel@lists.alioth.debian.org> no
snmpwalk_args_in_snmpcheck Correct snmpwalk args in snmpcheck
snmpcheck used the old command line arguments for snmpwalk giving an
error and no data.


References:
https://bugs.kali.org/view.php?id=4655
Craig Small <csmall@debian.org> no 2018-07-20
snmpd_pidfile_mode Make snmpd pidfile word-readable Almost all pid files are mode 644, including snmptrapd. For some unknown
reason, snmpd had mode 0600. Now it has 644 like everyone else.
Craig Small <csmall@debian.org> no debian 2019-04-30
snmpcmd_1_groff no
netsnmp_mib_api_3_groff no
snmplib_error_subcontainer Change logging on ia_addr message Message about error with subcontainers is just debug, not a filtered by
keyword debug. This (along with logging options set to high in the init
script) made snmpd very chatty.
Pik Master <pikmaster@wp.pl> no debian upstream, http://sourceforge.net/p/net-snmp/patches/1322/ 2019-10-10
apps_makefile_use_ldflags Makefile add correct flags The sedscript creation was missing CPPGLAGS Craig Small <csmall@debian.org> yes upstream 2020-08-21
cross.patch no
agent_silent_eacces Be quiet on access error SNMP agents can legitimately be not allowed to access mount points, such as
trying to get to things under /run/user. This patch changes a EACCES error to
a debug message.
Craig Small <csmall@debian.org> no debian Debian 2020-08-21
agent_swinst_dpkg_date swinst_apt: Use dpkg for modified date Instead of trawling through dpkg's files, let dpkg-query tell us
when the package was last modified. It means if the directory
changes or any other internal changes happen, this will still
keep working.
.
db-sys:Last-Modified field has been in since dpkg-query 1.19.3
which means it works for Debian stable (Buster) onwards.
Craig Small <csmall@debian.org> yes debian upstream Debian 2020-04-04
snmpd_conf_5_ro_extend snmpd.conf.5 cannot extend EXTEND Remove line in man page that you can extend EXTEND with
SNMP SETs
Craig Small <csmall@debian.org> no Debian 2020-07-31
Link-libnetsnmptrapd-against-MYSQL_LIBS.patch Link libnetsnmptrapd against MYSQL_LIBS
When building with MySQL (MariaDB) support, this library must
be linked against the MySQL client library, or else it will
have unresolved symbols.
Adam Williamson <awilliam@redhat.com> yes debian upstream https://bugzilla.redhat.com/attachment.cgi?id=1301954 2019-12-12
pkgconfig_install_mode Install pkgconfig as data Upstream installs pkgconfig files as executable which lintian correctly complains
about:
W: libsnmp-dev: executable-not-elf-or-script usr/lib/x86_64-linux-gnu/pkgconfig/netsnmp-agent.pc
W: libsnmp-dev: executable-not-elf-or-script usr/lib/x86_64-linux-gnu/pkgconfig/netsnmp.pc
INSTALL_DATA installs files as 0644
Craig Small <csmall@debian.org> yes Debian 2020-08-22
perl_makefile_man3pods Rename SNMP.3 to SNMP.3pm The upstream build system installs the perl SNMP man page as SNMP.3
While the Debian dh_install renames it, it causes the file to be put into
libsnmp-dev not libsnmp-perl package.
Giving it the correct name in the first place means its picked up by the
correct package.
Craig Small <csmall@debian.org> no debian Debian 2020-09-03
snmpd_fix_bounds_checking snmpd: fix bounds checking in MIBS Fix bounds checking in NET-SNMP-AGENT-MIB, NET-SNMP-VACM-MIB,
SNMP-VIEW-BASED-ACM-MIB, SNMP-USER-BASED-SM-MIB

Reported by: Yu Zhang of VARAS@IIE, Nanyu Zhong of VARAS@IIE
Fixes by: Arista Networks

References: CVE-2022-24805, CVE-2022-24809
Bill Fenner <fenner@gmail.com> no debian upstream, https://github.com/net-snmp/net-snmp/commit/67ebb43e9038b2dae6e74ae8838b36fcc10fc937` 2022-08-10
snmpd_recover_set_status snmpd: recover SET status from delegated request Reported by: Yu Zhang of VARAS@IIE, Nanyu Zhong of VARAS@IIE
Fixes by: Arista Networks
.
When a SET request includes a mix of delegated and
non-delegated requests (e.g., objects handled by master
agent and agentx sub-agent), the status can get lost while
waiting for the reply from the sub-agent. Recover the status
into the session from the requests even if it has already
been processed.
.
CVE-2022-24806 CVE-2022-24807 CVE-2022-24808 CVE-2022-24810
Bill Fenner <fenner@gmail.com> no debian upstream, https://github.com/net-snmp/net-snmp/commit/9a0cd7c00947d5e1c6ceb54558d454f87c3b8341 2022-08-10

All known versions for source package 'net-snmp'

Links