Commit Graph

3129 Commits

Author SHA1 Message Date
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 5d3dffbaa0 Util: Increase memory required to not be slow 2023-02-11 04:43:31 -05:00
zzz bc7355d61e Console: Debug page sockets table cleanup 2023-02-08 09:43:42 -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 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 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 8b0cd9e36b Util: Add ArraySet.get() and new constructor 2023-01-29 13:27:51 -05:00
zzz 87618700b3 Util: New thread-unsafe version of ObjectCounter
for efficiency where thread safety not required
2023-01-25 09:09:02 -05:00
zzz be5a10194a Build: Fix list of changed files in manifests
Broken in move from mtn to git
Fix some places that were broken even with mtn
2023-01-22 10:08:53 -05:00
zzz 65d99d2082 Build: Provide hints on how to fix it when msgfmt fails 2023-01-15 07:05:55 -05:00
zzz 0bb9984dfa Util: Add warning about copying router.config to another router 2023-01-12 06:58:51 -05:00
zzz 904829c1d5 Console: Hide Hidden Services Manager link until TCG is running
Use PortMapper constants to check registration
Reported by lbt
2023-01-11 13:37:29 -05:00
zzz a5d649ba2d 2.1.0 2023-01-10 09:32:31 -05:00
idk 0f7dca99d1 don't attempt to pass windows flags to cc when building jbigi, jcpuid on non-Windows platforms 2023-01-02 16:59:23 +00:00
zzz c0891c4a4c Build: Add mockito to core javadocs path to prevent warnings in mavenCentral.deps task 2023-01-02 09:54:10 -05:00
idk a94382458e set apart windows flags including JAVA_HOME in case the path contains a space 2023-01-02 02:28:44 +00:00
idk 6856969d01 add quotes around JAVA_HOME on windows so that it can use a JAVA_HOME that exists in %ProgramFiles% 2023-01-01 23:48:57 +00:00
idk e4fba64fc1 Quote and shellcheck the jbigi.jar build scripts in order to fix errors when building jbigi jars on Windows 2023-01-01 23:09:10 +00:00
idk 0c4fd2dbb1 quote JAVA_HOME during jbigi build 2023-01-01 22:22:03 +00:00
idk 6ad90ca38a Change the gmp mirror so that when you try to build a jbigi.jar it does not fail. Can be changed back by editing core/c/jbigi/download_gmp.sh 2023-01-01 22:05:00 +00:00
zzz edfc9b1454 I2CP: Reduce session limit to 50
Set limit to 0 if vmCommSystem
i2ptunnel: Do not retry if session limit exceeded
2023-01-01 13:08:25 -05:00
zzz 6bcc866f38 GeoIP 2023-01
bump BuildTime
2023-01-01 11:21:31 -05:00
zzz be7e213736 Pull translations from tx
preliminary in case TX API v2 stops working
2022-12-31 15:08:09 -05:00
zzz f2940146c4 Util: Add methods to convert IPv6 addresses to canonical RFC 5952 strings
Moved from NetDbRenderer
Use in CLI only for now
CLI and conversion micro-optimizations
2022-12-30 06:21:40 -05:00
zzz 321a21ae9b Util: Add SimpleTimer2.TimedEvent.toString()
to clean up timer crash messages
2022-12-22 07:27:04 -05:00
zzz c521d75ef7 CLI: List available commands more compactly 2022-12-21 09:42:57 -05:00
zzz 479ccd57df CLI: Add a "help" command 2022-12-21 07:36:03 -05:00
zzz 5ddb70eaea Util: Rewrite Addresses.getIPOnly() for 10x speedup 2022-12-20 15:09:10 -05:00
天空Blond a393912213 Fix ChaCha20::encrypt 2022-12-14 00:53:52 +08:00
zzz f67b62a3a1 javadoc typo 2022-11-28 07:34:24 -05:00
zzz b60be22754 Util: Add path length constraint = 0 to selfsigned certs 2022-11-28 07:15:19 -05:00
zzz dfe36b64a5 Util: Fast check for random nextInt(1) and nextLong(1)
Document differences from Java's random for n=0
Entropy harvester cleanups, we're not going to add a factory as jrandom implied.
2022-11-26 09:36:30 -05:00
zzz 495d91193c i2ptunnel: SOCKS 5 tunnel improvements and torsocks support
- Add support for Tor RESOLVE extension by caching and returning fake IP
- Handle user/pw when not required to support Tor stream isolation
  (not really isolating, just handling the authentication)
- Fix user/pw authentication
- Handle outproxy config changes after start
- Support CONNECT outproxies
- Add config UI for outproxy type
- Enable IPv6 (untested)
- Support outproxy config with :port (untested)
- Various cleanups

Further testing required
2022-11-23 12:03:08 -05:00
zzz 50ee30b133 Router: KeysAndCert compressible padding (Proposal 161, Gitlab MR !66)
Update some KeysAndCert and PKF debug output

ref: http://zzz.i2p/topics/3279

Replaces the 256-byte ElG key in dests with padding.
Make all padding in dests and router identities a repeating random 32-byte pattern.

This will make gzipped dests and router identities be much smaller:
Dests: appx. 320 bytes smaller (82% reduction)
RIs: appx. 288 bytes smaller (74% reduction)

Expected to primarily benefit database store messages and streaming SYNs.
Does not rekey or affect existing destinations or router identities.
Testers running this patch may be identifiable via transient destinations.
New installs with this patch will be identifiable via router identities.

This also will significantly speed up Destination creation as
we will no longer generate an ElG keypair.

Tested for several months.
2022-11-23 11:49:00 -05:00
zzz a40adc5465 Crypto: Don't use AccessController in I2PProvider, deprecated as of Java 17
ref:
https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/security/AccessController.html
2022-11-23 09:36:39 -05:00
zzz 5d259efdd8 Console: /configlogging fixes
Add UI for enabling log compression (requires routerconsole.advanced)
Don't save and display override changed message unless overrides changed
Only call ctx.logManager() once in helper/handler
2022-11-23 09:32:08 -05:00
zzz 8d1d9a020f 2.0.0 2022-11-21 13:00:21 -05:00
zzz 0224a0f03b Console: Make NavHelper non-static
add NavService interface
hang off ClientAppManager
i2psnark: register additional instances with NavService
2022-10-19 15:33:53 -04:00
zzz c1b241ab8f i2ptunnel, eepget: Add support for SHA-256 digest proxy auth (RFC 7616)
Requires re-saving user/pw on proxy side
2022-09-20 08:26:05 -04:00
zzz 49299f3f28 NetDB: Query connected peers for their RI directly
Negative cache router hash when expiring RI
Log tweaks
2022-09-03 11:59:39 -04:00
zzz 3a4bfc9c07 Util: Add option to gzip router logs
Primarily for devs. No UI.
remove shutdown hook ID
2022-08-28 15:07:30 -04:00
zzz 39954032d2 1.9.0 2022-08-22 10:16:29 -04:00
zzz 6d024b49a9 Fix encoding of getopt translations az and es_AR 2022-08-21 06:36:20 -04:00
zzz 8a379d5394 Pull translations from Transifex 2022-08-19 12:54:48 -04:00
zzz f3dd06ad1e Bump build time 2022-08-13 13:32:26 -04:00
zzz 55603782bb New translation: Spanish (Argentina) 2022-08-13 13:31:53 -04:00
zzz b606c2084b LogManager: Prevent hangs at shutdown on Mac after dock right-click-quit (Gitlab #363) 2022-07-29 12:23:34 -04:00
zzz 9489b41cb7 Util: Fix UnmodifiableSortedSet compiler warnings 2022-07-05 12:02:28 -04:00
Zlatin Balevsky a171d71bbe Add ability to apply patches to GMP. Apply fix for x18 register. Run GMP tests after build. 2022-07-03 11:09:01 +01:00
Zlatin Balevsky 454cd6bda6 JavaVM framework isn't a thing anymore 2022-07-02 13:22:28 +01:00