Commit Graph

2797 Commits

Author SHA1 Message Date
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
Anon2026 b8a56288be Fix thread-unsafe localtime() 2026-01-07 20:24:59 +03:00
orignal 4542f4bc87 i2p.streaming.maxResends param 2026-01-04 11:47:45 -05:00
orignal b5e9c41d2d always try to build inbound tunnel through existing connection if limited connectivity 2026-01-02 08:40:07 -05:00
orignal d11d312bd5 check if post quantum requested in SessionRequest message 2026-01-01 19:40:12 -05:00
orignal 5e19574a86 publish own RoterInfo through tunnels if limited connectivity 2025-12-31 18:23:30 -05:00
orignal eb54762601 check conns per minute before new stream 2025-12-31 11:29:21 -05:00
orignal 316e507df8 implement i2p.streaming.maxConnsPerMinute tunnel param 2025-12-30 15:00:00 -05:00
orignal ac39f1204d disable introducer for floodfill after network status change 2025-12-28 17:24:47 -05:00
orignal 4193f1bd5a disable introducer for floodfill 2025-12-28 16:49:15 -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 9bd226edcd init XK state with ML-KEM for NTCP2 2025-12-23 22:03:38 -05:00
orignal 5db88a45c2 decode %00 in url 2025-12-21 16:03:31 -05:00
orignal 04ac2cad17 allow versions 2,3,4,5 in v param of address 2025-12-18 20:20:18 -05:00
orignal da8901d40d set number of generated tags to 800 for datagram destination if not specfied 2025-12-18 16:22:35 -05:00
orignal 94560ec861 initalize index for SymmetricKeyTagSet 2025-12-17 17:04:31 -05:00
orignal 5d61232519 destroy memory pool after routers 2025-12-16 14:29:41 -05:00
orignal 15e5921927 use std::from_chars in UrlDecode 2025-12-16 13:45:21 -05:00
HardenedSteel c9fd560515 fix: update ports separately for NTCP2 and SSU2
Ensures the correct port numbers in case the TCP and UDP mappings
differ.

Updating the ports for NTCP2 hasn't been implemented yet.
2025-12-16 00:52:13 +03:00
HardenedSteel cd39da0954 Revert "remove logprint for incorrect port number"
This reverts commit 786ccc16d4.
2025-12-15 03:04:51 +03:00
HardenedSteel 5a00252a73 fix: dont set as firewalled if full-cone
full-cone NATs can function normally if we map the ports
2025-12-14 23:08:12 +03:00
HardenedSteel 76a481a759 feat: change published port if full-cone
If we're behind full-cone NAT; update our published port number while
keeping our listening port number, so other peers can connect us even
we're behind NAT.
2025-12-14 23:08:12 +03:00
HardenedSteel 786ccc16d4 remove logprint for incorrect port number 2025-12-13 06:22:49 +03:00
orignal 796701d370 use destination's RNG to select next tunnel 2025-12-11 18:46:06 -05:00
orignal 4f73e9678e RNG per destination. Use RNG from tunnels in tunnel pool 2025-12-11 17:43:14 -05:00
orignal d4ec15361f 1 sec more to mark a tunnel slow if proxy 2025-12-11 15:23:39 -05:00
orignal 8ff60128fe local delivery type for multi cloves garlic message 2025-12-10 18:02:22 -05:00
orignal 1ce9671878 send multiple cloves garlic message for datagrams 2025-12-10 16:04:33 -05:00
orignal 59b50e7c57 use weak_ptr for peding sessions 2025-12-04 19:16:14 -05:00
orignal 99ed95c7eb Request ack more often 2025-12-03 15:07:30 -05:00
orignal a95b1ce061 removing the window size growth rate limit 2025-11-29 11:14:31 -05:00
orignal 4618534ca9 close stream if too many unacked packets on session level 2025-11-22 11:21:57 -05:00
orignal 7bc7cdec36 don't run peer test if limited connectivity 2025-11-18 13:35:32 -05:00
orignal a52f619d6a implement stan mode 2025-11-17 21:46:32 -05:00
orignal 9b181c391f create new stream only if bandwidth is available. Close non-responding streams 2025-11-10 20:28:22 -05:00
orignal e0c2711607 update yggdrasil reseed 2025-10-28 17:07:20 -04:00
orignal 07263e77df reconfigure crypto.ratchet.inboundTags 2025-10-13 18:02:40 -04:00
orignal 12895b5744 use Mapping for local destination params 2025-10-13 17:33:53 -04:00
orignal da399054c0 change path if too many unacked packets 2025-10-07 19:00:51 -04:00
orignal ba2cfe58bc reply with acked option to datagram3 with seqn option 2025-10-02 19:28:58 -04:00
orignal fffb68c5e0 send and receive sequence number in UDP tunnels 2025-10-01 22:06:57 -04:00
orignal cd841f7219 send options in Datagram3 2025-09-30 19:01:12 -04:00
orignal dc9cdf941d pass options from Datagram2 and Datagram3 to handlers 2025-09-25 20:47:08 -04:00