Commit Graph

252 Commits

Author SHA1 Message Date
orignal
07dedc5201 update peer perams from RouterInfo block 2026-02-10 14:18:01 -05:00
orignal
f87c42017c reduce termination timeout twice if connected from G router 2026-02-09 20:30:51 -05:00
orignal
52dffb81fa check version before trying to add to NetDb 2026-02-08 11:29:35 -05:00
orignal
de0c5c042a don't communicate with low bandwidth routers of version < 0.9.58 2026-02-08 10:45:47 -05:00
orignal
9080fcfa4d ban by IP list 2026-02-06 12:58:16 -05:00
orignal
3423f9bc39 fixed typo 2026-01-19 22:28:58 -05:00
orignal
2ad30e5776 replace deadline_timer by steady_timer 2026-01-12 22:30:44 -05:00
orignal
dc061ad3ae always set verson to 2 in SessionRequest 2026-01-12 18:49:13 -05:00
orignal
883f0bbe31 common buffer for SessionRequest and SessionCreated 2026-01-09 20:42:18 -05:00
orignal
86d07703b6 choose version for handshake on Alice side 2026-01-09 13:44:23 -05:00
orignal
a4839bf2be handle ntcp2.version param in config 2026-01-08 19:56:09 -05:00
orignal
1737674da7 MixHash right after encryption/decryption for SessionCreated and SessionConfirmed 2026-01-08 16:06:40 -05:00
orignal
3b845b8880 post quantum support for incoming NTCP2 connections 2026-01-08 12:44:51 -05:00
orignal
d11d312bd5 check if post quantum requested in SessionRequest message 2026-01-01 19:40:12 -05:00
orignal
69c49dcd44 apply padding in establisher thread 2025-12-27 19:14:33 -05:00
orignal
2ddd4db1a3 handle post quantum frame in SessionCreated message 2025-12-27 17:38:46 -05:00
orignal
e587513cfc apply MixHash right after Encrypt/Decrypt operations 2025-12-27 11:42:19 -05:00
orignal
4277fcc0c0 Post quantum SessionRequest message 2025-12-26 14:27:28 -05:00
orignal
db82903bb0 don't set IPV6_V6ONLY option for ipv6 socket for Haiku 2025-09-19 16:04:32 -04:00
orignal
0d278d2ae5 probing resistance 2025-05-03 13:09:06 -04:00
orignal
f6abbe5908 Use noise state Encrypt/Decrypt operations 2025-04-08 14:39:46 -04:00
orignal
39e07ac265 don't load router profile in NTCP2 or SSU2 thread when check for duplicates 2025-01-20 11:58:33 -05:00
orignal
7497741846 fixed possible crash at shutdown 2024-12-18 14:22:05 -05:00
orignal
b4bcd9914a show next peer and connectivity on transit tunnels page 2024-12-16 19:49:14 -05:00
orignal
3534b9c499 don't create EVP_CIPHER_CTX for each AEAD/Chacha20/Poly1305 message 2024-12-09 20:59:59 -05:00
orignal
f23a7f569b pass iv to AES Encrypt/Decrypt directly. aes-test added 2024-12-08 11:08:17 -05:00
orignal
786da057f2 always use openssl for AES 2024-12-06 20:25:22 -05:00
orignal
e996db03c0 process SessionConfirmed in establisher's thread 2024-12-05 20:57:40 -05:00
orignal
f79a2e81ff calculate data phase keys after verification 2024-12-04 18:36:57 -05:00
orignal
7b0ff2850c close session if x25519 fails 2024-12-01 16:53:08 -05:00
orignal
8b9f427aa4 handle session handshakes in separate thread 2024-11-27 18:31:58 -05:00
orignal
ffd18baf30 support boost 1.87 2024-11-25 16:00:06 -05:00
orignal
f04048717d cleanup messages to send if session was terminated 2024-10-28 21:34:33 -04:00
orignal
23e66671c2 intermediate queue for transport sessions. use std::list instead std::vector for multiple I2NP messages 2024-10-28 20:36:50 -04:00
orignal
ec67f48d85 fixed possible memory leak 2024-10-28 08:46:01 -04:00
orignal
a723405fb0 check max RouterInfo size 2024-09-18 08:38:29 -04:00
orignal
272bf7dbc1 terminate NTCP2 session from duplicated router properly 2024-09-10 12:35:36 -04:00
orignal
855fd4d471 eliminate extra parsing of RouterInfo coming as RouterInfo block 2024-09-06 09:49:24 -04:00
orignal
fde301deaf check for duplicated routers in NTCP2. Insert router into netdb right a way 2024-09-05 19:24:23 -04:00
orignal
da0e527777 termination check timeout variance 2024-08-26 20:57:28 -04:00
orignal
66223792f3 use std::mt19937 instead rand(). termination timeout variance 2024-08-26 19:35:13 -04:00
orignal
bc8adf1433 move unsent I2NP messages to new session if replaced 2024-06-01 20:02:04 -04:00
orignal
acbd3f897b fixed race condition between local buffer creation and sending it through the transports 2024-05-26 15:33:37 -04:00
orignal
158160f5c0 common code for SOCKS5 proxy connectivity 2024-02-10 20:03:36 -05:00
Vort
adba3987f8 logging fixes 2024-02-10 17:10:21 +02:00
orignal
c158bbe90a send frame when it exceeds 16K 2024-02-07 19:43:29 -05:00
orignal
96cf6ca531 drop earlier if outgoing queue is semi-full 2024-02-01 18:14:45 -05:00
orignal
0ca782ed71 drop unsent messages if session disconnects 2024-01-30 18:02:14 -05:00
orignal
f008478505 handle I2NP messages drops 2024-01-29 19:54:43 -05:00
orignal
67c4d4bcaa fixed VS build error 2024-01-25 09:09:44 -05:00