Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-09-07 | add an interface to dump running relay sessions to the control socket | Reyk Floeter | |
2007-09-07 | remove unused flags field from the structure | Reyk Floeter | |
2007-09-07 | store the table's port as the relay's dstport | Reyk Floeter | |
2007-09-07 | add a function to print delays in hours, minutes, and seconds | Reyk Floeter | |
2007-09-06 | rename relay_host to print_host in log.c | Reyk Floeter | |
2007-09-05 | be extra careful with pointers in session_cmp | Reyk Floeter | |
2007-09-05 | add my copyright because i added a lot. | Reyk Floeter | |
ok pyr@ (who is the first copyright holder) | |||
2007-09-05 | store relay sessions in SPLAY trees instead of TAILQ lists. this will | Reyk Floeter | |
be used for faster lookups of sessions based on different criteria. ok pyr@ | |||
2007-09-05 | increase th maximum string size for the sslciphers from 32 to 768. | Reyk Floeter | |
this unbreaks some configurations that worked when sslciphers was a dynamic charbuf. ok pyr@ | |||
2007-09-04 | Add the ability to specify a host header when using http(s) check methods. | Pierre-Yves Ritschard | |
Prodded by me, done by Gille Chehade <veins@evilkittens.org> ok reyk, jmc for the manpage bits. | |||
2007-09-04 | small fix in the error path when accepting new relay sessions | Reyk Floeter | |
2007-09-04 | support chained ssl certificates; a chain can be added to the | Reyk Floeter | |
PEM-encoded server cert file (no CA support yet). makes a chained ssl certificate from Comodo work with hoststated, also tested with other certs (self-signed, Thawte Premium) thanks to ben (pr0ncracker at gmail dot com) | |||
2007-07-26 | Combine http filter/expect cases to simplify code. | Jonathan Gray | |
ok reyk@ | |||
2007-07-24 | Quote digest otherwise it won't be parsed as a string. | Pierre-Yves Ritschard | |
2007-07-24 | make imsg_create use dynamic buffers. | Pierre-Yves Ritschard | |
this does not change imsg_compose's behavior but allows the message's buffer to grow and will avoid sending a ton of small messages when unrolling lists between two processes. discussed with claudio (and coming to ospfd soon). | |||
2007-07-16 | typo | Pierre-Yves Ritschard | |
also found by Kevin Steves | |||
2007-07-16 | use fatal and not err, the message would get lost. | Pierre-Yves Ritschard | |
found by Kevin Steves <stevesk (at) pobox dot com> | |||
2007-07-05 | use a more traditional while() instead of for() for getopt(). | Thordur I. Bjornsson | |
sync usage() to the man page. format string fixes. complain about failed calloc()'s instead of exiting silently. ok pry@,reyk@ | |||
2007-06-19 | don't go through the effort of creating a SIGHUP handler through | Pierre-Yves Ritschard | |
libevent just to ignore it, use SIG_IGN instead. this syncs hoststated with bgpd and (soon) ospfd. | |||
2007-06-19 | Do not fatal out with ``pipe closed'' when a short read occurs on one | Pierre-Yves Ritschard | |
of our socket pairs. Instead disable listening on the pipe, terminate the event loop, and let the parent process's SIGCHLD handler do a clean shutdown. from an ospfd diff by claudio, ok claudio@ | |||
2007-06-18 | we're going to need more room for flags (again). | Pierre-Yves Ritschard | |
promote the field to u_int32_t. no impact on hoststatectl. | |||
2007-06-12 | put the fd passing from bgpd back in to hoststated's version of imsg, | Mathieu Sauve-Frankel | |
needed for layer 7 reload support. ok pyr@ | |||
2007-06-07 | always close sockets before calling hce_notify_done. | Pierre-Yves Ritschard | |
first spotted by Paulius Bulotas <paulius+openbsd-misc at devnull.lt>. | |||
2007-06-07 | (finally) Enable reload support for layer 3 configurations. | Pierre-Yves Ritschard | |
Hoststated can be reloaded either by sending SIGHUP to the parent process or by using ``hoststatectl reload'' discussed and ok reyk@ | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-31 | do not forget to store table and backup table ids in the service | Pierre-Yves Ritschard | |
configuration struct. | |||
2007-05-31 | simplify pfe_disable_events | Pierre-Yves Ritschard | |
2007-05-31 | make sure object ids are reset before parsing the configuration file | Pierre-Yves Ritschard | |
again. | |||
2007-05-31 | split pfe's event registration in separate functions (like for hce) | Pierre-Yves Ritschard | |
2007-05-31 | split event registration between the ones that will be kept intact | Pierre-Yves Ritschard | |
at reconfiguration time. | |||
2007-05-31 | some silly debug code snuck in. | Pierre-Yves Ritschard | |
2007-05-31 | allocate table lists and service lists instead of using static structs. | Pierre-Yves Ritschard | |
split the code to start the event loop in two functions. introduce merge_config which will be used later on. | |||
2007-05-30 | give ibuf to event_set | Pierre-Yves Ritschard | |
2007-05-30 | backout more code that shouldn't have gone in. | Pierre-Yves Ritschard | |
2007-05-30 | backout last diff which introduces problems and use the global | Pierre-Yves Ritschard | |
environment instead. | |||
2007-05-29 | make sure every dispatch function is fed the environment structure. | Pierre-Yves Ritschard | |
2007-05-29 | when the time comes, let pfe_dispatch_parent be able to service more | Pierre-Yves Ritschard | |
than one message. | |||
2007-05-29 | allow the control handling code to send messages back to the parent. | Pierre-Yves Ritschard | |
forward IMSG_CTL_RELOAD which ends up not doing anything for now. | |||
2007-05-29 | put the reload imsg types in right now. it makes my life easier. | Pierre-Yves Ritschard | |
2007-05-29 | do not start relay processes when no L7 load balancing is needed. | Pierre-Yves Ritschard | |
ok reyk@ | |||
2007-05-29 | add a new check method which allows to run external scripts/programs | Reyk Floeter | |
for custom evaluations. pyr agrees to put it in now but to do some improvements of the timeout handling later. | |||
2007-05-29 | when purging relays, purge sessions as well. | Pierre-Yves Ritschard | |
not needed for the initial purge since no sessions exist but will be necessary when reloading the relay process. | |||
2007-05-29 | move the ssl cipher suite string to a (small) static charbuf, | Pierre-Yves Ritschard | |
this will make it easier to send the struct over the socket. | |||
2007-05-29 | move struct relay to the runtime + config scheme. | Pierre-Yves Ritschard | |
this time around, include hoststatectl changes too. | |||
2007-05-28 | another small step towards hoststated reloading. | Pierre-Yves Ritschard | |
allow purging of parts of the hoststated environment structure. start using this function now to only keep vital information in hoststated children processes. ok reyk@ | |||
2007-05-28 | store the configuration file's path, this will be useful when reloading. | Pierre-Yves Ritschard | |
2007-05-27 | Second step towards hoststated reload: | Pierre-Yves Ritschard | |
First split out hosts, tables and services into to structs, one that contains the runtime fields and one (inside the runtime) that contains mostly static fields that will be sent over the socket during reload. Also move the demoted field of tables inside the flags field as its just a boolean. ok reyk@ | |||
2007-05-27 | allow to specify table templates in the configuration file and to | Reyk Floeter | |
inherit them from multiple services or relays. this is useful if you want to use a table with the same list of hosts but different ports as specified in the relay or service section. this makes mcbride more happy ok pyr@ | |||
2007-05-26 | first steps for implementing reload: | Pierre-Yves Ritschard | |
* make parse_config allocate the hoststated function by itself * make as many sockets as necessary to talk to the relay children * add send_all for talking to all children with advise and ok reyk@ | |||
2007-05-09 | fix potential NULL deref. | Pierre-Yves Ritschard | |
spotted by Ching-Feng Wang <cfw at telepaq.com>. ok reyk@ |