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 |
|
orignal
|
a97300f8be
|
fixed #1256 I2NP messages up to 64K
|
2018-10-10 11:31:55 -04:00 |
|
orignal
|
8f41776858
|
check send queue size
|
2018-09-28 09:54:42 -04:00 |
|
orignal
|
2dfa1ca0f2
|
check RouterInfo's timestamp in SessionConfirmed
|
2018-09-21 11:45:04 -04:00 |
|
orignal
|
5cac6ca8bb
|
read message body immediatly after length
|
2018-09-17 13:08:49 -04:00 |
|
orignal
|
8de443ec4c
|
siphash from openssl 1.1.1
|
2018-09-11 13:26:29 -04:00 |
|
orignal
|
3540712517
|
some cleanup
|
2018-09-09 08:38:12 -04:00 |
|
orignal
|
a8b1a86bd7
|
X25519Keys for static key
|
2018-09-08 22:08:08 -04:00 |
|
orignal
|
1babd3a5a2
|
separate X25519Keys
|
2018-09-08 16:52:42 -04:00 |
|
orignal
|
33aa8e2471
|
use x25519 from openssl 1.1.1 for ephemeral keys
|
2018-09-05 11:19:58 -04:00 |
|
orignal
|
8753186a0d
|
publish NTCP2 ipv6 address if applicable
|
2018-08-27 15:01:43 -04:00 |
|
orignal
|
022f4d2c11
|
don't send message to not established session
|
2018-08-23 07:23:50 -04:00 |
|
orignal
|
b259ee89aa
|
send RouterInfo from NTCP2Server's thread
|
2018-08-22 12:33:43 -04:00 |
|
orignal
|
1dd003d26a
|
check m2p3len
|
2018-08-18 08:27:36 -04:00 |
|
orignal
|
77a409935d
|
license added
|
2018-08-16 13:46:59 -04:00 |
|
orignal
|
11142690a0
|
show correct value of time drift
|
2018-08-16 10:13:32 -04:00 |
|
orignal
|
02e8c5faca
|
fixed typo
|
2018-08-15 13:23:10 -04:00 |
|
orignal
|
c41081d35c
|
check timestamps
|
2018-08-15 11:42:56 -04:00 |
|
orignal
|
e4ab51329d
|
move handshake messages processing to NTCP2Establisher
|
2018-08-14 14:01:04 -04:00 |
|
orignal
|
86782aeb1b
|
don't send RouterInfo twice
|
2018-08-14 11:27:27 -04:00 |
|
orignal
|
49a44fc92e
|
assume siphash IV in Litte Endian
|
2018-08-13 14:07:57 -04:00 |
|
orignal
|
cd39a52c25
|
correct endianness for siphash length
|
2018-08-13 13:43:51 -04:00 |
|
orignal
|
6d46fc9f9f
|
check send frame error code
|
2018-08-11 16:08:21 -04:00 |
|
orignal
|
5b83d4bef8
|
move handshake messages creation to NTCP2Establisher
|
2018-08-10 10:53:34 -04:00 |
|
orignal
|
f7e4afc282
|
use same buffer for input and output for AEAD/Chacha20/Poly1305
|
2018-08-09 15:47:02 -04:00 |
|
orignal
|
88e87d589b
|
add incoming NTCP2 session to the sessions list
|
2018-08-09 14:20:10 -04:00 |
|
orignal
|
d8c6dede7e
|
moved NTCP2 handshake buffers to establisher
|
2018-08-09 12:53:36 -04:00 |
|
orignal
|
5cc84133e3
|
fixed incorrect lenght
|
2018-08-08 17:38:21 -04:00 |
|
orignal
|
f7728aa1f6
|
reuse NTCP2 frame buffers
|
2018-08-08 16:23:44 -04:00 |
|
orignal
|
41b9f19b01
|
get unpublished NTCP2 address
|
2018-08-04 08:47:58 -04:00 |
|
orignal
|
4cf79088f9
|
NTCP2 idle timeout
|
2018-08-03 13:19:35 -04:00 |
|
orignal
|
50cd321818
|
NTCP2 idle timeout
|
2018-08-03 13:10:32 -04:00 |
|
orignal
|
0a33c18e36
|
send termination message
|
2018-08-02 15:31:15 -04:00 |
|
orignal
|
6cf158ac63
|
check RouterInfo from SessionConfirmed
|
2018-08-02 13:58:47 -04:00 |
|
orignal
|
f96bfa6afa
|
send RouterInfo
|
2018-08-02 12:42:39 -04:00 |
|
orignal
|
a8dcfc44f5
|
handle termination message
|
2018-08-01 09:43:48 -04:00 |
|
orignal
|
0ff9c9da27
|
complete Bob side of NTCP2
|
2018-07-31 15:41:13 -04:00 |
|
orignal
|
998653ea9d
|
NTCP2 acceptors
|
2018-07-23 15:30:51 -04:00 |
|
orignal
|
5bedfc1c84
|
post I2NP messages to NTCP2 thread
|
2018-07-19 12:46:19 -04:00 |
|
orignal
|
f6495e59c5
|
better MixHash
|
2018-07-19 09:27:59 -04:00 |
|
orignal
|
66bf431481
|
correct KDF1 calculation
|
2018-07-18 16:27:43 -04:00 |
|
orignal
|
d9685e991e
|
handle RouterInfo block
|
2018-07-18 15:57:18 -04:00 |
|
orignal
|
e0790700cd
|
don't connect to unpublished NTCP2 addresses
|
2018-07-18 14:19:12 -04:00 |
|
orignal
|
910a9600bd
|
display NTCP2 session in web console
|
2018-07-18 12:58:29 -04:00 |
|
orignal
|
b99f828583
|
send I2NP messages through NTCP2
|
2018-07-18 11:16:40 -04:00 |
|
orignal
|
8c5111e11a
|
handle NTCP2 I2NP messages
|
2018-07-17 15:17:05 -04:00 |
|
orignal
|
5575b981c8
|
enable NTCP2 as transport
|
2018-07-13 15:59:28 -04:00 |
|
orignal
|
00c71dc26a
|
handle SessionConfirmed
|
2018-07-09 15:56:23 -04:00 |
|
orignal
|
5218c8584f
|
some refactoring of NTCP2 code
|
2018-07-04 14:15:40 -04:00 |
|
orignal
|
6054bd6621
|
NTCP2 session establisher
|
2018-07-03 16:26:02 -04:00 |
|
orignal
|
5bc157eb19
|
send data frame for NTCP2
|
2018-06-25 12:28:07 -04:00 |
|
orignal
|
0aa618b938
|
process AEAD/Chacha20/Poly1305 frame for data phase of NTCP2
|
2018-06-22 15:02:49 -04:00 |
|
orignal
|
5884852612
|
correct usage of sipkeys
|
2018-06-22 12:20:35 -04:00 |
|
orignal
|
5b29592174
|
generate sipkeys for data pahse of NTCP2
|
2018-06-21 16:24:19 -04:00 |
|
orignal
|
96411cc93e
|
derive keys for siphash
|
2018-06-21 12:39:24 -04:00 |
|
orignal
|
3cec5235c9
|
NTCP2 according to new specs
|
2018-06-20 16:09:22 -04:00 |
|
orignal
|
b5682012d3
|
process SessionRequest and send SessionCreated for NTCP2
|
2018-06-19 15:43:47 -04:00 |
|
orignal
|
e05110ff44
|
send RouterInfo in SessionConfirmed
|
2018-06-15 14:56:03 -04:00 |
|
orignal
|
2bd7a92d20
|
send SessionConfirmed
|
2018-06-14 15:29:36 -04:00 |
|
orignal
|
6b37a41e00
|
correct ad calculation for SessionCreated
|
2018-06-14 10:45:25 -04:00 |
|
orignal
|
5447259e1a
|
AEAD/ChaCha20/Poly1305 decryption and SessionCreate prcessing
|
2018-06-13 16:16:23 -04:00 |
|
orignal
|
ee0ae0b74b
|
decrypt Y for NTCP2
|
2018-06-13 14:56:51 -04:00 |
|
orignal
|
df60e78766
|
AEAD/Chacha20/Poly1305 encryption
|
2018-06-13 11:41:46 -04:00 |
|
orignal
|
046a80cfe4
|
scalar multiplication for x25519
|
2018-06-12 12:42:20 -04:00 |
|
orignal
|
7f3127ac89
|
pass unencrypted X to KDF
|
2018-06-11 14:32:15 -04:00 |
|
orignal
|
7cdb021a1f
|
pass correct nonce to chacha20
|
2018-06-11 14:05:30 -04:00 |
|
orignal
|
74c0b729c2
|
connect to NTCP2
|
2018-06-11 12:29:30 -04:00 |
|
orignal
|
5cb81f8532
|
send SessionRequest message
|
2018-06-06 15:38:18 -04:00 |
|
orignal
|
a70d0edf2e
|
encrypt SessionRequest options block
|
2018-06-05 16:15:33 -04:00 |
|
orignal
|
8c9eaccc11
|
KeyDerivationFunction for NTCP2
|
2018-06-05 15:37:08 -04:00 |
|
orignal
|
86c1984982
|
NTCP2 added
|
2018-06-05 12:53:13 -04:00 |
|