0b4fe1aa56
Util: Improved classification of public/local IPv6 addresses
2021-01-31 11:10:35 -05:00
af6ecde867
Util: More javadocs for getIP() change
2021-01-29 07:58:59 -05:00
6a18bf086f
Util: Fix net.i2p.util.Addresses::getIP empty string
...
The standard library behavior is to return the localhost when null or an empty string is passed.
getIP seeked to override that behavior, but didn't treat the empty string case.
Test parts of net.i2p.util.Addresses
2021-01-29 12:45:59 +00:00
5e5886395c
Tests: Add mockito classpath to core tests
...
javadocs for new test classes
2021-01-23 09:47:22 -05:00
79a868b8fe
Use TestContext to replace existing I2PAppContext
...
This allows us to mock parts of the I2PAppContext as we like.
The mocking is done when `testContext` is created in the constructor,
which replaces the existing global context.
2021-01-23 14:17:27 +00:00
169fb59d7d
test: fix I2PSocketExceptionTest::testUnknownStatus
...
In non-English environments, the message is translated.
2021-01-20 14:38:37 +00:00
888311e34f
Build: Add translations to gradle build (part 1 - jars)
2021-01-03 09:08:21 -05:00
2813d9412d
Crypto: Cache AES Ciphers
...
About a 10% speedup
2020-12-29 10:26:41 -05:00
9e18ff1cd1
Router: Move countries.txt file into i2p.jar
2020-12-26 09:33:13 -05:00
665239fd37
Router: Move continents.txt file into jar
...
Move core resources directory to be consistent with the other subsystems
2020-12-26 08:11:00 -05:00
875a7242d4
Javadoc update for DoH
2020-12-23 10:22:34 -05:00
7b785ea454
I2CP: Fix encrypted leaseset for ECIES and dual-key encryption, and for offline keys
2020-12-23 10:05:58 -05:00
067ee80ba0
remove IntelliJ and Eclipse project descriptors
2020-12-11 19:45:25 +00:00
d683f0d9eb
Util: Change DoH to the RFC 8484 protocol
2020-12-06 12:54:20 +00:00
99f6d4aba4
MiniDNS javadoc fix
2020-12-05 14:27:56 +00:00
69deddcbc7
Add DNS library to support RFC 8484 DoH (ticket #2201 )
...
WIP - not yet hooked in
This is a portion of release 1.0.0 of MiniDNS from https://github.com/MiniDNS/minidns/ 2020-07-18
Only contains the minidns-core portion of the library.
Removed tests, most util classes, and DnsRootServer class.
Unmodified, as a base for future checkins.
Total size of zipped classes is about 75 KB.
This software may be used under the terms of (at your choice)
- LGPL version 2 (or later)
- Apache Software licence
- WTFPL
2020-12-05 14:21:08 +00:00
df43e72a08
PRNG: Drop unused exception and interface
2020-12-05 12:51:24 +00:00
36fdfd529f
0.9.48
2020-12-01 15:54:41 +00:00
6e8fd42efd
pull translations
2020-11-27 18:40:53 +00:00
5020100ef8
BuildTime update
2020-11-27 18:06:55 +00:00
00a0970c95
Crypto: Adjust Java key cache sizes
2020-11-19 14:52:11 +00:00
3606a42ea8
Lease: Store time as long rather than Date to save space
...
Add long methods, deprecate Date methods
2020-11-11 15:15:44 +00:00
6887c7edae
I2CP: Don't have I2CP Messages extend DataStructureImpl, to save space
...
Ditto MessageId and SessionId.
Fixup unit tests as required
2020-11-11 13:09:42 +00:00
7aa78a1aed
One more i2cp buffer size increase
2020-11-10 14:57:39 +00:00
c908c6bd05
Data: SDS no longer extends DataStructureImpl to save space
...
More minor i2cp efficiency improvements
KeyCertificate log tweak
2020-11-10 14:48:42 +00:00
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
8cc62b5b42
Util: More elimination of data copies
2020-11-04 14:27:16 +00:00
e242015145
Util: Hook in ByteArrayStream
...
Set accurate lengths for zero-copy
2020-11-04 12:04:24 +00:00
f69563da75
Util: New zero-copy BAOS
...
WIP, to be hooked in
2020-11-02 12:12:20 +00:00
057eca56d5
Console: Show offline expiration on LS debug page
2020-11-02 12:01:58 +00:00
fc0a78dd7b
Util: Drop class deprecated 11 years ago
2020-10-31 20:20:59 +00:00
5c1a529df0
Util: Fix NPE in EepGet CLI callback via PartialEepGet
...
Fix callback javadocs
2020-10-30 15:22:24 +00:00
190b76d7fd
Tunnels: Improved logging and handling of offline signature expiration
...
Store back ref to controller in tunnel
Stop server controller on I2PException
Support generation of keys with fractional days expiration for testing
2020-10-29 15:20:56 +00:00
8d0b1214d2
un-do android check in ObjectCounter and fix hte issue by correctly setting the classpath instead, see RELEASE-PROCESS.md in i2p.android.base
2020-10-29 04:04:18 +00:00
f231ea0951
Util: ObjectCounter better android detection
2020-10-28 12:09:55 +00:00
38f9955391
fix android keySet bug that I discovered this morning
2020-10-28 04:33:47 +00:00
62a91acb40
DoH: Limit response size, sort servers for test
...
SSLEepGet: Fix handling of state param, support max size param
2020-10-27 14:53:11 +00:00
69a5266675
DoH: Add CLI test of all servers
2020-10-27 12:45:37 +00:00
e671741329
DoH: Set user agent
2020-10-26 22:47:32 +00:00
ab55f27ea4
DoH: Add more CLI options for testing
2020-10-26 15:29:59 +00:00
cf88b3057a
DoH: limit total time and max requests
...
Better loop checking, force DoH off for request
2020-10-26 13:44:23 +00:00
af97eedcbb
Util: Fix EepGet allowCaching parameter
...
Add SSLEepGet method to force DoH on/off
2020-10-26 12:22:54 +00:00
d387448794
;; -> ;
2020-10-17 14:41:13 +00:00
7c1798513d
Util: Singleton OrderedProperties comparator
2020-10-15 11:54:43 +00:00
a9a5d13e06
Build: Set javac release property (ticket #2775 )
...
Ant version 1.9.8 or higher now required
Drop support for Xenial package build
Fix up BOB build configuration
Fix i2psnark standalone build
2020-10-07 13:33:41 +00:00
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
4108007b26
JBigI: Fix zen/zen2/zen3 CPU names (ticket #1869 )
2020-09-27 14:33:58 +00:00
2989d955d9
JBigI: GMP 6.2.0 for linux 64 bit (ticket #1869 )
...
Add support for zen and zen2
Enable more fallbacks for zen and zen2
Adds Zen and Zen2 binaries, stripped
Built with gcc 9.3.0
Other binaries will be added if testing shows improvement
Fix hangs in mbuild-all.sh build script
Add silvermont and goldmont to build script, untested, support TBD
GMP is GPLv2
More info: http://zzz.i2p/topics/2955
2020-09-26 12:58:55 +00:00
2fbbd8e7d1
Crypto: Cache HMAC256 instances
...
Appx. 38% speedup
As suggested by jogger
2020-09-09 21:13:37 +00:00
ceb0749e0d
Util: Fix decompression of compressed zero bytes (ticket #2770 )
2020-09-02 15:57:04 +00:00