Commit Graph

97 Commits

Author SHA1 Message Date
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
zzz e1d9e05b8d i2ptunnel: Fixes and cleanups for command line testing;
catch IAE from getInstance() if i2ptunnel.config isn't found
in app context; log tweaks; config command tweaks
Unit tests: Fix several NPEs in LocalClientManager,
implement HostLookup
2015-04-22 11:59:40 +00:00
zzz 540720a912 unit test fixes 2014-12-05 16:18:25 +00:00
zzz 36fdb4ee2f Fix junit compile fails due to data structure moves 2014-09-23 14:15:27 +00:00
zzz 4f9e13d0f6 unit test fix take 2 2014-08-21 15:01:15 +00:00
zzz a63bfeaeec fix SKM test broken by TSKM move 2014-08-10 15:48:18 +00:00
zzz 8b2ffada10 - fix test
- final
- last week's history
2014-07-15 14:30:19 +00:00
zzz 331b1fa742 fix test breakage 2014-06-01 18:04:04 +00:00
zzz 1d7eedd463 Kad unit tests:
- Move KBucketSetTest to new directory
  - Fix testSelf() as new implementation will never include myself
  - Delete KBucketImplTest, not applicable/useful now
  Next todo: port KBSTest from i2p.zzz.kademlia branch
2013-11-24 21:58:42 +00:00
str4d 228bd980db Router JUnit tests: type arguments, unused imports 2013-11-20 22:47:14 +00:00
zzz 012e999354 fix unit tests broken by previous checkin 2013-10-18 19:58:39 +00:00
zzz dff357a658 unit test compile fix 2013-07-22 15:14:58 +00:00
zzz 02b92ac3fe fix compile for test 2013-07-20 13:46:50 +00:00
zzz a87fc68cfd propagate from branch 'i2p.i2p.zzz.ipv6' (head 5c147c6e394fae03752dcf497923a90e3f2db529)
to branch 'i2p.i2p' (head 7af6987d5546664f76589afe0cbeeb780f4b5d58)
2013-07-20 12:59:03 +00:00
zzz 2caa6ad975 * Router I2CP:
- Make classes extensible for router-side test stubs
   - Add router-side local-only test implementation, no full router required.
     Only tested with external clients, probably doesn't work in-JVM.
   - Don't start threads in ClientManager constructor
   - Remove unused Reader param in ClientMessageEventListener methods
   - Cleanups, volatiles, finals, javadocs
2013-07-10 18:12:47 +00:00
zzz 55880844a5 * SSUDemo: Adapt for NTCP testing too
* RouterAddress and RouterInfo toString() cleanups; don't cache RI in _stringified
* NTCP: Fix publishing address when host specified but interface is not
* log tweaks
2013-05-19 15:18:45 +00:00
zzz ec3756a69f * SSUDemo: Use IPv6; don't use System properties 2013-05-18 18:30:38 +00:00
zzz 0b49fa98f9 * SSU: Fixes for i2np.udp.allowLocal, log tweaks, sender/receiver thread name tweaks
* Limit tunnel GW pumper threads when testing
2013-05-18 18:00:17 +00:00
zzz 226c7eb8e3 * SSUDemo: configuration fixes, delete RI on exit, log tweaks 2013-05-18 14:27:11 +00:00
zzz be262c6a70 * NetDb:
- Add floodfillEnabled() to NetworkDatabaseFacade so callers don't
    have to cast to FNDF, and Dummy NDF will work
  - Remove static FNDF.floodfillEnabled()
* SSUDemo: cleanups
2013-05-17 15:11:23 +00:00
zzz a374f00613 * Fix UDPEndpointTestStandalone:
- init context
  - Add unit test buildPacket() method to PacketBuilder
  - Fix NPE in MessageHistory
* Minor PacketPusher optimization
2013-05-16 23:08:06 +00:00
zzz fcdf837f33 * New buildTest and prepTest targets
* Fix UDPEndpoint usage in unit tests:
  - Restore receive()
  - Handle null UDPTransport
* Fix UDPEndpointTestStandalone compilation
2013-05-16 17:57:33 +00:00
zab 680c31b843 Fix/update/refactor InboundTest 2013-01-07 19:03:30 +00:00
zab ba5005c467 Fix OutboundGatewayTest
Refactor as much as possible into GatewayTestBase
2013-01-07 18:38:13 +00:00
zab 7a8fde6637 Refactor common code between Inbound and Outbound Gateway tests in a base class
OutboundGatewayTest still fails, investigating...
2013-01-06 23:02:10 +00:00