We have a pair of OpenBSD boxes running 4.5/relayd, loadbalancing two
webservers. The webservers identify each session with a unique cookie
returned to the client. We have tried to use the "hash cookie" directive
in relayd.conf to force the correct session to the correct webserver,
but it is not working. Instead, relayd hashes the client supplied cookie (returned by one of the webservers) to an arbitrary webserver. Sometimes the correct and sometimes not, forcing the client to login again. Is "hash cookie" not meant to solve this kind of problem, or is there any other functionality in relayd to keep a session (cookie) tied to a specific backend?

Magnus Hultman

Reply via email to