summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd
AgeCommit message (Expand)Author
2010-09-20Use strvis to encode octet strings in -DDEBUG mode.Martin Hedenfal
2010-09-20Return error on GET requests without an instance identifier, both forMartin Hedenfal
2010-09-20ber_scanf_elements "i" format expects a long long pointer.Martin Hedenfal
2010-09-20Allow output of null values with a context class. This is used in SNMPv2 toMartin Hedenfal
2010-08-03fix linecount bug with comments spanning multiple linesHenning Brauer
2010-07-18fix a double "is";Jason McIntyre
2010-06-14Fixes unlinking the first element inside a set or a sequence, andMartin Hedenfal
2010-06-11Implement IP-FORWARD-MIB, ipv4 only for now.Jonathan Gray
2010-06-08ber_calc_len() is not an internal function, so adjust the comment.Martin Hedenfal
2010-05-26Move imsg into libutil and add a man page.Nicholas Marriott
2010-05-26Rename some imsg bits to make namespace collisions less likely buf toNicholas Marriott
2010-05-24now that we can handle >9 args, put "-D name=value" on one line: it's a bitJason McIntyre
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