summaryrefslogtreecommitdiff
path: root/usr.sbin/relayctl/parser.c
AgeCommit message (Collapse)Author
2011-05-19Fix reload support in relayd(8) by reimplementing large parts of theReyk Floeter
daemon infrastructure. The previous design made it fairly hard to reload the complex data structures, especially relays and protocols. One of the reasons was that the privsep'd relayd processes had two ways of getting their configuration: 1) from memory after forking from the parent process and 2) and (partially) via imsgs after reload. The new implementation first forks the privsep'd children before the parents loads the configuration and sends it via imsgs to them; so it is only like 2) before. It is based on an approach that I first implemented for iked(8) and I also fixed many bugs in the code. Thanks to many testers including dlg@ sthen@ phessler@ ok pyr@ dlg@ sthen@
2010-09-04move some things around to make intentions clear. not really a functionalTed Unangst
change. ok claudio
2010-01-11add "log brief" and "log verbose" to change logging verbosityJonathan Gray
like several other things in the tree. ok reyk@ looks fine claudio@
2009-11-13Don't use [] in function arguments when dealing with arraysJonathan Gray
we don't know the size of, otherwise gcc >= 4 will error. ok markus@ deraadt@
2009-08-17also report routers and their host states in relayctlReyk Floeter
ok pyr@, jmc@ for man bits
2007-12-20implement statistics for redirections, like the existing statisticsReyk Floeter
for relays. they can be viewed with the new "relayctl show redirects" command. (uses the previous change to pf_table.c to get the statistics) looks good pyr@
2007-12-08Rename everything which reffered to services refer to rdr for internalsPierre-Yves Ritschard
(for instance: rename struct service to struct rdr), refer to redirects otherwise (hoststatectl output). ok reyk@
2007-12-08service -> redirectReyk Floeter
ok pyr@
2007-12-07hoststated gets renamed to relayd. easier to type, and actually saysReyk Floeter
what the daemon does - it is a relayer that pays attention to the status of pools of hosts; not a status checkers that happens to do some relaying
2007-11-24style(9) for includesReyk Floeter
2007-11-20NULL != NONE (but both equal 0)Pierre-Yves Ritschard
2007-10-19Add the ability to schedule an immediate check through hoststatectl.Pierre-Yves Ritschard
Especially useful when interval is rather long. I was supposed to commit this before 4.2.
2007-09-28Correct my mail address.Pierre-Yves Ritschard
2007-09-07add a "show sessions" command to dump the complete list of running relayReyk Floeter
sessions.
2007-05-29teach hoststatectl's parser about reload. the code to handle it isPierre-Yves Ritschard
already there. of course this is a dummy for now.
2007-02-22Add layer 7 functionality to hoststated used for layer 7Reyk Floeter
loadbalancing, SSL acceleration, general-purpose TCP relaying, and transparent proxying. see hoststated.conf(5) and my upcoming article on undeadly.org for details. ok to commit deraadt@ pyr@
2007-02-06fix typo.Pierre-Yves Ritschard
ok reyk@
2007-02-01add a monitor mode to hoststatectl to continuously report changes inPierre-Yves Ritschard
hoststated. ok reyk@, "looks nice and clean" niallo@
2007-01-29Add SSL support to hoststated.Pierre-Yves Ritschard
with help and OK reyk@ with help and advice by claudio@ and Srebrenko Sehic
2007-01-29Correctly check for missing arguments, as in ospfctl/bgpctl. OK pyr@Claudio Jeker
2007-01-09adapt to renameTheo de Raadt
2006-12-16- allow to use host/service/table names instead of Ids in hostatectl.Reyk Floeter
- minor change of the "hostatectl show" command output - increase the max service and tag names (max pf tag name size is 64 now!) thanks to pyr who found a bug in my initial diff
2006-12-16unused variableTheo de Raadt
2006-12-16knf, spacingReyk Floeter
2006-12-16Import hostated, the host status daemon. This daemon will monitorReyk Floeter
remote hosts and dynamically alter pf(4) tables and redirection rules for active server load balancing. The daemon has been written by Pierre-Yves Ritschard (pyr at spootnik.org) and was formerly known as "slbd". The daemon is fully functional but it still needs some work and cleanup so we don't link it to the build yet. Some TODOs are a partial rewrite of the check_* routines (use libevent whenever we can), improvement of the manpages, and general knf and cleanup. ok deraadt@ claudio@