summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd/control.c
AgeCommit message (Expand)Author
2018-06-17Bring snmpd agentx.c closer in line with relayd.rob
2017-04-21Repair AgentX support.Jeremie Courreges-Anglas
2017-01-09Stop accessing verbose and debug variables from log.c directly.Reyk Floeter
2016-11-18Add support for multiple listening socketsJeremie Courreges-Anglas
2016-09-02use imsg_read_nofd() implementation from bgpd.Eric Faurot
2016-01-25avoid a potential double freeJonathan Gray
2015-12-05EAGAIN handling for imsg_read. OK henning@ benno@Claudio Jeker
2015-12-05strings.h -> string.h to prevent an implicit declaration warning. Alsommcc
2015-11-23Use SOCK_NONBLOCK to replace socket_set_blockmode() and fcntl(..O_NONBLOCK).Reyk Floeter
2015-11-21While here, fix two size format string warnings.Reyk Floeter
2015-10-19Fix control_imsg_forward() by changing imsg_compose() toReyk Floeter
2015-10-19Print control socket client fd in debug message to differentiate betweenReyk Floeter
2015-10-17Tighten up snmpd's control socket: do not allow users to terminate theReyk Floeter
2015-10-02Adopt smtpd's imsg_read_nofd() to mitigate the risk of user-injectedReyk Floeter
2015-05-28Do not try to unlink the control socket in an unprivileged childFlorian Obser
2015-01-16first batch of cleanup to programs based upon the namespace cleanupsTheo de Raadt
2014-11-19add support for AgentX subagents in snmpdBret Lambert
2014-07-12Sync msgbuf_write() changes from relayd.Reyk Floeter
2014-06-03Handle the event parameter of libevent callback function as a bitYASUOKA Masahiko
2014-04-25Remove NULL pointer dereference, which jsg insists I notBret Lambert
2014-04-21Copy the updated proc.c from relayd to use the same file. AdjustReyk Floeter
2014-04-14Make snmpd use the AgentX protcol for accepting trap requests.Bret Lambert
2013-11-26remove "clever" shortcut that might bite later, ok gilles bennoHenning Brauer
2013-11-13handle msgbuf_write() returning EAGAINSebastian Benoit
2013-10-17Update snmpd(8) to use the proc.c privsep style from iked and relayd.Reyk Floeter
2013-03-11handle ECONNABORTED errors from accept(). In many code blocks they can beTheo de Raadt
2012-11-29Wrong argument was passed to control_dispatch_imsg(). Use alwaysYASUOKA Masahiko
2012-09-18knfReyk Floeter
2012-04-11delete excessive evtimer_pending; ok claudioTheo de Raadt
2012-04-08add the evtimout rate-limiting code for accept() here too.Theo de Raadt
2010-05-14Use calloc() instead of malloc() to allocate the connection structure. ThisClaudio Jeker
2009-12-02log_warn() consistency.Michael Knudsen
2009-11-26sync snmp_imsg_hdr with imsg_hdr and unbreak the snmp trap interfaceReyk Floeter
2009-06-06sync snmpd with the common imsg code, making it lib ready as well.Pierre-Yves Ritschard
2009-02-25Fix an invalid pointer dereference in control_close(). If control_connbyfd()Claudio Jeker
2008-09-26allow to add an additional restricted control socket for trap sendingReyk Floeter
2008-02-07add a imsg which allows to "lock" the control connection, theReyk Floeter
2008-02-07spacingReyk Floeter
2008-01-31do not leak confd on malloc failure in control_accept()Henning Brauer
2008-01-16implementation of the SNMP trap sender interfaceReyk 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
2007-12-05Start working on snmpd(8) and snmpctl(8), a lightweight SNMP implementationReyk Floeter