orignal
eda41230cc
limit SessionRequest padding to 32 bytes and SessionCreated to 64
2026-03-22 18:37:55 -04:00
orignal
9a881e7753
show protocol version for post quantum transport sessions
2026-03-22 12:24:59 -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
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
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
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
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
9285d2d58b
post-quantum support for outgoing SSU2 session
2026-03-10 19:58:03 -04:00
orignal
3e62ec4125
don't check MTU from address if not specified
2026-02-28 15:13:16 -05:00
orignal
0c90bad14c
send local RouterInfo during longer sessions
2026-02-26 20:14:09 -05:00
orignal
ef05aedceb
avoid possible double termination. Use atomic swap. steady_timer instead deadline_time
2026-02-26 17:15:35 -05:00
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
7b43e10b88
reply with relay tag only if accept tunnels
2026-01-25 13:57:31 -05:00
orignal
1881a09c4d
check protocol version for SessionRequest
2026-01-18 09:44:26 -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
35ba14d06a
increase message expiration timeout in SSU2
2025-05-25 18:23:22 -04:00
orignal
2280338900
datetime, address, ack blocks in path response packet
2025-03-31 15:50:16 -04:00
orignal
ad3b999732
send path challenge of 8 bytes. add Ack block
2025-03-31 10:29:16 -04:00
orignal
c2f68d7021
send datetime and address blocks with path challenge
2025-03-29 21:34:16 -04:00
orignal
7404ce7fd2
update session's remote enpoint after receiving path response
2025-03-28 19:34:36 -04:00
orignal
9432202fad
check PeerTest buffer size
2025-02-24 13:58:10 -05:00
orignal
9ba016259d
use plain buffer instead stream for SignedData
2025-02-20 21:59:24 -05:00
orignal
7791b3952e
check RelayRequest, RelayIntro, RelayResponse buffer size. Use assign instead memcpy
2025-02-20 16:53:49 -05:00
orignal
fa2178ca3e
set max padding size to 32 bytes
2025-02-17 15:08:22 -05:00
orignal
60d3e4d963
set ack requested flag after second resend attempt
2025-01-29 19:15:12 -05: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
c600b834e3
postpone reading from file and updating router profile
2025-01-18 18:26:16 -05:00
orignal
4bb82110ab
don't create EVP_CIPHER_CTX for each ChaCha20
2025-01-15 21:13:50 -05:00
orignal
18707dd844
don't recalculate and process ranges for every Ack block
2025-01-03 22:04:09 -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
76190ea365
don't resend RelayReponse if Alice is older version
2024-11-03 11:25:19 -05:00