f6e508ca14
* Streaming: Fix verify of Ed25519 signatures in CLOSE packets
...
- cleanup writtenSize()
2014-08-28 13:57:52 +00:00
2c7006e9bd
Streaming; Disable fail-fast for now. It's failing on leaseset lookup
...
far too often. Need to fix that first.
2014-07-19 12:39:37 +00:00
616866cc9e
Build: Move remaining jars to Java 6, as we will require
...
API 9 in the next Android release.
2014-06-27 13:57:43 +00:00
ca4555c496
lint redundant cast all over
2014-06-26 15:26:58 +00:00
1420c773a6
* Streaming; Drop the preliminary channel implementations,
...
as added by 'dream' in late 2011. Testing couldn't have happened,
as they don't work and can't ever work as designed.
Channels must have underlying file descriptors unless you implement
your own Selector and that would probably require JNI.
See http://zzz.i2p/topics/1229 for details.
Also http://stackoverflow.com/questions/911780/how-do-i-define-my-own-selectablechannel
2014-06-24 12:49:18 +00:00
986de4c1d6
Streaming: Fix connection error message
2014-06-23 20:12:12 +00:00
002d057c92
findbugs all over
2014-06-13 21:37:18 +00:00
40e5bcbdbb
* NetDB: Reduce negative lookup cache time
...
* OCMOSJ:
- Increase timeout if we must lookup leaseset
* Streaming:
- Shorter expire time in TCBCache
- Don't fail a connection once it is up
- Log tweaks
2014-06-07 13:23:38 +00:00
2467856011
* Streaming: Cleanup, don't fail hard on no tunnels (ticket #788 )
2014-05-18 00:44:51 +00:00
d32b4e9f24
* I2CP: Per-message status codes back through streaming (ticket #788 )
...
- New I2PSessionException
- Streaming PacketQueue requests status for SYNs on outbound conns
- PacketQueue throws I2PSessionException in streams
2014-05-18 00:05:13 +00:00
e1fc6893b4
SocketErrorListener callback is unimplemented
2014-04-05 12:18:14 +00:00
2cca2781fd
* Streaming: Track recently closed connections (ticket #1161 )
...
Consolidate and synchronize code for selecting a random stream ID
2014-03-12 12:39:53 +00:00
2f7eb56790
propagate from branch 'i2p.i2p.zzz.ecdsa' (head e83bcdc842f5995d310a4295147f9326a993e010)
...
to branch 'i2p.i2p' (head 4983f716f8740bc7ddfae5561a562a0d42a815ae)
2014-02-17 13:29:41 +00:00
66d9017d58
fix PingTest
2014-02-11 19:45:52 +00:00
855cae0a45
propagate from branch 'i2p.i2p' (head eac6caabd2ea6731ee27111f0dbadf5afcd3695b)
...
to branch 'i2p.i2p.zzz.test2' (head 911a8782667d878dd7a2976c7fb10d481d80e023)
2014-02-07 16:33:59 +00:00
3622501471
* Streaming:
...
- Set ports on many packets that were missing them
- Use connection throttling methods on pings too (ticket #1142 )
- Add methods to set ports on pings
- Argument checking on ping methods
2014-02-02 16:47:29 +00:00
3ab149a399
streaming javadoc fixes
2014-02-01 12:37:45 +00:00
9eefe1e935
propagate from branch 'i2p.i2p.zzz.i2cp' (head d4ac8162a4ba299ac912640f19076c3c90afdc67)
...
to branch 'i2p.i2p' (head adc5102c93383e01c74b87f04449dc9c307f6e75)
2014-01-27 16:47:22 +00:00
ce475d2cd6
sort imports
2014-01-25 15:05:43 +00:00
44e7110c9a
Fix StandardServerSocket.isClosed() and close()
...
thx cacapo
ref: http://zzz.i2p/topics/1547
2014-01-08 00:32:51 +00:00
b59aa1fb69
move I2PSocketOptionsImpl from mini to impl
2014-01-04 22:10:10 +00:00
54a21bfa7b
Fix compilation of non-JUnit tests (disabled by default)
2014-01-04 19:57:47 +00:00
50f55877f8
make public method protected
2014-01-04 19:56:55 +00:00
f9ff262318
Fix junit tests for streaming, thank you zab (and thank you zzz) for helping out.
2014-01-04 19:45:52 +00:00
91ba76f2a6
merge of '1fd43bf251a91d33bb1ea9b06f2b35a40be3b9c9'
...
and '766a92b57cdf82d3b1d1e3a71ef2a3109e883add'
2014-01-04 17:41:15 +00:00
ec97bc2f81
Stab at fixing streaming tests.
...
Add javadoc package.html
Fix import order
2014-01-04 17:39:32 +00:00
c03511b971
exception causes
2014-01-04 16:40:06 +00:00
2a09d5baa6
* Streaming: Move streaming to new package (ticket #1135 )
2014-01-04 14:09:33 +00:00
e8e239616f
* Crypto: More implementation for key certs
...
- Support i2cp.destination.sigType option in TunnelController and
I2PSocketManagerFactory
- Fixup of Destination.create() and Destination.size()
- Add generic off/len methods in DSAEngine, needed for streaming
- Fixup of sign/verify in streaming Packet
- Javadocs
2014-01-03 00:22:44 +00:00
5842e25205
Initial support for key certificates and arbitrary types and lengths
...
of signing keys and signatures in RouterIdentities and Destinations.
Untested, not even for regressions, except with command line
using PrivateKeyFile.
Based on preliminary spec at http://zzz.i2p/topics/1442?page=1#p7524
Not done:
- Transport handshake signing
- Configuration of default type
- Specification of type in options to I2PSocketManagerFactory
- Specification of type in i2ptunnel
- Fix up caching of SigningPublicKey and P256 key cert
- Any non-default crypto type in the key cert
- Documentation
2013-12-24 16:41:05 +00:00
5219791673
I2CP:
...
- Add support for b64 conversion in destLookup()
- Catch invalid message length sooner
I2Ping:
- Extend I2PTunnelClientBase so non-shared-client,
I2CP options, and other features will work
- Fixes for fields and threading
Streaming:
- Send LS with ping (broken since 0.9.2)
- Set the NO_ACK flag on pings and pongs
2013-12-21 18:10:59 +00:00
38c02b44b9
Streaming: final, volatile, logging
2013-12-19 12:24:51 +00:00
2b39d28e99
fix comment
2013-12-19 12:16:39 +00:00
c180292358
Style fix: leave brackets around for() one-liners
2013-12-04 03:51:02 +00:00
1112fc8544
Yes it's deprecated, it should still use proper generics
2013-11-30 12:52:50 +00:00
efe3bd2c05
Use for each when Iterator not needed
2013-11-28 11:56:54 +00:00
f112baac48
propagate from branch 'i2p.i2p' (head cbfe85d22c4d0b05c901db3fa751b57889d9b2d6)
...
to branch 'i2p.i2p.str4d.cleanup' (head 94fe1764f50b459da18222434034ad46d604c7a1)
2013-11-28 11:12:41 +00:00
707f616498
Changes from -rc diff review
2013-11-28 11:10:57 +00:00
615ba94559
propagate from branch 'i2p.i2p' (head d12a1fd746cd9314de5de5e1000c02cf4c59100d)
...
to branch 'i2p.i2p.str4d.cleanup' (head e20c143dd50a9c802999068a95e12198b07e4c36)
2013-11-25 22:36:27 +00:00
35b6926e4f
Ticket #1047 : Do not adjust window on receiving dups.
2013-11-25 19:21:27 +00:00
60aa8c57a4
I2PTunnel: Fix a shared client configured with i2cp.newDestOnResume
...
not restarting correctly, caused by previous checkin
2013-11-24 23:42:53 +00:00
552dd189a5
streaming: type arguments, unused imports
2013-11-22 04:18:26 +00:00
57144f3e6a
Added Eclipse projects for SAM and streaming
2013-11-22 03:58:02 +00:00
b53ed94e8f
Findbugs:
...
- Fix several 'increment of volatile is not atomic' all over
Remaining: UDP PeerState.java, to be checked in separately
- Comment out all of unused MessageStateMonitor
2013-11-12 19:28:23 +00:00
108039de08
partial revert of 6df9f4e154d148867ee158cbe9e9acf3fb73d680
2013-11-10 23:00:57 +00:00
5c38d5a6c9
Findbugs: More findbugs fixes. Including but not limited to: null check fixes and some synchronization
2013-11-10 22:20:13 +00:00
0a8f79f0e3
Findbugs: A stab at squashing some issues across the board. Probably more to follow.
2013-11-10 19:04:57 +00:00
90c2e08489
Streaming:
...
- Fix uncaught exception when log level = WARN, broken in -23
2013-11-10 15:32:54 +00:00
ae76a6ee1a
findbugs correctness fixes, all over the place
2013-11-07 19:20:25 +00:00
a92913da4c
* Streaming:
...
- Ensure minimum randomized initial conn throttle period
- Change order of throttle checks again
- Don't continue throttle checks if throttled
2013-10-28 17:59:50 +00:00