NEWS revision 156066
1249259Sdim1.12 2249259Sdim A couple of man page fixes from various submitters. 3249259Sdim 4249259Sdim Make default communities NULL for security. 5249259Sdim 6249259Sdim Fix a core dump when -d tracing suboption has no argument (thanks 7249259Sdim to Shteryana Shopova). 8249259Sdim 9249259Sdim Fix bug in parsing the include path in the daemon. 10249259Sdim 11249259Sdim Fix an uninitialize structure field in gensnmptree (thanks to 12249259Sdim jasone@freebsdorg) 13249259Sdim 14249259Sdim 64bit HC counters in the IF-MIB by polling the OS periodically. 15249259Sdim 16249259Sdim Fix link traps to be more RFC conform (thanks to glebius@freebsd.org) 17276479Sdim 18276479Sdim Add fallback definition for SA_SIZE() to support.h. 19249259Sdim 20249259Sdim Move the porting definitions for U?INT32_{MIN,MAX} into support.h. 21249259Sdim 22249259Sdim Include a sys/tree.h from FreeBSD-current and add autoconf 23249259Sdim check for it. 24249259Sdim 25249259Sdim1.11a Fix build of modules when stdint.h is included after asn1.h 26249259Sdim 27249259Sdim1.11 Make the Mib2 routing table use red-black tree. This vastly 28249259Sdim reduces loading and access time. Load the table only every 10 29249259Sdim minutes. In the meantime process message from the routing socket 30249259Sdim to update the table. 31249259Sdim 32249259Sdim Lot of man-page fixes from ru@freebsd.org. 33249259Sdim 34249259Sdim Fixes to command line macros and macro redefinition. 35249259Sdim 36249259Sdim Trap variables for ntp (still need trap definition and code). 37249259Sdim 38249259Sdim Periodic timers from Victor Cruceru. 39249259Sdim 40249259Sdim Man-page fixes from Christian Brueffer. 41249259Sdim 42249259Sdim Lots of spelling fixes from Giorgios Keramidas. 43249259Sdim 44249259Sdim A number of changes to facilitate building on FreeBSD-4 from 45249259Sdim Andrey Elsukov. 46249259Sdim 47249259Sdim Add repeatable timers. 48249259Sdim 49249259Sdim1.10 50249259Sdim Change all the tick handling in the daemon from 32-bit to 64-bit. 51249259Sdim Bump the modules' major version number to 3. 52249259Sdim 53249259Sdim snmp_dialog: make the syntax of the variable bindings in the outgoing 54249259Sdim message SNMP_SYNTAX_NULL regardless of the syntax given by the user. 55249259Sdim 56249259Sdim Fix an error in timer handling in the LIBBEGEMOT case. 57249259Sdim 58249259Sdim snmpd/main.c: Fix a 64-bit warning. 59249259Sdim 60249259Sdim lib/snmpclient: Add snmp_parse_server(). 61249259Sdim 62249259Sdim1.9 63249259Sdim tcpwrapper support from glebius@freebsd.org. 64249259Sdim 65296417Sdim crude interface to NTP: snmp_ntp 66296417Sdim 67296417Sdim1.8 68296417Sdim many man page fixes from ru@freebsd.org and tobez@freebsd.org 69249259Sdim 70249259Sdim snmpd/main.c: fix a problem which resulted in the daemon exiting 71249259Sdim when a local socket was closed. 72249259Sdim 73249259Sdim snmpd/trans_lsock.c: include stdio.h to get a prototype for remove. 74276479Sdim 75249259Sdim gensnmptree/gensnmptree.c: fix a compile error 76249259Sdim 77249259Sdim snmp_mibII: add new field spec_oid to ifmib. This allows ifType 78249259Sdim specific modules to insert the value to be returned for ifSpecific. 79249259Sdim 80249259Sdim1.7a 81249259Sdim fix core dump when config file cannot be opened (submitted by 82276479Sdim Maxim Konovalov) 83249259Sdim 84249259Sdim1.7 85249259Sdim snmpd: Move event library initialization before reading of 86249259Sdim config file (thanks to phk). 87249259Sdim 88249259Sdim gensnmptree: can now read more than one tree and merge them. 89249259Sdim 90296417Sdim some support for compilation on older systems 91296417Sdim 92249259Sdim use standard C fixed width integer types [u]intNN_t 93288943Sdim 94288943Sdim1.6 95288943Sdim New gensnmpdef tool. Needs libsmi. 96249259Sdim 97249259Sdim Make build infrastructure more intelligent. 98249259Sdim 99249259Sdim Fix a typo in the mibII counter retrival code. 100249259Sdim 101249259Sdim Add a new field to struct snmp_node for snmp agents: tree_data. 102249259Sdim This field can be used by the application. 103249259Sdim 104249259Sdim Fix a syntax error in the example configuration file (thanks to 105249259Sdim David J Duchscher). 106249259Sdim 107249259Sdim Fix a long standing problem with the module loading code 108249259Sdim and a memory leak. When a module could not be loaded usually 109249259Sdim a core dump was generated. This was caused by wrong handling 110249259Sdim of malloced memory in the module table dependency. While 111249259Sdim fixing this problem it became obvious that dynamic allocated 112249259Sdim data which was held in a dependency could be lost, because 113249259Sdim there was no guarantee that the dependency handler ever was 114249259Sdim call (in case of an error in a SET handler or an earlier 115276479Sdim dependency in the same PDU) thus causing this memory to leak. 116288943Sdim To fix this a third dependency operation is introduced 117249259Sdim SNMP_DEPOP_FINISH which is invoked just before a dependency 118249259Sdim is freed at the very end of the SET PDU handling. This 119249259Sdim means also that finalizers (set_atfinish) can be converted 120249259Sdim to DEPOP_FINISH handler in almost all cases. The only case 121249259Sdim where this is not so easy is when a finializer was registered 122249259Sdim for a simple SET operation. In this case an artifical dependency 123249259Sdim would be needed. Because this seems to occure very seldom the 124249259Sdim snmp_set_atfinish() call is removed. Thanks to Paul-Henning Kamp 125249259Sdim for an initial fix for the core dump. 126249259Sdim 127249259Sdim09-Dec-2003 128249259Sdim First step on factoring out the transport mapping stuff into 129249259Sdim loadable modules. 130249259Sdim 131249259Sdim Local stream sockets that check the clients privileges. 132249259Sdim 133249259Sdim03-Dec-2003 134249259Sdim Bump version to 1.5 but leave library version intact. 135249259Sdim 136249259Sdim03-Dec-2003 137288943Sdim Now works with libbegemot polling stuff instead of libisc. 138249259Sdim Use --with-libbegemot[=path] to configure. 139249259Sdim 140249259Sdim03-Dec-2003 141249259Sdim Fix parsing of non-minimal ASN.1 integers. They are now disallowed. 142249259Sdim Non-minimal lengths are allowed. 143249259Sdim 144249259Sdim Remove copyright clause 3 everywhere. 145249259Sdim 146249259Sdim Make an autoconf build infrastructure. 147249259Sdim 148276479Sdim08-Nov-2003 149249259Sdim WARNS=6 fixed. 150249259Sdim 151249259Sdim28-Jan-2003 152249259Sdim WARNS=5 fixes. 153249259Sdim 154249259Sdim09-Jan-2003 155249259Sdim snmpd: remove local socket in case of an error to fully initialize it. 156249259Sdim Use chmod instead of fchmod. The latter seems not really to change 157249259Sdim the mode of the socket. 158249259Sdim 159249259Sdim lib: at program exit remove the local socket in the library. 160249259Sdim 161288943Sdim11-Dec-2002 162288943Sdim Implement listening on unix domain sockets. The client must bind 163288943Sdim its socket, or the server cannot send back its response. These 164288943Sdim sockets are considered to be more secure, because it is much 165249259Sdim harder for an intruder to listen on them. 166249259Sdim 167288943Sdim This requires changes in snmpmod.h and snmpclient.h. 168288943Sdim 169288943Sdim04-Dec-2002 170288943Sdim Sparc fixes. 171249259Sdim 172249259Sdim15-Aug-2002 173249259Sdim Use inttypes.h instead of limits.h to get integer limits. This 174288943Sdim seems to be the Posix way. 175288943Sdim 176288943Sdim First drafts of an snmpd, gensnmptree, asn1, bsnmplib, 177288943Sdim bsnmpclient, bsnmpagent, snmpmod, snmp_mibII, snmp_netgraph man pages. 178288943Sdim 179288943Sdim snmpd/main.c: reorder getopt options according to style(9). Implement 180249259Sdim a -h option to print a short help. 181249259Sdim 182249259Sdim25-Jun-2002 183249259Sdim Makefiles rewritten to not use bsnmpmod.mk. The BSD makefiles are 184249259Sdim really hard to use, because a) they are not documented and b) they 185249259Sdim change much too often. 186288943Sdim 187249259Sdim Make the patch a context diff instead of a unified one. 188249259Sdim 189288943Sdim28-Feb-2002 190249259Sdim Library code for SNMP clients. 191249259Sdim