@glasisounds logical imhocan you please test one possible solution?
pfctl -i <ifname> -Fs
@schnipp[…] imho this is not really a workaround.[…]
I've tested the patch. So far the patch works and unbound does not hang on cache-load command any longer.
However, I'm not sure if we get any kind of side effects with this patch
set skip on { lo0 }
Regarding state killing I would like to add some more findings
(sorry, i'm not even sure (or rather convinced) that playing with states is the right choice for solving sip problems. perhaps it would be enough to adapt the rules parameters and pbx trunk settings.
we could continue the conversation on https://forum.opnsense.org/index.php?topic=8766.0, but my reasoning will remain at the level of theory, since i have nowhere to test them in practice (there is no suitable environment))
Let's please discuss patch vs. patch, not patch vs. opinion.
unbound-control is not fully capable of recovering
@francoQuote unbound-control is not fully capable of recoveringlooks like that. I just can't figure out why this should hangs up the unbound itself...
State reset has nothing to do with SIP. The connection problems ragarding SIP reported by my Fritzbox were only the trigger to start investigation. The issue itself resides at OSI Layer 3 and 4, thus all protocols on top of the transport layer are affected. The impact on classic HTTP connections is mainly unnoticed because such connections are often short lived due to omitted keep-alive during request-reply communication.
The last sentence is wrong.According to HTTP RFC, there is no need to specify "keep-alive" for HTTP/1.1 clients. Connection are always "keep-alive" unless marked with "close".
Quote from: karlson2k on October 10, 2021, 09:00:44 pmThe last sentence is wrong.According to HTTP RFC, there is no need to specify "keep-alive" for HTTP/1.1 clients. Connection are always "keep-alive" unless marked with "close".Yes, it looks like there has been a change in the default value of this option. Thanks for this information. But, your argumentation is a little petty. The server still determines how long the connection is kept open. Modern Apache servers have a default value of 5 seconds. I did some tests (except the big CDN, and most of these sites closed the connection after 5 till 25 seconds of inactivity). Thus, this is still "short lived"