Commit Graph

7665 Commits (b4484c8e8f7615b6beeab872515c3f9ff1dc3bc9)
 

Author SHA1 Message Date
R4SAS b4484c8e8f
[gha] msvc: switch back to boost 1.81.0 8 months ago
orignal 1e5604ed43 check if peer is connected before trying to connect 8 months ago
orignal 39e378a03d check received data size 8 months ago
orignal 7cfcb12c7b don't create peer for unreachable router 8 months ago
orignal 49f4dc53ad try next floodfill for router request on demand 8 months ago
orignal 4afdca090d support multiple RouterInfo request callbacks 8 months ago
orignal d8f6c4a93d correct encryption and path for follow on lookup request 8 months ago
orignal d724948d03
Merge pull request #2007 from Vort/reservedrange2
handle 'reservedrange' param properly
8 months ago
Vort 34d75b08dd handle 'reservedrange' param properly 8 months ago
orignal ca9782dd0d handle 'reservedrange' param properly 8 months ago
orignal 2ad26dd4c9 fixed race condition in ECIESx25519 tags table 8 months ago
orignal 828facab57
Merge pull request #2003 from rex4539/typos
Fix typos
8 months ago
orignal cd087568b5 reply with CANT_REACH_PEER if connect to outselves 8 months ago
R4SAS dfe8b25e5e
[gha] MSVC: remove deletion of installation files 8 months ago
R4SAS 1e9bcd6b8b
[gha] MSVC: Switch to direct Boost and OpenSSL installation 8 months ago
orignal 8bc58daa5a fixed #2004. Check supported crypto 8 months ago
orignal 3b97feb89f 2.50.2 9 months ago
orignal a8135b8d18 2.50.2 9 months ago
orignal 5cf1961fa4 drop updated routers from future 9 months ago
Dimitris Apostolou 577c71b930
Fix typos 9 months ago
orignal c5cab05a6b reset peding time offset if correct time was received 9 months ago
orignal b855c71891 don't adjust clock if time offsets are too different 9 months ago
orignal 21f41a2b2a correct time offset direction 9 months ago
orignal 8319dd6b25 drop exploratory and leaseset lookups for non-floodfill router 9 months ago
orignal d4c47d90cb adjust time offset after second time discrepancy 9 months ago
orignal 302af823a3 fixed race condition with openssl 3.2.0 9 months ago
r4sas 69ee6112b3
[changelog] fix version
Signed-off-by: r4sas <r4sas@i2pmail.org>
9 months ago
r4sas 816a58f292
2.50.1
Signed-off-by: r4sas <r4sas@i2pmail.org>
9 months ago
orignal 43e130ee34 reinitialize context before each Sign/Verify call to make it working with openssl 3.2 9 months ago
orignal 8ffc1486a4 test-eddsa added 9 months ago
orignal 0e98dd5c70 use fallback EdDSA implementation with openssl 3.2.0 due to regression in EVP_DigestSign (#23075) 9 months ago
r4sas beffdb9fe1
[apparmor] add profile for docker container
Author: corona@mail.i2p

Signed-off-by: r4sas <r4sas@i2pmail.org>
9 months ago
r4sas 05eda2bc9e
[gha] build docker containers only on specific paths changes
Signed-off-by: r4sas <r4sas@i2pmail.org>
9 months ago
r4sas c3429bb1a9
[gha] return freebsd build back
Signed-off-by: r4sas <r4sas@i2pmail.org>
9 months ago
r4sas 53c6b10177
[make] get the mistakenly deleted pthread back
Signed-off-by: r4sas <r4sas@i2pmail.org>
9 months ago
r4sas c2d7133174
[make] fix windows msys2 build
Signed-off-by: r4sas <r4sas@i2pmail.org>
9 months ago
orignal 9b82265cd8 2.50.0 9 months ago
orignal c802c2deb0 update yggdrasil ressed address 10 months ago
orignal c215f2e8d1 check router for null pointer 10 months ago
orignal d327533b56 close unclaimed acceptors after 3 seconds 10 months ago
orignal 94255ebaf4 STREAM ACCEPT queue 10 months ago
orignal 21259204b1 eliminate send buffer mutex completely 10 months ago
orignal 8d6eb5b6b2 don't lock mutex in AsyncSend 10 months ago
orignal 9632e7ba03 exclude NAT64 ipv6 addresses 10 months ago
Dimitris Apostolou 1a02819187 Remove deprecated bind_at_load from macOS 10 months ago
Fabrice Fontaine 6b33250c59 build/CMakeLists.txt: enable C language
Detection of libatomic is broken since version 2.47.0 and
b7f0d87daf
because C language is not enabled anymore:

-- Looking for __atomic_fetch_add_4 in atomic
-- Looking for __atomic_fetch_add_4 in atomic - not found
CMake Error at cmake_modules/CheckAtomic.cmake:59 (message):
  Host compiler appears to require libatomic, but cannot find it.
Call Stack (most recent call first):
  CMakeLists.txt:54 (include)

Indeed if C language is not enabled, the test will be run with the C++
compiler resulting in the following error:

Building CXX object CMakeFiles/cmTC_03d01.dir/CheckFunctionExists.cxx.o
        /home/fabrice/buildroot/output/host/bin/x86_64-linux-g++ --sysroot=/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=__atomic_fetch_add_4  -DNDEBUG -o CMakeFiles/cmTC_03d01.dir/CheckFunctionExists.cxx.o -c /home/fabrice/buildroot/output/build/i2pd-2.49.0/build/CMakeFiles/CMakeScratch/TryCompile-NApnv9/CheckFunctionExists.cxx
        <command-line>: error: new declaration ‘char __atomic_fetch_add_4()’ ambiguates built-in declaration ‘unsigned int __atomic_fetch_add_4(volatile void*, unsigned int, int)’ [-fpermissive]

whereas with a C compiler, we'll get:

Building C object CMakeFiles/cmTC_7e47b.dir/CheckFunctionExists.c.o
        /home/fabrice/buildroot/output/host/bin/x86_64-linux-gcc --sysroot=/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot   -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O1 -g0 -D_FORTIFY_SOURCE=2 -DCHECK_FUNCTION_EXISTS=__atomic_fetch_add_4  -DNDEBUG -o CMakeFiles/cmTC_7e47b.dir/CheckFunctionExists.c.o -c /home/fabrice/buildroot/output/build/i2pd-2.49.0/build/CMakeFiles/CMakeScratch/TryCompile-e0zFMG/CheckFunctionExists.c
        <command-line>: warning: conflicting types for built-in function ‘__atomic_fetch_add_4’; expected ‘unsigned int(volatile void *, unsigned int,  int)’ [-Wbuiltin-declaration-mismatch]

Fix #1908

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
10 months ago
orignal 083034fa35 send peer tests with random delays 10 months ago
R4SAS 0021501d75
[gha] disable FreeBSD build
Additional info: https://github.com/vmactions/freebsd-vm/issues/74
11 months ago
R4SAS 379be2a29e
[gha] Update FreeBSD build action 11 months ago
orignal a3f62e1d71 check actual distance with router to reduce expiration time 11 months ago