Commit Graph

129 Commits

Author SHA1 Message Date
acetone acc0f94e49 refresh offline-signed transient on destination re-create
A repeated SESSION CREATE (SAM/I2CP) presenting a fresh offline-signature
transient of the same master resolves to the same identity hash, so
CreateNewLocalDestination returns the existing destination and the new
transient is dropped: the destination keeps signing LeaseSets with the old
transient and goes offline at its expiry.

Adopt the newer transient in place (swap keys and republish the LeaseSet,
without touching tunnels or streams) when its expiry is later, so an offline
transient can be rotated before it expires without rebuilding the destination.
2026-06-19 21:43:24 +03:00
orignal 5b3d7b515b inbound.randomKey and outbound.randomKey I2CP params 2026-06-13 15:27:57 -04:00
orignal fa80f88bda doen't increase reference counter for default HTTP and SOCKS proxy 2026-06-09 21:00:37 -04:00
orignal 3598cfdda0 i2cp.closeIdleTime and i2cp.newDestOnResume params for httpproxy and socksproxy 2026-04-15 19:20:06 -04:00
orignal 855bf09313 removed MLDSA44 support for now 2026-04-09 17:20:11 -04:00
orignal 070adc88ee read i2cp.closeIdleTime and i2cp.newDestOnResume with correct separator 2026-04-06 20:40:06 -04:00
orignal 776cf02477 replace destination's ident hash in client context 2026-04-05 09:04:00 -04:00
orignal c45b0abb25 impplemented i2cp.newDestOnResume 2026-04-04 11:47:04 -04:00
orignal 7f4bfccdbb read i2cp.closeIdleTime param. set last update time 2026-04-01 21:47:40 -04:00
Benson Muite 73623a4793 Replace deadline_timer by steady_timer
Prevent deprecation warnings when building.
2026-03-06 10:55:47 +03:00
orignal 0518d8ff43 implemented trustedRouters tunnel param 2026-01-18 17:25:47 -05:00
orignal 08bee4ed69 check if tunnels.conf exists before open 2026-01-13 19:10:38 -05:00
orignal 4542f4bc87 i2p.streaming.maxResends param 2026-01-04 11:47:45 -05:00
orignal 316e507df8 implement i2p.streaming.maxConnsPerMinute tunnel param 2025-12-30 15:00:00 -05:00
orignal 8462e6690c Datagram3 by default 2025-12-15 19:52:29 -05:00
orignal f94990c870 i2pheaders param for HTTP server tunnel 2025-11-02 12:09:06 -05:00
orignal 12895b5744 use Mapping for local destination params 2025-10-13 17:33:53 -04:00
orignal 938a698904 don't create unique loopback address for ::1 if not set explicitly 2025-08-27 18:33:46 -04:00
orignal ad390f70b3 enable PQ encryption type by default if supported 2025-08-21 21:13:13 -04:00
orignal f5b57283b3 i2p.streaming.dontSign tunnel param 2025-08-05 19:21:07 -04:00
orignal 6b9232452d i2p.streaming.maxWindowSize param 2025-07-31 19:30:41 -04:00
orignal c554f47c4d datagramversion param for UDP client tunnel 2025-07-22 16:07:24 -04:00
orignal ccb466646f don't create PQ signature if not supported 2025-07-08 14:32:37 -04:00
orignal 4d9b5e685d use ends_with to recognize .i2p addresses 2025-03-08 16:03:36 -05:00
orignal b500374f74 recognize keys=shareddest 2025-03-07 13:33:17 -05:00
orignal 78a37cc00f changed some log levels 2025-02-12 15:56:22 -05:00
orignal fce4fab071 configurable shared local destination 2025-01-07 13:58:19 -05:00
orignal ffd18baf30 support boost 1.87 2024-11-25 16:00:06 -05:00
orignal 3474538697 replaced boost::asio::io_service by boost::asio:io_context 2024-11-25 10:08:27 -05:00
orignal d88ba768d7 set i2p.streaming.profile=2 for shared local destination 2024-11-11 18:50:53 -05:00
r4sas 574d12298b Destinations: set thread name from tunnel name
Signed-off-by: r4sas <r4sas@i2pmail.org>
2024-11-12 00:36:07 +03:00
orignal 2778b092e3 i2p.streaming.maxConcurrentStreams I2CP param 2024-11-11 13:41:27 -05:00
orignal 5073c9637e implement httpproxy.senduseragent 2024-09-22 21:07:44 -04:00
orignal 9f30499984 implement i2p.streaming.profile to specify high or low bandwidth tunnel pools 2024-09-19 21:16:16 -04:00
orignal d20475e3d0 set default i2cp.leaseSetEncType to 0,4 and to 4 for server tunnels 2024-09-12 19:11:13 -04:00
orignal fb8e0e1b5b limit stream's inbound speed 2024-08-17 17:11:28 -04:00
orignal 0428b5ece1 limit stream's outbound speed 2024-07-04 13:07:57 -04:00
orignal 577ed56af0 store HTTP and SOCKS proxy as pointer to I2PService 2024-02-20 18:51:37 -05:00
weko 4b167fdbaf Update copyright year 2024-01-25 01:57:24 +00:00
weko 5b93558bd0 Add support for multiple udp server tunnels on one destionation 2024-01-25 01:05:58 +00:00
r4sas a0795d8534 set server tunnel inport in ClientContext from port (#1936)
Signed-off-by: r4sas <r4sas@i2pmail.org>
2023-06-12 05:12:07 +03:00
r4sas 03cc6e0524 use uint16_t for ports
Signed-off-by: r4sas <r4sas@i2pmail.org>
2023-06-12 05:10:32 +03:00
r4sas fdf38f45d9 more debug messages at destinations stop
Signed-off-by: r4sas <r4sas@i2pmail.org>
2023-05-23 00:44:47 +03:00
weko 710a35993d change some log level to error back 2023-03-31 12:16:32 +00:00
weko 354a04f0f6 Up level for some logs to critical 2023-03-31 11:29:04 +00:00
polistern 3ff1adf597 feat: Added SAM UDP port parameter. 2023-02-26 16:51:56 +00:00
orignal 3d4d3ce80d compressable crypto key and padding for routers and destination 2022-10-24 15:12:07 -04:00
R4SAS 96c4463d39 clean code
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-10-09 20:24:43 +03:00
orignal e82662b389 SSL support for server tunnels 2022-10-08 21:41:28 -04:00
orignal 1d6104ecf3 addressbook.enabled config param 2022-05-27 13:17:06 -04:00