orignal
|
eeea02d834
|
rounded to seconds timestamps
|
2022-12-19 12:56:19 -05:00 |
|
orignal
|
648b09d45f
|
try to restart acceptors after termination of expired NTCP2 if no descriptors
|
2022-12-10 15:44:37 -05:00 |
|
R4SAS
|
857df5c734
|
prevent log spamming with no_descriptors error
Signed-off-by: R4SAS <r4sas@i2pmail.org>
|
2022-12-10 21:57:23 +03:00 |
|
orignal
|
737603e81b
|
No descriptors error
|
2022-12-10 13:22:37 -05:00 |
|
orignal
|
410d2c2fa9
|
use shared pointer for RouterInfo's addreses list
|
2022-12-04 19:21:51 -05:00 |
|
Dimitris Apostolou
|
73b9c0302b
|
Fix typos
|
2022-11-25 22:37:52 +02:00 |
|
orignal
|
f1f66d7b8f
|
handle SOCKS connect reply for ipv6 address
|
2022-10-27 19:47:24 -04:00 |
|
orignal
|
4ed5e44de7
|
correct buffer size for ipv6 SOCKS proxy reply
|
2022-10-27 15:22:24 -04:00 |
|
orignal
|
63fd05c7d3
|
SOCKS5 constants
|
2022-10-15 21:37:00 -04:00 |
|
orignal
|
3bef6383d9
|
send update local RouterInfo
|
2022-06-13 14:02:36 -04:00 |
|
R4SAS
|
6b4ffcff5a
|
cleanup code (spaces, tabs)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
|
2022-05-20 17:44:29 +00:00 |
|
R4SAS
|
1326597226
|
use ipv6 preference only when netinet headers not used (entware with musl workaround)'
Signed-off-by: R4SAS <r4sas@i2pmail.org>
|
2022-04-23 13:50:34 +03:00 |
|
orignal
|
f6ba776c12
|
SSU2 keys
|
2022-03-01 21:23:08 -05:00 |
|
orignal
|
4211c733a2
|
s and i keys for all addresses
|
2022-02-05 17:14:25 -05:00 |
|
orignal
|
c9a1066f02
|
send SessionCreated before connection close if slock skew
|
2022-02-03 14:49:36 -05: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 |
|
orignal
|
26db88d89b
|
check if sip key is available
|
2021-10-27 22:33:37 -04:00 |
|
orignal
|
876e98d91e
|
check if sip key is available
|
2021-10-27 22:23:32 -04:00 |
|
orignal
|
8566f6c127
|
don't store EVP_PKEY sip keys
|
2021-10-27 21:18:21 -04:00 |
|
orignal
|
197882a4c9
|
create I2NP depending on type in I2NP block
|
2021-10-17 15:30:24 -04:00 |
|
orignal
|
d310efcb5c
|
pass I2NPMessage by move
|
2021-10-17 11:31:37 -04:00 |
|
orignal
|
317d8cdc48
|
don't allocate separate buffers for SessionRequest and SessionCreated
|
2021-09-18 15:44:43 -04:00 |
|
orignal
|
5b2b9e00a2
|
reuse receive buffer
|
2021-09-17 21:52:39 -04:00 |
|
orignal
|
0cd9f1b002
|
precalculate padding sizes
|
2021-07-15 19:01:43 -04:00 |
|
orignal
|
631c8c9870
|
use correct address type for NTCP2 acceptors
|
2021-06-14 21:19:44 -04:00 |
|
R4SAS
|
8708a0076f
|
fix build with boost < 1.55.0 (closes #1661)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
|
2021-06-09 22:23:33 +03:00 |
|
R4SAS
|
be31640010
|
fix ipv6 preference on linux
Signed-off-by: R4SAS <r4sas@i2pmail.org>
|
2021-05-31 00:23:50 +03:00 |
|
R4SAS
|
ed42948051
|
prefer public ipv6 instead rfc4941 (closes #1251)
Wokrs only on linux-based systems. Not tested on other *nix systems, and
not works on windows.
Signed-off-by: R4SAS <r4sas@i2pmail.org>
|
2021-05-30 03:25:13 +03:00 |
|
R4SAS
|
c359c6e634
|
update config file example, add v6 status to windows daemon window, code cleanup
Signed-off-by: R4SAS <r4sas@i2pmail.org>
|
2021-05-15 16:31:53 +03:00 |
|
orignal
|
991b74f036
|
bind ipv6 or yggdrasil acceptor to specified address
|
2021-03-19 13:10:24 -04:00 |
|
orignal
|
7c0b0a4e3e
|
common HTTP basic authorization string
|
2021-03-10 22:47:31 -05:00 |
|
orignal
|
880d1a7ccd
|
NTCP2 proxy with authorization
|
2021-03-10 20:00:21 -05:00 |
|
orignal
|
ad22247c9e
|
start other acceptors if connected through a proxy
|
2021-03-06 15:35:31 -05:00 |
|
orignal
|
288b19c3f7
|
bind NTCP2 ipv4 acceptor to specified local address
|
2021-02-27 10:35:50 -05:00 |
|
orignal
|
a4e8bf9857
|
bind NTCP2 connections to specified address
|
2021-02-26 19:31:38 -05:00 |
|
orignal
|
1ca0354cf2
|
find NTCP2 address by static key. Don't make router unreachable if can't connect by NTCP2
|
2021-02-17 18:46:41 -05:00 |
|
orignal
|
b1fcd4d27b
|
show actual IP addresses for proxy connections
|
2021-02-17 14:26:48 -05:00 |
|
orignal
|
7e4c33d27e
|
resend RouterInfo after some interval
|
2021-02-07 10:39:26 -05:00 |
|
orignal
|
aad2d68edb
|
NTCP2 transports through the Yggdrasil
|
2021-01-31 17:25:07 -05:00 |
|
orignal
|
9e5935aea5
|
NTCP2Mesh added
|
2021-01-30 18:32:17 -05:00 |
|
Dimitris Apostolou
|
67dab9b6d2
|
Fix clang warning
|
2021-01-21 11:07:01 +02:00 |
|
orignal
|
1235d18d67
|
pass address to NTCP2 session
|
2021-01-17 17:15:41 -05:00 |
|
orignal
|
32fc6482cc
|
moved Noise initializations to Crypto.cpp
|
2020-12-03 17:58:37 -05:00 |
|
orignal
|
1c5b350c2b
|
TCP_QUICKACK
|
2020-11-23 18:55:48 -05:00 |
|
orignal
|
9f2a2e44a3
|
common MixHash and MixKey
|
2020-10-28 21:53:11 -04:00 |
|
orignal
|
faae2709d9
|
removed NTCP
|
2020-10-03 21:58:20 -04:00 |
|
orignal
|
9636d82b37
|
MixHash for SessionConfirmed processing
|
2020-08-03 18:31:03 -04:00 |
|
orignal
|
1f31fdc257
|
pre-calculate ephemeral keys for x25519
|
2020-06-29 20:02:09 -04:00 |
|
orignal
|
a0b35ebd3e
|
mark NTCP2 unreachable routers
|
2020-06-22 22:32:18 -04:00 |
|
orignal
|
1975adc48f
|
print remote peer for queues
|
2020-05-24 14:14:16 -04:00 |
|
R4SAS
|
7a5146ea74
|
fix code syle(spaces->tabs, tabulations)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
|
2020-05-22 18:14:53 +00:00 |
|
orignal
|
bb7f03857c
|
ThrowFatal function
|
2020-05-05 09:35:41 -04:00 |
|
R4SAS
|
42d4781a96
|
[windows] add binding exceptions messagebox notifications, update exceptions handling code
Signed-off-by: R4SAS <r4sas@i2pmail.org>
|
2020-05-05 02:45:25 +03:00 |
|
R4SAS
|
4d48d35ad7
|
[SSU] handle socket binding errors
Signed-off-by: R4SAS <r4sas@i2pmail.org>
|
2020-05-04 18:12:23 +03:00 |
|
orignal
|
c4f9f7da06
|
fixed warning
|
2020-04-30 13:45:26 -04:00 |
|
R4SAS
|
f5712c4198
|
remove not needed initialization for pointer
Signed-off-by: R4SAS <r4sas@i2pmail.org>
|
2020-04-30 04:59:05 +03:00 |
|
R4SAS
|
1aa0da3382
|
[NTCP2] fix socks proxy support
Signed-off-by: R4SAS <r4sas@i2pmail.org>
|
2020-04-30 04:47:32 +03:00 |
|
orignal
|
b7c206c44b
|
replace by new incoming session
|
2020-04-09 15:00:38 -04:00 |
|
orignal
|
49c1e47736
|
correct termination if session already exists
|
2020-04-08 18:02:12 -04:00 |
|
orignal
|
2d3fad2cdb
|
correct proxy buffers
|
2020-03-02 16:24:00 -05:00 |
|
orignal
|
e969d58689
|
handle ntcp2.proxy parameter
|
2020-03-01 15:11:54 -05:00 |
|
orignal
|
ae20e3aa95
|
NTCP2 proxy
|
2020-03-01 11:24:18 -05:00 |
|
unlnown542a
|
4f0da87a7a
|
add ntcp2proxy support
|
2020-03-01 14:35:24 +00:00 |
|
orignal
|
969f9aa436
|
common RuunableBase with private inheritance
|
2020-02-04 11:48:56 -05:00 |
|
orignal
|
49810eb153
|
common RunnableService
|
2020-02-02 17:05:30 -05:00 |
|
orignal
|
6cc388c1bc
|
use HKDF for MixKey
|
2020-01-18 14:43:36 -05:00 |
|
orignal
|
db84be2488
|
use HKDF for NTCP2 key derivation data phase
|
2019-12-18 20:48:30 -05:00 |
|
orignal
|
599ec62bb0
|
use HKDF for NTCP2 key derivation data phase
|
2019-12-18 20:45:47 -05:00 |
|
orignal
|
0abb871f3f
|
close socket after if accept failed
|
2019-11-20 13:00:50 -05:00 |
|
orignal
|
704fca969f
|
handle accept errors
|
2019-11-20 12:05:32 -05:00 |
|
orignal
|
6cfe4fa580
|
handle sending errors
|
2019-11-18 14:13:31 -05:00 |
|
orignal
|
d6b1d0d4fb
|
remove incoming session from pending list when established
|
2019-09-22 21:01:34 -04:00 |
|
orignal
|
9a7aed20e9
|
handle error for SessionConfrimed send
|
2019-09-19 16:54:23 -04:00 |
|
orignal
|
c8cbf425ac
|
check and send netid for NTCP2 and SSU
|
2019-08-13 14:55:18 -04:00 |
|
orignal
|
6ccef66920
|
call shutdown before close
|
2019-06-26 10:47:16 -04:00 |
|
orignal
|
8e3d16e9fb
|
update ipv6 addresses from SSU rather than NTCP or NTCP2
|
2019-05-29 11:36:58 -04:00 |
|
Dimitris Apostolou
|
6a497a23d9
|
Fix typos
|
2019-04-08 22:22:42 +03:00 |
|
orignal
|
9b1fe4338b
|
reuse_address for ipv6 acceptor
|
2019-02-28 16:00:26 -05:00 |
|
orignal
|
65cbb06080
|
create ephemeral keys after getting connected
|
2018-12-07 19:24:46 -05:00 |
|
orignal
|
34dc6fbdc1
|
check if session is terminated before sending
|
2018-12-04 16:10:52 -05:00 |
|
orignal
|
b57152cc25
|
common code for padding and sending termination and RouterInfo messages
|
2018-12-04 15:56:55 -05:00 |
|
orignal
|
dc9562e430
|
padding for termination message
|
2018-12-04 15:23:43 -05:00 |
|
orignal
|
05689fe183
|
padding for short messages
|
2018-12-04 15:00:10 -05:00 |
|
orignal
|
8f6f95211e
|
eliminate extra copy of RouterInfo
|
2018-12-04 12:56:49 -05:00 |
|
orignal
|
12ac7d6a00
|
enable sending I2NP messages
|
2018-12-03 18:47:20 -05:00 |
|
orignal
|
10251a6447
|
fixed typo
|
2018-12-03 15:54:35 -05:00 |
|
orignal
|
089cbbc20a
|
rollback
|
2018-12-03 14:51:27 -05:00 |
|
orignal
|
95ab68acd1
|
don't copy I2NP messages to NTCP2 frame
|
2018-12-03 14:14:36 -05:00 |
|
orignal
|
8fc3a1f9c9
|
correct frame size for I2NP msgs
|
2018-12-03 12:29:24 -05:00 |
|
orignal
|
5c3d0fc02c
|
create I2NP blocks
|
2018-12-02 17:24:31 -05:00 |
|
orignal
|
7efb47fed4
|
send NTCP2 frame from I2NP messages
|
2018-12-02 14:24:39 -05:00 |
|
orignal
|
328c2182c2
|
alignment for tunnel message AES decryption
|
2018-11-27 10:35:17 -05:00 |
|
orignal
|
42ed312384
|
handle NTCP2 RouterInfo flag
|
2018-11-21 11:23:48 -05:00 |
|
orignal
|
d7081c5f23
|
handle RouterInfo from NTCP2 in netdb's thread
|
2018-11-14 20:52:54 -05:00 |
|
orignal
|
b3fd8bd0ae
|
check if keys are available before sending termination message
|
2018-11-04 18:51:25 -05:00 |
|
orignal
|
bffeb237de
|
termination might be send for non-established session
|
2018-11-04 15:32:31 -05:00 |
|
orignal
|
23e3602ea1
|
common MixHash
|
2018-11-01 16:06:39 -04:00 |
|
orignal
|
d034dab265
|
fill m3p2 with SessionRequest
|
2018-10-26 09:58:18 -04:00 |
|