summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/control.c
AgeCommit message (Expand)Author
2023-03-08Delete obsolete /* ARGSUSED */ lint comments.Philip Guenther
2021-04-20Move TAILQ initialization to files where they are used.dv
2017-01-09Stop accessing verbose and debug variables from log.c directly.Reyk Floeter
2017-01-09Replace hand-rolled for(;;) traversal of ctl_conns TAILQ withKenneth R Westerback
2016-09-26spacingReyk Floeter
2016-09-02As done in httpd, remove ps_ninstances and p_instance.Reyk Floeter
2015-12-05EAGAIN handling for imsg_read. OK henning@ benno@Claudio Jeker
2015-12-02In most cases we don't need all arguments of proc_compose*_imsg(),Reyk Floeter
2015-11-28Use SOCK_NONBLOCK in relayd as well.Reyk Floeter
2015-05-28Do not try to unlink the control socket in an unprivileged childFlorian Obser
2015-01-22Clean up the relayd headers with help of include-what-you-use and someReyk Floeter
2015-01-16Adapt to <limits.h> universe.Theo de Raadt
2014-07-11Tweak error checking for msgbuf_write() as recommended by the imsgKenneth R Westerback
2013-11-13handle msgbuf_write() returning EAGAINSebastian Benoit
2013-03-11handle ECONNABORTED errors from accept(). In many code blocks they can beTheo de Raadt
2012-04-19relayd re-uses the event callbacks and passes the value of iev.dataTheo de Raadt
2012-04-11delete excessive evtimer_pending; ok claudioTheo de Raadt
2012-04-11Do rate limiting of accept() when under pressure, like in other recentTheo de Raadt
2011-05-20Concurrent calls of "relayctl show sessions" could crash relayd. FixReyk Floeter
2011-05-19Fix reload support in relayd(8) by reimplementing large parts of theReyk Floeter
2011-05-09Reorganize the relayd code to use the proc.c privsep API/commodityReyk Floeter
2011-05-05Update all logging and debug functions to use the __func__ macroReyk Floeter
2010-05-14zero out the allocate memory for a new control connection via calloc()Reyk Floeter
2010-05-10Various comment typos. 'wether' -> 'whether' (most popular), 'possiblity' ->Kenneth R Westerback
2010-01-11add "log brief" and "log verbose" to change logging verbosityJonathan Gray
2009-12-02log_warn() consistency.Michael Knudsen
2009-06-054 handed diff with eric:Pierre-Yves Ritschard
2009-06-05some KNF cleanup following the last sed.Pierre-Yves Ritschard
2009-06-05Make imsg completely async model agnostic by not requiring anPierre-Yves Ritschard
2009-06-03initialize queueEric Faurot
2009-06-02Libevent may do an upcall with both EV_READ and EV_WRITE set.Reyk Floeter
2009-02-25Fix an invalid pointer dereference in control_close(). If control_connbyfd()Claudio Jeker
2008-07-19If the new 'parent' keyword is specified for a host in a table,Reyk Floeter
2008-01-31add prefixes to names of structure elements to make it easier to grepReyk Floeter
2008-01-29When relayd(8) accepts control it creates `connfd' descriptor with acceptReyk Floeter
2007-12-08Rename everything which reffered to services refer to rdr for internalsPierre-Yves Ritschard
2007-12-07hoststated gets renamed to relayd. easier to type, and actually saysReyk Floeter
2007-11-24sort includes, adjust to style(9)Reyk Floeter
2007-11-19spacingReyk Floeter
2007-10-19Add the ability to schedule an immediate check through hoststatectl.Pierre-Yves Ritschard
2007-09-07add an interface to dump running relay sessions to the control socketReyk Floeter
2007-06-12put the fd passing from bgpd back in to hoststated's version of imsg,Mathieu Sauve-Frankel
2007-06-07(finally) Enable reload support for layer 3 configurations.Pierre-Yves Ritschard
2007-05-29allow the control handling code to send messages back to the parent.Pierre-Yves Ritschard
2007-03-19do not signal "connection closed" upstream on EINTR/EAGAIN, from bgpd et alHenning Brauer
2007-02-08carefully check some return values and make lint happier. never passReyk Floeter
2007-02-07remove unused functions and variables which have been copied fromReyk Floeter
2007-02-01add a monitor mode to hoststatectl to continuously report changes inPierre-Yves Ritschard
2007-01-29Add SSL support to hoststated.Pierre-Yves Ritschard
2007-01-23Typo in fatal() message found by dunceor @ gmail dot comClaudio Jeker