Commit Graph
8786 Commits
Author SHA1 Message Date
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 ce4aab8904 ignore first ack after path change 2025-12-17 12:01:40 -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
orignal 8da012b826 don't restart acceptor after stop 2025-12-16 09:32:03 -05:00
orignal 55f9928485 Merge pull request #2275 from HardenedSteel/fix-dev
fix: update ports separately for NTCP2 and SSU2
2025-12-15 20:24:16 -05:00
orignal 8462e6690c Datagram3 by default 2025-12-15 19:52:29 -05:00
orignal d52ad52874 fixed incorrect params length calculation if follow on data 2025-12-15 17:27:10 -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
orignal 890dedbe22 Merge pull request #2272 from HardenedSteel/fix
feat: change published port if full-cone
2025-12-14 16:09:27 -05: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
orignal e54a542a76 send only one packet at the start before session is created, stop sending datagrams if no ack, clear window and send new datagrams after path change 2025-12-14 11:58:18 -05:00
orignal e081b4b0b1 don't check port if zero 2025-12-13 18:58:00 -05:00
orignal a70f2df8d0 send repliable datagram every rtt/10 milliseconds 2025-12-13 15:14:31 -05:00
HardenedSteel 786ccc16d4 remove logprint for incorrect port number 2025-12-13 06:22:49 +03:00
orignal 90f143acda Merge pull request #2271 from slrslr/patch-1
Make it more apparent that I2P listens on a port by default
2025-12-12 13:48:37 -05:00
slrslr 766a6c34d8 Make it more apparent that I2P listens on a port by default
Issue #2270
2025-12-12 07:58:52 +01: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 639d9fb271 Merge pull request #2268 from Jercik/fix/i2pcontrol-case-sensitive-header
Handle all lowercase `content-length` header in I2PControl
2025-11-25 21:30:57 -05:00
orignal 162e70a9ea drop packet if window is full on server side 2025-11-25 20:43:35 -05:00
orignal aeda3bc006 delete expired unacked datagrams. drop packets if window is full 2025-11-25 17:15:48 -05:00
Łukasz Jerciński e4365e5aeb fix(I2PControl): use boost::iequals for RFC-compliant Content-Length parsing
Use case-insensitive comparison via boost::iequals to handle all
Content-Length header variations per RFC 2616.
2025-11-25 18:26:17 +01:00
Łukasz Jerciński 86ddc033e5 fix(I2PControl): handle case-insensitive Content-Length header
HTTP headers are case-insensitive per RFC 7230. The previous code only
matched "Content-Length" exactly, causing requests with lowercase
"content-length" (common in Rust's hyper/reqwest and other HTTP/2-derived
clients) to fail with JSON parse errors when payloads exceeded the
initial 1024-byte buffer read.

Now accepts both "Content-Length" and "content-length" header names.
2025-11-25 13:03:52 +01:00
orignal 4618534ca9 close stream if too many unacked packets on session level 2025-11-22 11:21:57 -05:00
Darkcyankitty 042f861c2a Hardening for i2pd. service (#2229) 2025-11-22 11:04:04 +03:00
orignal 776d6b3043 Merge pull request #2261 from Jercik/feature/i2pcontrol-net-error-metrics
Add network error and testing metrics to i2pcontrol
2025-11-20 21:08:31 -05:00
Łukasz Jerciński 470c7dcdcb Add network testing state metrics to i2pcontrol API 2025-11-19 10:07:27 +01:00
Łukasz Jerciński d3b44ea7df Add network error metrics to i2pcontrol API 2025-11-19 10:00:25 +01: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 b54f2ff5db Merge pull request #2260 from LLE8/fixi2pcontrol
add trailing newline character in i2pcontrol json response
2025-11-17 21:24:21 -05:00
Anon2025 d64030e255 add trailing newline in i2pcontrol json response 2025-11-17 13:56:38 +03:00
orignal 4c2c06fda8 call UnixDaemon::start for daemon mode 2025-11-12 16:07:58 -05:00