zzz
7a75ea4bef
NetDB: Store handler updates
...
Drop some unsolicited RI stores when over thresholds
Don't update profile for banned/blocked RI
Don't flood RIs with blocked IP
Log tweaks
2023-02-12 07:58:24 -05:00
zzz
78ee005870
Data: Move LS RAP/RAR booleans up to superclass
...
Add RAR to I2NP DSM
WIP
2023-02-11 09:47:40 -05:00
zzz
dbe3445d7b
Console: Fixup display of RI published in the future
...
String consolidation
2023-02-11 06:52:20 -05:00
zzz
cb90139342
NetDB: Increase flood thottle time
2023-02-11 06:34:04 -05:00
zzz
d6c6b5e092
NetDB: Expiration tweaks
...
Start expire job sooner if forced floodfill or downtime was short
Don't run refresh routers job if forced floodfill or downtime was short or vmcommsystem
Increase expire probability
Don't expire routers close to us just before midnight
Don't start expire leases job until 11 minutes after startup
Base probability out of 128 to reduce random usage
Consolidate now() calls
2023-02-11 06:02:57 -05:00
zzz
5d3dffbaa0
Util: Increase memory required to not be slow
2023-02-11 04:43:31 -05:00
zzz
21d39ebc36
i2psnark standalone: Add example config to disable notifications
2023-02-10 13:47:58 -05:00
zzz
1f81d35423
Router: Tighten skew calculation window
2023-02-10 12:42:36 -05:00
zzz
12239124d6
Profiles: Don't delete old profiles from disk until 90m uptime
2023-02-09 16:27:38 -05:00
zzz
71a1d6dd7b
NetDB: Don't lookup before dropping after shutdown initiated
2023-02-09 14:38:21 -05:00
zzz
4881ac32b6
DTG: Support notification disable/enable in non-router context
...
by moving all the code from InternalTrayManager to TrayManager
and adding to the ExternalTrayManager menu
As requested by R4SAS
2023-02-09 14:09:10 -05:00
zzz
d3e5879068
NetDB: Improve efficiency of ExpireRoutersJob
...
by iterating through the map entries directly, as in ExpireLeasesJob
Expire RIs just before saving them at shutdown
2023-02-09 13:19:00 -05:00
zzz
e4e9fe2972
i2ptunnel: Tag untagged strings (Gitlab #387 )
2023-02-09 11:42:48 -05:00
zzz
56ab3b59a2
bump -7
2023-02-08 09:46:38 -05:00
zzz
bc7355d61e
Console: Debug page sockets table cleanup
2023-02-08 09:43:42 -05:00
zzz
7834f44973
NetDB: Minor cleanups and log tweaks
2023-02-08 09:36:32 -05:00
zzz
621862afa9
NetDB: Replace Set with List in ExpireLeasesJob for efficiency
2023-02-08 09:25:42 -05:00
zzz
af99250a69
NetDB: Further restrict what RIs we lookup before dropping
...
if floodfill, unreachable, or L class
Only kicks in if we don't have a lot of RIs to begin with
2023-02-08 09:20:10 -05:00
zzz
0bce9d1211
Profiles: Reduce initial/min/max expirations
...
Adjust expiration faster
Use more efficient RI lookup method
2023-02-08 09:10:27 -05:00
zzz
8b7f68e6f9
NTCP: Route RI block of another router to InNetMessagePool
2023-02-08 09:05:29 -05:00
zzz
6ac08e0929
Tunnels: Load RIs more efficiently in peer selector
2023-02-08 08:58:22 -05:00
zzz
b87fd621b1
NetDB: Implement faster RI expiration mode
...
exempt routers within our keyspace if we are floodfill
2023-02-08 08:52:12 -05:00
zzz
c94bfe6cd0
NTCP: Increase temp. inbound IP block time
...
Block IP on failed inbound
Ban peers that ban us
2023-02-08 08:32:06 -05:00
zzz
c08d6b3a18
log tweak
2023-02-08 08:27:20 -05:00
zzz
9e2bb1ad0a
Transports: Check RI in handshake for matching IP
2023-02-08 08:25:09 -05:00
zzz
10e0596011
NetDB: Reduce min RI expiration
2023-02-08 08:19:34 -05:00
zzz
6216081259
NetDB: Increase closest-floodfill search size
...
Reduce max fail rate
Lookup RIs more efficiently
2023-02-08 08:10:46 -05:00
zzz
981946c950
NetDB: Don't explore if we have enough RIs
2023-02-08 08:05:30 -05:00
zzz
84e70ba013
Console: Load router infos more efficiently
...
Add routing key to router infos (advanced)
2023-02-08 07:52:22 -05:00
zzz
8ff421143f
NetDB: Set max routers to load at startup
2023-02-08 07:40:18 -05:00
zzz
22b5cdf57a
Console: Debug DHT tab dark theme fixup
2023-02-08 07:37:31 -05:00
zzz
cc58c96e98
Console: Fixup netdb search example
2023-02-08 07:36:30 -05:00
zzz
3816278a5e
Router: Don't set congestion cap at startup because of high job lag
2023-02-08 07:32:56 -05:00
zzz
338985a4cc
Sybil: Thread analyzer at reduced priority
...
Don't do pair distance check unless enough memory
2023-02-08 07:28:46 -05:00
zzz
c6fca9da6a
bump -6
2023-02-04 09:26:32 -05:00
zzz
bdbbe148c3
Profiles: Make DBHistory rates final
2023-02-04 08:58:46 -05:00
zzz
f2b206b1e0
Router: Continue work on congestion caps (proposal 162)
...
Set caps based on job lag and share bandwidth
Add 20 minute rate to tunnel.participatingMessageCountAvgPerTunnel to
be used for congestion caps
Don't set congestion cap if hidden
2023-02-04 08:57:10 -05:00
zzz
c1f83d6ec9
Router: Stat cleanup
...
Remove old non-required client.timeoutCongestion* stats in OCMOSJ.
Remove RouterThrottle.getInboundRateDelta(), used only for those stats.
Remove transport.sendMessageSize rates longer than 60s, used only for getInboundRateDelta().
Remove transport.receiveMessageSize rates longer than 60s, unused anywhere.
Remove transport.sendProcessingTime rates longer than 60s, unused anywhere.
getInboundRateDelta() was broken anyway as it was looking at send, not receive size.
All of this was untouched since 2004.
9 total rates for required stats removed.
2023-02-04 08:49:40 -05:00
zzz
c53fe93839
i2psnark: Fix missing paren in tooltip
...
ref: http://zzz.i2p/topics/3577
2023-02-03 07:37:15 -05:00
zzz
190acf7ed2
i2psnark: Fix for torrents with # in the name
...
By using custom version of storeProps()/loadprops()
for torrent config files
ref: http://zzz.i2p/topics/3576
2023-02-03 07:32:52 -05:00
zzz
3d71a5404b
Util: Fix check for illegal chars in storeProps()
...
ref: http://zzz.i2p/topics/3576
2023-02-03 07:28:42 -05:00
zzz
37beb53245
Profiles: Remove 30m tunnel history rates
...
to save a large amount of space.
30m rates were almost always within 10% of the 60m rates,
so we clearly don't need both.
Keep 60m because that's what we publish in the netdb.
Adjust rate weighting in CapacityCalculator accordingly.
2023-02-01 17:10:04 -05:00
zzz
019a8b6655
Profiles: Count all build rejections in tunnel history
...
Previously did not count probabalistic or transient codes
Reduce 10 minute acceptance rate for these codes
(previously adjusted the averaged rate)
Make rates final in TunnelHistory
Static rates array to reduce object churn
Prep for removing 30m rates
Reduce now() calls, pull out of loops
2023-02-01 16:23:45 -05:00
zzz
652da9ebd5
Console: Dark theme home page CSS tweaks
2023-02-01 16:01:25 -05:00
zzz
99703d53ba
Ratchet: Don't bundle LS with ratchet ACK
...
Not necessary, and will be the wrong LS for EdDSA subsession
2023-02-01 08:47:58 -05:00
zzz
de7b8db504
Console: Don't list same client SKM twice on /debug for subsessions
2023-02-01 08:01:35 -05:00
zzz
1e28557ce2
cleanup buf.append(s.substring(a, b)) -> buf.append(s, a, b)
...
all over, for object churn
2023-01-31 07:31:02 -05:00
zzz
07a796bcf6
typo
2023-01-30 14:50:40 -05:00
zzz
665e63da5b
Util: Add experimental config to bypass Fortuna and just use /dev/random
...
Refactor Fortuna so it may be extended
Reduce default buf size for Android
2023-01-30 14:04:50 -05:00
zzz
4ef4ae4df5
Streaming: Refactor sig checking
...
Save sig OK status in Packet
Fix spot where byte array cache was not used
Do not send NACK 0 for retransmitted SYNs
Remove 1-byte DataHelper.toLong() calls
2023-01-30 13:21:10 -05:00