Commit Graph

209 Commits (20a5e19ea16ed307376e2faf4f17f41f0e9f2b0c)

Author SHA1 Message Date
R4SAS 1326597226 use ipv6 preference only when netinet headers not used (entware with musl workaround)'
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal f6ba776c12 SSU2 keys 3 years ago
orignal 4211c733a2 s and i keys for all addresses 3 years ago
orignal c9a1066f02 send SessionCreated before connection close if slock skew 3 years ago
R4SAS edc0162163
clean line trailing spaces and tabs
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS 94661f697b
[log] update log messages (closes #1693)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
Dimitris Apostolou 8ee9c437e1
Fix typos 3 years ago
orignal 26db88d89b check if sip key is available 3 years ago
orignal 876e98d91e check if sip key is available 3 years ago
orignal 8566f6c127 don't store EVP_PKEY sip keys 3 years ago
orignal 197882a4c9 create I2NP depending on type in I2NP block 3 years ago
orignal d310efcb5c pass I2NPMessage by move 3 years ago
orignal 317d8cdc48 don't allocate separate buffers for SessionRequest and SessionCreated 3 years ago
orignal 5b2b9e00a2 reuse receive buffer 3 years ago
orignal 0cd9f1b002 precalculate padding sizes 3 years ago
orignal 631c8c9870 use correct address type for NTCP2 acceptors 3 years ago
R4SAS 8708a0076f fix build with boost < 1.55.0 (closes #1661)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS be31640010
fix ipv6 preference on linux
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
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>
3 years ago
R4SAS c359c6e634
update config file example, add v6 status to windows daemon window, code cleanup
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal 991b74f036 bind ipv6 or yggdrasil acceptor to specified address 4 years ago
orignal 7c0b0a4e3e common HTTP basic authorization string 4 years ago
orignal 880d1a7ccd NTCP2 proxy with authorization 4 years ago
orignal ad22247c9e start other acceptors if connected through a proxy 4 years ago
orignal 288b19c3f7 bind NTCP2 ipv4 acceptor to specified local address 4 years ago
orignal a4e8bf9857 bind NTCP2 connections to specified address 4 years ago
orignal 1ca0354cf2 find NTCP2 address by static key. Don't make router unreachable if can't connect by NTCP2 4 years ago
orignal b1fcd4d27b show actual IP addresses for proxy connections 4 years ago
orignal 7e4c33d27e resend RouterInfo after some interval 4 years ago
orignal aad2d68edb NTCP2 transports through the Yggdrasil 4 years ago
orignal 9e5935aea5 NTCP2Mesh added 4 years ago
Dimitris Apostolou 67dab9b6d2
Fix clang warning 4 years ago
orignal 1235d18d67 pass address to NTCP2 session 4 years ago
orignal 32fc6482cc moved Noise initializations to Crypto.cpp 4 years ago
orignal 1c5b350c2b TCP_QUICKACK 4 years ago
orignal 9f2a2e44a3 common MixHash and MixKey 4 years ago
orignal faae2709d9 removed NTCP 4 years ago
orignal 9636d82b37 MixHash for SessionConfirmed processing 4 years ago
orignal 1f31fdc257 pre-calculate ephemeral keys for x25519 4 years ago
orignal a0b35ebd3e mark NTCP2 unreachable routers 4 years ago
orignal 1975adc48f print remote peer for queues 4 years ago
R4SAS 7a5146ea74 fix code syle(spaces->tabs, tabulations)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
orignal bb7f03857c ThrowFatal function 4 years ago
R4SAS 42d4781a96
[windows] add binding exceptions messagebox notifications, update exceptions handling code
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS 4d48d35ad7
[SSU] handle socket binding errors
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
orignal c4f9f7da06 fixed warning 4 years ago
R4SAS f5712c4198
remove not needed initialization for pointer
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS 1aa0da3382 [NTCP2] fix socks proxy support
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
orignal b7c206c44b replace by new incoming session 5 years ago
orignal 49c1e47736 correct termination if session already exists 5 years ago
orignal 2d3fad2cdb correct proxy buffers 5 years ago
orignal e969d58689 handle ntcp2.proxy parameter 5 years ago
orignal ae20e3aa95 NTCP2 proxy 5 years ago
unlnown542a 4f0da87a7a add ntcp2proxy support 5 years ago
orignal 969f9aa436 common RuunableBase with private inheritance 5 years ago
orignal 49810eb153 common RunnableService 5 years ago
orignal 6cc388c1bc use HKDF for MixKey 5 years ago
orignal db84be2488 use HKDF for NTCP2 key derivation data phase 5 years ago
orignal 599ec62bb0 use HKDF for NTCP2 key derivation data phase 5 years ago
orignal 0abb871f3f close socket after if accept failed 5 years ago
orignal 704fca969f handle accept errors 5 years ago
orignal 6cfe4fa580 handle sending errors 5 years ago
orignal d6b1d0d4fb remove incoming session from pending list when established 5 years ago
orignal 9a7aed20e9 handle error for SessionConfrimed send 5 years ago
orignal c8cbf425ac check and send netid for NTCP2 and SSU 5 years ago
orignal 6ccef66920 call shutdown before close 5 years ago
orignal 8e3d16e9fb update ipv6 addresses from SSU rather than NTCP or NTCP2 5 years ago
Dimitris Apostolou 6a497a23d9
Fix typos 6 years ago
orignal 9b1fe4338b reuse_address for ipv6 acceptor 6 years ago
orignal 65cbb06080 create ephemeral keys after getting connected 6 years ago
orignal 34dc6fbdc1 check if session is terminated before sending 6 years ago
orignal b57152cc25 common code for padding and sending termination and RouterInfo messages 6 years ago
orignal dc9562e430 padding for termination message 6 years ago
orignal 05689fe183 padding for short messages 6 years ago
orignal 8f6f95211e eliminate extra copy of RouterInfo 6 years ago
orignal 12ac7d6a00 enable sending I2NP messages 6 years ago
orignal 10251a6447 fixed typo 6 years ago
orignal 089cbbc20a rollback 6 years ago
orignal 95ab68acd1 don't copy I2NP messages to NTCP2 frame 6 years ago
orignal 8fc3a1f9c9 correct frame size for I2NP msgs 6 years ago
orignal 5c3d0fc02c create I2NP blocks 6 years ago
orignal 7efb47fed4 send NTCP2 frame from I2NP messages 6 years ago
orignal 328c2182c2 alignment for tunnel message AES decryption 6 years ago
orignal 42ed312384 handle NTCP2 RouterInfo flag 6 years ago
orignal d7081c5f23 handle RouterInfo from NTCP2 in netdb's thread 6 years ago
orignal b3fd8bd0ae check if keys are available before sending termination message 6 years ago
orignal bffeb237de termination might be send for non-established session 6 years ago
orignal 23e3602ea1 common MixHash 6 years ago
orignal d034dab265 fill m3p2 with SessionRequest 6 years ago
orignal a97300f8be fixed #1256 I2NP messages up to 64K 6 years ago
orignal 8f41776858 check send queue size 6 years ago
orignal 2dfa1ca0f2 check RouterInfo's timestamp in SessionConfirmed 6 years ago
orignal 5cac6ca8bb read message body immediatly after length 6 years ago
orignal 8de443ec4c siphash from openssl 1.1.1 6 years ago
orignal 3540712517 some cleanup 6 years ago
orignal a8b1a86bd7 X25519Keys for static key 6 years ago
orignal 1babd3a5a2 separate X25519Keys 6 years ago
orignal 33aa8e2471 use x25519 from openssl 1.1.1 for ephemeral keys 6 years ago
orignal 8753186a0d publish NTCP2 ipv6 address if applicable 6 years ago
orignal 022f4d2c11 don't send message to not established session 6 years ago