1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-09-13 16:01:50 +00:00

8570 Commits

Author SHA1 Message Date
orignal
31b6f07b78 set ECIESx25519 session's destination from LeaseSet 2025-06-26 18:01:03 -04:00
orignal
8c89c8368a handle Datagram3 2025-06-24 22:06:36 -04:00
orignal
40b90ccea4 recognize and verify datagram3 2025-06-24 18:00:02 -04:00
orignal
75dd0d72c6 skip transient signature verification if verified through ECIESx25519 session 2025-06-23 21:53:44 -04:00
orignal
9efdc230a9 don't check destination if first packet comes from ECIESx25519 session 2025-06-21 22:07:59 -04:00
orignal
6b519c36c5 increased number of floodfills threshold 2025-06-20 13:34:20 -04:00
orignal
a6bf6baf1b don't verify signature for SYN-ACK if comes from ECIESx25519 session 2025-06-19 18:32:43 -04:00
orignal
78357c23d2 don't verify signature in incoming SYN packet if came from ECIESx25519 session. Compare static key instead 2025-06-18 20:39:48 -04:00
orignal
5f0262ea2f use EVP_Digest_ insted deprecated SHA512_ functions 2025-06-18 13:19:49 -04:00
orignal
61588777be
set default transit tunnels limit to 10000 2025-06-15 08:06:34 -04:00
orignal
588108d7d0 use EVP_RSA_gen if openssl 3 2025-06-13 12:48:25 -04:00
orignal
06c9a255fb use EVP_DigestSign/EVP_DigestVerify for family signatures 2025-06-12 18:58:37 -04:00
orignal
bb2b34ff4f check more precise result of EVP_DigestVerify 2025-06-12 16:05:17 -04:00
orignal
5974d2b5ac use EVP_DigestVerify/EVP_DigestSign for ECDSA and DSA signatures if openssl 3 2025-06-12 13:35:47 -04:00
orignal
5bef987529 stop suporting openssl below 1.1.1 2025-06-12 11:22:39 -04:00
orignal
d2296f81ad use EVP functions to extract RSA keys if openssl 3 2025-06-12 09:44:55 -04:00
orignal
660dbd27d1 use EVP interface for ECDSA signatures if openssl 3 2025-06-11 21:11:06 -04:00
orignal
4828d93257 implemented ssu2.firewalled4 and ssu2.firewalled6 params 2025-06-09 16:05:56 -04:00
orignal
46154dabd5 fixed warnings 2025-06-08 07:19:03 -04:00
orignal
ba0352e9a0 check for compatibility of LeaseSet encryption keys with local destination's encryption type 2025-06-07 20:52:35 -04:00
orignal
9c393f50da drop crypto types higher than ours 2025-06-07 12:06:47 -04:00
orignal
6363c9202f drop crypto types higher than ours 2025-06-07 11:28:21 -04:00
9c0051e73b
[rpm] fix build on centos 10, drop 7th support
Signed-off-by: r4sas <r4sas@i2pmail.org>
2025-06-04 15:50:30 +03:00
orignal
cbb5250dd4 don't schedule resend timer while choked 2025-06-03 18:46:22 -04:00
orignal
6ad6a2501e fixed incorrect limit in strsplit 2025-06-03 07:58:31 -04:00
orignal
2631255b46 enable post quantum back 2025-06-03 07:57:08 -04:00
orignal
db67126581
Merge pull request #2195 from dbermond/fix-test-base-64
tests: fix test-base-64
2025-06-03 06:11:54 -04:00
Daniel Bermond
37fd4b4422
tests: fix test-base-64
test-base-64 was not updated after the following commits:

93cc810f29
bbf5c1655a

This leads to errors like:

In file included from /usr/include/c++/15.1.1/cassert:46,
                 from /build/i2pd/src/i2pd-2.57.0/tests/test-base-64.cpp:1:
/build/i2pd/src/i2pd-2.57.0/tests/test-base-64.cpp: In function ‘int main()’:
/build/i2pd/src/i2pd-2.57.0/tests/test-base-64.cpp:14:28: error: too many arguments to function ‘std::string i2p::data::ByteStreamToBase64(const uint8_t*, size_t)’
   14 |   assert(ByteStreamToBase64(NULL, 0, NULL, 0) == 0);
      |          ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~

and:

In file included from /build/i2pd/src/i2pd-2.57.0/tests/test-base-64.cpp:4:
/build/i2pd/src/i2pd-2.57.0/build/../libi2pd/Base.h:21:21: note: declared here
   21 |         std::string ByteStreamToBase64 (const uint8_t * InBuffer, size_t InCount);
      |                     ^~~~~~~~~~~~~~~~~~
/build/i2pd/src/i2pd-2.57.0/tests/test-base-64.cpp:14:47: error: no match for ‘operator==’ (operand types are ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} and ‘int’)
   14 |   assert(ByteStreamToBase64(NULL, 0, NULL, 0) == 0);
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~
      |                            |                     |
      |                            |                     int
      |                            std::string {aka std::__cxx11::basic_string<char>}

among others.
2025-06-02 23:28:51 -03:00
orignal
56bd94a1cb 2.57.0 2.57.0 2025-06-01 08:41:20 -04:00
orignal
021431d97a disable post-quantum for release 2025-06-01 08:40:44 -04:00
orignal
e6b742a172
Merge pull request #2192 from nobs2p/openssl
Add settunneltype parameter to BOB API to configure proxy tunnel type
2025-05-29 06:23:49 -04:00
nobs2p
1b068618ba
Add settunneltype parameter to BOB API for i2pd to configure proxy tunnel type
This update introduces the settunneltype <socks|httpproxy> command to the BOB API, allowing users to specify the tunnel type as either SOCKS or HTTP proxy. When the tunnel type is set, the corresponding proxy service is automatically started. This enhances flexibility in tunnel configuration through the BOB interface.

Signed-off-by: nobs2p <nobs2p@i2pmail.org>
2025-05-29 12:35:10 +03:00
orignal
7ec0c98036 fixed newkeys crash 2025-05-28 06:39:39 -04:00
orignal
9573b21c08 changed log level frm warning to info for some messages 2025-05-26 17:35:59 -04:00
orignal
35ba14d06a increase message expiration timeout in SSU2 2025-05-25 18:23:22 -04:00
orignal
606881898b fill phony record for inbound tunnel with x25519 public key 2025-05-25 14:49:58 -04:00
orignal
4c6be3b85a disable loss-control 2025-05-23 21:26:44 -04:00
orignal
f93b354c36
Merge pull request #2191 from nobs2p/fix_SAM_FORWARD
Fix FORWARD session host handling in SAM and refactor SAMSocket::ProcessStreamForward
2025-05-22 19:54:58 -04:00
nobs2p
d440b5bf09
Fix FORWARD session host handling in SAM; refactor SAMSocket::ProcessStreamForward
- Fixed validation of HOST and PORT parameters for FORWARD sessions:
  - Improved IP address parsing with fallback to 127.0.0.1 if invalid
- Added checks for required parameters (ID, HOST, PORT)
- General cleanup and refactoring for improved readability and stability

Signed-off-by: nobs2p <nobs2p@i2pmail.org>
2025-05-20 00:07:56 +03:00
aab8296619
[i18n] add Hebrew and Hindi translations, add rtl support (testing)
Signed-off-by: r4sas <r4sas@i2pmail.org>
2025-05-18 02:20:31 +03:00
orignal
246bc43dea read more data from socket if available and stream buffer is not full 2025-05-07 18:54:55 -04:00
orignal
209eb174c6 fixed choked stream hanging 2025-05-04 18:59:21 -04:00
orignal
0d278d2ae5 probing resistance 2025-05-03 13:09:06 -04:00
orignal
aece5bb16c don't exceed stream max send buffer size 2025-05-03 08:47:49 -04:00
orignal
539cd5a656 max i2p stream buffer size 2025-05-02 13:36:59 -04:00
orignal
0cbada2196 correct receive buffer size 2025-05-02 13:23:53 -04:00
orignal
855e111bd0 fixed private key size and publishing for crypto type 1 2025-05-02 08:32:20 -04:00
orignal
d9f64c6f51 connection max stream buffer size 2025-05-01 18:09:39 -04:00
orignal
b03ec650ef keep receving new data from socket while previous is being sent to stream 2025-04-29 12:56:35 -04:00
orignal
fdbf4366eb remove reseed.memcpy.io 2025-04-28 20:41:36 -04:00