Commit graph

66 commits

Author SHA1 Message Date
orignal 4db643aa8e limited number of acked packets to 511 2023-03-02 16:18:25 -05:00
orignal d79bdc9f66 send datetime block after approximately every 250 packets 2023-02-11 20:11:34 -05:00
R4SAS 86fc12e395
[style] clean code
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2023-02-11 09:41:51 +03:00
orignal 54fb234424 limit number of acked packets to 510 2023-02-03 19:17:46 -05:00
orignal e8be39af17 memrory pool for SSU2IncompleteMessage 2023-01-17 21:32:36 -05:00
orignal bc888167a7 use linked list for out of sequence fragments 2023-01-16 21:40:23 -05:00
orignal 993dc72ce6 use separate pointer to second fragment of incomplete message 2023-01-15 22:50:54 -05:00
orignal 55704ece3a drop duplicated I2NP messages 2023-01-05 15:33:41 -05:00
orignal d6c101d261 try to handle RelayIntro again is Alice's RouterInfo not found 2022-12-19 13:28:21 -05:00
R4SAS 96cfd9acc2
fix override
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-12-18 22:37:26 +03:00
R4SAS d869bb25ed
fix missing override warning
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-12-18 22:32:23 +03:00
orignal 8ad5696e50 don't send termination again if termination received block received 2022-12-06 21:40:33 -05:00
Dimitris Apostolou 73b9c0302b
Fix typos 2022-11-25 22:37:52 +02:00
R4SAS 96c4463d39
clean code
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-10-09 20:24:43 +03:00
orignal 857a2bc399 verify path response 2022-09-14 19:08:14 -04:00
orignal 3bdef5f58d update remote endpoint and send path challenge 2022-09-07 19:11:33 -04:00
orignal 4634bff9f0 limit number of resent packets. Resend interval variance 2022-09-03 15:38:52 -04:00
orignal 1a9c658836 immediate ack request flag 2022-09-01 18:40:54 -04:00
orignal f98780b1d7 check timestamp for token request 2022-08-25 18:48:26 -04:00
orignal ab606a1121 adjust clock from SSU2 2022-08-08 19:57:48 -04:00
orignal c6f898b8ca connect to Charlie if RelayResponse from Bob was received before HolePunch 2022-08-08 13:08:12 -04:00
orignal 3e40852999 memory pool for sent packets 2022-08-04 18:13:44 -04:00
orignal df073bb306 send local address in RelayResponse block 2022-08-04 15:15:19 -04:00
orignal 771c4a0d02 allocate smaller I2NP buffer for fragmented message. Limit number of fragments by 64 2022-08-03 16:06:07 -04:00
orignal ed5c533982 recgnize symmetric NAT from SSU2 2022-08-02 20:02:55 -04:00
orignal 98d2ce5845 Respond to path challenge. Correct termination reason for duplicated session 2022-08-02 13:35:18 -04:00
orignal eba4626589 kappa for RTO culculation 2022-07-31 09:45:18 -04:00
orignal 0e6d888ed3 changed some retransmission params 2022-07-29 18:45:02 -04:00
orignal 3bd40fc8b3 calculate RTT and RTO 2022-07-29 15:24:24 -04:00
orignal e70d57dcb4 resend intervals in milliseconds 2022-07-28 19:30:08 -04:00
orignal fd41fba069 variable retranmission window 2022-07-27 20:00:03 -04:00
orignal 4b1f5c9c9b terminate session in separate task 2022-07-26 19:56:30 -04:00
orignal 46a549c875 random size of fragments 2022-07-26 13:00:41 -04:00
orignal 000e0358a7 resend SessionConfirmed immediately if another SessionCreated received 2022-07-19 16:09:16 -04:00
orignal dc30cd1112 handle SessionConfirmed fragments in reversed order 2022-07-16 16:08:55 -04:00
orignal 4f8b0e6484 send more SessionConfirmed termination messages. Limit send queue 2022-07-15 15:01:46 -04:00
orignal 5026dbc1b3 receive bigger packets 2022-07-14 20:12:27 -04:00
orignal 3394bb4b8d calculate SSU2 session MTU and max payload size 2022-07-13 19:35:18 -04:00
orignal 5c62726992 check clock skew and terminate 2022-07-13 12:45:20 -04:00
orignal 90981f628e Send fragmented SessionConfirmed 2022-07-12 19:04:03 -04:00
orignal 0c34189d94 correct buffer size for fragments of SessionConfirmed 2022-07-12 12:17:58 -04:00
orignal fdebbc4498 select sessions for introducers 2022-07-10 17:13:25 -04:00
orignal 3ff3417ff2 send termiation with reason 2022-07-09 17:05:23 -04:00
orignal 2f44d99a74 session closing state 2022-07-08 19:06:09 -04:00
orignal aa21748e9a set status OK after peer test msg 5 2022-07-06 12:41:51 -04:00
orignal d375299fa9 send token in relay response block 2022-06-30 20:00:18 -04:00
orignal d7d74666b2 correct max MTU size 2022-06-25 18:51:24 -04:00
orignal dd1dd3b7cf wait for Ack for SessionConfirmed or resend 2022-06-24 22:06:30 -04:00
orignal ed04747b9d resend SessionRequest and SessionCreated 2022-06-24 13:07:02 -04:00
orignal 6b3d7372ae token received session state 2022-06-22 13:58:22 -04:00