80 Commits

Author SHA1 Message Date
orignal
d65c7f94a0 print endpoint if server tunnel connection failed 2026-03-18 14:57:42 -04: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
0ed8b473f2 close I2P stream if socket got closed right after connect 2026-03-06 13:50:16 -05:00
Benson Muite
73623a4793 Replace deadline_timer by steady_timer
Prevent deprecation warnings when building.
2026-03-06 10:55:47 +03:00
orignal
f94990c870 i2pheaders param for HTTP server tunnel 2025-11-02 12:09:06 -05:00
orignal
310ee78d24 create unique loopback address for ipv6 2025-08-26 21:16:15 -04:00
Dimitris Apostolou
b00001752b fix typos 2025-08-20 17:49:45 +03:00
orignal
977967f793 try to resolve host again in server tunnel if failed before 2025-07-28 15:51:47 -04:00
orignal
8c204a4c10 use std::string_view for I2P HTTP headers. constexpr for ecxluded headers list 2025-07-18 22:39:21 -04:00
orignal
246bc43dea read more data from socket if available and stream buffer is not full 2025-05-07 18:54:55 -04:00
orignal
aece5bb16c don't exceed stream max send buffer size 2025-05-03 08:47:49 -04:00
orignal
0cbada2196 correct receive buffer size 2025-05-02 13:23:53 -04:00
orignal
d9f64c6f51 connection max stream buffer size 2025-05-01 18:09:39 -04:00
orignal
b03ec650ef keep receving new data from socket while previous is being sent to stream 2025-04-29 12:56:35 -04:00
orignal
c3d4d1bdf4 use array/string_view for exluded HTTP headers in server tunnel 2025-03-14 13:07:45 -04:00
orignal
5f762845f0 move BOB incoming connection logic from I2PTunnelConnection to BOB 2025-02-28 22:20:50 -05:00
orignal
e518b92a89 calculate X_I2P_DEST* headers once for series of HTTP requests 2024-12-02 19:05:12 -05:00
orignal
cc768de8ea iterator through resolver's results 2024-11-25 19:16:42 -05:00
orignal
ffd18baf30 support boost 1.87 2024-11-25 16:00:06 -05:00
orignal
ab02f722af print non-resolved address to log 2024-10-11 11:27:36 -04: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
3af1f4bc76 Use of 'server' type tunnel port as inport (#1936)
Signed-off-by: r4sas <r4sas@i2pmail.org>
2023-06-12 00:32:44 +03:00
orignal
0ce15ffc91 check for incomplete HTTP header 2023-04-26 21:34:22 -04:00
orignal
7a12b5ca4b handle incomplete HTTP header lines 2023-04-18 19:25:15 -04:00
orignal
132557f941 don't return default destination if port is specified explicitly 2023-04-12 13:33:20 -04:00
orignal
b8d21a1282 create non-default port destination explicitly 2023-04-12 07:46:50 -04:00
orignal
7c2da75197 don't recreate existing streaming destination 2023-04-03 19:05:35 -04:00
orignal
f9b0bb0383 I2PTunnel/UDPTunnel split 2022-10-25 15:30:12 -04:00
orignal
c2f91ea63b SSL connection for IRC server tunnel 2022-10-10 11:02:19 -04:00
R4SAS
96c4463d39 clean code
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-10-09 20:24:43 +03:00
orignal
6b939eba59 fixed typo 2022-10-09 09:54:48 -04:00
orignal
e82662b389 SSL support for server tunnels 2022-10-08 21:41:28 -04:00
orignal
5b19237a85 limit HTTP header size 2022-08-23 19:06:28 -04:00
orignal
150b8f8cbd Handle long HTTP headers 2022-08-23 15:11:10 -04:00
orignal
7f0845dfd3 reset acceptor on stop of server tunnel 2022-08-16 14:06:13 -04:00
orignal
2d4c7729ad case-insensitive headers 2022-05-29 16:59:15 -04:00
orignal
6ecab66b0e always send Connection: close, strip out Keep-Alive for server HTTP tunnel 2022-05-28 21:54:58 -04:00
orignal
e2ef88229f fixed warning 2022-05-22 12:22:24 -04:00
R4SAS
923eb9fdb3 fix udp tunnels reload
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-05-15 11:47:10 +03:00
R4SAS
f9f5084dd7 typo
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-04-11 11:26:10 +03:00
R4SAS
b7e7c6db7b UDP Client: ignore incomming traffic and error when stopping (prevent socket restarting)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2022-04-10 23:10:41 +03:00
R4SAS
edc0162163 clean line trailing spaces and tabs
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-11-27 23:30:35 +03:00
R4SAS
94661f697b [log] update log messages (closes #1693)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-11-27 22:53:53 +03:00
Dimitris Apostolou
8ee9c437e1 Fix typos 2021-11-13 19:07:50 +02:00
R4SAS
d723faaaa3 [UDPTunnel] restart local listener on error
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-09-28 14:27:35 +03:00
orignal
2eded7cdd7 send ping every keealive interval for client tunnels 2021-09-26 16:25:12 -04:00
R4SAS
6b1ef6e1b9 tunnels reload changes: fix tcp tunnels reload
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2021-09-04 04:02:27 +03:00
orignal
b0874410f1 take first avalable resolved address if local address is not specified 2021-08-13 13:54:23 -04:00