orignal
d04b19d77c
don't recalculate badwidth if clock was adjusted too much
12 months ago
orignal
04adc14b76
ls@mail.i2p yggdrasil reseed added
12 months ago
orignal
0cc91dd2d2
don't pick too active peer
12 months ago
orignal
606e35eec1
reseed.us.prestium.org reseed added
12 months ago
orignal
e926b0392f
reseed.is.prestium.org reseed added
1 year ago
orignal
efdbe26755
try peer test again if Unknown
1 year ago
hfsfox
0cf656cd76
Add Haiku OS support ( #1970 )
1 year ago
r4sas
fb420bb563
[cpu] more builtin version check changes
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
r4sas
3da5061426
[cpu] Increase GCC version for use of builtin CPU extensions checker
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
r4sas
1857f14be8
[cpu] use short defines instead of long checks
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
orignal
df6bb6d9b8
2.49.0
1 year ago
orignal
918aa556ef
fixed non-x86 build
1 year ago
r4sas
4ed19c05f6
[cpu] split AES detect for GNU C < 5
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
r4sas
4a5e16b994
[cpu] tests with preprocessor
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
r4sas
c53ad2012c
[cpu] use cpuid on gcc < 5
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
R4SAS
7b6aa41ca8
CPU: remove AVX code, switch to __builtin for AES detection ( #1959 )
...
* [cpu] remove avx detect and code blocks, try to switch to __builtin
* [cpu] use __builtin_* only on x86 systems
* [cpu] perform check in separate function
* [cpu] set AES definition on MSVC
* update x86 and aes support checks at compile time
* [cmake] update comment about AES on MSVC
1 year ago
orignal
c112276eea
memory poll for RouterProfile
1 year ago
Chad Fraleigh
662a59d0fd
Eliminate additional undefined behavior of bit shifting signed int.
1 year ago
Chad Fraleigh
627b8dca83
Fixed buf offset EVP_EncryptFinal_ex() to include outlen.
1 year ago
orignal
7bcc905f05
exclude SSU1 introducers
1 year ago
orignal
8447822c35
don't publish intrducers with zero tag
1 year ago
Vort
9bac680f2a
improve transport session logging
1 year ago
orignal
38795a41cb
don't publish introducers with zero iTag
1 year ago
Vort
68f4961f1a
separate test status from network status
1 year ago
orignal
ae5239de43
remove introducer from RouterInfo after 60 minutes
1 year ago
orignal
2064504cce
fixed send keepalive for existing session
1 year ago
orignal
4aa631c33f
clear implied list if no more introducers found
1 year ago
orignal
d6834d6a9a
keep non-published, but not-expired introducers in the introducers list
1 year ago
orignal
413e25f20e
don't pick too old session for introducer
1 year ago
orignal
b8e19bf5f1
reduced peer test interval and added peer test interval variance
1 year ago
orignal
c7efd465fa
padding for path response
1 year ago
orignal
6e9a3422e9
correct min size for keepalive
1 year ago
Vort
f13cc0b862
allow 0 hops with explicitPeers
1 year ago
orignal
0754255c1f
drop incoming session from too old or from future routers
1 year ago
orignal
902899ae24
don't pick completely unreachable peers
1 year ago
orignal
c620fc1232
clear unreachable flag upon succesive connect
1 year ago
orignal
e7157cf15e
don't create paired inbound tunnel if length is different
1 year ago
orignal
8e63f8f333
consider all addresses non published for U and H routers
1 year ago
Vort
ea7cf1cf69
fix termination block processing and size check
1 year ago
orignal
17c4038c60
select router with ipv4 for endpoint
1 year ago
orignal
5022a9c610
Merge pull request #1948 from chadf/fuzzing-5
...
Use offset from Identity::signingKey instead of Identity::certificate for key.
1 year ago
orignal
ca8ec6286a
Merge pull request #1947 from chadf/fuzzing-4
...
Eliminate undefined behavior of bit shifting signed int.
1 year ago
orignal
5142459e12
Merge pull request #1945 from chadf/fuzzing-2
...
Fixed division by zero due to thread race condition.
1 year ago
Chad Fraleigh
c4be5f7fdb
Use offset from Identity::signingKey instead of Identity::certificate for key.
1 year ago
Chad Fraleigh
47dc5591b9
Eliminate undefined behavior of bit shifting signed int.
1 year ago
Chad Fraleigh
2bb48b4546
Fixed crash when Base64ToByteStream() is only given '=' characters.
1 year ago
Chad Fraleigh
638e9b4d7f
Fixed division by zero due to thread race condition.
1 year ago
orignal
13f263b791
correct transport comptibility for OBEP in second attempt
1 year ago
r4sas
03cc6e0524
use uint16_t for ports
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
orignal
52b2d6c393
2.48.0
1 year ago
orignal
bb52056aec
correct index for connected transport
1 year ago
r4sas
09f233dbfb
NetDB: ignore LeaseSet store request if not floodfill
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
r4sas
dfe5df29e1
suppress build warnings on windows
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
orignal
86173400d5
don't drop profile of real router too early
1 year ago
r4sas
ae439b5385
SSU2: check if socket is opened before sending data, handle network_reset error
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
r4sas
fdf38f45d9
more debug messages at destinations stop
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
orignal
c984f89dfb
don't handle unecnrypted DatabaseSearchReply msg if came throug client tunnel
1 year ago
weko
d44be2fd73
fix typo
1 year ago
weko
a158647153
refactor TBM hadling
1 year ago
orignal
623c3f4605
check for max number of records in tunnel build and tunnel build reply messages
1 year ago
orignal
8a52295882
make router real upon successive outgoing NTCP2 session. Eliminate static keys table
1 year ago
orignal
f2bc2598dc
Merge pull request #1925 from wekoq/openssl
...
Do not save useless peer profiles
1 year ago
weko
1d8a91c5cc
redo no save useless profiles
1 year ago
orignal
3bc56ba423
store 'connected' in 'usage' section
1 year ago
orignal
e068a3cf22
store 'connected' in 'usage' section
1 year ago
weko
2e2cbe7803
save profile if has connected
1 year ago
weko
1c1452e06b
Merge branch 'openssl' of https://github.com/PurpleI2P/i2pd into openssl
1 year ago
orignal
c757b6d020
reset floodfill cap for unknown floodfills
1 year ago
weko
8fcab7b0c1
fix incorrect merge conflict resolve
1 year ago
weko
7646147ed2
save only non-default peer profile
1 year ago
orignal
b6de474fda
don't include unconfirmed floodfill to the list if we have enough floodfills already
1 year ago
orignal
2f74e670a5
invalidate routers with incorrect family signature
1 year ago
orignal
c1168c2aa0
don't catch RouterInfo at OBEP
1 year ago
orignal
1bd6390f78
check if s is x25519 public key
1 year ago
orignal
a9e9e14c42
Merge pull request #1921 from contextswap/openssl
...
limit aes-ni assembly to x86
1 year ago
SidorKozlov
3b13a3f2a1
Configurable minimum successful tunnels
1 year ago
orignal
4ce2ef1d83
make router unreachable if AEAD fails in SessionCreated
1 year ago
contextswap
12d0abda55
[
...
Signed-off-by: contextswap <ctxswp@proton.me>
1 year ago
contextswap
7418f11651
limit aesni inline asm to x86
...
Signed-off-by: contextswap <ctxswp@proton.me>
1 year ago
weko
dab34e9051
get indent hash directly
1 year ago
weko
ec2297ed9d
Recognize invalid static key
1 year ago
orignal
7c535159bc
static keys table
1 year ago
orignal
2af4a2b58d
override reply token only if non-zero
1 year ago
orignal
ead6a6dca3
correct parsing of caught RouterInfo at IBGW and OBEP
1 year ago
orignal
76adac31c3
enrcrypt lookup if being sent through a tunnel
1 year ago
r4sas
edfcd23b01
[webconsole] added a button to prematurely release a leaseset
...
Signed-off-by: r4sas <r4sas@i2pmail.org>
1 year ago
orignal
f21e1c75d5
check tagset for null
1 year ago
orignal
786c27c8ec
publish encrypted RouterInfo
1 year ago
orignal
c34df2090c
don't reply to DatabaseStore messages extracted from transit
1 year ago
orignal
5769a41208
use unordered_map for LeaseSets
1 year ago
orignal
dc265367dc
drop unexpected I2NP messages
1 year ago
orignal
c22fc75370
set router properties from incoming connections
1 year ago
orignal
6206616347
don't set unreachable twice
1 year ago
orignal
b77ae08388
exclude previously non-reachable transports
1 year ago
orignal
527ee3b3c5
check if ident is unrechable only once
1 year ago
orignal
cd5bfaabb5
mark and check unreachable ident hashes
1 year ago
orignal
e20acb93cf
don't lookup streaming destination for each message
1 year ago
orignal
132557f941
don't return default destination if port is specified explicitly
1 year ago
orignal
4ebc7c970a
bypass medium congestion(D) routers for client tunnels
1 year ago
orignal
572694b141
check routers' congestion before recreating a tunnel
2 years ago
orignal
c1f19cb258
fixed typo
2 years ago
orignal
caff003a85
check for published ipv4 addresses for floodfills and IBGW
2 years ago
orignal
d580c0155a
fixed typo
2 years ago
orignal
9475a22728
update introducers. cleanup unreachable routers
2 years ago
orignal
e3fb9d8483
fixed warning
2 years ago
orignal
220ef283de
rename SendTunnelDataMsg to SendTunnelDataMsgTo for router tunnel delivery types
2 years ago
orignal
8178df752b
fixed warning
2 years ago
orignal
922e5915b1
rename SendTunnelDataMsg to SendTunnelDataMsgs for multiple messages
2 years ago
orignal
dc6499aa98
fixed warnings
2 years ago
orignal
0c8a80b6f8
fixed warnings
2 years ago
orignal
b8032e7fbf
publish congestion cap G
2 years ago
weko
a3bdc4ddc1
change some log levels back
2 years ago
weko
2abc997af8
change some log levels back
2 years ago
weko
710a35993d
change some log level to error back
2 years ago
weko
354a04f0f6
Up level for some logs to critical
2 years ago
weko
a80aeb6715
add critical log level
2 years ago
orignal
cd1af85e39
bypass slow transport sessions
2 years ago
orignal
60e648bf9a
set cap 6 for unspecified ipv6 address
2 years ago
orignal
c45e31b1b2
validate new router
2 years ago
orignal
6d204b4d7b
shorter streaming I2NP data messages
2 years ago
Dimitris Apostolou
d91d734b5c
Fix typos
2 years ago
orignal
5fee6df87a
handle reset in reposnse to SYN
2 years ago
orignal
644d65054d
create smaller I2NP packets
2 years ago
orignal
f41563a700
check packet number for SessionConfirmed
2 years ago
orignal
32b54fa1f8
handle i2p.streaming.answerPings properly
2 years ago
orignal
084663d6ea
mediam size I2NP messages
2 years ago
orignal
55b2f2c625
memory pool for IdentityEx
2 years ago
orignal
5ad9c8e740
create I2NP tunnel message for first fragment
2 years ago
R4SAS
e96f0bfb14
[msvc] fix warnings, revert cmake boost libs linking list
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal
a6bd8275ca
2.47.0
2 years ago
orignal
6f01ebc0a5
check target destination
2 years ago
orignal
98f06e3ba1
Merge pull request #1889 from polistern/feat/sam-udp-port
...
Added SAM UDP port parameter
2 years ago
R4SAS
7b35c793f3
[reseed] support domains in yggdrasil reseeder, fix IPv6 URL host parsing
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
R4SAS
58ef08310d
[reseed] skip records in reserved IP ranges, check Yggdrasil avalability if domain resolves in ygg address
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal
ec5c13a95e
add back i2p.novg.net with new certificate
2 years ago
orignal
0a564d153a
reseed update
2 years ago
orignal
46e4f4aea5
update RouterInfo if congestion cap changed
2 years ago
orignal
6d7f20961f
Merge pull request #1902 from Vort/pool_leak
...
Prevent leaking of ExploratoryPool
2 years ago
Vort
4b7fcdc719
Prevent leaking of ExploratoryPool
2 years ago
orignal
716926f0d7
publish high congestion cap
2 years ago
orignal
24a14e3440
moved max num transit tunnels to Tunnels
2 years ago
orignal
3154eda6a6
fixed typos
2 years ago
orignal
d50cf0ad83
recognize congestion caps
2 years ago
Vort
a4759694c8
Prevent out of bounds array access
2 years ago
Vort
6610af08c2
Correct processing of reseed.floodfill option
2 years ago
orignal
4db643aa8e
limited number of acked packets to 511
2 years ago
Vort
064c013a72
Remove unreachable reseed
2 years ago
Vort
9e0389df1b
Fix several warnings
2 years ago
orignal
1b921a2eac
removed some SSU1 code
2 years ago
Vort
64f0a545fd
Improve MSVC 2015 compatibility
2 years ago
Vort
34617bcb44
Code style unification across file
2 years ago
Vort
5f8820d9d6
Silence several compiler warnings
2 years ago
R4SAS
b7f0d87daf
GHA and Cmake changes ( #1888 )
...
Done with Vort's (https://github.com/Vort ) cooperation
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
polistern
3ff1adf597
feat: Added SAM UDP port parameter.
2 years ago
orignal
93d89a1fe0
fixed typo
2 years ago
orignal
3c9a574e90
create io_service after daemonization
2 years ago
orignal
de82b3ae19
don't publish non-reachable router
2 years ago
orignal
f84d88ac63
publish own RouterInfo in router's thread
2 years ago
orignal
2e62f9532f
separate thread for processing router's messages
2 years ago
orignal
d40cd00cdb
use DHT table for floodfills
2 years ago
Vort
95cc544c92
Check for null pointer before dereferencing it
2 years ago
orignal
8544283110
don't expire connected routers
2 years ago
orignal
abf687ff09
store RouterInfo in DHT
2 years ago
orignal
3adff82d4a
don't handle ack request for router
2 years ago
R4SAS
82ac0aa492
2.46.1
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal
b8a99878b6
don't create profile for every new non-floodfill
2 years ago
orignal
eaca435a5b
find multiple closest hashes
2 years ago
orignal
ce05cce331
validate LeaseSet if signature verification was not requested
2 years ago
orignal
e190dab7d6
fixed crash when shows leasesets
2 years ago
orignal
289c308600
set proper caps if host is unspecified
2 years ago
orignal
bff12b06f4
fixed race condition
2 years ago
orignal
b8590075e6
initial commit for Kademlia DHT
2 years ago
orignal
182a721674
2.46.0
2 years ago
orignal
fa286a6fb3
faster GetBit
2 years ago
orignal
02a36a9fa8
don't populate buffer of unreachable router
2 years ago
R4SAS
77142e59ee
[http] fix query detection, addresshelper processing, update tests
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
weko
76d39cc7c9
changed to tabs, move tor port to function
2 years ago
weko
9e0c5d67c7
Don't use reversed port for choise random port. (by whothefuckami)
2 years ago
orignal
03111ad0df
don't save profiles under mutex
2 years ago
orignal
abb81c353d
fixed race condition
2 years ago
orignal
1ad38c0b95
fixed typo
2 years ago
orignal
532a29b0c4
don't reply with unreachable router
2 years ago
orignal
4f3a416e37
send DateTime together with RouterInfo
2 years ago
orignal
4d0ad47491
GetBit for IdentHash
2 years ago
orignal
7b632bd03d
set minimal floodfill version to 0.9.51
2 years ago
orignal
c2faa5c614
don't try to save RouterInfo if no buffer
2 years ago
orignal
d15581d95e
delete invalid router after update
2 years ago
orignal
7bde4de1f5
don't try to save unreachable routers
2 years ago
orignal
88f19f551d
don't save RouterInfo buffer if invalid
2 years ago
orignal
d79bdc9f66
send datetime block after approximately every 250 packets
2 years ago
orignal
48a3c767e5
in-meory storage for router profiles
2 years ago
R4SAS
86fc12e395
[style] clean code
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
R4SAS
3c65012a63
[ssu2] close socket if it was opened on OpenSocket
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal
97b7ea0da5
create separate new ipv4 and ipv6 published addresses
2 years ago
orignal
1c4cc02c23
drop garlic message in garlic clove
2 years ago
orignal
ac94341203
disconnect established session if clock skew detected
2 years ago
orignal
234540f9e7
Merge pull request #1873 from Vort/ntp_desc
...
Fix description for nettime.enabled option
2 years ago
Vort
cb44a35fde
Fix description for nettime.enabled option
2 years ago
Vort
0829b186b7
Fix debug log output
2 years ago
orignal
993900aa77
terminate sessions if clock was adjusted backwards too much
2 years ago
orignal
aac9a8d18f
check if clock was adjusted backwards
2 years ago
orignal
2baaa8bb8f
fixed typo
2 years ago
orignal
f29ef2c057
don't compare first byte for yggdrasil addresses
2 years ago
orignal
d1c98c58b9
update status before deleting session
2 years ago
orignal
4930157e93
don't innsert back unreachable router
2 years ago
orignal
d30d1e8a7d
don't set unrechable for routers without published addresses
2 years ago
orignal
80a55c5b75
store unrechable in profile
2 years ago
orignal
3c02cade58
compare only first 8 bytes for temporary addreses
2 years ago
orignal
21123e2afa
compare published address and actual endpoint
2 years ago
orignal
f1415c2234
compare published address and actual endpoint
2 years ago
orignal
212a1156a1
filter our addresses with invalid hosts
2 years ago
orignal
54fb234424
limit number of acked packets to 510
2 years ago
orignal
5a6b50ae51
fixed typo
2 years ago
orignal
21542e8150
select first hop from high bandwidth peer for client tunnels
2 years ago
orignal
02e7f6b0c3
cleanup out of sequence packet nums in one call
2 years ago
orignal
f7101cc260
fixed warning
2 years ago
orignal
e9f0ed6473
cleanup out-of-sequnce list more aggressivly
2 years ago
orignal
4960587f46
cleanup out-of-sequnce list more aggressivly
2 years ago
orignal
bf8eecf407
more attempts to find good peer
2 years ago
weko
7df2ed6114
rename and refactor
2 years ago
weko
22b1066b0a
Add parameter for show TCSR with old algorithm and it's realization
2 years ago
orignal
fafdb0c590
drop too long or too short LeaseSet
2 years ago
R4SAS
3cee8bfcb2
Update tests and corresponding makefiles ( #1862 )
2 years ago
orignal
86dbfdb536
mutex for encrypted LeaseSet update
2 years ago
orignal
70fec2bc99
don't publish localhost addresses in RouterInfo
2 years ago
orignal
8a106eb09e
fixed test-http-req
2 years ago
orignal
ad5540c9f3
delete address if corresponding transport is disabled
2 years ago
orignal
e91d0bbec8
delete address if corresponding transport is disabled
2 years ago
orignal
8ee461f60a
enable all ipv4 adresses even if one is already enabled
2 years ago
orignal
4de6201b84
update RouuterInfo if NTCP2 or SSU2 keys were recreated
2 years ago
orignal
273aa31b1e
try another floodfill if it's incompatible with tunnels
2 years ago
R4SAS
b31f52e332
[http] keep query even if it was empty ( closes #1844 )
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal
4fae7b8d65
don't update local RouterInfo addresses in Load but in InitTransports only
2 years ago
orignal
5479ddd03c
publish NTCP2 addreses by index
2 years ago
orignal
1f23584c24
update all SSU2 addresses
2 years ago
orignal
067fb45a25
exclude router from tunnel build for 2.5 minutes if doesn't reply too often
2 years ago
orignal
d4426118c5
exclude router from tunnel build for 2.5 minutes if declined
2 years ago
orignal
cd6d86c8c3
make sure that async CreateStream complete
2 years ago
R4SAS
84d4e074ce
add loglevel checker, fix fields passing to translated string formatter
...
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal
e8be39af17
memrory pool for SSU2IncompleteMessage
2 years ago
orignal
bc888167a7
use linked list for out of sequence fragments
2 years ago
orignal
993dc72ce6
use separate pointer to second fragment of incomplete message
2 years ago
orignal
324ace103b
memoery pool for fragments
2 years ago
orignal
d530269e4f
try to insert received msgid instead lookup
2 years ago
orignal
f172f44f32
Merge pull request #1833 from TomasGlgg/feature
...
Использование скользящего среднего для рассчета tunnel creation success rate
2 years ago
orignal
f34abe60fa
2.45.1
2 years ago
orignal
a3c305032a
don't set Firewalled upon SessionCreated if ports mismatch
2 years ago
orignal
2921eaa055
differentiate symmetric and full cone NAT
2 years ago
orignal
1cc68ea402
differentiate symmetric and full cone NAT
2 years ago
orignal
c18e8f6c78
drop too long LeaseSet without processing
2 years ago