summaryrefslogtreecommitdiff
path: root/net/net-snmp
AgeCommit message (Collapse)AuthorFilesLines
2012-06-12Add inet6 to default suggested options. It's 2012.wiz1-1/+2
2012-06-08Add support for the ucd-snmp/diskio module on SunOSfhajny1-2/+2
2012-05-17net/net-snmp: Fix IPv6 option on DragonFlymarino2-23/+37
Another victim of _KERNEL STRUCTURES...
2012-05-17add a patch by Jan Safranek <jsafranek@users.sourceforge.net> for CVE-2012-2141spz3-3/+24
from https://bugzilla.redhat.com/attachment.cgi?id=580443 : Check out-of-index conditions in ExtendOutput2Table.
2011-10-22PR/39320 -- Don't override user-supplied rc.d *_flags variable.shattered3-6/+8
2011-10-17PR/44479 -- disable use of nlist() if we're using sysctl() to get IP stats.shattered2-4/+8
2011-10-16Fixes build on DragonFly BSD (missing IFM_TOKEN).obache2-5/+21
Based on PR pkg/45474 by Samuel J. Greear.
2011-08-14Revision bump after updating perl5 to 5.14.1.obache1-1/+2
2011-06-24Added PLIST_VARS=perl and fixed PLIST when building without Perladam2-120/+120
2011-06-24Fix for PR#44748adam1-1/+2
2011-05-31patch-aq has been evil; exorcism performedadam2-5/+4
2011-05-30Mark this package as not job safe to fix the build under NetBSD/amd64tron1-1/+2
as suggested by Adam CiarciƄski in private e-mail.
2011-05-30Fix building on NetBSD-i386adam2-4/+4
2011-05-27Changes 5.6.1.1:adam44-721/+648
* OID Typedef Bug Fix: The oid typedef was changed in 5.6.1 to an u_int32 from a u_long. This broke binary compatibility and likely 3rd-party code. 5.6.1.1 reverts this change and fixes an underlying OID printing problem in two agent modules that caused someone to change the typedef in the first place. Changes 5.6.1: * General: - The DTLS and TLS transports and the TSM security model are no longer "beta" (they've undergone rigorous interoperability testing). - Many Bug Fixes (see the CHANGES and ChangeLog files for full details) * snmpd: - 0 Patch 3141462: from fenner: fix agentx subagent issues with multiple-object requests - Patch from Niels to fix VACM persistant storage. Changes 5.6: * all: - Implemented the SNMP over TLS and SNMP over DTLS protocols [RFC-to-be] - Implemented the "Transport Security Model" [RFC5591] - Generic host-specific configuration .conf files are now read. - Include statements can now be used in .conf files. * snmpd: - Fix handling of multiple matching VACM entries. (Use the "best" match, rather than the first one). Reported by Adam Lewis. Note that this could potentially affect the behaviour of existing access control configurations. - Agent will no longer call table handlers if a set request for the handler has invalid indexes - table_data/tdata next handler will not be called during get processing if no valid rows are found for the handler - [PATCH 2952708]: Added Perl implementation of BRIDGE-MIB - moved all functions defined in libnetsnmphelpers to libnetsnmpagent. libnetsnmphelpers is now an empty library. - Implemented the TSM-MIB and the TLSTM-MIB - new API for indicating that persistent store needs to be saved after the current request finishes processing - [PATCH 2931446]: make the load averages writable. * apps: - A new tool 'net-snmp-cert' that easily creates and manages X.509 certificates for use with the SNMP over (D)TLS protocols. - Added an 'agentxtrap' command to send notifications via AgentX - -T command line flag can be used to pass configuration directly to transports that can accept configuration tokens - A new 'snmptls' command for manipulating the agent's TLS configuration * snmplib: - A more modular transport subsystem that allows third party extensions and dependencies for code reuse. - New transport functions: f_config, f_open, f_copy and f_setup_session - Transports can now specify session defaults - [PATCH 2942940]: Add a new function, netsnmp_parse_args, that is like snmp_parse_args but takes an additional bitmask, flags, to affect the behaviour. Also remove the magic handling of some application names. - A new X.509 certificate API for indexing and reading certificates - new experimental row creation API which uses a state machine to try really hard to create a row from a given varbind list - netsnmp_container enhancements: - added a free_item function - added a CONTAINER_FREE_ALL macro/function - added an interface for duplicating a container (CONTAINER_DUP) - added a remove function to container_iterators - added an ability to set options on binary_array containers - new snmp token logOption allows specifying log destinations via configuration conf files - A very significant reduction in compiler warning output - new experimental simple state machine handling API
2010-12-26Pull memory statistics properly, and fix an overflow in the CPU statistics.sekiya4-29/+170
("netbsdelf3", indeed ... )
2010-12-22Fix divide-by-zero error in CPU performance statistics.sekiya3-3/+44
Inspired by Red Hat Bugzilla Bug #501210.
2010-11-17Fix build problem on NetBSD 4.taca9-53/+57
Previous patch for NetBSD wasn't really for netbsd4 but 4.99.58 and later. So, I changed "#ifdef netbsd4" to "#ifdef NETBSD_STATS_VIA_SYSCTL" and clean up patches. Should be fix PR pkg/43288. It is fix of build problem only, so no PKG_REVISION bump.
2010-08-21Bump the PKGREVISION for all packages which depend directly on perl,seb1-1/+2
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=..."), minus the packages updated after the perl package update. sno@ was right after all, obache@ kindly asked and he@ led the way. Thanks!
2010-07-20Changes 5.4.3:adam13-97/+95
snmpd: - Change default AgentX target from 0.0.0.0:705 to localhost:705 - Fix CVE-2008-4309 (GETBULK issue reported by Oscar Mira-Sanchez) - Fix handling of multiple matching VACM entries (Use the "best" match, rather than the first one). Note that this could potentially affect the behaviour of existing access control configurations. - Latch large-disk statistics at 2Tb (rather than wrapping) Linux: - Fix build on modern distributions (using rpm-4.6) Windows: - Fix various builds (recent MSVC, MinGW, IPv6, winExtDLL)
2010-05-11Added patches, courtesy of Mike Bowie:adam13-17/+539
* Address changes in sysctl() storage, which has yielded values such as IP-MIB::ipForwarding.0 invalid. * RAM reporting on 64-bit systems.
2010-03-09Add perl as an option, defaulting to onhubertf2-20/+29
Bump revision OK adam@
2009-08-30Add user-destdir support.obache1-3/+6
2009-06-14Remove @dirrm entries from PLISTsjoerg1-14/+1
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2009-03-18Add two new options to help when running snmpd as an unpriveleged useradrianp1-2/+10
2009-03-10regen distinfo after editing comments in a patch fileapb1-2/+2
2009-03-10Some systems define ifnet.if_lastchange as struct timespec (withapb7-13/+225
a tv_nsec field measured in nanoseconds), while other systems define it as struct timeval (with a tv_usec field measured in microseconds). Add a configure test and conditional code in agent/mibgroup/mibII/interfaces.c.orig. This should fix PR 40990. Bump PKGREVISION to 2.
2009-02-15Add a patch from the "net-snmp" repository to close the vulnerabilitytron3-2/+24
reported in SA33884/CVE-2008-6123.
2008-11-02Changes 5.4.2.1:adam2-7/+6
snmpd: - SECURITY ISSUE: A bug in the getbulk handling code could let anyone with even minimal access crash the agent.
2008-10-19Bump the PKGREVISION for all packages which depend directly on perl,he1-1/+2
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=...").
2008-09-18Fix build on DragonFly. From PR 39566.joerg2-1/+22
2008-09-08Changes 5.4.2:adam17-297/+137
snmplib: - [PATCH 1921861]: Avoid endless loop after truncating 64bit int - Better handling of CONTAINER_INSERT failures with multiple indices snmpd: - [PATCH 2023633]: add SCTP-MIB implementation (Linux only) - suppress annoying "registration != duplicate" warning for root oids build: - [BUG 2023803]: Compilation problems on HP-UX 11.31 - Update to libtool 1.5.26 AIX: - Add support for AIX 6.x.
2008-07-15Changes 5.4.1.2:adam5-21/+24
* An increment only in the version number that was failing to be reported properly by the tools. Changes 5.4.1.1: * SECURITY BUG: A portion of SNMPv3 code had significantly weakened authentication cryptography and unauthenticated access to a system is a possibility. * It is critical that all users update their installations bases IMMEDIATELY. * If you were only using SNMPv1 or SNMPv2c you were already insecure beyond a level that this vulnerability affects.
2008-06-28bump version for new tcp statschristos2-4/+4
2008-06-28Look what you made me do clown boy! (Adapt to new tcp stats array)christos1-4/+85
2008-06-12Add patch for CVE-2008-0960 from the Net-SNMP project page on Sourceforge.tron3-8/+19
2008-06-06Combine the to patches for "agent/mibgroup/mibII/ip.c" to make thistron3-23/+11
actually build.
2008-06-05PR/36978: Hasso Tepper: Make net-snmp work on dragonfly.christos8-33/+189
While I am here make it run again on NetBSD (hi clown boy)
2008-05-18Add patch from the Net-SNMP SVN repository to fix a buffer overflow intron3-3/+107
the Perl SNMP module reported in SA30187.
2008-04-12Convert to use PLIST_VARS instead of manually passing "@comment "jlam2-6/+6
through PLIST_SUBST to the plist module.
2008-01-03Fix floating point exception on NetBSD/sparc64 by applying the sameseb3-2/+52
fix (and error checking) on agent/mibgroup/hardware/memory/memory_netbsd.c:netsnmp_mem_arch_load() via new patch file patch-ah as the one applied on agent/mibgroup/ucd-snmp/memory_netbsd1.c:var_extensible_mem() by patch file patch-es. Sorry I missed this in november 2006... Bump PKGREVISION to 1.
2008-01-03Fix build on older DragonFly.joerg1-1/+1
2007-11-23Fix builds on Darwin 9.*adrianp1-1/+8
Goes part way to address PR# 37405 See http://net-snmp.sourceforge.net/docs/README.osX.html for hints on this.
2007-11-20If the "ssl" option is not present, inhibit SSL support by configuringdsainty1-1/+3
with --without-openssl. Corrects package build on systems with non-Pkgsrc OpenSSL installations. Fixes breakage under Linux.
2007-11-12Make sure snmp_perl.pl is installedadrianp1-1/+3
2007-11-11Remove ftp.net-smnp.org from MASTER_SITES, doesn't resolve.wiz1-3/+2
From Zafer Aydogan in PR 37323.
2007-08-12Remove dragonfly.h, it is included upstream now.joerg4-27/+16
Restore patch-dt (MIB_SYSTEM_LIBS), still needed for DragonFly.
2007-08-11Chagesn 5.4.1:adam12-132/+75
snmplib: - [BUG 1619827]: link libraries against needed external libraries - [PATCH 1616912]: fix memory leak in UDP transport code - [PATCH 1592706]: fix memory leak when cloning varbinds - Change snmp_sess_add_ex to consistently close and delete the transport argument on failure, earlier the liveness of the transport argument was undecided. snmpd: - [BUG 1558823]: fix ipAddressTable memory leak - [BUG 1596638]: fix memory leak in ipCidrRouteTable, inetCidrRouteTable - [BUG 1611524]: fix tcp connection table file descriptor leak - handle row deletion issues in dataset tables - [BUG 1712988]: default and configurable maximum number of varbinds returnable to a GETBULK request. - [PATCH 1666737]: include ipv6 counts in udpInDatagrams, udpNoPorts, udpInErrors, udpOutDatagrams - [PATCH 1700157]: fixes ordering of exec tokens in the resulting mib tree - [PATCH 1719253]: fix skipNFSInHostResources so it does not break on the second walk of the table. perl: - link Perl modules against the exact set of libraries needed - [BUG 1619827]: properly link against libperl when configured with --enable-as-needed - [PATCH 1725049]: fix bulkwalk in cases of non-repeater python: - [PATCH 1716114]: Let python build in the Net-SNMP source tree MacOSX: - [PATCH 1600522]: CPU Hardware Abstraction Layer (HAL) implementation for mach/darwin - IF-MIB rewrite now enabled by default Win32: - fix AES support - [PATCH 1706344]: fix compilation with cygwin IRIX: - [PATCH 1709748]: Optimized IRIX cpu stats AIX: - Fix default shared library building instead of forcing static use FreeBSD: - [BUG 1633483]: Support CPU HAL on FreeBSD4.x
2007-08-10Fix build on NetBSD-current which dropped MFSNAMELEN: pretend this CPP macroseb3-7/+11
is still there. Bump PKGREVISION to 2.
2007-06-07Due to build failure (not finding a library), add:gdt1-1/+3
MAKE_JOBS_SAFE= NO