Commit Graph
8582 Commits
Author SHA1 Message Date
Houkime 00c23cba38 Update deprecated openssl functions and remove warning suppression
see https://docs.openssl.org/3.0/man7/migration_guide/
2025-07-14 08:43:28 +00:00
orignal 2e167fe334 pass std::string_view to HKDF 2025-07-09 13:21:04 -04:00
orignal ccb466646f don't create PQ signature if not supported 2025-07-08 14:32:37 -04:00
orignal 99e4bda685 pass actual string size to Process* methods 2025-07-08 13:18:54 -04:00
orignal 181edce55a pass buffer as std::string_stream 2025-07-06 18:47:52 -04:00
orignal 1862f28a98 extract params from std::string_view 2025-07-06 16:45:47 -04:00
orignal 88375bf9c0 fixed build for older gcc 2025-07-05 21:41:35 -04:00
orignal 59d1695ee5 use std::string_view to extract params 2025-07-05 21:06:49 -04:00
orignal 1a6051e79b don't verify signature of Datagram1 if comes from ECIESx25519 session 2025-07-03 20:40:39 -04:00
orignal a5631bd1b5 send Datagram3 2025-06-30 15:57:17 -04:00
orignal f230c110aa send actual version in SetDate 2025-06-30 15:49:42 -04:00
orignal 0445a5d775 send actual version in SetDate 2025-06-30 15:47:19 -04:00
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
r4sas 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:

https://github.com/PurpleI2P/i2pd/commit/93cc810f2987cc90b7a4f8699655af43b36c6c23
https://github.com/PurpleI2P/i2pd/commit/bbf5c1655a5f331b36cc7e16ad0bba86bb36eed4

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