16f557cf7SHartmut Brandt1.12a 26f557cf7SHartmut Brandt Support for ENUM and BITS in gensnmp{tree,def}. Include directives 36f557cf7SHartmut Brandt and typedefs. 46f557cf7SHartmut Brandt 5748b5b1eSHartmut Brandt1.12 6748b5b1eSHartmut Brandt A couple of man page fixes from various submitters. 7748b5b1eSHartmut Brandt 8748b5b1eSHartmut Brandt Make default communities NULL for security. 9748b5b1eSHartmut Brandt 10748b5b1eSHartmut Brandt Fix a core dump when -d tracing suboption has no argument (thanks 11748b5b1eSHartmut Brandt to Shteryana Shopova). 12748b5b1eSHartmut Brandt 13748b5b1eSHartmut Brandt Fix bug in parsing the include path in the daemon. 14748b5b1eSHartmut Brandt 15748b5b1eSHartmut Brandt Fix an uninitialize structure field in gensnmptree (thanks to 16748b5b1eSHartmut Brandt jasone@freebsdorg) 17748b5b1eSHartmut Brandt 18748b5b1eSHartmut Brandt 64bit HC counters in the IF-MIB by polling the OS periodically. 19748b5b1eSHartmut Brandt 20748b5b1eSHartmut Brandt Fix link traps to be more RFC conform (thanks to glebius@freebsd.org) 21748b5b1eSHartmut Brandt 22748b5b1eSHartmut Brandt Add fallback definition for SA_SIZE() to support.h. 23748b5b1eSHartmut Brandt 24748b5b1eSHartmut Brandt Move the porting definitions for U?INT32_{MIN,MAX} into support.h. 25748b5b1eSHartmut Brandt 26748b5b1eSHartmut Brandt Include a sys/tree.h from FreeBSD-current and add autoconf 27748b5b1eSHartmut Brandt check for it. 28748b5b1eSHartmut Brandt 29748b5b1eSHartmut Brandt1.11a Fix build of modules when stdint.h is included after asn1.h 30748b5b1eSHartmut Brandt 31165c5d31SHartmut Brandt1.11 Make the Mib2 routing table use red-black tree. This vastly 32165c5d31SHartmut Brandt reduces loading and access time. Load the table only every 10 33165c5d31SHartmut Brandt minutes. In the meantime process message from the routing socket 34165c5d31SHartmut Brandt to update the table. 35165c5d31SHartmut Brandt 36165c5d31SHartmut Brandt Lot of man-page fixes from ru@freebsd.org. 37165c5d31SHartmut Brandt 38165c5d31SHartmut Brandt Fixes to command line macros and macro redefinition. 39165c5d31SHartmut Brandt 40165c5d31SHartmut Brandt Trap variables for ntp (still need trap definition and code). 41165c5d31SHartmut Brandt 42165c5d31SHartmut Brandt Periodic timers from Victor Cruceru. 43165c5d31SHartmut Brandt 44165c5d31SHartmut Brandt Man-page fixes from Christian Brueffer. 45165c5d31SHartmut Brandt 46165c5d31SHartmut Brandt Lots of spelling fixes from Giorgios Keramidas. 47165c5d31SHartmut Brandt 48165c5d31SHartmut Brandt A number of changes to facilitate building on FreeBSD-4 from 49165c5d31SHartmut Brandt Andrey Elsukov. 50165c5d31SHartmut Brandt 51165c5d31SHartmut Brandt Add repeatable timers. 52165c5d31SHartmut Brandt 5369292cedSHartmut Brandt1.10 5469292cedSHartmut Brandt Change all the tick handling in the daemon from 32-bit to 64-bit. 5569292cedSHartmut Brandt Bump the modules' major version number to 3. 5669292cedSHartmut Brandt 5769292cedSHartmut Brandt snmp_dialog: make the syntax of the variable bindings in the outgoing 5869292cedSHartmut Brandt message SNMP_SYNTAX_NULL regardless of the syntax given by the user. 5969292cedSHartmut Brandt 6069292cedSHartmut Brandt Fix an error in timer handling in the LIBBEGEMOT case. 6169292cedSHartmut Brandt 6269292cedSHartmut Brandt snmpd/main.c: Fix a 64-bit warning. 6369292cedSHartmut Brandt 6469292cedSHartmut Brandt lib/snmpclient: Add snmp_parse_server(). 6569292cedSHartmut Brandt 66d7eb6b47SHartmut Brandt1.9 67d7eb6b47SHartmut Brandt tcpwrapper support from glebius@freebsd.org. 68d7eb6b47SHartmut Brandt 69d7eb6b47SHartmut Brandt crude interface to NTP: snmp_ntp 70d7eb6b47SHartmut Brandt 7194caccb3SHartmut Brandt1.8 7294caccb3SHartmut Brandt many man page fixes from ru@freebsd.org and tobez@freebsd.org 7394caccb3SHartmut Brandt 7494caccb3SHartmut Brandt snmpd/main.c: fix a problem which resulted in the daemon exiting 7594caccb3SHartmut Brandt when a local socket was closed. 7694caccb3SHartmut Brandt 7794caccb3SHartmut Brandt snmpd/trans_lsock.c: include stdio.h to get a prototype for remove. 7894caccb3SHartmut Brandt 7994caccb3SHartmut Brandt gensnmptree/gensnmptree.c: fix a compile error 80d7eb6b47SHartmut Brandt 81d7eb6b47SHartmut Brandt snmp_mibII: add new field spec_oid to ifmib. This allows ifType 82d7eb6b47SHartmut Brandt specific modules to insert the value to be returned for ifSpecific. 83d7eb6b47SHartmut Brandt 8494caccb3SHartmut Brandt1.7a 8594caccb3SHartmut Brandt fix core dump when config file cannot be opened (submitted by 8694caccb3SHartmut Brandt Maxim Konovalov) 8794caccb3SHartmut Brandt 88896052c1SHartmut Brandt1.7 89165c5d31SHartmut Brandt snmpd: Move event library initialization before reading of 90896052c1SHartmut Brandt config file (thanks to phk). 91896052c1SHartmut Brandt 92896052c1SHartmut Brandt gensnmptree: can now read more than one tree and merge them. 93896052c1SHartmut Brandt 94896052c1SHartmut Brandt some support for compilation on older systems 95896052c1SHartmut Brandt 96896052c1SHartmut Brandt use standard C fixed width integer types [u]intNN_t 97896052c1SHartmut Brandt 988eecd77aSHartmut Brandt1.6 998eecd77aSHartmut Brandt New gensnmpdef tool. Needs libsmi. 1008eecd77aSHartmut Brandt 1018eecd77aSHartmut Brandt Make build infrastructure more intelligent. 1028eecd77aSHartmut Brandt 1038eecd77aSHartmut Brandt Fix a typo in the mibII counter retrival code. 1048eecd77aSHartmut Brandt 1058eecd77aSHartmut Brandt Add a new field to struct snmp_node for snmp agents: tree_data. 1068eecd77aSHartmut Brandt This field can be used by the application. 1078eecd77aSHartmut Brandt 1088eecd77aSHartmut Brandt Fix a syntax error in the example configuration file (thanks to 1098eecd77aSHartmut Brandt David J Duchscher). 1108eecd77aSHartmut Brandt 1118eecd77aSHartmut Brandt Fix a long standing problem with the module loading code 1128eecd77aSHartmut Brandt and a memory leak. When a module could not be loaded usually 1138eecd77aSHartmut Brandt a core dump was generated. This was caused by wrong handling 1148eecd77aSHartmut Brandt of malloced memory in the module table dependency. While 1158eecd77aSHartmut Brandt fixing this problem it became obvious that dynamic allocated 1168eecd77aSHartmut Brandt data which was held in a dependency could be lost, because 1178eecd77aSHartmut Brandt there was no guarantee that the dependency handler ever was 1188eecd77aSHartmut Brandt call (in case of an error in a SET handler or an earlier 1198eecd77aSHartmut Brandt dependency in the same PDU) thus causing this memory to leak. 1208eecd77aSHartmut Brandt To fix this a third dependency operation is introduced 1218eecd77aSHartmut Brandt SNMP_DEPOP_FINISH which is invoked just before a dependency 1228eecd77aSHartmut Brandt is freed at the very end of the SET PDU handling. This 1238eecd77aSHartmut Brandt means also that finalizers (set_atfinish) can be converted 1248eecd77aSHartmut Brandt to DEPOP_FINISH handler in almost all cases. The only case 1258eecd77aSHartmut Brandt where this is not so easy is when a finializer was registered 1268eecd77aSHartmut Brandt for a simple SET operation. In this case an artifical dependency 1278eecd77aSHartmut Brandt would be needed. Because this seems to occure very seldom the 1288eecd77aSHartmut Brandt snmp_set_atfinish() call is removed. Thanks to Paul-Henning Kamp 1298eecd77aSHartmut Brandt for an initial fix for the core dump. 1308eecd77aSHartmut Brandt 13170af00a1SHartmut Brandt09-Dec-2003 13270af00a1SHartmut Brandt First step on factoring out the transport mapping stuff into 13370af00a1SHartmut Brandt loadable modules. 13470af00a1SHartmut Brandt 13570af00a1SHartmut Brandt Local stream sockets that check the clients privileges. 13670af00a1SHartmut Brandt 13770af00a1SHartmut Brandt03-Dec-2003 13870af00a1SHartmut Brandt Bump version to 1.5 but leave library version intact. 13970af00a1SHartmut Brandt 14070af00a1SHartmut Brandt03-Dec-2003 14170af00a1SHartmut Brandt Now works with libbegemot polling stuff instead of libisc. 14270af00a1SHartmut Brandt Use --with-libbegemot[=path] to configure. 14370af00a1SHartmut Brandt 14470af00a1SHartmut Brandt03-Dec-2003 14570af00a1SHartmut Brandt Fix parsing of non-minimal ASN.1 integers. They are now disallowed. 14670af00a1SHartmut Brandt Non-minimal lengths are allowed. 14770af00a1SHartmut Brandt 14870af00a1SHartmut Brandt Remove copyright clause 3 everywhere. 14970af00a1SHartmut Brandt 15070af00a1SHartmut Brandt Make an autoconf build infrastructure. 15170af00a1SHartmut Brandt 152f06ca4afSHartmut Brandt08-Nov-2003 153f06ca4afSHartmut Brandt WARNS=6 fixed. 154f06ca4afSHartmut Brandt 155f06ca4afSHartmut Brandt28-Jan-2003 156f06ca4afSHartmut Brandt WARNS=5 fixes. 157f06ca4afSHartmut Brandt 158f06ca4afSHartmut Brandt09-Jan-2003 159f06ca4afSHartmut Brandt snmpd: remove local socket in case of an error to fully initialize it. 160f06ca4afSHartmut Brandt Use chmod instead of fchmod. The latter seems not really to change 161f06ca4afSHartmut Brandt the mode of the socket. 162f06ca4afSHartmut Brandt 163f06ca4afSHartmut Brandt lib: at program exit remove the local socket in the library. 164f06ca4afSHartmut Brandt 165f06ca4afSHartmut Brandt11-Dec-2002 166f06ca4afSHartmut Brandt Implement listening on unix domain sockets. The client must bind 167f06ca4afSHartmut Brandt its socket, or the server cannot send back its response. These 168f06ca4afSHartmut Brandt sockets are considered to be more secure, because it is much 169f06ca4afSHartmut Brandt harder for an intruder to listen on them. 170f06ca4afSHartmut Brandt 171f06ca4afSHartmut Brandt This requires changes in snmpmod.h and snmpclient.h. 172f06ca4afSHartmut Brandt 173f06ca4afSHartmut Brandt04-Dec-2002 174f06ca4afSHartmut Brandt Sparc fixes. 175f06ca4afSHartmut Brandt 176f06ca4afSHartmut Brandt15-Aug-2002 177f06ca4afSHartmut Brandt Use inttypes.h instead of limits.h to get integer limits. This 178f06ca4afSHartmut Brandt seems to be the Posix way. 179f06ca4afSHartmut Brandt 180f06ca4afSHartmut Brandt First drafts of an snmpd, gensnmptree, asn1, bsnmplib, 181f06ca4afSHartmut Brandt bsnmpclient, bsnmpagent, snmpmod, snmp_mibII, snmp_netgraph man pages. 182f06ca4afSHartmut Brandt 183f06ca4afSHartmut Brandt snmpd/main.c: reorder getopt options according to style(9). Implement 184f06ca4afSHartmut Brandt a -h option to print a short help. 185f06ca4afSHartmut Brandt 186f06ca4afSHartmut Brandt25-Jun-2002 187f06ca4afSHartmut Brandt Makefiles rewritten to not use bsnmpmod.mk. The BSD makefiles are 188f06ca4afSHartmut Brandt really hard to use, because a) they are not documented and b) they 189f06ca4afSHartmut Brandt change much too often. 190f06ca4afSHartmut Brandt 191f06ca4afSHartmut Brandt Make the patch a context diff instead of a unified one. 192f06ca4afSHartmut Brandt 193f06ca4afSHartmut Brandt28-Feb-2002 194f06ca4afSHartmut Brandt Library code for SNMP clients. 195