Commit Graph
18441 Commits
Author SHA1 Message Date
zzz 92e9d2d657 Tunnels: Periodically use 5-slot TBMs
to provide cover for 4-hop tunnels
2026-08-03 18:13:15 -04:00
zzz ff5c4d8833 bump -2 i2p-2.13.0-2 2026-08-02 16:19:27 -04:00
zzz 36fa9da136 i2psnark: Dup check for base name when filtered 2026-08-02 15:52:40 -04:00
zzz e07e3bd312 Build: Fix build with izpack 5.2.6
by removing our XInfoConsolePanel implemenation as a patch.
This implementation was created so that the -console install option would work.
This was fixed by izpack in 5.2.0 (2023), see https://izpack.atlassian.net/browse/IZPACK-1631
so our patch is no longer needed.
However, through 5.2.4, the patch worked, but as of 5.2.6 it fails to compile
due to changes in izpack.
Leave the patches build.xml in place in case we need it later.
2026-08-02 15:26:46 -04:00
zzz 8511323dea Build: Revert VERSION back to 2.13.0, that was just for debian 2026-08-02 07:11:41 -04:00
zzz 791d4e2c63 NetDB: Prevent ClassCastException in HFDSMJ on hash collision 2026-08-01 15:24:01 -04:00
zzz e01d4398df Crypto: Use SKMType enum (part 2)
replace instanceof with getSKMType() for classification of SKMs
2026-08-01 09:15:01 -04:00
zzz 1bd863c606 Crypto: Add SKMType enum (WIP)
for more efficient classification of SKMs
2026-08-01 08:32:57 -04:00
zzz 306ba3522a Console: New Korean readme translation 2026-07-31 18:18:43 -04:00
zzz 6a89ab9cfb remove unused constants 2026-07-31 17:40:37 -04:00
zzz db3cd60f15 NTCP2: fix undersized message 3 buffer
by fixing MSG3P2_MAX so that oversized msg 3 will be caught in msg 1.

(adapted from GH PR #164 by acetone)
2026-07-31 17:19:02 -04:00
zzz d0eebb05c3 SusiDNS: Conflicts address book part 2
- Add resolution buttons
- Hide addresshelper column and rows
- Highlight source and added date
- Remove b64 hash line on details page
- Change deletionMarks LinkedList to ArrayList
- Disable on Android
- CSS tweaks
2026-07-31 10:23:36 -04:00
zzz 67b2f73275 Garlic: guard against out-of-bounds read in clove set parsing
(adapted from GH PR #164 by acetone)
2026-07-30 09:37:15 -04:00
zzz dffbe63174 i2psnark: Recognize i2pd client (prelim) 2026-07-30 09:29:45 -04:00
zzz 97173c8843 NTCP2: Remove some now-unused NTCP1 fields in IES 2026-07-29 09:54:47 -04:00
zzz 85d5d96d29 Build: Update debian version notes in doc 2026-07-29 08:56:38 -04:00
eyedeekay e52a015dc1 buildsystem - fix izpack5 version check ant target which referred to izpack4 xml file 2026-07-28 20:35:19 -04:00
eyedeekay 47dc652dc3 Fix CI - version in install.xml must match version in CoreVersion.java, which changed due to debian point-release 2026-07-28 20:31:28 -04:00
eyedeekay 65754a86ec Fix CI - version in install5.xml must match version in CoreVersion.java, which changed due to debian point-release 2026-07-28 20:26:27 -04:00
idk 373f0be02c Merge pull request 'fix/docker' (#540) from fa/i2p.i2p:fix/docker into master
Reviewed-on: http://git.idk.i2p/I2P_Developers/i2p.i2p/pulls/540
2026-07-28 19:28:51 -04:00
idk 539a59e9b2 Merge pull request 'docker: update build to Debian Trixie/OpenJDK 21, record build SHA, and tighten restart policy (docs)' (#542) from fa/i2p.i2p:docker/maintenance into master
Reviewed-on: http://git.idk.i2p/I2P_Developers/i2p.i2p/pulls/542
2026-07-28 19:19:45 -04:00
zzz 40a17115a5 Util: Improve eephead CLI error output 2026-07-28 17:28:05 -04:00
fa f07f02f35f fix(docker): remove --no-install-recommends from apt installs
- Drop --no-install-recommends in all apt-get install steps in Dockerfile.
- This allows OpenJDK-recommended font/rendering libraries to be installed, fixing router console graph rendering in container runtime.
2026-07-28 14:57:51 +00:00
fa 16693a0fb3 docs: update Docker.md supported base image and Java version
- Switched Docker documentation entries for amd64, arm64 (v8),
  and arm (v7) from Debian Bookworm / OpenJDK 17 to
  Debian Trixie / OpenJDK 21.
2026-07-28 14:57:47 +00:00
fa 9c3e5ff6a4 build(docker): stamp compiled I2P Router with repository commit SHA1
- include repository metadata in Docker build context
- install git in the image
- record current commit SHA1 in override.properties
2026-07-28 14:57:43 +00:00
fa ff962b361c build(docker): migrate Dockerfile to Debian Trixie and OpenJDK 21
- switch builder stage from alpine to debian:trixie-slim
- install build dependencies via apt-get and add ca-certificates
- set Java compile target to 21 with override.properties
- update runtime stages to debian:trixie-slim
- upgrade runtime JRE to openjdk-21-jre-headless for all architectures
2026-07-28 14:57:38 +00:00
fa aed3aa8cb3 docs(docker): switch compose restart policy guidance to on-failure:3
Update Docker documentation examples to use
restart: on-failure:3 instead of unless-stopped.

Reason: unless-stopped causes Docker to restart the container even after an
orderly shutdown initiated from the I2P Router Console, so intentional UI
shutdowns do not stay down. The new policy keeps crash recovery behavior for
non-zero exits while allowing clean shutdowns (exit 0) to remain stopped.
2026-07-28 14:57:34 +00:00
fa 7467d873a1 fix: prune left over package 'gosu'
Gosu was used in a previous docker fix ddad235909
The fixes merged from branch 'fa-fix/docker' do not require it
2026-07-28 14:57:16 +00:00
zzz e95ae8cc68 Datagram: handle empty repliable datagram payload
Datagram 1, as allowed by spec.

(from GH PR #164 by acetone)
2026-07-27 16:15:25 -04:00
eyedeekay ea8f279473 Check in new debian changelogs and bump 2.13.1 to allow uploading a new orig.tar.bz2 to launchpad 2026-07-26 22:02:04 -04:00
zzz d1f274e833 NetDB: New reseeds 2026-07-26 09:28:49 -04:00
zzz 83acf3b034 bump -1 i2p-2.13.0-1 2026-07-26 07:50:37 -04:00
zzz 636828cb61 SusiDNS: Add conflicts addressbook (WIP)
- Automatically add conflicts received from subscriptions
- Add conflicts book to UI
- Show both entries on conflicts details pages
- Add special handling for conflicts book in BFNS

TODO: Add conflict resolution buttons
2026-07-26 07:46:31 -04:00
zzz 55582e46c4 Util: Add time format method that replaces UTF-8 spaces with regular ones
and use in some logging and config file calls. Undoes Java 20 change.
2026-07-25 10:11:16 -04:00
zzz e6b344ba45 Remove references to deprecated ThreadDeath exception 2026-07-25 09:19:21 -04:00
zzz daf0266dd5 Noise: Fix unused init pattern IDs
copy-pasted in error. Cosmetic only, not currently used.
2026-07-24 12:39:50 -04:00
zzz 05c0b03333 Gradle build fixes 2026-07-24 12:18:55 -04:00
eyedeekay 55262415e1 Fix main debian file 2026-07-23 17:50:43 -04:00
eyedeekay e1e2137404 update debian changelogs 2026-07-23 12:31:23 -04:00
eyedeekay 9134f80833 Update changelog and build files to release 2.13.0 i2p-2.13.0 2026-07-20 00:55:58 -04:00
fa 7643078a30 docs(docker): switch compose restart policy guidance to on-failure:3
Update Docker documentation examples and troubleshooting guidance to use
restart: on-failure:3 instead of unless-stopped.

Reason: unless-stopped causes Docker to restart the container even after an
orderly shutdown initiated from the I2P Router Console, so intentional UI
shutdowns do not stay down. The new policy keeps crash recovery behavior for
non-zero exits while allowing clean shutdowns (exit 0) to remain stopped.
2026-07-18 02:20:27 +00:00
zzz a7f4566e8d Pull translations from weblate 2026-07-17 12:07:06 -04:00
eyedeekay ceace4875d Merge branch 'master' of i2pgit.org:I2P_Developers/i2p.i2p 2026-07-16 19:25:07 -04:00
zzz 91ecaf1a19 Util: DoH server list update 2026-07-16 18:32:55 -04:00
eyedeekay 63f462c593 Merge branch 'fa-fix/docker' 2026-07-16 13:17:18 -04:00
fa b4520f7cad fix(docker): set addressbook proxy_host without pre-creating .i2p config 2026-07-16 16:24:36 +00:00
fa f34d24a30e fix(docker): follow rotated router logs in entrypoint
- replace single follow_log usage with dedicated wrapper and router log followers
- follow newest log-router-*.txt and switch tails when router rotates/restarts
- add log_debug helper and DEBUG_ENTRYPOINT-gated wait/attach/switch diagnostics
- simplify entrypoint log follower calls to use built-in WRAPPER/ROUTER labels
2026-07-16 13:20:36 +00:00
fa 8245b5148d feat(docker): rework entrypoint bootstrap and runtime config updates
- replace legacy startup script with an entrypoint-based bootstrap flow
- add shared helper functions for logging, config updates, jetty xml updates, and bind IP derivation
- support I2P_UID and I2P_GID remapping with numeric validation and collision checks
- default EXT_PORT to 12345 when unset and emit clearer firewalled/privacy warnings
- apply runtime values to install-time and persistent router, client, tunnel, snark, and eepsite configs
- stream wrapper and router logs to container stdout for better observability
- forward termination signals from pid 1 to the router process and normalize graceful shutdown exit codes
- move docker config templates into the entrypoint template directory and refresh defaults
- update Dockerfile env layout, volumes, exposed ports, and entrypoint path
- align Docker documentation with the new runtime behavior, binding model, and uid/gid mapping guidance
2026-07-16 02:31:37 +00:00
eyedeekay d0e1e87aa3 Update startapp.sh to replace IP addresses in i2ptunnel.config for containerized environments 2026-07-15 18:19:34 -04:00
eyedeekay ddad235909 Update Dockerfile and startapp.sh to include gosu for signal handling and privilege dropping 2026-07-15 17:57:21 -04:00