summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd/snmpe.c
AgeCommit message (Collapse)Author
2009-12-16knf and unused variablesTheo de Raadt
2009-06-06sync snmpd with the common imsg code, making it lib ready as well.Pierre-Yves Ritschard
ok eric@
2008-12-08report memory and swap in hrStorage, and implement hrProcessor to reportReyk Floeter
hrProcessorLoad (where load means the percentage of time the system was not idle during the last minute). based on HOST-RESOURCES-MIB. ok dlg@
2008-12-05fix a possible crash in debugging mode (if compiled for with -DDEBUG)Reyk Floeter
found by Alexander Sabourenkov
2008-09-26allow to add an additional restricted control socket for trap sendingReyk Floeter
only (not even show commands). this allows to place a socket for traps in another daemon's chroot. (based on restricted socket support from bgpd)
2008-09-03Missing breaks.Jonathan Gray
ok pyr@
2008-07-18merge log_host with relayd's version using getnameinfo and rename itReyk Floeter
to print_host.
2008-03-12mostly stylistic - always print the client host name in snmpe errorReyk Floeter
messages and make sure that the host string is initialized.
2008-03-12if (class != BER_CLASS_UNIVERSAL || type != BER_TYPE_SEQUENCE)Claudio Jeker
not if (class != BER_CLASS_UNIVERSAL && type != BER_TYPE_SEQUENCE) the class and type need to be of correct. OK reyk@
2008-02-09fix a memleak in the snmp engine and the ber i/o; free the dynamicallyReyk Floeter
allocated ber write buffer after using it. extend the ber api with a ber_free() function to do the required cleanup. Thanks to Will Backman (bitgeist at yahoo dot com) for testing and for figuring out that there was a memleak.
2008-01-16send a coldStart trap to registered receivers on startup and cleanupReyk Floeter
the trap code a little bit.
2008-01-16implementation of the SNMP trap sender interfaceReyk Floeter
2008-01-16bump copyrightReyk Floeter
2008-01-16move trap code to an own file; there will be moreReyk Floeter
2008-01-16start working on an interface to send traps via snmpd.sock. userlandReyk Floeter
applications will be able to send imsgs defining the trap to snmpd and the daemon will do the ASN.1/BER encoding before sending traps to the registered receivers. there are two advantages of this approach that a) the applications do not need to handle any ASN.1/BER encoding and b) snmpd will provide a central interface to define trap receivers. discussed with thib and others
2008-01-12unbreak DEBUG codeReyk Floeter
2008-01-11rename snmp context type enum elementsReyk Floeter
2008-01-03send the correct lengthReyk Floeter
2008-01-03handle no more than 2147483647 (0x7fffffff) variable bindingsReyk Floeter
From RFC3416
2008-01-03fix parsing of get* requests with multiple varbind elementsReyk Floeter
2007-12-28split code handling the "structure of management information" and theReyk Floeter
"message processing subsystem" into separate files smi.c and mps.c
2007-12-27Make a snmpwalk against snmpd on hppa and macppc work. armish still dontMats O Jansson
work. -moj
2007-12-07add a new 'd' format to ber_printf_elements to pass ints instead ofReyk Floeter
long longs; you have to pass the right type with vargs. this finally fixes the previous problem on i386. discussed with claudio
2007-12-07unbreak snmpd on 32bit archs like i386Reyk Floeter
2007-12-05Start working on snmpd(8) and snmpctl(8), a lightweight SNMP implementationReyk Floeter
for OpenBSD. SNMP is a necessary evil. This is work in progress, don't expect too much from it yet. ok deraadt@