# -*- text -*-
----------------------------------------------------------------------
Changes: V5.8.rc4 -> V5.8
commit caff5ff65cd72664dedea827356f966317aa7a6d
Author: Robert Story
Date: Mon Jul 16 09:40:09 2018 -0400
make depend for 5.8
commit faac86366307666c02ce813f45180a068fc92dba
Author: Robert Story
Date: Mon Jul 16 00:23:22 2018 -0400
master out of Release Candidate
commit 3aa9e011267435fc62efda4cbfc97d53a0acf0ab
Author: Robert Story
Date: Sun Jul 15 23:50:23 2018 -0400
Version number update: 5.8
commit dfd0604c19f6cc0d8cffce7d50e1c513266544c9
Author: Bart Van Assche
Date: Thu Jun 21 19:22:37 2018 -0700
snmplib/transports: Unbreak the MSVC build
Adding an integer to a void pointer works fine with gcc but not with MSVC.
Hence convert the expressions that add an integer to a void pointer into
a construct that is standard C.
----------------------------------------------------------------------
Changes: V5.8.rc3 -> V5.8.rc4
commit 7a6dfaaeeffd4c6fdecbaf26371e7da8e778a67a
Author: Robert Story
Date: Thu Jun 28 18:33:54 2018 -0400
make depend for 5.8.rc4
commit 826a0a326fc15cfc4bbefb6a316dc0376a6f4c0a
Author: Robert Story
Date: Thu Jun 28 18:25:56 2018 -0400
Version number update: 5.8.rc4
commit 2b1d51aba50992549de03f76b77f045c63bd1296
Author: Bart Van Assche
Date: Fri Jun 8 07:39:27 2018 +0200
SNMP-TARGET-MIB: Fix snmpTargetAddrTAddress
See also https://sourceforge.net/p/net-snmp/bugs/2871/.
Reported-by: Anders Wallin
Fixes: 3bd8dc8b2d90 ("snmplib/transports: Avoid that the create_from_ostring methods truncate IPv6 addresses")
----------------------------------------------------------------------
Changes: V5.8.rc2 -> V5.8.rc3
commit 780f24a0189591c37b240cdb8ab99af631f8aeb8
Author: Robert Story
Date: Fri May 25 15:53:41 2018 -0400
make depend for 5.8.rc3
commit f25d035172fb18a730c0e70ee8f23cc419a36d88
Author: Robert Story
Date: Fri May 25 15:18:34 2018 -0400
Version number update: 5.8.rc3
commit c60e23b0c0979dbb2a034ff23f29fb10062213ef
Author: Robert Story
Date: Fri May 25 15:09:13 2018 -0400
don't auto merge dist/release
this might pull in undesired changes during release
commit fe5c40acf61f4c08cad72724a24208167d4fc378
Author: Robert Story
Date: Fri May 25 15:01:24 2018 -0400
dist script to run right version of autoheader
commit f83f865d8a0843b369695b8e23cb794c723e6fa8
Author: Bart Van Assche
Date: Sun May 20 14:35:24 2018 -0700
Cygwin: Make it again possible to build with OpenSSL
Remove #define OPENSSL_SYS_WIN32 since that tells OpenSSL to include
the Winsock header file. Define VC_EXTRALEAN and WIN32_LEAN_AND_MEAN
to avoid that header files are included from that conflict
with the OpenSSL header files. This patch avoids that building without
--with-openssl=internal fails.
This patch reverts 0657b90b7181 ("Cygwin, scapi.h: Fix build")
commit c56db2a5880fd0e9bde8eed98c2722a353d39eaa
Author: Bart Van Assche
Date: Sat May 19 07:49:58 2018 -0700
snmplib: Avoid that sprint_realloc_octet_string() triggers a segmentation fault
strlcpy() implementations typically scan for the end of the source argument
passed to strlcpy(). Hence avoid passing an unterminated string to strlcpy().
Reported-by: Stuart Henderson
Fixes: 7f05daa8e0e0 ("CHANGES: BUG: 3444939: BUG: 1796886: snmplib: Avoid that sprint_realloc_octet_string() embeds unprintable control characters or binary zeroes in its output. This behavior could cause truncated output in snmptrapd.")
----------------------------------------------------------------------
Changes: V5.8.rc1 -> V5.8.rc2
commit c906e444167cd0c83182da336f274361770f94a6 (HEAD -> master)
Author: Robert Story
Date: Fri May 18 17:22:09 2018 -0400
make depend for 5.8.rc2
commit 7677ab7fa419f0d77c438b116c38feb622bf8dd4
Author: Robert Story
Date: Fri May 18 17:02:25 2018 -0400
Version number update: 5.8.rc2
commit 0b5f73255ad120cd5b6233e0cc64dd0f425494b4 (origin/master, origin/HEAD)
Author: Robert Story
Date: Fri May 18 13:00:01 2018 -0400
Revert "fix for setting engineBoots and engineTime (e.g. -Z cli arg)"
This reverts commit 988562514b05a2bc01be4462b99874d081600252.
Further testing needed.
commit 737105284bf2d31347cdf2a4510919cb78ec6e8c
Author: Bart Van Assche
Date: Sat Apr 14 11:32:24 2018 -0700
Add Travis and Appveyor CI support
This patch makes it possible to enable Travis and Appveyor continuous
integration support. On Travis Net-SNMP is built with all MIBs, with
--disable-set-support, with --enable-mini-agent, with --enable-minimalist
and with --enable-read-only. All these configurations are built on Linux
and on OS/X. On Appveyor Net-SNMP is built with MSVC and dynamic
libraries, with MSVC and statically linked libraryes, with MinGW64, with
Cygwin32 and with Cygwin64. As one can see in the scripts in the "ci"
directory the to-do items are as follows:
- Fix the TLSTCP test on Travis.
- Fix the MinGW64 build. That build fails with a linker error.
- Ensure that walking the entire MIB works on Darwin.
- Make the regression tests pass for the Cygwin builds.
- Make the regression tests pass for --disable-set-support,s
--enable-mini-agent, --enable-minimalist and --enable-read-only.
- Make the non-default MIBs compatible with --disable-set-support,
--enable-mini-agent, --enable-minimalist and --enable-read-only.
commit 03257e5201b9657b87915791585e4068533b1fa1
Author: Niels Baggesen
Date: Thu May 17 15:53:54 2018 +0200
Additional patch for NetBSD 8 support.
commit e14027bce1615c57770a1eba18423b5a4b97eada (origin/crypto.ch)
Author: Niels Baggesen
Date: Wed May 16 18:56:08 2018 -0700
MIB-II, at: Fix Solaris build
Fixes: 5103db3c189d ("mibII/at: Split into multiple source files")
commit 131afbbde6e202f93237fd9769969556a6a3aef5
Author: Bill Fenner
Date: Tue May 15 15:05:17 2018 +0000
Don't try to build snmpping when set support is disabled.
commit be40ee3f799d66516d00185de86d9472fb153760
Author: Stuart Henderson
Date: Fri May 11 21:48:22 2018 +0100
Install missing system header files
commit 882e28a5f828c07c5fda835564e60ecc5e38ec92
Author: Bart Van Assche
Date: Mon May 7 05:20:46 2018 -0700
Cygwin64: Fix winExtDLL build
The winExtDLL code assumes that sizeof(oid) == 4. Hence define the
'oid' type as unsigned int when building with MSVC, MinGW or Cygwin.
This patch avoids that building winExtDLL with Cygwin64 fails on the
following statement:
netsnmp_static_assert(sizeof(oid) == sizeof(UINT));
commit 0d99e0176803c6390405c4ae8e028dfd329ed54a
Author: Robert Story
Date: Sun May 13 20:31:05 2018 -0400
restore auth/priv defines for protocol OID lengths (for backwards compatability)
commit 4b518ed4971126dd874f64e0058347e9d622471b
Author: Bart Van Assche
Date: Mon May 7 07:47:24 2018 -0700
CHANGES: BUG: 2815: Display UTF-8 characters again
Before commit 7f05daa8e0e0 sprint_realloc_octet_string() used memcpy()
for ASCII strings. That caused the output to be truncated if a '\0' was
embedded in an octet string. Commit 7f05daa8e0e0 fixed that issue but
broke UTF-8 support. Restore UTF-8 support by only using
sprint_realloc_asciistring() if the octet string contains a '\0'.
Fixes: 7f05daa8e0e0 ("CHANGES: BUG: 3444939: BUG: 1796886: snmplib: Avoid that sprint_realloc_octet_string() embeds unprintable control characters or binary zeroes in its output. This behavior could cause truncated output in snmptrapd.")
commit f35ebb57b9c3f937db99b2b57728cc1e07ff381a
Author: Bart Van Assche
Date: Sun May 6 21:13:14 2018 -0700
configure.ac: Fix recently introduced autoreconf warnings
A recent patch introduced an invocation of AC_CHECK_HEADER before AC_AIX.
However, AC_AIX must be invoked before AC_CHECK_HEADER. Hence move AC_AIX
from configure.d/config_os_progs into configure.ac. Additionally, since
AC_AIX is obsolete, use AC_USE_SYSTEM_EXTENSIONS instead. This patch fixes
all instances of the following autoreconf warnings:
configure.d/config_os_progs:98: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:432: AC_AIX is expanded from...
configure.d/config_os_progs:98: the top level
configure.d/config_os_progs:98: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:432: AC_AIX is expanded from...
configure.d/config_os_progs:98: the top level
Fixes: eef22ea5f92b ("Verify AES support when --with-openssl is provided")
----------------------------------------------------------------------
Changes: V5.8.pre3 -> V5.8.rc1
commit 0a2738ace2a52e4086c067e5f49df9389e90d353
Author: Robert Story
Date: Sun May 6 17:45:17 2018 -0400
Release Candidate for master
commit b0fa7f242ab0bc2f7eca72c88f2f2acc325d98af
Author: Robert Story
Date: Sun May 6 17:45:12 2018 -0400
Version number update: 5.8.rc1
commit 5bfc977c6da865c0265de064964368a760602e75
Author: Robert Story
Date: Sun May 6 17:43:00 2018 -0400
regenerate configure
commit cc45578c2fa0b94f7762057ee3b8a0b795c497ff
Author: Bill Fenner
Date: Sun May 6 13:05:55 2018 +0000
snmpd: BUG: 2864: use clientaddr properly
The code parsed out the address from the clientaddr spec,
then used the return value wrong and only respected it
if it existed but didn't parse properly.
commit 7eb6eba5677c4e5a3d607df97e4342f122875c94
Author: Robert Story
Date: Sun May 6 16:21:02 2018 -0400
dup save string from default store; restore before possible branches
commit e56699f5e2ef6b38132a0f497e40c122b6cb5ec4
Author: Bill Fenner
Date: Sun May 6 13:05:25 2018 +0000
Add the ability to set the source address with "-s" for trapsess
commit a7feed9082dd700068166e0d5b7bdf138760da5f
Author: Robert Story
Date: Sun May 6 15:55:45 2018 -0400
move declarations to top of function
commit 0e24df65b2b095453b46f5101a24e3feed2b6bfb
Author: Robert Story
Date: Sun May 6 15:52:19 2018 -0400
fix compiler warning
commit fdc16201c52f607fea24dc742248373407eca825
Author: Anders Wallin
Date: Sun May 6 02:56:51 2018 -0700
CHANGES: BUG: 1366: Pass proper buffer length to netsnmp_tls_fingerprint_build()
commit 3da9c1c74e1f1284f981d0a4d5a24406ccb98f87
Author: Bart Van Assche
Date: Sat May 5 15:59:17 2018 -0700
libsnmp: Flush persistent config to persistent storage
From the fsync() man page: "returns EBADF if fd is not a valid open file
descriptor". Hence call fsync() before closing 'fout' instead of after
closing it. Ensure that fsync() gets called when building with MSVC on
Windows. See also Smith, Stewart, and A. B. MySQL. "Eat My Data: How
everybody gets file I/O wrong." OSCON, Portland, Oregon (2008)
(http://mirror.linux.org.au/pub/linux.conf.au/2007/video/wednesday/278.pdf).
Fixes: 4ae6ed444687 ("call fsync after writing persistent config")
commit 82bd09e3d9b94b2e3cc69a4f458c7dcd0bae0845
Author: Bart Van Assche
Date: Sat May 5 16:39:04 2018 -0700
SNMP-USM-DH-OBJECTS-MIB: Fix a compiler warning
Avoid that the following warning is reported when building against an
older openssl library:
snmp-usm-dh-objects-mib/usmDHParameters/usmDHParameters.c: In function 'init_usmDHParameters':
snmp-usm-dh-objects-mib/usmDHParameters/usmDHParameters.c:44:9: warning: implicit declaration of function 'DH_set0_pqg' [-Wimplicit-function-declaration]
DH_set0_pqg(dh_params, p, NULL, g);
^
See also commit 3317a7c66362 ("Remove duplicated function in usmDHParameters.c that breaks compilation with LibreSSL 2.7.2 (OpenBSD 6.3)")
commit 71f4d0a8b369b2dfe0e85bd2e3664be0d8bfe7a8
Author: Robert Story
Date: Sat May 5 00:48:16 2018 -0400
add fallthrough comment to quell compiler warning
commit 4ae6ed444687f32b69c04d5b7d1bc868fd67d195
Author: Robert Story
Date: Sat May 5 00:46:39 2018 -0400
call fsync after writing persistent config
commit b42547643a235501a60d993c0789f2d420e2394d
Author: Robert Story
Date: Sat May 5 00:32:43 2018 -0400
remove unused variables
commit ec684fd45895f015cce790671322293b8cdf6d0d
Author: Robert Story
Date: Thu May 3 12:21:19 2018 -0400
Add more names to README
commit f42aeb52e63147b5789cccde1ef997370191849e
Author: Bart Van Assche
Date: Fri May 4 04:39:53 2018 -0700
CHANGES: BUG: 2831: Move libnetsnmpagent global variable declarations into a separate header file
Because commit 81b65f4d23a9 added declarations for several global variables
to public header files, applications that declare global variables with the
same names no longer build. Hence move the global variables that were added
by that commit to public header files into a new header file.
Fixes: 81b65f4d23a9 ("Move declarations of global functions and variables from .c to .h")
commit 6a42ba096b7efc1690ed83d5951289bd64e1b091
Author: Niels Baggesen
Date: Fri May 4 15:07:18 2018 +0200
NetBSD 8 only exports krb5_auth_con_getsendsubkey, so separate configure
detection for krb5_auth_con_getrecvsubkey and krb5_auth_con_getsendsubkey.
commit 54f87b6b6b80b440d4db7c4c676703f57fccd19a
Author: Niels Baggesen
Date: Fri May 4 15:05:01 2018 +0200
Support for NetBSD 8
commit 3317a7c66362b01b4fd3c0f32a38b10ea53cb4cb
Author: Niels Baggesen
Date: Fri May 4 15:02:56 2018 +0200
Remove duplicated function in usmDHParameters.c that breaks compilation with
LibreSSL 2.7.2 (OpenBSD 6.3)
commit e8ed8e5eab1813f15964823741f04163c1c1b326
Author: Niels Baggesen
Date: Fri May 4 14:59:35 2018 +0200
mibs: Add SNMP-USM-HMAC-SHA2-MIB.txt
commit eb340300964cf1563e2f9472cfa20ff410cc24e6
Author: Keith Mendoza
Date: Tue May 1 09:36:52 2018 -0700
Check if disman/ping was enabled at top of test
Checking that the functionality is enabled should occur before checking if a raw socket can be created
commit eef22ea5f92bf79dac39b8d26c644f10cd975f68
Author: Keith Mendoza
Date: Mon Apr 23 12:23:33 2018 -0700
Verify AES support when --with-openssl is provided
--enable-bluementhal-aes needs the OpenSSL AES library
commit 5c9c9f92383112e9c263dfd3da7ab27245504025
Author: Bart Van Assche
Date: Fri Apr 27 20:18:21 2018 -0700
Win32: Export set_enginetime() to unbreak the DLL build
Fixes: 988562514b05 ("fix for setting engineBoots and engineTime (e.g. -Z cli arg)")
commit 8625748d09081563887051651957d119d7387f15
Author: Robert Story
Date: Fri Apr 27 17:05:09 2018 -0400
fix path in rsync command
commit 2b4941946deb6eb0294f8a6794d20f92801e4a67
Author: Eugene M. Kim
Date: Tue Oct 17 18:17:23 2017 -0700
Fix/enforce ipDefaultRouterLifetime value range
IP-MIB defines ipDefaultRouterLifetime to be in 0..65535 range, but the
current code 1) erroneously uses 0xFFFFFFFFUL (4294967296) as the max
value, and 2) does not clip the computed value that exceeds the maximum
(this was unnecessary probably because the max value was also the max
value permitted for the underlying type uint32_t).
Fix IPDEFAULTROUTERLIFETIME_MAX to be 65535 (0xFFFF) and clip
out-of-range values to the max value.
----------------------------------------------------------------------
Changes: V5.8.pre2 -> V5.8.pre3
commit c3d1c9ea1632343641b09c960b0594e8d85778b6
Author: Robert Story
Date: Fri Apr 27 15:58:14 2018 -0400
tweak comments to remove embedded C++ style comments
commit 6f68d4c77d00a6aebdb0ddbfe9e1fa3c0da3fba8
Author: Robert Story
Date: Fri Apr 27 14:53:57 2018 -0400
ignore swap files
commit 1302012b5faebf0cd511f98d7ef94c13f9593036
Author: Robert Story
Date: Fri Apr 27 14:52:37 2018 -0400
Version number update: 5.8.pre3
commit 27edef51c4c45b2dd31177dcdb60c825927e6d95
Author: Robert Story
Date: Fri Apr 27 14:51:02 2018 -0400
update makerelease repository; change SVN references to git
commit 988562514b05a2bc01be4462b99874d081600252
Author: Robert Story
Date: Fri Apr 27 14:44:00 2018 -0400
fix for setting engineBoots and engineTime (e.g. -Z cli arg)
commit bcc4ac1490fc1fda25b0449daef8a89393857bf5
Author: Robert Story
Date: Fri Apr 27 14:29:43 2018 -0400
always dup Apsz and Xpsz since they are unconditionally freed
commit 6c1b10eae8433da9ed0a1801e4842b2bd2bcca13
Author: Robert Story
Date: Fri Apr 27 12:46:28 2018 -0400
remove C++ style comments
commit 66a47d6914e426778c1975db48a74104244485a3
Author: Robert Story
Date: Fri Apr 27 12:45:07 2018 -0400
add copyrights to files split from at.c
commit 6219d6574cfa120748ba7f271afcd7f1e52d4fcf
Author: Robert Story
Date: Fri Apr 27 12:46:06 2018 -0400
fix build by removing premature headers
these caused the convenience typedefs such as u_long and u_char to
not be defined
commit 8c4cff6b749c396b920925255853a54408c6bbd1
Author: Anders Wallin
Date: Wed Apr 11 09:27:28 2018 +0200
TLSTM MIB: Fix support for sha256, 384 and 512 fingerprints
Increase the fingerprint buffers such that these can fit sha256, 384
and 512 fingerprints.
Signed-off-by: Anders Wallin
[ bvanassche: edited commit message ]
commit c514d7f1394e44ea21fb01929b1dffc1a03c858f
Author: Anders Wallin
Date: Thu Apr 26 17:21:21 2018 +0200
TLSTM MIB: Fix cache handler for snmpTlstmCertToTSNCount
Signed-off-by: Anders Wallin
commit 2014d49a94ce0ea66f967ed5fda7b4685cbabda1
Author: Bart Van Assche
Date: Wed Apr 25 16:44:25 2018 -0600
Win32: Clean up libsnmp Makefiles
commit 1449f8ac2d4d7c8df639bb242a4f004ed24ef70c
Author: Bart Van Assche
Date: Wed Apr 25 19:06:25 2018 -0600
Win32, MSVC, OpenSSL: Link with the correct libraries
commit 46bd69b6f598978b7a1fc61da13c7dbc0ecda0bc
Author: Bart Van Assche
Date: Wed Apr 25 17:27:07 2018 -0600
Win32, TLS transport: Avoid that the compiler complains about symbol redefinitions
commit 65d73540715fd90964a0c6737411dfe6501d1551
Author: Bart Van Assche
Date: Wed Apr 25 17:25:46 2018 -0600
MSVC: Add defines to net-snmp-config.h for the latest OpenSSL library
commit 93453d25593135ded56c24492d17892ba47d93d8
Author: Bart Van Assche
Date: Wed Apr 25 16:44:25 2018 -0600
Win32: Clean up libsnmp Makefiles
commit 47e6ff61f5aa27dd87bfc4e301dfc39501b75f87
Author: Andrew Stormont
Date: Wed Apr 25 14:56:12 2018 -0600
Solaris, libsnmp: Avoid that linking fails due to an undefined reference to in6addr_any
commit cf139ad64cc85c3dd155336fec8e3e261fb548eb
Author: Andrew Stormont
Date: Wed Apr 25 06:57:24 2018 -0600
Solaris, Host Resources MIB: Fix process argument parsing
See also https://sourceforge.net/p/net-snmp/patches/1361/.
commit 2d96aada9c3c61d204125188a55cc3f10c14af03
Author: Andrew Stormont
Date: Wed Apr 25 06:46:54 2018 -0600
Solaris, hardware: Display full CPU description
See also https://sourceforge.net/p/net-snmp/patches/1360/.
commit 55575b4027633c86e5f7633eea24549476466187
Author: Bart Van Assche
Date: Tue Apr 24 17:28:59 2018 -0600
agent/kernel.c: Fix MSVC build
commit f640af307e36115dca631922e0762438b74c4b12
Author: Bart Van Assche
Date: Tue Apr 24 17:32:35 2018 -0600
Fix configure.d/config_net_snmp_config_h
Fixes: e835935dbae5 ("Patches: 1358: Uncouple kmem support from NETSNMP_CAN_USE_NLIST")
commit d6eb690cbee7854a26a213017c4ae24258c1cf21
Author: Bart Van Assche
Date: Tue Apr 24 10:02:58 2018 -0600
snmplib, IPv4 transport: Avoid that -Dnetsnmp_tcp triggers an assertion failure
Fixes: e3fd8c38503f ("snmplib/transports/snmpIPv4BaseDomain.c: Make netsnmp_ipv4_fmtaddr() more robust")
Note: before the aforementioned commit -Dnetsnmp_tcp triggered an
out-of-bounds read.
commit 9a1e91009dc149de135107d75b6dce7404d2982e
Author: Bart Van Assche
Date: Tue Apr 24 10:19:45 2018 -0600
Avoid that the compiler complains about missing declarations for init_kmem() and free_kmem()
Fixes: 06c2d80d0aa5 ("Merge branch 'V5-7-patches'")
commit 25bfa920013983e96e433e93e5fc2331730a46f2
Author: Andrew Stormont
Date: Tue Apr 24 09:06:52 2018 -0600
MIB-II, host resources, BSD: Remove redundant code from sh_count_procs()
commit ddc6c6fa08747beb74663d3efbf73843e45637db
Author: Andrew Stormont
Date: Tue Apr 24 09:08:24 2018 -0600
MIB-II, host resources, BSD: Fix a memory leak in netsnmp_arch_swrun_container_load()
commit e835935dbae5ee2dbd9fa13a24e34b2862c7a4bf
Author: Andrew Stormont
Date: Tue Apr 24 07:56:44 2018 -0600
Patches: 1358: Uncouple kmem support from NETSNMP_CAN_USE_NLIST
commit acd4ee40cbb5d6c713e7471f1b7da4bdd0064574
Author: Bart Van Assche
Date: Mon Apr 23 10:18:27 2018 -0600
configure: Avoid that probing of SSL transport modules fails
Avoid that probing of the DTLSUDP and TLSTCP transport modules fails
as follows if --with-openssl= has been specified:
checking for and configuring transport modules to use... In file included from module_tmp_header.h:177:
./include/net-snmp/library/snmpTLSBaseDomain.h:13:10: fatal error: 'openssl/bio.h' file not found
#include "openssl/bio.h"
^
1 error generated.
In file included from module_tmp_header.h:177:
./include/net-snmp/library/snmpTLSBaseDomain.h:13:10: fatal error: 'openssl/bio.h' file not found
#include "openssl/bio.h"
^
commit 3c104af5de3d19ef913a4480960a5012cb8501ec
Author: Bart Van Assche
Date: Mon Apr 23 06:57:03 2018 -0600
Darwin: Let the configure script determine whether or not SHA256 and SHA512 are available
commit 9ddf75dfb643ccf23982f5054b6efb47d5214bb3
Author: Bill Fenner
Date: Wed Apr 11 11:32:05 2018 -0700
Fix minimal agent with tls: move X509_get_signature_nid outside NETSNMP_FEATURE_REMOVE_CERT_DUMP_NAMES
commit ae88f1a5cea848b6ed561687b79d7b42b574a268
Author: Bart Van Assche
Date: Sat Apr 21 22:35:53 2018 -0700
Win32: Fix MIB-II build
commit 5103db3c189d87af1bd7e39c1d9e7bacc89cbf5e
Author: Bart Van Assche
Date: Thu Apr 12 11:22:29 2018 -0600
mibII/at: Split into multiple source files
Split the implementations of ARP_Scan_Init(), ARP_Scan_Next()
and var_atEntry() into one function per platform and move these
implementations to separate source files. Additionally, move the
ARPTAB_SYMBOL and ARPTAB_SIZE_SYMBOL definitions from the
include/net-snmp/system/*.h include files into the mibII/at
implementation. This change reduces the number of #ifdefs in the
mibII/at code drastically.
commit a16d7742e412c9eee684118ea899b7165f4510b6
Author: Bart Van Assche
Date: Thu Apr 12 11:20:11 2018 -0600
mibII/at: Make ARP_Scan_Next() accept four arguments on all platforms
Instead of using #ifdefs to discriminate between platforms on which
it is possible to query the interface index and platforms on which
this is not possible, make ARP_Scan_Next() set ifIndex to zero if
the interface index cannot be queried and make var_atEntry translate
that value into 1.
commit b2ff05cb4cc7b382019de5194108f89ca5979a39
Author: Bart Van Assche
Date: Sat Apr 21 19:16:07 2018 -0700
c tests: Ensure that linking succeeds if the openssl path has been specified explicitly
commit e49295383003b1522b83df760c5384f1b8803a28
Author: Bart Van Assche
Date: Fri Apr 20 20:56:21 2018 -0700
testing/fulltests/default/T023snmpv3getMD5AES_simple: Skip if the openssl aes.h header file is not available
commit 3054ac2102eb29f3b5956abe98f3abd17bfa6f84
Author: Bart Van Assche
Date: Thu Apr 19 19:03:08 2018 -0700
testing/fulltests/transports/T361tlstcp_simple: Skip if TLS-TCP is disabled
Fixes: 5d8a5efc1d59 ("tests for minimally testing all the transports")
commit 7babf86b438725c6c9fae7089a90cd94799c49cf
Author: Bart Van Assche
Date: Sat Apr 21 18:43:31 2018 -0700
python: Ensure that linking succeeds if the openssl path has been specified explicitly
commit ed29326f1b56c8554e0fec79cb743622c9453426
Author: Bart Van Assche
Date: Fri Apr 20 09:55:48 2018 -0700
Darwin >= 15: Avoid ___CFConstantStringClassReference symbol not found failures
See also https://sourceforge.net/p/net-snmp/bugs/2850/.
commit 945c7cd57cbbca6061cb632705de441ae7b98fd9
Author: Bart Van Assche
Date: Thu Apr 19 22:16:54 2018 -0700
win32/Configure: Improve robustness
commit 3492c22bb6b730dec0941522199eeca7524ce6ed
Author: Bart Van Assche
Date: Sat Mar 31 19:20:41 2018 -0700
Avoid that test T070com2sec_simple fails due to DNS filtering
commit 52795c2e0801913a0b91c250e65ca6cd41e16c77
Author: Bart Van Assche
Date: Sat Apr 14 15:46:14 2018 -0700
perl/OID/OID.xs: Fix a compiler warning
Avoid that clang reports the following compiler warning:
OID.xs:366:38: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
__snprint_value (buf, buf_len, &vbdata, indexnode,
^~~
commit bd176f4785cd7a47154502ecea2555bdbb91c877
Author: Bart Van Assche
Date: Sat Apr 14 15:14:21 2018 -0700
configure: Document that --with-perl-modules=verbose is helpful while debugging Makefile.PL files
commit e93f0c54f025d2a31ff100259fce5f484eee46ac
Author: Bart Van Assche
Date: Sat Apr 14 13:07:30 2018 -0700
testing/fulltests/unit-tests/T003copy_nword_clib: Fix Darwin compiler warnings
commit 2eff423b8b4269498ce2525a1b180890934413be
Author: Bart Van Assche
Date: Sat Apr 14 12:53:11 2018 -0700
Add support for Darwin 15, 16 and 17
commit 13fe7de92a7551817dfbf474e845e88a59a3c884
Author: Bart Van Assche
Date: Sat Apr 14 12:49:48 2018 -0700
MIB-II: Restore the declaration of TCP_Count_Connections()
Fixes: 81b65f4d23a9 ("Move declarations of global functions and variables from .c to .h")
commit 36f5813fb5bd9d12cdd015d35ec80defed42838e
Author: Bart Van Assche
Date: Sat Apr 14 09:41:31 2018 -0700
Windows, MIB-II, system: Read Windows version from registry
commit 6d86c72614936a0fb3b56619965c96a5b120d89c
Author: Bart Van Assche
Date: Sat Apr 14 08:43:26 2018 -0700
Cygwin, swrun: Avoid using GetVersionEx()
commit 8c8d5638413a90e423083c793b5d6be49a591281
Author: Bart Van Assche
Date: Sat Apr 14 11:17:43 2018 -0700
Win32, MSVC batch build: Embed OpenSSL library path in Makefiles instead of appending it to %LIB%
This makes it possible to rebuild Net-SNMP by running 'nmake' after
having edited one or more source files without having to modify %LIB%.
commit d8be6fc26e1006a7e03d922a04611d4e2cb69c44
Author: Bart Van Assche
Date: Sat Apr 14 04:35:19 2018 -0700
Win32: Enable cross-compilation in build.pl
Allow e.g. 64-bit binaries to be built on a 32-bit system if Perl
modules are not enabled.
commit 5bd95fe6f916d043ac7c5411510dfb8a669c9ab6
Author: Bart Van Assche
Date: Fri Apr 13 21:24:31 2018 -0700
Windows: Avoid casting a pointer to an integer type with a different size
This patch fixes bug https://sourceforge.net/p/net-snmp/bugs/2848/.
commit 38fb9890a1e27bec336a09e20e725534d8939168
Author: Bill Fenner
Date: Wed Apr 11 07:50:48 2018 -0700
make python client build with --enable-read-only
commit 37b948c3d6451c6f31e066d52ef9a528985ea7c7
Author: Bill Fenner
Date: Wed Apr 11 13:56:36 2018 +0000
CHANGES: snmpd: BUG: 2846: fix agent compile when both --enable-read-only and --disable-set-support are given.
commit d8939faf1e724ff042dd4af83cac360a15883825
Author: Bill Fenner
Date: Wed Apr 11 13:53:29 2018 +0000
CHANGES: snmpd: BUG: 2845: fix compilation error with NETSNMP_NO_WRITE_SUPPORT
commit 4d1d375df29aa52b8c01893d687dfdd55204eb04
Author: Bill Fenner
Date: Tue Apr 10 20:31:38 2018 +0000
CHANGES: snmpd: BUG: 2810: from "Minzhuan Gong": fix compile with --enable-read-only
commit eca6ad6d8ff488839187f05a62dc2ec053c53b2b
Author: Bill Fenner
Date: Sun Apr 8 13:53:25 2018 +0000
Don't check the sign of a 0-length int64
When there are no data bytes, don't try to check
a nonexistent byte for the sign. Also, include
all of the data bytes for unsigned-64 and
signed-64 in the dumpx_recv tracing.
commit e59591c5111c17b2561816b04ac3632661df19cd
Author: Bill Fenner
Date: Tue Apr 3 14:20:12 2018 -0700
snmplib: asn1: audit length checks
1. propagate error from asn_parse_length in asn_check_packet
2. Audit calls to _asn_short_err, make sure that the second arg
is the length being checked against, and the third arg is the
length needed.
3. Make sure that we have the two bytes needed for opaque
types before testing them.
4. For opaque types, update the length to reflect the inner opaque
type before checking that we have enough data.
commit e5ad10de8e175e443351be3e14e87067ff9bded8
Author: Keith Mendoza
Date: Wed Mar 21 21:33:27 2018 -0700
Quote provided encryption key in createUser line
Fixes bug #2812
commit 20c63da4317d0c6f41be1e8826a91e3e8e7aa72f
Author: Bill Fenner
Date: Tue Apr 3 14:20:12 2018 -0700
snmplib: asn1: audit length checks
1. propagate error from asn_parse_length in asn_check_packet
2. Audit calls to _asn_short_err, make sure that the second arg
is the length being checked against, and the third arg is the
length needed.
3. Make sure that we have the two bytes needed for opaque
types before testing them.
4. For opaque types, update the length to reflect the inner opaque
type before checking that we have enough data.
commit 37c11615de3cfb2c934ccb334a8ccb8bbde85d89
Author: Bill Fenner
Date: Sun Apr 1 16:58:51 2018 +0000
CHANGES: agentx: from "Google AutoFuzz project": account for the nul character we will add to the string.
commit 95e59ff91b20fb82b22c373ef4bff2cb94271385
Author: Bill Fenner
Date: Thu Mar 29 17:03:36 2018 -0700
CHANGES: agentx: from "Google Autofuzz project": additional agentx protocol parser bounds checking
commit 883934016bd47181f32f031fe3c7d409d4c5fa82
Author: Magnus Fromreide
Date: Sun Mar 25 23:50:17 2018 +0200
Coverity 266329: Free allocated resources in case of error
commit c0d0bc4c37e60d93ca47e0ee0c29a431c59de712
Author: Bart Van Assche
Date: Sat Mar 24 11:46:28 2018 -0700
snmplib/keytools: Ensure that keylen is initialized for all error paths
commit d08ffd7d0c61f114e717eadaa1cf696735dcca6b
Author: Bart Van Assche
Date: Sat Mar 24 12:36:54 2018 -0700
snmplib, vacm: Remove dead code
Since it is guaranteed that accessEntry == NULL after "goto bail" has
been executed, remove the code that depends on accessEntry != NULL.
This patch fixes Coverity ID 144350.
commit d3920fcedf5c1bcaee30d5308943e78b4a429eb0
Author: Bart Van Assche
Date: Sat Mar 24 12:34:11 2018 -0700
snmplib, snmpusm: Remove a superfluous check
Checking whether or not a pointer is not NULL after it has been dereferenced
is not useful. Hence remove the check. This patch fixes Coverity ID 144385.
commit f138736bedc82008566063119d301bad07e3e5f8
Author: Bart Van Assche
Date: Sat Mar 24 12:32:35 2018 -0700
snmplib, snmp_api: Remove a superfluous check
Checking whether a pointer is not NULL after it has been dereferenced
is not useful. Hence remove the != NULL check. This patch fixes Coverity
ID 144387.
commit fb763ef6f390ac8dec4d7c0c0160f648464d587d
Author: Bart Van Assche
Date: Sun Mar 25 08:22:18 2018 -0700
Revert "perl: Unbreak Perl module linking"
The Perl module build problems were caused by a concurrent build
(make -j) and not by a problem in any of the Makefile.PL files.
Hence revert commit 347d4cf207b8.
commit 0545bc80654a081aed5969f425dc2f2b45f3cccf
Author: Bill Fenner
Date: Sun Mar 25 15:08:27 2018 +0000
CHANGES: snmplib: asn1: from "Google Autofuzz project": propagate error from asn_parse_length
commit 52ccd5b24fbaed5a75156b3da07b83fa4b80e2e2
Author: Bart Van Assche
Date: Sat Mar 24 09:54:33 2018 -0700
apps/sshtosnmp: Initialize read_set
This patch fixes Coverity ID 266307.
commit 6407a3ec77c959e789ccee2eaf58d117dd27cdb6
Author: Bart Van Assche
Date: Sat Mar 24 09:52:50 2018 -0700
apps/sshtosnmp: Avoid overflowing an output buffer
This patch fixes Coverity ID 266309.
commit 1744c0279d8ebab010192af07bf7a4c6cecc42dc
Author: Bart Van Assche
Date: Sat Mar 24 15:30:28 2018 -0700
snmpd, DISMAN MIB: Avoid dereferencing a NULL pointer
This patch fixes Coverity ID 85560.
commit 844c37e7207b902af1097c6baac0a22bf6d7c039
Author: Bart Van Assche
Date: Sat Mar 24 15:28:18 2018 -0700
snmpd, dlmod: Avoid dereferencing a NULL pointer
This patch fixes Coverity ID 144354.
commit bb2fe7fea965610449a939c6cd1f4788181d1ac8
Author: Bart Van Assche
Date: Sat Mar 24 15:25:18 2018 -0700
snmpd, pass_persist: Avoid dereferencing a NULL pointer
This patch fixes Coverity ID 266321.
commit 0c7ea894ff832d928c1427ae6e9ec1fb9b7abc0b
Author: Bart Van Assche
Date: Sat Mar 24 15:19:26 2018 -0700
snmpd, mib-II: Initialize dst.sin_port and gateway.sin_port
This patch fixes Coverity IDs 85686 and 85660.
commit fb882c7c514bffb7870381a7f0343a447dfdf66d
Author: Bart Van Assche
Date: Sat Mar 24 15:16:53 2018 -0700
snmpd, ip-forward-mib: Initialize dst.sin_port and gateway.sin_port
This patch fixes Coverity IDs 85700 and 85690.
commit 07416f5e22807867e035bee0bfb2b5c96e78a13e
Author: Bart Van Assche
Date: Sat Mar 24 15:14:42 2018 -0700
snmpd, MIB-II: Initialize pcb.inp_next
This patch fixes Coverity ID 85702.
commit 731e4f0dfcb0cb9e3f750c109b1cb6efe2169604
Author: Bart Van Assche
Date: Sat Mar 24 11:50:31 2018 -0700
snmpd, tsltm-mib: Only release an iterator if it has been initialized first
commit 1457675095363781668241653424b92c5aba28d8
Author: Bart Van Assche
Date: Sat Mar 24 10:43:24 2018 -0700
snmpd, MIB-II: Check strchr() return value
This patch fixes Coverity ID 266305.
commit bf690d7732724a452dd9eb1f6dd60e92ba2fdc1d
Author: Bart Van Assche
Date: Sat Mar 24 10:36:18 2018 -0700
snmpd, agent/mibgroup/hardware/cpu/cpu_linux: Check strchr() return value
This patch fixes Coverity ID 266326.
commit 7a148f07a6e3b3ec8cc55880eb82ff206b5c1d37
Author: Bart Van Assche
Date: Sat Mar 24 10:33:25 2018 -0700
snmpd, ucd-snmp/pass_persist: Avoid passing NULL as the second argument to write_persist_pipe()
This patch fixes Coverity ID 266334.
commit 29e4e4fe2468834d2148881a97185982a636674c
Author: Bart Van Assche
Date: Sat Mar 24 10:30:51 2018 -0700
snmpd, disman/ping/pingCtlTable: Initialize mhdr.msg_flags
This patch fixes Coverity ID 85579.
commit c276d4d8238248558c71ca975b2399db72c3cb1c
Author: Bart Van Assche
Date: Sat Mar 24 10:28:38 2018 -0700
snmpd, ip-forward-mib: Initialize dst.sin_port and mask.sin_port
This patch fixes Coverity IDs 85592 and 85580.
commit c1693ed45af0d0855b2025c30c042fa6ace55689
Author: Bart Van Assche
Date: Sat Mar 24 12:21:39 2018 -0700
snmplib/keytools: Avoid dereferencing a NULL pointer
This patch fixes Coverity ID 266324.
commit ef889d0a284b00c5a1c6e6c9175e2b765e586bc2
Author: Bart Van Assche
Date: Sat Mar 24 12:18:19 2018 -0700
snmplib, SSH transport: Avoid dereferencing a NULL pointer
This patch fixes Coverity ID 266333.
commit bfd9081e7a49e5d873a9be9da6a5c54ae5da5401
Author: Bart Van Assche
Date: Sat Mar 24 10:39:43 2018 -0700
snmplib, SSH transport: Avoid calling close(-1)
This patch fixes Coverity ID 266314.
commit 307b8fa96bab9609c8e697e5f52abdd57fb6b167
Author: Bart Van Assche
Date: Sat Mar 24 09:47:45 2018 -0700
snmplib, SSH transport: Pass a valid socket descriptor to setsockopt()
Check the accept() return value before calling setsockopt() instead of
after having called setsockopt(). This patch fixes Coverity ID 266325.
commit 732df276f0905bdb67aafcd812de1c2b51a0cc41
Author: Bart Van Assche
Date: Sat Mar 24 12:40:30 2018 -0700
snmplib, SSH transport: Avoid overflowing the output buffer
This patch fixes Coverity ID 266310.
commit f57c787584ff21f59e0beec0918c8a23aeb3031a
Author: Bart Van Assche
Date: Sat Mar 24 10:50:58 2018 -0700
snmplib, _daemon_prep(): Suppress a Coverity complaint
Avoid that Coverity complaint about not closing fd being a resource
leak. This patch does not change any functionality but fixes Coverity
ID 86657.
commit af3fc499f6007f56623f3b1b046512e985505a1e
Author: Bart Van Assche
Date: Sat Mar 24 10:21:05 2018 -0700
snmplib: Initialize tm_isdst if available
This patch fixes Coverity ID 144417.
commit 878fe301a9a5e548dab22c2d08e52039c6838216
Author: Bart Van Assche
Date: Sat Mar 24 15:12:28 2018 -0700
snmplib, ASN parsing: Avoid reading uninitialized data if the output buffer is small
This patch fixes Coverity ID 85714.
commit 70c52531fc2926bd9d1a9d4e00544c2c392d3d65
Author: Bill Fenner
Date: Sat Mar 24 15:31:27 2018 +0000
CHANGES: snmplib: asn1: BUG: 2828: from "Google Autofuzz project": fix off-by-one heap access for opaque types
(and an adjacent bug that was not in 5.4, noticed by code inspection)
commit aee85c048928bb67f5b1e84b603a5428b5f7f9e3
Author: Bill Fenner
Date: Sat Mar 24 15:27:57 2018 +0000
CHANGES: snmplib: asn1: BUG: 2828: from "Google Autofuzz project": fix off-by-one heap access for opaque types
commit 347d4cf207b834744fc9215f7e4423530c67653f
Author: Bart Van Assche
Date: Fri Mar 23 21:45:55 2018 -0700
perl: Unbreak Perl module linking
For one or another reason ExtUtils::MakeMaker leaves out -L${prefix}/lib
-lnetsnmp from $Params{LIBS}. Add -lnetsnmp back such that Perl module
linking works again.
commit 0adc62ebbbd5192bbb97b43e49a6604b9ff7c217
Author: Bart Van Assche
Date: Thu Mar 22 21:53:23 2018 -0700
perl/default_store/test.pl: Enable 'strict' and 'warnings'
commit a7dfe31ea120ea68f4304170cadae3a2adcde99a
Author: Bart Van Assche
Date: Fri Mar 23 20:20:12 2018 -0700
perl/SNMP/Makefile.PL: Suppress a complaint about a concatenation
Avoid that Perl complains about $ENV{'NET-SNMP-PATH'} not being defined
on Unix systems by only evaluating it on Windows systems.
commit e0027a2c681369d99434f09bc380dfbd1c3358ec
Author: Bart Van Assche
Date: Fri Mar 23 20:17:30 2018 -0700
perl/agent/Support/Makefile.PL: Fix library paths
commit b7149cda92c545ab1974d678ab6d7efe0628276e
Author: Bart Van Assche
Date: Fri Mar 23 20:08:28 2018 -0700
perl Makefiles: Make library paths absolute
commit ba6e19f8ed23052939f90d93222e855778c850d1
Author: Bart Van Assche
Date: Fri Mar 23 20:43:52 2018 -0700
perl: Convert Makefile.subs.pl into a Perl package
This patch does not change the generated makefiles.
commit bde2b845786e07d825cc4629e872f1e6d05f985b
Author: Bart Van Assche
Date: Fri Mar 23 18:56:59 2018 -0700
Makefile.in: Make it easy to enable Carp::Always for generating Perl makefiles
Adding -MCarp::Always to the perl command line produces more detailed
diagnostics during generation of Perl Makefiles.
commit 532c8c2b2d34645a2fc730815521b451a178f08b
Author: Bart Van Assche
Date: Thu Mar 22 22:42:31 2018 -0700
perl/.../Makefile.PL: Enable 'use strict' and 'use warnings'
commit eacdabd16ad2fad1569a6ee982053feb94514869
Author: Bill Fenner
Date: Fri Mar 23 17:03:36 2018 +0000
snmplib: report the underlying error if set by asn1 library
commit c5d9cecda251ea1f4638f88d5506b1f1743d87c3
Author: Bart Van Assche
Date: Tue Mar 20 21:08:15 2018 -0700
snmplib: Avoid that freeing the snmpv3_parse_arg() result can trigger a crash
Fixes: 673f81051d58 ("snmplib, SNMPv3: Fix two memory leaks in netsnmp_parse_args()")
commit e1b6ce470a6cef6c7fd70607c077ebed18cc1dc0
Author: Bart Van Assche
Date: Thu Mar 22 00:20:52 2018 +0100
snmplib, agent: Suppress warnings about not using the return value of asprintf()
This patch does not change any functionality.
commit c0a4b11b9b7ab10d195ea79c641eda57628870d8
Author: Bill Fenner
Date: Wed Mar 21 15:38:33 2018 +0000
NEWS: snmpd: com2sec and com2sec6 SOURCE values may deny sources as well as permit.
commit f4ece692aa0372f30ca6dc2f8d39c8b49617b576
Author: Bart Van Assche
Date: Sun Mar 18 21:14:25 2018 -0700
Win32, MSVC: Unbreak the non-SSL build
commit 370e84aac13cab309ffaebc5ffb7a06ea5943165
Author: Bart Van Assche
Date: Sun Mar 11 16:55:06 2018 -0700
win32/dist/build-binary: Pass build options as arguments
commit f148b5f46541e3ec3c33c977d7705f14e736e7e1
Author: Bart Van Assche
Date: Sun Mar 11 16:58:51 2018 -0700
win32/dist/build-binary: Build Net-SNMP without Perl modules
Building Net-SNMP with Perl modules was possible when ActivePerl
distributed Perl binaries with Visual Studio. Since they switched
to gcc it's no longer possible to link the Net-SNMP code (built
with MSVC) with the ActivePerl Perl libraries (built with gcc).
commit 46d8156b7edee134d3c8b000b99791b4147ef4b5
Author: Bart Van Assche
Date: Sun Mar 11 16:56:46 2018 -0700
win32/dist/build-binary: Enable 'use warnings'
commit 82b4276a7c6a67e79657e4b78b35d7e31ddfeafb
Author: Bart Van Assche
Date: Sun Mar 18 09:42:48 2018 -0700
Win32: Add support for the DTLS-UDP and TLS-TCP transports
commit 3792bc46a04cfd7163129355c450caef63dfd4fd
Author: Bart Van Assche
Date: Sun Mar 18 17:08:37 2018 -0700
Win32, MSVC: Pass OpenSSL include path as a compiler option
commit 2ef90da390ff2546e8b9b8a8de94af678d1b12de
Author: Bart Van Assche
Date: Sun Mar 18 08:39:23 2018 -0700
Win32, MSVC: Reduce redundancy in the build system
commit f9b3fed793a9b336161236c6c2a5bbcc32018445
Author: Bart Van Assche
Date: Sun Mar 18 08:56:48 2018 -0700
win32/Configure: Avoid that perl warns about masked declarations
commit 33e7c68621b399e406679cd74db2fbf563d1c701
Author: Bart Van Assche
Date: Sun Mar 18 10:55:17 2018 -0700
snmplib: Various MSVC build fixes
commit 376f589e7513d84e6e46439aa3ae7f21bca42c8f
Author: Bart Van Assche
Date: Sun Mar 18 17:49:37 2018 -0700
snmplib/transports/snmpDTLSUDPDomain, MSVC: Fix two recently introduced compiler warnings
commit 7ad11d55e62ecee98b7ae362880a4b583288071d
Author: Bart Van Assche
Date: Sun Mar 18 09:30:55 2018 -0700
snmplib/transports/snmpUDPBaseDomain, MSVC: Fix two recently introduced compiler warnings
commit a8e11b3204c8e37745a4a5139b1dcbf3aeef5aa7
Author: Bart Van Assche
Date: Sat Mar 17 14:42:53 2018 -0700
win32/dist/installer/net-snmp.nsi: Use WinVer.nsh to determine Windows version
Obtaining the Windows version from the registry doesn't work on Windows 10.
Although I have no idea why, use WinVer.nsh to determine the Windows version.
commit ac72c513d321f13284a02f1a9c337909ad0af3ef
Author: Bart Van Assche
Date: Sat Mar 17 14:59:45 2018 -0700
win32/dist/installer/net-snmp.nsi: Disable installation of Perl modules
commit 96047c5e23f3aef95663710b16b6ac8a50a1f518
Author: Bart Van Assche
Date: Sat Mar 17 20:08:53 2018 -0700
win32/dist/installer/net-snmp.nsi: Comment out an obsolete include
None of the macros defined in SetEnVar.nsi are used. Hence do no longer
include that file. See also commit 8a572b4e08ff ("Add netsnmp_getenv()
which is a wrapper for getenv() to add basic Windows registry support.")
commit 0c66f45714629331cf3a9b72a6eabb8315de9e72
Author: Bart Van Assche
Date: Sat Mar 17 20:46:41 2018 -0700
win32/Configure: Enable 'use warnings'
commit b841dc9c53d7e96daaf962194ce35e61ef241afc
Author: Bart Van Assche
Date: Sat Mar 17 20:47:01 2018 -0700
win32/build.pl: Suppress a Perl warning
commit ff46360780f835d7bf0dcb076ebf47c4ac0f1605
Author: Bart Van Assche
Date: Sun Mar 11 16:55:06 2018 -0700
win32/dist/build-binary: Pass build options as arguments
commit 0dcbe946bbdfc1c048ca448595334ae1a4cb67b8
Author: Bart Van Assche
Date: Sun Mar 11 16:58:51 2018 -0700
win32/dist/build-binary: Build Net-SNMP without Perl modules
Building Net-SNMP with Perl modules was possible when ActivePerl
distributed Perl binaries with Visual Studio. Since they switched
to gcc it's no longer possible to link the Net-SNMP code (built
with MSVC) with the ActivePerl Perl libraries (built with gcc).
commit 28180252de086242ae8e70203960cc5f1f0e4a7f
Author: Bart Van Assche
Date: Sun Mar 11 16:56:46 2018 -0700
win32/dist/build-binary: Enable 'use warnings'
commit f0b5ab271d0561caf8eb0c2baeff313341a75eb7
Author: Bart Van Assche
Date: Sun Mar 11 15:13:13 2018 -0700
README.win32: Document how to build the installer
commit 4a3d9af910dd3aef09776d0c75b0a04f0851c054
Author: Bart Van Assche
Date: Sat Mar 10 21:25:24 2018 -0800
snmplib/transports/snmpDTLSUDPDomain: Make it possible to send traps over DTLS-UDP
commit 0eb5f25501e3426e588a4705f480ed21be042736
Author: Bart Van Assche
Date: Sat Mar 10 21:07:59 2018 -0800
snmplib/transports/snmpDTLSUDPDomain: Add more debug tracing code
commit 9040c95258fb9f9c3534df65d519b6c7133c5d30
Author: Bart Van Assche
Date: Sat Mar 10 20:25:37 2018 -0800
snmplib/transports/snmpDTLSUDPDomain: Reduce stack usage
Allocate the buffer for data that will be sent over the network
dynamically instead of on the stack.
commit cdf1bf431d894149ddbb38ddb9849d21a7de3e28
Author: Bart Van Assche
Date: Sat Mar 10 19:57:53 2018 -0800
snmplib/transports/snmpDTLSUDPDomain: Remove superfluous checks
Change if (e) return; if (!e && f) ... into if (e) return; if (f) ...
commit 6861c1b9f69d66dee91d2e5d4eb8de204c8e0b7b
Author: Bart Van Assche
Date: Sat Mar 10 19:35:25 2018 -0800
snmplib/transports/snmpDTLSUDPDomain: Coding style fixes
Make the coding style consistent with the rest of the code base.
commit eac9744563669871c960348a1cf6a77e2b7c9772
Author: Bart Van Assche
Date: Sat Mar 10 19:18:32 2018 -0800
snmplib/transports/snmpDTLSUDPDomain: Fix spelling in source code comments
commit 2495e4bdb33ce5d1432b5d66d11a692cbd58a10a
Author: Bart Van Assche
Date: Sat Mar 10 19:13:56 2018 -0800
snmplib/transports/snmpDTLSUDPDomain: Pass static pointers to SSL_get_ex_new_index()
The pointer that is passed as the second argument to SSL_get_ex_new_index()
is stored by that function in a global data structure. Make sure that the
pointers that are passed to SSL_get_ex_new_index() remain valid after
netsnmp_dtlsudp_ctor() has finished.
commit 637931131baac12d6bdd78df811fec4864b7b716
Author: Bart Van Assche
Date: Sat Mar 10 10:35:05 2018 -0800
snmplib/transports/snmpDTLSUDPDomain: Remove the _peer_union data structure
Since _peer_union and netsnmp_sockaddr_storage are exactly the same
unions, remove the former. This patch does not change any functionality.
commit df4b85289ee3f9de0d1edb3603d64096ed6b7eda
Author: Bart Van Assche
Date: Sat Mar 10 10:10:04 2018 -0800
snmplib/transports/snmpDTLSUDPDomain: Remove superfluous casts
This patch does not change any functionality.
commit f3c1d67b714eedbae4141feb9d6984fab70581bc
Author: Bart Van Assche
Date: Fri Mar 9 21:33:39 2018 -0800
snmplib/transports/snmpDTLSUDPDomain: Remove two (void **) casts
Change the data type of two local variables named 'sa' into void * such
that two (void **) casts can be removed. This patch does not change any
functionality.
commit ed5bbbcd315f4425ac7c85a7fe32bb3a5afd2241
Author: Bart Van Assche
Date: Sat Mar 10 09:52:09 2018 -0800
snmplib/transports/snmpCallbackDomain: Make netsnmp_callback_send() easier to read
This patch does not change any functionality.
commit 56889633204839e4b0d57b5b4bb973d590684ed4
Author: Bart Van Assche
Date: Sat Mar 10 09:49:09 2018 -0800
snmplib/transports/snmpCallbackDomain: Make find_transport_from_callback_num() easier to read
This patch does not change any functionality.
commit 9a088c7951a462ca85ae5f5d3d6f389436580522
Author: Bart Van Assche
Date: Sat Mar 10 09:48:28 2018 -0800
snmplib/transports/snmpCallbackDomain: Make find_transport_from_callback_num() reentrant
commit 506f60d6b61c30a8a0dfc8cc207365f71e326c7f
Author: Bart Van Assche
Date: Sat Mar 10 09:45:05 2018 -0800
snmplib/transports/snmpCallbackDomain: Simplify netsnmp_callback_fmtaddr()
This patch does not change any functionality.
commit 0907750de83418364f40d94424e32b6292fa2a2c
Author: Bart Van Assche
Date: Sat Mar 10 09:43:23 2018 -0800
snmplib/transports/snmpCallbackDomain: Remove superfluous casts
This patch does not change any functionality.
commit a058952120a69504b4be84d3518161c4700cbc5b
Author: Bart Van Assche
Date: Sat Mar 10 09:41:43 2018 -0800
snmplib/transports/snmpCallbackDomain: Remove a local variable
This patch does not change any functionality.
commit ac12184da7590af7cd6ae93e59801888080497ea
Author: Wes Hardaker
Date: Fri Mar 9 15:47:34 2018 -0800
CHANGES: fix bug #2832 for building new checkbandwidth script
commit 114b600432980529087b25c6e9aeb068e17f2837
Author: Bart Van Assche
Date: Tue Mar 6 19:20:26 2018 -0800
snmplib: Suppress recently introduced Cygwin build warnings
commit c9e11fd8e063dca694cf3f5c7a715a726f27bdc7
Author: Bart Van Assche
Date: Tue Mar 6 19:20:04 2018 -0800
testing/fulltests: Suppress Cygwin warnings
Avoid that warnings appear with Cygwin about redeclaring optind etc.
commit 2e5222c4d7512c58b35be301e2b8ff8df6c562c3
Author: Bart Van Assche
Date: Mon Mar 5 21:59:42 2018 -0800
snmplib, MIBs: Use NETSNMP_PRIz where required
commit 7b1c542f0c7699fe242937a633c79063845a98c1
Author: Bart Van Assche
Date: Mon Mar 5 19:53:18 2018 -0800
Win32, MSVC: Fix recently introduced DLL build failures
commit 91037042136de9ec07bd337e41aeb00a60ed82ee
Author: Bart Van Assche
Date: Mon Mar 5 21:41:34 2018 -0800
Win32, MinGW: Fix the build against the latest MinGW Windows headers
commit 6533b51a77a18b1e81cee71d7ee5a5b8596aadee
Author: Bart Van Assche
Date: Mon Mar 5 19:20:05 2018 -0800
snmplib, TLS: Avoid that names without dot trigger a segmentation fault
commit 8e1a168025edc4f035f3c35f8022b1df697380fe
Author: Bart Van Assche
Date: Mon Mar 5 16:51:02 2018 -0800
snmpd: Make the agentxperms keyword work again
Since there is code in agent/mibgroup/agentx/master.c that assumes
that t->local points to the path of the Unix socket, make t->local
again point at the Unix socket path for the Unix transport.
This was reported by Sam Tannous .
See also https://sourceforge.net/p/net-snmp/bugs/2830/.
This partially reverts commit 3bd8dc8b2d90bba775ff1a1fa2f4197fb20b180b.
commit ae0caf620e06e13f85079642aea2c2368ae24d95
Author: Bill Fenner
Date: Mon Mar 5 14:10:46 2018 -0800
Unbreak minimal agent by declaring our feature dependency on sc_get_proper_priv_length()
----------------------------------------------------------------------
Changes: V5.8.pre1 -> V5.8.pre2
commit 20ae34cc421fdd61ce973e4fd3c4ac9b0a144514
Author: Robert Story
Date: Mon Mar 5 11:57:19 2018 -0500
Version number update: 5.8.pre2
commit 4ecad5c95cccca9012ea8d337836835022c202b4
Author: Robert Story
Date: Mon Mar 5 11:56:09 2018 -0500
regenerate configure
commit 59877eafa2ef9365a73f45ddef1551c88ddc55b4
Author: Robert Story
Date: Mon Mar 5 11:42:28 2018 -0500
Revert "Make snmptrap work for DTLS-UDP"
SNMPv3 traps use local engineID so no probe is needed. More investigation
needed into why DTLS-UDP traps tests are failing.
This reverts commit ace478cebbe620c8fa43161858f3db8f79fdafba.
commit 95c2a160231c6806401fcf0059661dc667406aa0
Author: Robert Story
Date: Fri Feb 16 11:45:54 2018 -0500
fix ceiling count for extend_kul
commit 8bd649d115b7a237da3edd84be95a1af19d41b34
Author: Robert Story
Date: Fri Feb 16 11:45:17 2018 -0500
BUG: fix usm keychanges for new algorithms and longer keylengths
commit 8051b8372dfd7143dd571aeccaebc648d53a5afc
Author: Robert Story
Date: Fri Feb 16 11:34:04 2018 -0500
add a bunch of debug during usm/key processing
commit 9bee3387ed28e33e558072ecdbce5c5712c6fe3a
Author: Robert Story
Date: Fri Feb 16 10:51:33 2018 -0500
fix some memory leaks in usm processing
commit c89aabfee0fe6a0dca691c588f8ecd6d803965d7
Author: Robert Story
Date: Fri Feb 16 10:49:10 2018 -0500
match exact string length in usm_lookup_alg_type
commit 1620dea72ae008c741920c329bd84032016d9237
Author: Robert Story
Date: Fri Feb 16 10:48:09 2018 -0500
make usm_extend_user_kul avaialable to other files
commit 720a47eeaade1052605a644fcbb8f6a4b90faaab
Author: Robert Story
Date: Fri Feb 16 10:44:54 2018 -0500
remove redundant cisco2 AES types
commit 7497e2eade8aafcf53c48e1b29800b3d26dcb1b5
Author: Robert Story
Date: Fri Feb 16 10:42:01 2018 -0500
check if libm is needed for ceil function
commit 13183a8054f3dd9617023065b26b4c487d4799c2
Author: Bart Van Assche
Date: Sun Mar 4 21:23:57 2018 -0800
snmplib: Fix MinGW build
Fix recently introduced MinGW build failures and warnings.
commit 35b1a5b8869a83666fb7481564e91b2229bccb05
Author: Bart Van Assche
Date: Sun Mar 4 20:10:14 2018 -0800
testing/fulltests/tls/STlsUsers: Fix this test
commit f04ecd20fce2e6b9023e8f1f455fe576c102d038
Author: Bart Van Assche
Date: Sun Mar 4 19:32:14 2018 -0800
testing/fulltests/tls/STlsServer: Fix a comment
commit 2c682f6cbce8cc857acdef4dc145ae3ad5f98304
Author: Bart Van Assche
Date: Sun Mar 4 19:58:08 2018 -0800
snmplib: Refuse certificates for which a trusted chain was not found the trust store
This patch fixes the noTrustCACert STlsServer test.
Fixes: 0598b77e1c3a ("CHANGES: snmplib: add more openssl error cases where we check for local cert")
commit d9471b0227d484ac69804e58d4b955270267bb9c
Author: Bart Van Assche
Date: Sun Mar 4 18:01:38 2018 -0800
snmplib, cert_util: Fix spelling in a soure code comment
commit b1bf5c9d1883b2fe3365cc21844174f308cc90e7
Author: Bart Van Assche
Date: Sun Mar 4 18:53:41 2018 -0800
snmplib, UDP transport: Remove a cast
commit 8915e14d1674d0675d56341fcb21c407e0945e50
Author: Bart Van Assche
Date: Sun Mar 4 18:52:27 2018 -0800
snmplib, UDP transport: Fix spelling in soure code comments
commit 1af94a8e76d5aee9a54713054e67fb2d82271f0a
Author: Bart Van Assche
Date: Sun Mar 4 18:42:54 2018 -0800
snmplib, TLS-TCP transport: Fix spelling in a log message
commit e2f78d27f2217a2aab4d042eb7ce26f52566fb74
Author: Bart Van Assche
Date: Sun Mar 4 19:48:21 2018 -0800
snmplib, TLS transport: Fix spelling in a source code comment
commit ce92b97d2e0e237844df5dc454cc5315aff7f1a7
Author: Bart Van Assche
Date: Sun Mar 4 18:17:00 2018 -0800
snmplib, TCP transport: Set 'farendlen' correctly
commit 78af047973afc8d8102e9f92fd5686005941751c
Author: Bart Van Assche
Date: Mon Feb 26 22:28:03 2018 -0800
testing/fulltests/snmpv3/T010scapitest_capp.c: Initialize loop variable 'index'
Initialize 'index' before starting the loop. Additionally, fix the
indentation of the code in test_docrypt().
commit ace478cebbe620c8fa43161858f3db8f79fdafba
Author: Bart Van Assche
Date: Sun Feb 25 19:31:10 2018 -0800
Make snmptrap work for DTLS-UDP
Enable engineID probing for SNMP traps sent over the DTLS-UDP transport.
This is necessary to make snmptrap work over DTLS-UDP and also to make
the unit tests pass that send traps over DTLS-UDP.
commit 528b98358c0774edbbbae529edf89cbc7358bcf2
Author: Bart Van Assche
Date: Sun Feb 25 09:48:13 2018 -0800
snmplib/transports/snmpIPv6BaseDomain.c: Fix netsnmp_ipv6_fmtaddr()
Add support for decoding t->data if that pointer points at a
netsnmp_indexed_addr_pair structure.
commit e3fd8c38503f1ce12886ed0c69de7b3e6dbf42b4
Author: Bart Van Assche
Date: Sun Feb 25 09:48:11 2018 -0800
snmplib/transports/snmpIPv4BaseDomain.c: Make netsnmp_ipv4_fmtaddr() more robust
commit 8690931673c6643802d7167b12cc52b53e958a32
Author: Bart Van Assche
Date: Sun Feb 25 09:34:47 2018 -0800
snmplib/transports/snmpIPv4BaseDomain.c: Remove dead code
Since &(ptr->member) is never NULL, remove the code that depends on
such an expression evaluating to NULL.
commit 17d6eafd09d7a206b280d4ff7fed3da427b4ce68
Author: Bart Van Assche
Date: Sat Feb 24 16:04:07 2018 -0800
testing/fulltests/tls/STlsAgentTrap: Fix this test by adding -v3 to the snmpset command line
commit 6e8fb30e9c44377c98e04db990c80e42e4b4c1d8
Author: Bart Van Assche
Date: Sat Feb 24 15:34:03 2018 -0800
testing/fulltests/tls/STlsUsers: Fix this test
commit 948340a2d0ba8a2855b4e8db91a9eb04d9418118
Author: Bart Van Assche
Date: Sat Feb 24 15:53:05 2018 -0800
agent/mibgroup/examples/example.c: Fix spelling in a source code comment
commit c49ebd86ac12f99b5b2e960746a7e9dbfc7bb0a4
Author: Bart Van Assche
Date: Sat Feb 24 21:49:30 2018 -0800
snmplib/transports/snmp*TLS*Domain.c: Fix address formatting
Next to data of type netsnmp_indexed_addr_pair, also decode
netsnmp_tmStateReference and _netsnmpTLSBaseData.
commit 0f72fa6cfdfcb09bbead02517a8af5f77c010561
Author: Bart Van Assche
Date: Sat Feb 24 21:44:00 2018 -0800
snmplib/transports/snmpDTLSUDPDomain.c: Make _extract_addr_pair() easier to read
Additionally, complain if the length of the opaque data is passed to
_extract_addr_pair() is not supported.
commit 4d6609d977734fe95aa4ebc2de270f521330a988
Author: Bart Van Assche
Date: Sat Feb 24 21:12:52 2018 -0800
snmplib/transports/snmpDTLSUDPDomain.c: Fix spelling in a source code comment
Change "packtes" into "packets".
commit d33ad0bb66af037869c25391315e32578fee138b
Author: Bart Van Assche
Date: Wed Feb 14 20:32:22 2018 -0800
Fix the T200TlsIpv6_simple test
Since the symbol NETSNMP_TRANSPORT_TLSIPV6_DOMAIN does not exist, remove
it. And since having to edit /etc/hosts to be able to run a test is very
annoying, switch from "localhost6" to "[::1]".
commit 087f040b09a712664955980dd95853157dd618c8
Author: Bart Van Assche
Date: Wed Feb 14 20:32:29 2018 -0800
testing/fulltests/tls: Reduce the time needed to run these tests
Make the tests run faster by reducing the number of retries from 5
to 1. Reducing the number of retries is fine since no packets are
lost when communicating at a low packet rate over the localhost
interface.
commit 7dbf67d1f693eee560f34a9beb41efc2acd220f2
Author: Bart Van Assche
Date: Sat Feb 10 18:28:07 2018 -0800
testing/fulltests: Convert clientCert/serverCert keywords into localCert/peerCert
Additionally, add -v3 to the app flags to avoid that snmpget and
snmpset fail due to no community string having been specified.
commit 3bd8dc8b2d90bba775ff1a1fa2f4197fb20b180b
Author: Bart Van Assche
Date: Sun Feb 11 10:43:41 2018 -0800
snmplib/transports: Avoid that the create_from_ostring methods truncate IPv6 addresses
This patch not only simplifies the code but also fixes a bug in the
DTLS-UDP and UDP-shared transports for IPv6, namely that IPv6 address
truncation no longer occurs. The truncation was caused by the following
code in the create_ostring implementations of these transports:
memcpy(&addr6.sin6_addr.s6_addr, o, 4);
commit 54a924bc9648fa665efc78aaede9d6c8e7092f9a
Author: Bart Van Assche
Date: Sun Feb 11 15:34:35 2018 -0800
snmplib/transports: Use asprintf() for formatting addresses
This change simplifies the code.
commit 651cbf9a4098c898192f855da80dc5f719d1fc2f
Author: Bart Van Assche
Date: Sun Feb 11 10:39:44 2018 -0800
snmplib/snmp_transport: Use netsnmp_memdup() instead of open-coding it
commit 7e094ed17ef1eaf84b55fe18786b31b89fa69f36
Author: Bart Van Assche
Date: Sat Feb 3 22:18:38 2018 -0800
snmplib/transports: Declare arguments that are not modified 'const'
commit 20725d58ca76fe648c3ed3bf44d496a9a938ffde
Author: Bart Van Assche
Date: Sun Feb 11 09:53:44 2018 -0800
DTLSUDP transport: Check length of from address
Avoid that copying 'opaque' into 'from' triggers a buffer overflow.
commit 0ef2ffb2686f3cce65d702c87de9d158ef94ad67
Author: Bart Van Assche
Date: Sun Feb 11 20:00:10 2018 -0800
testing/fulltests/snmpv3: Fix compiler warning and build issues
commit 398f90a3e931e8cb7953a6fec6a309dd9bf5ba4d
Author: Wes Hardaker
Date: Fri Feb 2 13:50:48 2018 -0800
CHANGES: docs: Bug 2826: from Tomasz: fix utf-8 encoding
commit 2a9f8d7793b54ba6fce804b05e4d37a4a237b1d2
Author: Wes Hardaker
Date: Fri Feb 2 13:45:30 2018 -0800
CHANGES: python: BUG 2824: from: Tomasz: Fix python module make install
commit 0ec7af6591adf600094c5ed98fa97a699dee4e8c
Author: Wes Hardaker
Date: Fri Feb 2 13:50:48 2018 -0800
CHANGES: docs: Bug 2826: from Tomasz: fix utf-8 encoding
commit 4f481aa21a20a6c5ab463f9404e44ad9f247325e
Author: Wes Hardaker
Date: Fri Feb 2 13:45:30 2018 -0800
CHANGES: python: BUG 2824: from: Tomasz: Fix python module make install
commit ba3e921f940494f42797456e60b594e6d5a0343c
Author: Wes Hardaker
Date: Mon Jan 29 10:50:49 2018 -0800
NEWS: apps: A new 'checkbandwidth' script to host min/max bandwidth
commit 310afaf139fa95b3968e78c05609d90c36cd5ada
Author: Bill Fenner
Date: Thu Jan 25 14:23:04 2018 +0000
Update the NETSNMP_DISABLE_MD5 case for the removal of USM_LENGTH_OID_TRANSFORM
commit f350c0ca404081060458b866da3cae48961013e1
Author: Bill Fenner
Date: Tue Jan 23 20:00:50 2018 -0800
Allow access to new auth/priv algorithms from python bindings
commit 19a25baefd16ecb67dea3710c2c5aacfb0e61610
Author: Bill Fenner