Commit Graph

9014 Commits

Author SHA1 Message Date
orignal eda41230cc limit SessionRequest padding to 32 bytes and SessionCreated to 64 2026-03-22 18:37:55 -04:00
orignal d5d6af6f50 print correct value 2026-03-22 15:40:02 -04:00
orignal 9a881e7753 show protocol version for post quantum transport sessions 2026-03-22 12:24:59 -04:00
orignal deb7f8523d upsteam handshake for all address types 2026-03-21 15:12:57 -04:00
orignal 50eccb8f83 fixed #2320. Removed NetDb::HandleNTCP2RouterInfoMsg 2026-03-20 08:52:06 -04:00
orignal c05cf3c516 return value for ProcessRessionRequest and ProcessTokenRequest 2026-03-19 20:02:21 -04:00
orignal 0aa3d2e26b set version from TokenRequest 2026-03-19 13:44:30 -04:00
orignal d65c7f94a0 print endpoint if server tunnel connection failed 2026-03-18 14:57:42 -04:00
orignal b4005a9f59 correct MixHash after sending SessionCreated 2026-03-17 21:02:24 -04:00
orignal e5753ec44e adjust MTU after remote endpoint is known 2026-03-17 19:36:43 -04:00
orignal 46919746ce set default MTU for ipv6 address 2026-03-17 13:57:48 -04:00
orignal 64dc406185 resend packets without extra loop 2026-03-17 12:47:00 -04:00
orignal 8f61ff3bc9 Merge pull request #2357 from parsebulb/fix-exit-segfault
Don't preserve session lifetime in handlers
2026-03-17 10:26:18 -04:00
parsebulb 39de43dfed Don't preserve session lifetime in handlers
This is an issue because i2pd does not wait for all handlers queued for
execution inside io_context to execute before it's destroyed. Because
these handlers preserve lifetime of IO objects via a shared pointer we
get into a situation where destroying io_context will invoke destructors
on those IO objects which in turn will attempt to access io_context and
the app will crash.

More info here https://github.com/PurpleI2P/i2pd/issues/2354
2026-03-17 13:51:57 +01:00
orignal bb6d8d8384 check if m_UnackedDatagrams is empty before access 2026-03-17 08:16:15 -04:00
orignal e62f504b0f adjust mtu before SessionRequest 2026-03-16 17:26:16 -04:00
orignal 44f174ab5f fixed typos 2026-03-16 14:17:18 -04:00
orignal 92c5d2b1e2 send and handle incorrect version reason for retry message 2026-03-15 17:43:26 -04:00
orignal 4ef63d7f1a Merge pull request #2352 from GBember01/fix-mold-underlinking
Fix libi2pd underlinking exposed by "-Wl,--as-needed" and strict linkers
2026-03-15 16:37:52 -04:00
GBember01 5cf92f64ab Fix libi2pd underlinking on Linux causing runtime crashes with strict linkers like mold 2026-03-15 17:11:48 -03:00
orignal 1a237d3ff9 fallback to non-PQ crypto if MTU is too small 2026-03-14 19:56:18 -04:00
orignal 6df4138178 correct MixHash after SessionRequest 2026-03-14 19:06:17 -04:00
orignal 1a23e5ab35 read first value if pq contains multiple values for SSU2 2026-03-14 16:15:32 -04:00
orignal 461b7037de apply ML-KEM shared key in right order in SessionCreated 2026-03-13 13:46:31 -04:00
orignal bc2cdd6c01 update published pq param from config 2026-03-12 20:46:06 -04:00
orignal eb5a808232 handle ssu2.version in config and pq in SSU2 address in RouterInfo 2026-03-12 20:26:29 -04:00
orignal 772b046258 handle incoming post-quantum sessions 2026-03-11 21:12:16 -04:00
orignal 17f6e710a2 create noise state on demand depending on protocol version 2026-03-11 15:05:23 -04:00
orignal af9c014e2a Merge pull request #2349 from LLE8/fix_deb
[debian] exclude obsolete dependencies
2026-03-10 20:37:01 -04:00
orignal 9285d2d58b post-quantum support for outgoing SSU2 session 2026-03-10 19:58:03 -04:00
Anon2026 b5d90a699e [debian] exclude obsolete dependencies 2026-03-10 19:03:01 +03:00
orignal 3aa278eed1 fixed Debian 12 build 2026-03-09 17:25:24 -04:00
orignal f32c01b286 fixed typo 2026-03-09 17:14:10 -04:00
orignal d23fb65c5d removed support of gcc 8-9. Enabled c++20 for gcc 11+ 2026-03-09 17:02:17 -04:00
r4sas b32be0593b [cmake] Allow c++20 with boost 1.81.0
Tested on Debian 12 with Boost 1.81.0 and gcc 12.2.0 and clang-16

Signed-off-by: r4sas <r4sas@i2pmail.org>
2026-03-09 23:48:46 +03:00
orignal 872fd31280 fixed braces around scalar initializer clang warning 2026-03-09 16:07:08 -04:00
Florian Tobias Ruppert 7fecfaad1c DeepWiki Badge 2026-03-09 21:36:45 +03:00
orignal 60056fe559 set default bandwidth=O for x86_64 and bandwidth=P for x86_64 if more than 4 cores 2026-03-09 11:38:27 -04:00
orignal 009a66fb7e init XK state with ML-KEM for SSU2 2026-03-08 17:24:47 -04:00
orignal 25cccb2679 fixed warnings 2026-03-08 11:35:11 -04:00
orignal 9ecaffd447 made GetName const 2026-03-07 18:37:09 -05:00
orignal fdf174c205 recreate zero and one hop tunnels after being offline 2026-03-07 16:42:16 -05:00
orignal 892743ac29 replace std:atomic<book> by std::atomic_flag for m_Dead 2026-03-07 15:18:11 -05:00
orignal 4604497127 don't set remote endpoint to client tunnel 2026-03-07 12:16:45 -05:00
orignal 30a9f4a1bf check if socket is open before stream connect 2026-03-07 12:00:36 -05:00
orignal 8152012f0b call terminate for new streams on close 2026-03-07 08:50:34 -05:00
orignal 0ed8b473f2 close I2P stream if socket got closed right after connect 2026-03-06 13:50:16 -05:00
orignal 08ea68a310 Merge pull request #2347 from bkmgit/patch-1
Create GPL-2.0.txt
2026-03-06 12:20:24 -05:00
orignal 1db38bea71 Merge pull request #2346 from bkmgit/deadline_timer
Replace deadline_timer by steady_timer
2026-03-06 07:18:47 -05:00
Benson Muite b6fc71f85e Create GPL-2.0.txt
License for manual page.
2026-03-06 12:22:56 +03:00