16702 Commits

Author SHA1 Message Date
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
cb5be9530a SSU2: Avoid rare NPE handling apparent session confirmed without inbound state
reported by drzed
2022-11-26 09:31:31 -05:00
zzz
3d54dea3dd SSU: Don't build a 4 cap address at startup if configured for IPv6-only 2022-11-26 09:27:44 -05:00
zzz
d726737b23 Console: Hide IPv4/v6 columns on /peers status tab
if disabled or no address
2022-11-26 09:13:09 -05:00
zzz
d9a9c17d02 i2ptunnel: Allow IRCv3 ACCOUNT and CHGHOST through the filter 2022-11-25 10:49:12 -05:00
zzz
84f8506912 Profiles: Don't let one corrupt file kill the loader thread
Name the loader thread
Reported by Qubes
ref: http://zzz.i2p/topics/3469
2022-11-25 08:30:41 -05:00
zzz
c2efb40b62 Console: Tag some /netdb strings that are already tagged elsewhere 2022-11-24 13:42:41 -05:00
zzz
cae522f90b Console, i2psnark standalone: Fix UI configuration of Argentinan Spanish
Add partial Danish translation for i2psnark
Enable zh_TW UI configuration for i2psnark standalone
2022-11-24 12:41:21 -05:00
zzz
d036993b23 i2ptunnel: Outproxy type config UI HTML fixup
reported by drzed
2022-11-24 07:39:08 -05:00
zzz
21a90fc2ec Tunnels: Adjust expiration job start if default reject time overridden by config
reported by drzed
2022-11-23 17:51:18 -05:00
zzz
17aa96ce09 Console: Add LS lookup to search form 2022-11-23 17:12:47 -05:00
zzz
d82e2fe5ac bump -1 2022-11-23 12:24:29 -05:00
zzz
965f84bbfa Console: Add status and banned tabs to /peers (WIP)
Status tab now the default
2022-11-23 12:23:17 -05:00
zzz
a825949a8a i2ptunnel: Fix log message on config migration 2022-11-23 12:10:21 -05:00
zzz
6b2bbda02a SAM: Make enough space for dests with certs without realloc 2022-11-23 12:08:11 -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
c9ea1e1a22 SSU2: Increase Session Created max padding
to possibly make protocol identification harder
Preliminary; final value TBD.
2022-11-23 09:58:04 -05:00
zzz
98477eef9f SSU: Remove unneeded old queue latency check in UDPSender
as the queue is CoDel already
reported by drzed
2022-11-23 09:53:09 -05:00
zzz
0d571a5565 Build: Add debcheckpatch to release targets 2022-11-23 09:46:43 -05:00
zzz
dae60e5387 CLI: Sort MTU output by address 2022-11-23 09:45:30 -05:00
zzz
66567bc618 Console: Change mtn tunnel in help FAQ to git 2022-11-23 09:41:14 -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
fb14907fa8 Console: Remove brackets on /debug update and app manager sections and other cleanups for readability 2022-11-23 09:06:01 -05:00
zzz
77bf7f1658 Console: Dark theme banlist margin fix 2022-11-23 08:45:09 -05:00
zzz
eb5b18ed23 SusiDNS: Fix off-by-one in next page last item number 2022-11-23 08:43:03 -05:00
zzz
8fe9c487d3 Build: Windows script updates for 2.x.x 2022-11-22 13:26:04 -05:00
zzz
9b097da22f Debian files and doc updates for 2.0.0 2022-11-22 13:24:54 -05:00
zzz
3d4909381c Build fix for 2.x.x versions i2p-2.0.0 2022-11-21 13:03:54 -05:00
zzz
8d1d9a020f 2.0.0 2022-11-21 13:00:21 -05:00
zzz
52adc9dc16 Pull translations from transifex 2022-11-18 13:45:25 -05:00
idk
f02bf9b72b quote %JAVA% in eepget.bat script on Windows to prevent paths from splitting. Closes 31 on i2p.www, which was mis-filed 2022-11-17 22:07:55 -05:00
idk
907e649647 update Docker.md to reflect safe defaults, close #374 2022-11-14 23:51:12 -05:00
idk
da17c8df52 Merge branch 'i2p.i2p-31337-master-patch-36622' into 'master'
Allow passing the IP address where the router console is reachable when running a Docker container

See merge request i2p-hackers/i2p.i2p!68
2022-11-14 18:55:22 +00:00
idk
d4155625e4 Allow passing the IP address where the router console is reachable when running a Docker container 2022-11-14 18:55:21 +00:00
zzz
114694434c SAM: Change default nickname for primary sessions 2022-11-12 17:00:11 -05:00
zzz
e54f5ffadd i2ptunnel: Fix IRC USER filtering
Wasn't passing through user and realname fields
Pass through RFC 2812 mode field if present
reported by RN
2022-11-12 15:26:27 -05:00
zzz
7b75ee5a0a SAM: Add warning at startup if not bound to localhost 2022-11-09 10:45:53 -05:00
zzz
d435e44e5f Update Debian doc 2022-11-09 10:37:20 -05:00
zzz
109402cea5 Refresh Debian patches 2022-11-09 10:36:34 -05:00
zzz
73cde7abba Systray: Javadoc fix, make new method private 2022-11-09 10:30:49 -05:00
zzz
2f3615e001 poupdate-source 2022-11-09 08:30:59 -05:00
idk
524b2ab417 Merge branch 'edge-registry-query' into 'master'
change registry query from retrieiving iexplore.exe to edge.exe

See merge request i2p-hackers/i2p.i2p!70
2022-11-07 02:44:16 +00:00
idk
d43c9d047b change registry query from retrieiving iexplore.exe to edge.exe 2022-11-07 02:44:15 +00:00
zzz
d774b63d83 Drop muwire from console home page 2022-11-06 11:38:18 -05:00
zzz
b54eb9b4d5 SSU: Temporarily ban ip/port after inbound handshake failure 2022-11-01 11:55:20 -04:00
zzz
5947275aae SSU2: Prep for more padding in handshake 2022-11-01 09:25:44 -04:00
zzz
f3f669dc2e SSU2: Fail IES2 on all session request after retry errors
Don't hexdump for RI errors
Don't throw ISE when sending 2nd retry
2022-11-01 09:21:09 -04:00
zzz
ddd6a37507 SSU: Prefer UDP in China
Don't exceed conn limit even when preference is always
2022-11-01 09:06:50 -04:00