summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd
AgeCommit message (Expand)Author
2010-05-14Use calloc() instead of malloc() to allocate the connection structure. ThisClaudio Jeker
2010-04-27imsg.h does not need sys/tree.h.Nicholas Marriott
2010-04-27Correct sensor logic so we don't get stuck in a loop.Jonathan Gray
2010-04-27Dumb mistake done twice. First in ospfd then synced to snmpd. rtm_errnoClaudio Jeker
2010-04-20Get rid of MAXSENSORDEVICES. Gaps in sensordev lists are now handledTheo de Raadt
2010-04-20Add "frequency" type for sensors. (and teach userland how to print thatOwain Ainsworth
2010-04-15add SENSOR_HUMIDITY to sensor framework to handle humidity valuesYojiro Uo
2010-04-07Remove XXX comment and just close received fd if calloc() fails.Nicholas Marriott
2010-04-01Track blackhole and reject flags since the MIB knows about them.Claudio Jeker
2010-04-01After syncing kroute with bgpd sync now against ospfd's so that this codeClaudio Jeker
2010-03-31Track interface addresses in a AF independent way. This is needed to supportClaudio Jeker
2010-03-29Sync kroute.c code with bgpd so that snmpd is able to track INET6 addrs asClaudio Jeker
2010-02-25a little cleanup;Jason McIntyre
2010-02-24manual pages should not have blank lines outside literal context,Ingo Schwarze
2010-02-24match code and doc; ok claudioJason McIntyre
2010-02-23Fix .Oo .Xo .Oc .Xc mis-nesting by just dropping the .Xo and .Xc which,Ingo Schwarze
2010-01-11Do not use after free kif->if_index; discovered with claudioTheo de Raadt
2010-01-11use calloc() instead of multiplying for malloc(); ok reykTheo de Raadt
2009-12-16knf and unused variablesTheo de Raadt
2009-12-02log_warn() consistency.Michael Knudsen
2009-11-26sync snmp_imsg_hdr with imsg_hdr and unbreak the snmp trap interfaceReyk Floeter
2009-11-12accessses 1 entry too far, found by parfait, ok jsg claudioTheo de Raadt
2009-09-15Enclose repeated buffer draining code in a new msgbuf_drain()Jacek Masiulaniec
2009-08-14SENSOR_WATTS; ok reyk deraadtConstantine A. Murenin
2009-08-08Make imsg_clear close and free any fds in the received fd queue as well asNicholas Marriott
2009-07-23make buf_write() behave like msgbuf_write(): send out only theEric Faurot
2009-06-25Another kroute.c needing RTM_VERSION checks. Looked over by sthen@ and henning@Claudio Jeker
2009-06-08revert this change by eric@:David Gwynne
2009-06-07Change the way fds passed over a socket are retreived on the receiving side.Eric Faurot
2009-06-07Make the imsg protocol network-safe.Eric Faurot
2009-06-06change the imsg header fields a bit to prepare for upcoming changes.Eric Faurot
2009-06-06this one missed the last batch.Pierre-Yves Ritschard
2009-06-06sync snmpd with the common imsg code, making it lib ready as well.Pierre-Yves Ritschard
2009-06-05rtm->rtm_hdrlen conversionChris Cappuccio
2009-06-04Make the types of ber_read() decl match the prototype.Jonathan Gray
2009-04-16fix a few more typos found by spell(1); rectify a double "with" pointed outIgor Sobrado
2009-03-31Fixed memory leaks which would occur if the second of two memoryTobias Stoeckmann
2009-02-25Fix an invalid pointer dereference in control_close(). If control_connbyfd()Claudio Jeker
2009-01-03Sync with ypldap. Add ber_{add,get}_enumerated.aschrijver
2008-12-23Link the directory containing the MIB definitions for snmpd(8).Reyk Floeter
2008-12-23export the livelock counter in a private mib openBSD.5.Reyk Floeter
2008-12-19fix IF-MIB element and implementation ifInUnknownErrors -> ifInUnknownProtosReyk Floeter
2008-12-08report memory and swap in hrStorage, and implement hrProcessor to reportReyk Floeter
2008-12-05add a few HOST-RESOURCES-MIB types (just names, no functionality yet)Reyk Floeter
2008-12-05fix a possible crash in debugging mode (if compiled for with -DDEBUG)Reyk Floeter
2008-11-04word better than number here.Igor Sobrado
2008-11-03use colon before a list.Igor Sobrado
2008-11-03improve description in .Nd macros.Igor Sobrado
2008-10-17bring in the findeol() fix from pfctl. list of affected parsers by sthenHenning Brauer
2008-10-09plug memleak by calling ber_free() after sending a trap to cleanup theReyk Floeter