zzz
1c9ae348da
Transports: Remove ElG DH builder
...
unused since SSU 1 removed
(SSU 1 removal part 14/n)
2025-05-09 13:43:30 -04:00
zzz
6e15421638
Tunnels: Implement proposal 168 - Part 1
2025-04-16 10:24:18 +00:00
zzz
d43c6d631c
Tests: Fix test build
...
broken yesterday by BuildMessageGenerator change
2025-02-23 06:21:47 -05:00
zzz
a0f92b2e28
CLI: Fix getopt program names
...
these are output by getopt in error messages
2024-06-05 09:05:51 -04:00
zzz
e2661985c4
SSU1 removal part 7/n
2024-05-21 12:15:52 +00:00
zzz
7f3db25080
Transports: SSU1 removal part 6/n
2024-05-18 11:50:30 +00:00
zzz
f337c1b3c9
I2CP: Prevent loopback messages to same session (i2pd Github #2005 )
2024-01-15 10:35:29 +00:00
eyedeekay
a23e09ca20
Router: fix failed ant builds in unit tests
2023-10-18 18:47:44 -04:00
idk
40757b3028
I2p.i2p.2.4.0 undo breaking api change
2023-09-14 20:33:28 +00:00
Zlatin Balevsky
042c1e88aa
fix junit deprecations, issue #339
2022-01-31 11:39:57 +00:00
zzz
a7d9ca920f
Prop 157 updates
...
- Don't require AES keys for short records
- Derive keys from noise ck
- Use derived keys to garlic-encrypt reply at OBEP
- Register reply key with SKM
- Only use short message for client tunnels if client supports EC
- Set nonce for chacha/poly reply record
- Add tagsReceived() for single tag to MuxedSKM
- Add extended TunnelCreatorConfig.toStringFull()
- BRR toString() enhancements
- Test enhancements
2021-07-16 12:28:04 -04:00
zzz
617fff175e
Tunnels: Prop. 157 updates
...
- remove ITBM
- remove plaintext slot from OTBRM
2021-07-13 09:47:30 -04:00
zzz
bb19fcdac3
Tunnels: Changes for new build messages (Prop. 157)
...
- Remove ITBM, change record length from 236 to 218 bytes
- Fix check of blank record in BuildReplyHandler
- Fix offset constants for short record in BuildRequestRecord
- Fix BuildMessageTestStandalone test 6 (short inbound)
- ITBM class removal TODO
2021-06-22 09:06:40 -04:00
zzz
d71a472367
fix deprecation in test
2021-06-21 12:06:29 -04:00
zzz
f9e8fa8150
Tunnels: Continue work on prop. 157
...
- Add new internal-only ShortTunnelBuildReplyMessage,
for processing of STBM as a reply.
- Add support for inbound tunnel tests to TunnelBuildMessageStandalone.
The ITBM test is WIP.
- Add checks for unset plaintext record in ITBM and OTBRM
2021-06-13 15:28:48 -04:00
zzz
4c6aa8cfc1
Tests: Add serialize/deserialize test for STBM/OTBRM
2021-06-13 10:52:42 -04:00
zzz
010d1a9953
Tunnels: Continue work on new build messages (proposal #157 )
...
WIP, still disabled, proposal not complete
- Use ChaCha20 to encrypt/decrypt records
- Add OTBRM methods for plaintext record
- Add OTBRM checks for correct plaintext slot number
- Add BRR checks to prevent use of nonexistent AES key/IV
- Set plaintext reply at OBEP in BuildHandler
- Allow OTBRM in InboundMessageDistributor
- Remove timing measurements in BuildMessageProcessor.decrypt()
- Add test to BuildMessageTestStandalone for outbound build
- Add check for all replies to BuildMessageTestStandalone
- Log tweaks
2021-06-13 10:31:02 -04:00
zzz
3fbfb689af
Tests: Add ECIES test to BuildMessageTestStandalone
2021-06-12 16:20:07 -04:00
zzz
2bb3cf046d
Tests: Fix BuildMessageTestStandalone
2021-06-12 15:42:47 -04:00
zzz
988e0e796f
Tests: Fixup tunnel test after build classes move
2021-06-12 10:45:18 -04:00
zzz
6f5042be8f
Test: Drop ancient unused DateMessage
2020-11-16 16:16:49 +00:00
zzz
595f8762ab
I2NP: Don't extend DataStructureImpl, to save space
...
Fixup test as required
2020-11-16 14:51:35 +00:00
zzz
5bafdd05a9
Tunnels: Simplify TunnelId and HopConfig to save space
...
and reduce object churn and duplication
Fixup tests, javadocs, logging as required
2020-11-07 13:40:48 +00:00
zzz
4a4d814a17
Tunnels: Move AES reply keys from HopConfig to TunnelCreatorConfig
...
to save space; not stored for participating tunnels.
2020-10-23 12:58:45 +00:00
zzz
cead0b2fb8
Router: Add support for building tunnels through ECIES routers (proposals 152,156)
...
Preliminary, proposal not finalized, subject to change
Not yet compatibility tested with other implementations
Add peers to match requested length for explicitPeers
remove commented out code
log tweaks
2020-10-03 14:05:22 +00:00
zzz
f25037447d
unit test tweaks
2020-05-21 14:11:30 +00:00
zzz
108b3a2363
Tests: Add I2CP port option to LocalClientManager
2020-04-17 13:19:41 +00:00
zzz
566221b732
Tests: Fix InboundTest so it can be run without a real router
2019-09-02 18:07:23 +00:00
zzz
81ab35abe6
Tests: Fix broken OutboundTest
...
never worked - didn't check result, processed own config
2019-09-02 14:01:02 +00:00
zzz
6adc665fd3
Build: Move SSU HMAC implementation from core to router
2019-07-12 18:40:46 +00:00
zzz
1be569db7a
Test: Fix broken junit test build
2019-07-12 17:33:03 +00:00
zzz
5490de1d61
Router: Replace GarlicConfig setters with constructor args
2019-04-08 16:12:14 +00:00
zzz
f288682436
Test: Disable NTP in LocalClientManager
2019-02-03 12:47:33 +00:00
zzz
d6e350184c
Test: Move ElGamalTest from core to router to follow tested class
2018-11-23 14:22:08 +00:00
slumlord
e310a6ab31
Add CachedIteratorCollectionTest
2018-08-13 08:38:24 +00:00
zzz
775188a36c
I2NP: Fix DI test
2018-08-04 16:31:10 +00:00
zzz
7433eeb5c0
Router: Validate tunnel ID in requests
...
Fix max ID
2018-03-07 18:06:46 +00:00
str4d
a65a498c86
Segment integration tests in router
2017-12-02 20:48:53 +00:00
str4d
10d5a17422
Migrate net.i2p.data tests in the router to JUnit 4
2017-12-02 20:08:44 +00:00
zzz
e6f17ec1ab
Router tests: Remove or supporess deprecation warnings
...
Remove cast warnings
Fix RouterAddress.setExpiration() to match javadoc, used only by tests
2017-12-02 13:56:13 +00:00
zzz
e01c443fa2
Test: Add random delay and drop options to LocalClientManager
...
Return failure codes from LCM to client (ticket #1939 )
2017-02-10 19:17:43 +00:00
zzz
7197d22f2a
Transports: New config option i2np.allowLocal,
...
replaces i2np.udp.allowLocal and i2np.ntcp.allowLocal,
fixes test networks (ticket #1875 )
2016-11-04 13:44:24 +00:00
zzz
cee3ebbb23
less wtf
2016-10-21 15:20:35 +00:00
zzz
e7081491ca
Fix unit tests I broke
2016-01-23 17:58:16 +00:00
zzz
cdfd4ca2f4
Move CachedIteratorArrayList from core to router
2016-01-14 13:54:53 +00:00
z3r0fox
2246e21340
Replaces instances of getBytes() in router classes
2015-12-20 01:26:33 +00:00
zzz
1cf544f1d4
fix unit test compile
2015-06-18 00:41:58 +00:00
dg2-new
8303016b48
- Job Queue/stats: add stat/graph for amount of scheduled jobs (router.tunnelBacklog)
...
- FloodfillMonitorJob:
- Use avg of router.tunnelBacklog instead of current backlog
- Some language/spelling fixes
2015-05-12 18:46:40 +00:00
zzz
cb50c1bd8b
improve UDP test
2015-04-28 12:44:53 +00:00
zzz
bd778a2204
Remove old pre-0.6.1.30 TunnelCreateMessage and TunnelCreateStatusMessage,
...
moved to junit years ago but not part of any tests
2015-04-24 22:25:17 +00:00