Commit Graph

16871 Commits

Author SHA1 Message Date
obscuratus i2p badcf76e2f Router/Tunnel: Constrain xor message ID mask to >= 0 2023-06-11 02:05:55 +00:00
idk 90aacc6746 use RandomSource instead of Random 2023-06-04 18:23:17 +00:00
idk f0df5d19ed add comment to the new getUniqueID code 2023-06-04 17:31:26 +00:00
idk 9c5118f763 re-add 3-arg add function and javadoc. 2023-06-04 17:27:24 +00:00
idk 722029d11e Merge branch 'i2p.i2p.2.2.1-xor-messageIDs-as-interface-change' into 'master'
Patches all INMP.add() calls to use replay "Contexts" specific to where they were called from.

See merge request i2p-hackers/i2p.i2p!91
2023-06-04 01:38:16 +00:00
idk 82aa4e19fb Patches all INMP.add() calls to use replay "Contexts" specific to where they were called from. 2023-06-04 01:38:15 +00:00
idk 63f2ae368c Merge branch 'i2p.i2p.dtg-menu-api' into 'master'
Adds a Menu API to the DTG

See merge request i2p-hackers/i2p.i2p!90
2023-05-31 14:39:53 +00:00
idk 785fc52a14 Adds a Menu API to the DTG 2023-05-31 14:39:53 +00:00
idk 997644a06d Merge branch 'i2p.i2p.congestion-caps' into 'master'
start implementing congestion caps handling by adding...

See merge request i2p-hackers/i2p.i2p!89
2023-05-31 14:34:19 +00:00
idk 43b4364918 start implementing congestion caps handling by adding... 2023-05-31 14:34:18 +00:00
idk f308ebee74 bump rc 2023-05-25 03:39:18 +00:00
idk 687858e73d Router/Tunnel: xor message IDs in order to prevent cross-context leaks.
Adds unique message ID's per context to bloom filter for safer replay protection.

The transport and client tunnel managers use a message ID in order to prevent
messages from being replayed. Prior to this checkin, the message ID queue used
the same IDs in clients and transports. If a message was sent to a transport
and a client with the same message ID, the message ID in one would cause a replay
to be detected in the other.

The result would be that the message reply would come back empty, creating a
point of evidence that a client and a transport were hosted on the same router.

However, there is no way from the attackers POV to determine with certainty that
the message was dropped because the message was replayed, making it very easy to
demonstrate a potential information leak using a known router and a known client,
but more difficult, to use to deanonymize a known client on an unknown router
(i.e. by trying routers from the local NetDB).

So what we have here is a situation where an attacker observing router behavior
can say that a message was dropped, and that they have reason to believe it is
because it contained an ID which was replayed. This constitutes a potential
information leak and is resolved by this checkin.

patch created by @obscuratus, tested, reviewed and checked in by @obscuratus and @idk
2023-05-17 18:16:25 +00:00
idk 76197ce75d Merge branch '2.2.1-issue397-v2' into 'master'
Router/Tunnel: Handling Updates for Inbound Messages.

See merge request i2p-hackers/i2p.i2p!88
2023-05-08 17:44:58 +00:00
obscuratus i2p 18d939bcd4 Router/Tunnel: Handling Updates for Inbound Messages. 2023-05-08 17:44:58 +00:00
idk 18a3893185 update po files with diff 2023-04-23 19:08:43 +00:00
idk 058f07c208 fix un-escaped character on configplugins.jsp 2023-04-22 15:11:10 +00:00
idk a9d9c13869 Merge pull request #44 from Shoalsteed/master
Update configplugins.jsp
2023-04-22 11:01:10 -04:00
Sadie Mascis af3c32fc46 Merge branch 'i2p:master' into master 2023-04-20 13:24:45 -04:00
Sadie Mascis 17b4409823 Update configplugins.jsp
Fixes Issue https://i2pgit.org/i2p-hackers/i2p.i2p/-/issues/392
2023-04-18 12:54:34 -04:00
idk 85822c48da fix lunar changelog 2023-04-17 03:31:25 +00:00
idk ecc87573e3 update debian changelogs 2023-04-17 03:04:04 +00:00
idk f66f21434e 2.2.1 i2p-2.2.1 2023-04-12 21:23:18 +00:00
idk c6d853575d fix makegeoip.sh script 2023-04-12 21:21:58 +00:00
idk 53bae90089 fix makegeoip script and update geoip data 2023-04-12 21:21:58 +00:00
idk a50a65ac9f update version numbers in installer and resources 2023-04-12 21:21:32 +00:00
idk ff4b8fc106 ignore shell scripts in root directory 2023-04-12 16:43:33 +00:00
idk fe541df2c7 fix typo in checklist, add .tx to gitignore 2023-04-12 16:42:37 +00:00
idk 4585ec0b4c Merge branch 'lunar-bookworm-jakarta' into 'master'
WIP: Install and link jakara on Ubuntu>=Lunar, Debian>=Bookworm

Closes #374

See merge request i2p-hackers/i2p.i2p!87
2023-04-07 13:33:11 +00:00
idk 456ab3150a WIP: Install and link jakara on Ubuntu>=Lunar, Debian>=Bookworm 2023-04-07 13:33:10 +00:00
idk b3748395ce Check in fixes for console 2023-04-06 18:54:03 +00:00
idk b582695aa2 Merge pull request #43 from Shoalsteed/master
Updated Copy For /console, merging with changes requested, I'll be checking them in
2023-04-06 14:52:28 -04:00
Sadie Mascis 06b7f75df3 Update readme.html 2023-04-05 14:55:08 -04:00
Sadie Mascis e2ca8d3268 Update readme.html 2023-04-05 14:41:50 -04:00
idk 0d4eec7f7f fix decimal/comma formatting issue on stats page 2023-03-31 23:08:45 +00:00
idk 837cb34353 Merge branch 'master' of i2pgit.org:i2p-hackers/i2p.i2p 2023-03-28 03:25:18 +00:00
idk 8b9cfc4e63 update outproxy user agent to latest TBB/Firefox ESR version, reported by dr|zed 2023-03-28 03:22:24 +00:00
idk 7d7768897d Merge branch 'add-tmp-to-install.jar' into 'master'
use tmp for install.jar to prevent confusion on build fails

See merge request i2p-hackers/i2p.i2p!85
2023-03-23 23:19:12 +00:00
AGentooCat c8b6e678f8 use tmp for install.jar to prevent confusion on build fails 2023-03-23 23:19:12 +00:00
idk 692c73994b fix some errors in startapp.sh shell script, including /JAVA_OPTS/JAVAOPTS/ thanks @bedaro, #41 2023-03-23 04:08:24 +00:00
idk b5461f3b41 ignore override.properties when building docker 2023-03-19 15:00:48 +00:00
idk 37018f6eb0 Merge branch 'master' of i2pgit.org:i2p-hackers/i2p.i2p 2023-03-19 14:42:56 +00:00
obscuratus i2p daff55463b Router: Update and Clarify the Inline Documentation for VMCommSystem 2023-03-19 14:41:50 +00:00
Anastasiya Soyka ab676bf63c Detect When Running as a Podman Container 2023-03-19 14:41:50 +00:00
idk 8a0a533777 fix base directory path duplication in Dockerfile 2023-03-19 14:35:23 +00:00
idk 3c0eb9c52f Merge branch '2.1.0-9-mr-vmcommsystem-v2' into 'master'
Router: Update and Clarify the Inline Documentation for VMCommSystem

See merge request i2p-hackers/i2p.i2p!83
2023-03-18 17:33:32 +00:00
obscuratus i2p b3188a26a5 Router: Update and Clarify the Inline Documentation for VMCommSystem 2023-03-18 17:33:32 +00:00
idk 3ab904f164 Merge branch 'master' into 'master'
Detect When Running as a Podman Container

See merge request i2p-hackers/i2p.i2p!84
2023-03-18 17:32:38 +00:00
Anastasiya Soyka c71a42859d Detect When Running as a Podman Container 2023-03-18 17:32:38 +00:00
idk cbe8d3f799 add blocklist 2023-03-14 22:42:24 +00:00
idk ae4d3b5758 fix bionic changelog 2023-03-14 22:29:10 +00:00