Commit Graph

548 Commits (ad9c11cd9242272c1629bf494bae6bfe89902c78)

Author SHA1 Message Date
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
Jeff Becker 124a9cb030
correction 6 years ago
Jeff Becker 3ec000d0f8
fix issue #1107 6 years ago
Jeff Becker aac1141ca6
fix issue #1107 6 years ago
hagen 5225e1d7d1 * HTTP.cpp : use bare snprintf() instead locale-dependent strftime() 6 years ago
orignal e77037c2b8 fixed warning 6 years ago
R4SAS 4af0caa506 fix build on GCC 8.0.1
https://bugzilla.redhat.com/show_bug.cgi?id=1541688
7 years ago
orignal 0728991821
Merge pull request #1092 from majestrate/master
fix federoa rawhide build with gcc 8
7 years ago
Jeff Becker 21c35f770b
fix federoa rawhide build with gcc 8 7 years ago
yangfl 4f84d687e4 add endian detection for glibc 7 years ago
orignal 4901434209 2.18.0 7 years ago
orignal 8c2de4973c rollback 7 years ago
orignal e1527dc137 update LeaseSet if a tunnel was deleted 7 years ago
orignal 7db2e9dc4a don't verify signature twice 7 years ago
orignal b1c701085b don't verify signature twice 7 years ago
orignal e8d6c803cd
Merge pull request #1076 from majestrate/fix-streaming-race-2018-01-25
try streaming race condition fix
7 years ago
Jeff Becker f4a2dda94e
try streaming race condition fix 7 years ago
Jeff Becker 4a77a03033
* Add LeaseSetBufferValidate which checks lease validity and extracts timestamp
* check for leases with LeaseSetBufferValidate before update in floodfill code as to prevent malicous nodes removing good LS
7 years ago
Jeff Becker 3820b51960
Revert "check for valid LS before updating"
This reverts commit e070ce4e34.
7 years ago
Jeff Becker e070ce4e34
check for valid LS before updating 7 years ago
Jeff Becker 06020b8f54
re-enable packet pool 7 years ago
Jeff Becker b3b38015c2
check max buffer size in Stream::Send 7 years ago
Jeff Becker 43a751ee0b
Merge remote-tracking branch 'purple/openssl' into streaming_race_fix_2018_01_15 7 years ago
Jeff Becker 207212557e
fix sam race conditions 7 years ago
yangfl 50ba52756f fix mixing tabs and spaces 7 years ago
yangfl 46f62e1af9 remove trailing whitespaces 7 years ago
Jeff Becker 68b1afa2df
Merge remote-tracking branch 'purple/openssl' into i2cp-session-reconfig 7 years ago
orignal 34c98e03c1 Merge branch 'openssl' of https://github.com/PurpleI2P/i2pd into openssl 7 years ago
orignal 41e40bbc0d fixed typo 7 years ago
Jeff Becker 80149342f2
proper bounds check 7 years ago
Jeff Becker 1967dee50c
don't recreate tunnels of different size 7 years ago
Jeff Becker ab80def94b
use reference instead of copy 7 years ago
Jeff Becker 938d5d901a
implement i2cp session reconfigure 7 years ago
Jeff Becker 7b00d828b2
fix lambda capture, don't capture copy 7 years ago
Jeff Becker d5e9fc7677
fix race condition 7 years ago
orignal 6db7c5733d use outbound.nickname as tunnel name if inbound.nickname is not set 7 years ago
orignal b0f6d81f57
Merge pull request #1037 from PurpleI2P/openssl
recent changes
7 years ago
Kenan Sulayman 614101c4b8
Fix typo (confrimed -> confirmed) 7 years ago
Dmitry Marakasov 0f2d2156e6 Don't use deprecated boost::asio::ssl::context ctor
This was removed in boost 1.66, in prior versions the service
argument was not used
7 years ago
Dmitry Marakasov 511499d950 Reorder preprocessor conditions in libi2pd/I2PEndian.h
The problem is that __FreeBSD_kernel__ may be defined on FreeBSD as
well, while it always needs <sys/endian.h>
7 years ago
yangfl 18b6353803 fix typo 7 years ago
orignal 6636e432d7 2.17.0 7 years ago
orignal df18692af9 check I2NP messsage buffer size 7 years ago
orignal 272090fc8f don't accept streams from RSA detinations 7 years ago
orignal ab6bc52a0f don't create destination with RSA signature 7 years ago
orignal a5b1b24fee implement i2p.streaming.connectDelay option 7 years ago
Jeff Becker ffad1ecd6d
reduce buffer size 7 years ago
Jeff Becker e1b5803902
fix overflow 7 years ago
Jeff Becker 65db96e663
reseed proxy 7 years ago
orignal 5109d40d8e don't publish unknown crypto type to Java floodfill again 7 years ago
R4SAS 1ba1fa37f9
update travis-ci stuff (#1006)
* enable osx in travis config
* fix brew commands, change comiler
* disable clang build with make on linux
* update README
* tabulation fix in Crypto.cpp
7 years ago
R4SAS 7477d2c219 fix forgotten log colors 7 years ago
R4SAS a6fb3b602e add loglevel none (closing #998) 7 years ago