Commit Graph

649 Commits

Author SHA1 Message Date
zzz 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
zzz 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
zzz 7aa78a1aed One more i2cp buffer size increase 2020-11-10 14:57:39 +00:00
zzz 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
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 8cc62b5b42 Util: More elimination of data copies 2020-11-04 14:27:16 +00:00
zzz e242015145 Util: Hook in ByteArrayStream
Set accurate lengths for zero-copy
2020-11-04 12:04:24 +00:00
zzz 057eca56d5 Console: Show offline expiration on LS debug page 2020-11-02 12:01:58 +00:00
zzz 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
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 ceb0749e0d Util: Fix decompression of compressed zero bytes (ticket #2770) 2020-09-02 15:57:04 +00:00
zzz cc6247fe7e findbugs all over 2020-08-19 14:50:58 +00:00
zzz d73b327fd0 NetDB: Track client that requested LS
OCMOSJ: Don't send to a RAP LS
2020-08-01 12:36:31 +00:00
zzz 5a9eb68160 Data: Don't check LS1 revocation signature 2020-07-28 16:14:05 +00:00
zzz 365b9053ec NetDB: Check signature in verify
Remove null checks, _target can't be null
2020-06-28 14:56:08 +00:00
zzz 4c2bf3e42f I2CP: Meta LS error code handling 2020-06-12 15:58:30 +00:00
zzz 6ec95a7f13 Misc. Javadoc fixes 2020-06-10 15:28:22 +00:00
zzz ac76d544b9 Fix creation of Encrypted LS2
Blinded flag bit goes on the inner LS, not the outer
Fix corruption of inner signature
Broken in 0.9.42
2020-06-06 17:24:26 +00:00
zzz 957767c985 Util: Move fromLong8()/toLong8() methods to DataHelper 2020-06-01 12:25:09 +00:00
zzz e091eeae90 Util: Reduce default gzip compression level for performance
Add fast zero-decompressor
2020-05-27 11:48:21 +00:00
zzz ef66457181 Util: Speed up zero compression
As suggested by orignal
2020-05-19 14:24:20 +00:00
zzz 50e44ece54 Tools: Export private key from private key file in X.509 form
Add missing loadprivatekey command to CertUtil
2020-05-13 20:19:12 +00:00
zzz 788c72c331 javadoc 2020-05-01 11:53:11 +00:00
zzz 2ec9a4ab64 PKF: Add support for addsubdomain 2020-04-03 19:38:39 +00:00
zzz c5f6c9a498 Javadoc fixes after testing with JDK 14 build 36 2020-02-22 16:16:08 +00:00
zzz d3bd2ce190 I2PTunnel, I2CP: Place ECIES first in LS2
Data: Add debug code to ignore LS2 key order
2020-02-12 17:04:07 +00:00
zzz 4eca698584 Fix ngettext in DataHelper to make TX happy 2019-12-17 18:27:55 +00:00
zzz bf94460420 Core: Move date/time/size translations from console to core,
so apps can use them.
Fix translation in LogWriter, was never included in console.
2019-12-17 17:21:35 +00:00
zzz 9ddb655a88 KeyGenerator: Use new PrivateKey constructor to cache pubkey
Clear cached public key on private key destroy()
2019-11-11 14:24:11 +00:00
zzz a51ee8e745 findbugs all over 2019-10-30 15:26:56 +00:00
zzz 3ed8620e5a I2CP: Fix error message for config errors (ticket #2639) 2019-10-23 13:48:39 +00:00
zzz d84fc4f0c8 Data: Add LeaseSet methods to get encryption key by type 2019-10-23 13:13:13 +00:00
zzz a9d4798bfe Data: Cache public key in private key class 2019-10-23 12:15:58 +00:00
zzz 68a03b835a Data: Reduce SessionTag size by flattening class 2019-10-23 11:08:42 +00:00
zzz 3710ff9aa1 javadoc fixes 2019-09-28 12:07:59 +00:00
zzz 2b6cb2099a I2CP: More BlindingInfo serialization fixes
Shorten lookup timeout on router side so the client gets the reply before timeout
2019-09-18 12:37:26 +00:00
zzz f9a2193e2f i2ptunnel: New CLI BlindingInfo test
I2CP: Fix BlindingInfo serialization
2019-09-17 17:30:42 +00:00
zzz 94c96b09e9 Router: Implement expiration for BlindData entries 2019-09-17 11:17:14 +00:00
zzz 0c2a8e9244 Util: Add sigtype/enctype help to PKF
remove dead code from SU3File help
2019-09-17 11:05:48 +00:00
zzz 8d104f7fea i2ptunnel: New form for blinding info (WIP) 2019-09-12 17:42:44 +00:00
zzz 43f055ec28 I2CP BlindingInfo fixes 2019-09-12 13:56:00 +00:00
zzz b4a5cc07c2 i2ptunnel: New b32 error page
Do basic b32 checks before looking up with session
Util: Fix AIOOBE on bad input to base 32 decode
log tweaks
b33 decode error message tweaks
2019-09-10 14:21:28 +00:00
zzz 479461ab3b I2CP: New Blinding Info message (proposal 123)
client- and router-side support
new session lookupDest2() method
return new b33 failure codes from lookup
show b33 alternates in tools
stub out support in HTTP client
2019-09-10 12:37:11 +00:00
zzz c99a42f0b1 I2CP: Write single byte directly 2019-09-09 15:35:58 +00:00
zzz c5f126c196 log tweaks 2019-09-07 13:34:56 +00:00
zzz 8eda9abab7 Util: Fix time zone for formatted time/date 2019-09-07 11:00:29 +00:00
zzz a6e3621c06 Util: Consolidate and standardize date/time formatting (ticket #2016) 2019-08-30 18:38:12 +00:00
zzz 912d25b775 Data: Mark Destination method that doesn't support sigtypes as deprecated 2019-08-29 12:24:45 +00:00
zzz 66ecdb2f7a Data: Initial support for enc types in PrivateKeyFile and I2PSessionImpl
CreateRouterInfoJob updates and cleanups; KeyCert updates
2019-07-23 15:56:03 +00:00
zzz e2980603b7 Router: Checks for new enc types
- Prevent encrypted lookups or stores
- Prevent participting in our tunnels
- Handle padding
- Checks in crypto classes
2019-07-23 13:29:37 +00:00