Age | Commit message (Collapse) | Author | |
---|---|---|---|
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@ | |||
2007-05-02 | It is no longer needed to pass a cleared timeval to event_loopexit() NULL | Claudio Jeker | |
does the job just fine. OK reyk@ | |||
2007-04-12 | add a new relay 'path' action to filter the URL path and arguments. | Reyk Floeter | |
ok pyr@ | |||
2007-04-10 | sort entity types | Reyk Floeter | |
2007-04-10 | move the decoding of the URL, independent from the node lookups, we | Reyk Floeter | |
will need it later. | |||
2007-04-10 | it is a better idea to handle all enum values in the switch statement | Reyk Floeter | |
2007-04-10 | the relay filter action needs special handling to work correctly | Reyk Floeter | |
2007-03-21 | in addition to the host retry option in tables, add support for the | Reyk Floeter | |
optional connection "retry" to the forward to, service, and nat lookup options. for example, "nat lookup retry 3" is useful when running hoststated as a transparent proxy when connecting to unreliable frontend/backend servers. ok pyr@ | |||
2007-03-19 | do not signal "connection closed" upstream on EINTR/EAGAIN, from bgpd et al | Henning Brauer | |
2007-03-17 | remove a debug message | Reyk Floeter | |
2007-03-17 | fix a bug in the initial setup of the pfe2relay communication sockets | Reyk Floeter | |
which prevented the pfe to accept statistics updates and natlookups from any other process then the first one. in other words, this will show you the total relay statistics off _all_ preforked processes (hoststatectl show relays) and it will unbreak the natlookup mode with more than one running relay process. | |||
2007-03-17 | move some elements in the relay imsg ctl structures (just for the style) | Reyk Floeter | |
2007-03-17 | close unused relay2pfe privsep sockets correctly | Reyk Floeter | |
2007-03-17 | fix the natlook mode. | Reyk Floeter | |
2007-03-13 | allow to specify the IP_TTL and IP_MINTTL options for the relays to | Reyk Floeter | |
support the Generalized TTL Security Mechanism (GTSM) according to RFC 3682. this is especially useful with inbound connections and a fixed distance to the backend servers. ok pyr@ | |||
2007-03-12 | hoststated.conf is not a program. | Reyk Floeter | |
thanks to Sebastian Reitenbach, closes pr 5409 | |||
2007-03-07 | - fix the hoststatectl host disable/enable commands to work with relay | Reyk Floeter | |
layer 7 loadbalancing. - allow to run relays with tables without depending on services - show hosts and tables assigned to relays in hoststatectl show commands ok pyr@ deraadt@ with some input from mcbride@ | |||
2007-03-06 | fix the health checks when using the retry option | Reyk Floeter | |
2007-03-06 | add support for handling simple HTTP cookies (no per-path/domain | Reyk Floeter | |
cookies yet), for example: cookie hash "JSESSIONID" tested by some people ok pyr@ | |||
2007-03-05 | do not strip the header for expect, hash, and log actions. | Reyk Floeter | |
since we have a tristate in relay_handle_http(), use nicer return codes defined to make it better readble (no function change). | |||
2007-03-02 | when the http read callback changes and some data is still left in the | Reyk Floeter | |
input buffer, we call the new callback to handle the remaining data. this change makes sure that we only do this after the read callback was actually changed (read header -> read content, read content -> read header, read chunks...) to avoid a possible loop which could happen in some rare cases. | |||
2007-02-27 | replys -> replies; | Jason McIntyre | |