On Tue, Apr 8, 2008 at 2:22 PM, Tautvydas Bruzas <[EMAIL PROTECTED]> wrote: > Well, if you read archives it's a known problem with sticky-address. If you > remove sticky-address everything works as expected.
I searched for hours before posting, I guess I need to pick different keywords or something... > Following patch should work (I wrote it for 4.1 hoststated, not sure why it > was not accepted, maybe quality of the code?, > > and modified it to work with 4.3 relayd), use it at your own risk. Thanks, I appreciate it... I'll give it a try. I've already had to modify relayd, as it won't start properly sometimes and the error it gives is completely different than what you'd expect... > > I have relayd in production with textbook (or manpage) examples > > of doing redirects to backend webservers. > > > relayd seems to notice host state changes properly and makes > > > the necessary pf table adjustments. The problem is that the pf > > states take so long to expire, that any clients that have existing > > state table entries to the now-downed backend server continue > > to talk to that downed server (I.e. they hang). > > > > pfctl -k obviously resolves the issue, but shouldn't relayd kill those > > states when it notices the host won't answer? > > > Thanks in advance.