CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2011/05/19 02:56:49

Modified files:
        usr.sbin/relayd: Makefile check_tcp.c control.c hce.c parse.y 
                         pfe.c pfe_filter.c pfe_route.c proc.c relay.c 
                         relayd.c relayd.h snmp.c 
        usr.sbin/relayctl: parser.c parser.h relayctl.8 relayctl.c 
Added files:
        usr.sbin/relayd: config.c 

Log message:
Fix reload support in relayd(8) by reimplementing large parts of the
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@

Reply via email to