summaryrefslogtreecommitdiffstats
path: root/lib/libsqlite3/ext
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2013-06-04 01:32:16 +0000
committerclaudio <claudio@openbsd.org>2013-06-04 01:32:16 +0000
commit3e1c7e0b865e424a5dc6276d17b6b413d4cb9912 (patch)
treea39cf350ba92736ea6c09c2bfb6b01e0c6958bf8 /lib/libsqlite3/ext
parentAdd RCS ids. (diff)
downloadwireguard-openbsd-3e1c7e0b865e424a5dc6276d17b6b413d4cb9912.tar.xz
wireguard-openbsd-3e1c7e0b865e424a5dc6276d17b6b413d4cb9912.zip
Properly implement the exponential backoff timer on session initialization
According with the section 2.5.3 of RFC 5036, an LSR must throttle its session setup retry attempts with an exponential backoff in situations where Initialization messages are being NAK'd (because of disagreements on session parameters). It doesn't mention using this procedure for TCP connection failures. With that said, start the inactive delay timer only after receiving an appropriate notification message. When playing the active role of the initialization process, throttle the session setup retry attempts by not connecting to the remote peer. When playing the passive role, throttle the session setup retry attempts by delaying the processing of the received Initialization message. Diff by Renato Westphal, adjusted by myself
Diffstat (limited to 'lib/libsqlite3/ext')
0 files changed, 0 insertions, 0 deletions