-
Notifications
You must be signed in to change notification settings - Fork 68
Implement "anti_slow_attack_timeout" #24
Comments
Some work done in b72f3e1 but still much more to do. |
For incoming connections, isn't it not too abrupt to terminate connections because there is no traffic? I guess a SIP proxy could preemptively establish a TCP connection with you and send some data at a later time. Maybe this can be solved with TCP keepalives? What happens if I establish 1000 connections to you, I send an OPTIONS and then stay idle forever? How is that different from not sending anything? Should this be handled at the application layer or wouldn't it better to let it to the TCP layer (in this particular case) ? |
2012/10/23 Saúl Ibarra Corretgé [email protected]
NOTE: OverSIP sends TCP keepalives for TCP server connections (not for
We are the application and the TCP layer. |
What do you mean by "TCP data" for closing the connection after 300 seconds, application level data or TCP keepalive data? I think OverSIP should also have the ability to send keepalives for outgoing connections, it can help to detect and remove "dead connections" thus freeing resources. However, when there is a huge number of connections it's usually recommended to disable it because of the resources consumed by the server just to send those keepalives. You didn't really answer my last question :-) |
2012/10/23 Saúl Ibarra Corretgé [email protected]
If OverSIP does not receive or send REAL TCP application data over a TCP
|
Requirements (given that
security->anti_slow_attack_timeout
value is set to 2 seconds):The text was updated successfully, but these errors were encountered: