Commit Graph

600 Commits (4f70822b13a1fee29f175fac2d7ca17d56d5b831)

Author SHA1 Message Date
orignal 2e56c4895d transient key signature verification 6 years ago
orignal bce4224d6e extract and verify LS2 transient key 6 years ago
orignal 812e2814bc read flags from LS2 header 6 years ago
r4sas 7cd17f8e1f build android app with llvm 6 years ago
orignal 6193b06708 LS2 signature verification and store type 6 years ago
orignal 12af68bdb5 initial support of LeaseSet2 6 years ago
orignal 1933e44719 reseeds update 6 years ago
orignal 8a987af244 initialize m_Pkey 6 years ago
orignal 65cbb06080 create ephemeral keys after getting connected 6 years ago
orignal 979ea9c252 removed address resolvers as discontinued 6 years ago
orignal c7af2889fa removed dummy initializer 6 years ago
orignal 5ab3390434 don't create dummy initializer for android 6 years ago
orignal 67f60f1889 set openssl no_config before boost::asio:ssl 6 years ago
orignal 985a468d0f don't read openssl config file 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 f30b6c9e6e const reference to vector of buffers 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 abc4f6c70b fixed bug with chacha20 encryption of short messages 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 7692332f0e don't inialize Chacha20 state twice 6 years ago
orignal ef6db64e9f correct chacha20 for multiple messages 6 years ago
orignal e68f1dbc99 AEAD/Chacha20/Poly1305 encrypt multiple buffers 6 years ago
orignal 0c9ebc36d4 remove AVX and SSE for CipherBlock XOR 6 years ago
orignal 328c2182c2 alignment for tunnel message AES decryption 6 years ago
orignal 08706f5dfb fixed typo 6 years ago
orignal d49f165f0d fixed build warning 6 years ago
orignal cf0fc3a4a9 some performance improvements 6 years ago
orignal 72c8fd257c eliminate extra buffer for Poly1305 6 years ago
orignal fa620e41a4 correct alignment for polyKey 6 years ago
Jeff Becker 16b3108719
Merge remote-tracking branch 'purple/openssl' into openssl 6 years ago
Jeff Becker f385c624c7
expose poly1305 digester 6 years ago
orignal f7e9975192 restore BlockCipher XOR using SSE 6 years ago
orignal cde989b59d don't compile compatibility code if openssl 1.1.1 6 years ago
orignal c0e263abd3 default value for m_PersistProfiles 6 years ago
R4SAS 79c0c11e80 configure persist of peer profiles
* If persist.profiles = false, peer profiles not stored on disk
* remove inet_pton for windows
* update configs
6 years ago
orignal ca671551c8 flood NTCP2 RouterInfo if requested 6 years ago
orignal 42ed312384 handle NTCP2 RouterInfo flag 6 years ago
orignal 0e9074aaba reduce start and stop time 6 years ago
orignal 8a549b83a2 NTP sync in separate thread 6 years ago
orignal d7081c5f23 handle RouterInfo from NTCP2 in netdb's thread 6 years ago
orignal 588d64a30b more NTP logging 6 years ago
orignal 8335bdf3d4 correct ntp servers 6 years ago
orignal 85394f2438 NTP time sync 6 years ago
asokolov a26ed6fe6c Merge remote-tracking branch 'upstream/openssl' into webroot 6 years ago
R4SAS 779228857e 2.22.0 6 years ago
asokolov 23ae220aa7 add webroot setting 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 34cfd205f6 create new static keys by X25519Keys 6 years ago
l-n-s a141678119 Add --version flag to display i2pd and system libraries versions 6 years ago
orignal 96d109af81 fixed typo 6 years ago
orignal a309eb9f3c faster CipherBlock XOR implementation for non-AVX 6 years ago
orignal d034dab265 fill m3p2 with SessionRequest 6 years ago
orignal a2e84e5a1e 2.21.1 6 years ago
orignal 9439621849 fixed #1259. read extra tunnels from tunnels.d 6 years ago
orignal 15ded89618 set cost=14 for unpublished NTCP2 addresses 6 years ago
orignal b84f74c167 limit SSU message size to 32K 6 years ago
orignal a97300f8be fixed #1256 I2NP messages up to 64K 6 years ago
orignal 15899c10b2 2.21.0 6 years ago
orignal af793395f0 don't publish O with X or P 6 years ago
orignal 8f41776858 check send queue size 6 years ago
orignal 5f7dda5ba8 treat extra bandwidth as high bandwidth 6 years ago
orignal 2dfa1ca0f2 check RouterInfo's timestamp in SessionConfirmed 6 years ago
orignal 358cdcf4c4 removed RSA signatures completly 6 years ago
orignal c8f4ace5c4 update timestamp before publishing 6 years ago
orignal 5cac6ca8bb read message body immediatly after length 6 years ago
orignal fccad71df1 temporary buffer for EdDSA signature for openssl 1.1.1 6 years ago
orignal 97ae2674dc always use EdDsa signer fallback 6 years ago
orignal 7c70affd7f eddsa signer fallback 6 years ago
orignal 52ff568d86 fixed incorrect second signature 6 years ago
orignal 8de443ec4c siphash from openssl 1.1.1 6 years ago
orignal 7d9893c614 fixed build error 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 2c58fe736b fixed build error with openssl 1.1.1 6 years ago
orignal 2c3b19a539 use EdDSA from openssl 1.1.1 6 years ago
orignal b67424643d done insert NTCP2 ipv6 address twice 6 years ago
orignal 575a4c01c9 publish NTCP2 adress if port is specified 6 years ago
orignal f0d4ee6618 pass NTCP2 ipv6 address 6 years ago
orignal 8753186a0d publish NTCP2 ipv6 address if applicable 6 years ago
orignal 9dd38b99d6 check NTCP2 for addreses comparison 6 years ago
orignal 71ac0286b1 2.20.0 6 years ago
orignal 022f4d2c11 don't send message to not established session 6 years ago
orignal b259ee89aa send RouterInfo from NTCP2Server's thread 6 years ago
orignal d9476fb5ca set correct IV when NTCP2 address gets published 6 years ago
orignal 2d758ce963 change cost for NTCP and NTCP2 6 years ago
orignal 1dd003d26a check m2p3len 6 years ago
orignal 5e110e9f7b enable NTCP2 by default 6 years ago
orignal 77a409935d license added 6 years ago
orignal 11142690a0 show correct value of time drift 6 years ago
orignal 02e8c5faca fixed typo 6 years ago
orignal c41081d35c check timestamps 6 years ago
orignal e4ab51329d move handshake messages processing to NTCP2Establisher 6 years ago
orignal 86782aeb1b don't send RouterInfo twice 6 years ago
orignal 49a44fc92e assume siphash IV in Litte Endian 6 years ago
orignal cd39a52c25 correct endianness for siphash length 6 years ago
l-n-s 29b91075d2 Don't add SSU/NTCP addresses to RI if they are disabled in config (#1220) 6 years ago
orignal 6d46fc9f9f check send frame error code 6 years ago
orignal a2c41c9e36 allow NTCP2 only transports 6 years ago
orignal ee700ac861 fixed incorrect iv for published NTCP2 addresses 6 years ago
orignal 9884a4336f don't connect to NTCP2 only address using NTCP 6 years ago
orignal 5b83d4bef8 move handshake messages creation to NTCP2Establisher 6 years ago
orignal d320a89590 don't copy buffer to ifself 6 years ago
orignal f7e4afc282 use same buffer for input and output for AEAD/Chacha20/Poly1305 6 years ago
orignal 88e87d589b add incoming NTCP2 session to the sessions list 6 years ago
orignal d8c6dede7e moved NTCP2 handshake buffers to establisher 6 years ago
orignal 5cc84133e3 fixed incorrect lenght 6 years ago
orignal f7728aa1f6 reuse NTCP2 frame buffers 6 years ago
orignal 2b61f9a731 fixed #1217. verify decryption result 6 years ago
orignal f407022fe6 connect to NTCP2 address if presented 6 years ago
orignal 41b9f19b01 get unpublished NTCP2 address 6 years ago
orignal 09c6faf923 don't overwrite NTCP2 keys 6 years ago
orignal 26d0177c01 always make NTCP address first 6 years ago
orignal f7415c8a8f enable/disable NTCP2 address 6 years ago
orignal 4cf79088f9 NTCP2 idle timeout 6 years ago
orignal 50cd321818 NTCP2 idle timeout 6 years ago
orignal 0a33c18e36 send termination message 6 years ago
orignal 6cf158ac63 check RouterInfo from SessionConfirmed 6 years ago
orignal f96bfa6afa send RouterInfo 6 years ago
orignal 2b64cf9126 publish i in correct place for NTCP2 6 years ago
orignal a8dcfc44f5 handle termination message 6 years ago
orignal 0ff9c9da27 complete Bob side of NTCP2 6 years ago
orignal 07e7c2d852 ntcp2.published and ntcp2.port parameters 6 years ago
orignal 10e4b5b2a3 ignore NTCP2 addresses 6 years ago
orignal 998653ea9d NTCP2 acceptors 6 years ago
orignal 1a38e925bf publish NTCP2 address 6 years ago
orignal c8f51380e6 publish NTCP2 for new routers 6 years ago
orignal 5bedfc1c84 post I2NP messages to NTCP2 thread 6 years ago
orignal 5001592fb4 replace ntcp2 by ntcp2.enabled 6 years ago
orignal f6495e59c5 better MixHash 6 years ago
orignal 66bf431481 correct KDF1 calculation 6 years ago
orignal d9685e991e handle RouterInfo block 6 years ago
orignal e0790700cd don't connect to unpublished NTCP2 addresses 6 years ago
orignal 910a9600bd display NTCP2 session in web console 6 years ago
orignal fc52b2b940 fixed typo 6 years ago
orignal b99f828583 send I2NP messages through NTCP2 6 years ago
orignal f38891cace fixed build for gcc < 4.8 6 years ago
orignal 8c5111e11a handle NTCP2 I2NP messages 6 years ago
orignal 5575b981c8 enable NTCP2 as transport 6 years ago
yangfl 52f3081a40 fix typo 6 years ago
orignal 00c71dc26a handle SessionConfirmed 6 years ago
orignal 5218c8584f some refactoring of NTCP2 code 6 years ago
orignal 6054bd6621 NTCP2 session establisher 6 years ago
Dmitry Marakasov 4ffbb46cf9 Fix "macro expansion producing 'defined' has undefined behavior" clang warning 6 years ago
yangfl dec848f072 use builtin __AVX__ and __AES__ macros and reduce code duplication 6 years ago
orignal 00df3f8d4e 2.19.0 6 years ago
orignal 5bc157eb19 send data frame for NTCP2 6 years ago
orignal 0aa618b938 process AEAD/Chacha20/Poly1305 frame for data phase of NTCP2 6 years ago
orignal 5884852612 correct usage of sipkeys 6 years ago
orignal 5b29592174 generate sipkeys for data pahse of NTCP2 6 years ago
orignal 96411cc93e derive keys for siphash 6 years ago
R4SAS 7d862d8eba service and daemon works as bool without values, other requires true/false 6 years ago
R4SAS dd392941d0 update Config.cpp, links to examples, manpage 6 years ago
orignal 3cec5235c9 NTCP2 according to new specs 6 years ago
orignal b5682012d3 process SessionRequest and send SessionCreated for NTCP2 6 years ago
orignal 9c7cadb191 better implementation of x25519 6 years ago
orignal 58c92b8405 aead/chacha20/poly1305 from openssl 1.1 6 years ago
R4SAS 985b618932 addng forgotten bracket 6 years ago
R4SAS bdc7acffbe remove zero_tokens(), update manpage 6 years ago
R4SAS 6bd73cdea2 Update help message, debian manpage. Prepare changelog message 6 years ago
orignal e05110ff44 send RouterInfo in SessionConfirmed 6 years ago
orignal 706b976a28 handle and publish NTCP2 address 6 years ago
orignal 2bd7a92d20 send SessionConfirmed 6 years ago
orignal 6b37a41e00 correct ad calculation for SessionCreated 6 years ago
orignal 5447259e1a AEAD/ChaCha20/Poly1305 decryption and SessionCreate prcessing 6 years ago
orignal ee0ae0b74b decrypt Y for NTCP2 6 years ago
orignal 966256ac32 correct Poly1305 calculation 6 years ago
orignal 6b9061515f AEAD/ChaCha20/Poly1305 test added 6 years ago
orignal df60e78766 AEAD/Chacha20/Poly1305 encryption 6 years ago
orignal 3b46e9f351 fixed typo 6 years ago
orignal 046a80cfe4 scalar multiplication for x25519 6 years ago
orignal a8278fc78b router's NTCP2 private keys 6 years ago
orignal 7f3127ac89 pass unencrypted X to KDF 6 years ago
orignal 7cdb021a1f pass correct nonce to chacha20 6 years ago
orignal 74c0b729c2 connect to NTCP2 6 years ago
orignal 5cb81f8532 send SessionRequest message 6 years ago
orignal 4f23d7b7df recognize routers with NTCP2 6 years ago
orignal a70d0edf2e encrypt SessionRequest options block 6 years ago
orignal 8c9eaccc11 KeyDerivationFunction for NTCP2 6 years ago
orignal 86c1984982 NTCP2 added 6 years ago
orignal cd0f75106a moved Ed25519 away from signature 6 years ago
orignal 4cedaa9e80 fixed android build 6 years ago
orignal 5d86c1c9a6 ntcp2 crypto added 6 years ago
mewmew@i2p ed2818eaa2 qt log viewer now works 6 years ago
orignal db03595473
correct message size 6 years ago
Jeff Becker a63bc1cdca
correct sizes 6 years ago
Jeff Becker 6265d452e9
more bounds checking 6 years ago
orignal 0df68872ab
Merge pull request #1169 from majestrate/master
SAM fixes
6 years ago
Jeff Becker 0ced38cdcb
tabify 6 years ago
Sammael 97127e86dc
Delete some for correct compilation 6 years ago
Arm64 plaz 66de7ad049 for first time disable aesenc for arm64 6 years ago
Jeff Becker 4643c92d33
Initial SAM cleanup 6 years ago
Jeff Becker fa154cc4d6
Merge remote-tracking branch 'purple/openssl' 6 years ago
R4SAS e2da16e9c3
moved reseed out 6 years ago
Jeff Becker eefbbd4efe
remove all related streaming limit members 6 years ago
Jeff Becker 83932a6f02
remove streaming bans 6 years ago
orignal ff4e254618 0.9.34 6 years ago
Jeff Becker 571a13f0a7
Merge remote-tracking branch 'purple/master' 6 years ago
orignal 2cb6283d00 outproxy authorization 6 years ago
orignal f4056e57bb rollback 6 years ago
Hypnosis-mewmew e80da3cbeb fixes for i2pd_qt MSYS2 mingw32 6 years ago
Jeff Becker ff5c26adf2
Merge remote-tracking branch 'purple/openssl' into fix-ntcp-threading-race 6 years ago
Jeff Becker 5361e11395
fix race 6 years ago
orignal b041bcdc65 publish updated LeaseSet in destination's thread 6 years ago
orignal b7c350202d always create EdDSA RouterInfo 6 years ago
orignal b1a6c5ddf7 fixed build for gcc 4.7 6 years ago
orignal 182ffe4495 use croorect encryption type for tunnel build 6 years ago
orignal 066f8863fd pass zero padding parameter to ECEIS encryption 6 years ago
orignal e58aaa3f32 make sure tunnelID is non-zero 6 years ago
orignal 5a2b795440 fixed crash 6 years ago
Jeff Becker 7b4fc19fca
be concise 6 years ago
Jeff Becker 008a064764
revert 6 years ago
Jeff Becker 82a4630061
use correct function 6 years ago
Jeff Becker 2f7cfddfc4
Merge remote-tracking branch 'purple/openssl' into i2cp-session-reconfig 6 years ago
orignal c7accd4a5c
Merge pull request #1122 from majestrate/ntcp-threadpool
NTCP threadpool
6 years ago
Jeff Becker b469080cd7
make ntcp worker threads configurable in number 6 years ago
Jeff Becker 547a0057e6
whitespace cleanup 6 years ago
Jeff Becker b980ca4a9e
whitespace cleanup 6 years ago
Jeff Becker 098b2e968e
whitespace cleanup 6 years ago
Jeff Becker cd59ca8376
whitespace cleanup 6 years ago
Jeff Becker f2e6fad104
make it work 6 years ago
Jeff Becker 8d7fde0287
more 6 years ago
Jeff Becker 91fdb038d9
add threadpool for ntcp dh 6 years ago
Jeff b64878f4fa use std::move 6 years ago
Jeff a5cc2f3b5d define bit_* if not already defined 6 years ago
Jeff 9c93d6f931 Revert "define cpu_* if not set"
This reverts commit a077d7671f.
6 years ago
Jeff a077d7671f define cpu_* if not set 6 years ago
orignal 30fb0f5a94
Merge pull request #1116 from majestrate/netbsd
NetBSD support
6 years ago
Jeff Becker b02464990b
work around netbsd quarkyness 6 years ago
Jeff Becker 4988a32d33
make endian work with netbsd 6 years ago
orignal b3e5874631 fixed android build error 6 years ago
orignal f5349dcef9
Merge pull request #1115 from majestrate/aesni-avx-runtime-detect
AESNI/AVX runtime detection [WIP]
6 years ago
Jeff Becker a618a01b1e
don 6 years ago
Jeff Becker 7e60069968
add uncommitted files 6 years ago
Jeff Becker 91e45d9a4a
initial code for runtime detection of aesni/avx 6 years ago
orignal b7596b7f70
Merge pull request #1112 from majestrate/dns-rebind
mitigate dns rebinding in webui
6 years ago
Jeff Becker 0309b574e8
mitigate dns rebinding in webui 6 years ago
orignal f2a14047eb
Merge pull request #1108 from majestrate/fix-issue-1107
Fix issue 1107
6 years ago