37ebf04bb5
Streaming: Kill accept() when session disconnects
2016-07-16 16:59:07 +00:00
0e941625cf
Streaming: Return I2PSocketAddress from StandardSocket methods (ticket #1321 )
2016-05-25 14:55:30 +00:00
5a2975ba65
SOCKS: Fix NPE on lookup failure in SOCKS 4a
...
Remove duplicate lookups in SOCKS 5
Log tweaks
Streaming, i2ptunnel: Catch null destination in connect() calls
Synchronize Connection.setRemotePeer(); remove _remotePeerSet field
2016-04-13 13:40:46 +00:00
e65bd26ad5
I2PTunnel:
...
- Add options to block by referer and user-agent
- Increase size of access list field in form
- Log blocked destinations in b32, not b64
- Strip X-Runtime header
Streaming;
- Log blocked destinations in b32, not b64
2016-02-13 15:31:38 +00:00
z3r0fox
691e274ca7
Linting dep-ann: Added @Deprecated annotations in i2psnark, i2ptunnel, ministreaming, routerconsole, streaming
2016-02-06 22:38:10 +00:00
str4d
bb56a11bda
propagate from branch 'i2p.i2p.unittests' (head 53586f73fb813f519cdb6a1f7b1b40efec2e35dc)
...
to branch 'i2p.i2p' (head 628a2c591ca44095e2f93acd026046d4512cf692)
2015-12-08 05:27:03 +00:00
b1668bbc11
Fixup after prop, history, bump -3
2015-11-27 21:10:10 +00:00
9ce8fced02
propagate from branch 'i2p.i2p.zzz.sam' (head b328f0edb961263d7606ea964ecb3f7c319ca1cf)
...
to branch 'i2p.i2p' (head 7b4c0525be182722ef2cc7b564691f27d997da3b)
2015-11-27 20:58:18 +00:00
730dea377a
Streaming: Fix recognition of PoisonPacket in ConnectionHandler
2015-11-25 16:48:25 +00:00
51c5da3f72
lint: don't catch Exception, catch RuntimeException or checked exception.
...
omits SAM, BOB, reflection, commented-out code, and a few other places
2015-11-12 18:49:13 +00:00
1451dc6ece
More: Don't use DataHelper.readLong() for 1-byte reads, for efficiency
2015-11-08 20:43:42 +00:00
5f50f23fe1
Streaming: Split blacklist into one for EC and one for Ed
2015-11-05 21:37:21 +00:00
str4d
843e2a8a0e
propagate from branch 'i2p.i2p' (head 4a63eba1606a8ba2448352876b4177d9e4c753a1)
...
to branch 'i2p.i2p.unittests' (head 051ea486db9f6f5a4327038827763f350369f932)
2015-10-09 10:17:03 +00:00
419d6a8e18
SimpleTimer2: Additional fix for uncaught IllegalStateException
...
affecting streaming timers (ticket #1672 )
Minor streaming cleanup
2015-10-08 13:42:31 +00:00
3ea8b477d8
Streaming: Move throttler from context timer to streaming timer
2015-09-27 15:14:18 +00:00
64889b2bc2
Streaming: Move remaining timers from the context to streaming's SimpleTimer2;
...
these were the ones migrated from SimpleScheduler earlier
2015-09-18 14:36:49 +00:00
601376561b
add Closeable/Flushable interfaces
2015-08-27 14:36:19 +00:00
str4d
5eda1e0031
JavaDoc paragraphs
2015-07-27 04:29:50 +00:00
1eaf376ee7
Crypto: Check for error return from sign()
2015-07-07 13:46:04 +00:00
2681c4b42f
Streaming: New config to add to DSA-only list
2015-07-07 13:35:55 +00:00
addb142ecd
I2CP: Move client-side implementation classes to
...
new package net.i2p.client.impl, leaving only the
factories and interfaces in net.i2p.client
2015-06-18 21:20:00 +00:00
f341e5566b
Pass session in connect();
...
Store the session in Connection;
Don't create a new ConnectionManager for a subsession,
now that all components track the session properly.
@since updates
2015-06-10 19:14:33 +00:00
7b84676f4a
remove session ref from PacketQueue
2015-06-10 12:37:19 +00:00
fef65c996f
Store the session in Packet, so we may more easily and efficiently
...
handle multisession, especially on the incoming side.
More refactoring to follow
2015-06-08 22:18:14 +00:00
099515adff
propagate from branch 'i2p.i2p' (head 1de143fff53bb56e6eac926d6293d62200f0c392)
...
to branch 'i2p.i2p.zzz.multisess' (head 70fc07857232668b93ca6ba02c433dffc7639132)
2015-06-08 21:50:42 +00:00
657f13af29
Remove ConnectionManager ref from PacketQueue
2015-06-03 17:25:25 +00:00
f7b7a98b9d
i2ptunnel: Close input stream when HTTP client decompressor terminates (ticket #1506 )
...
streaming: Minor cleanups, log tweaks
2015-05-04 14:43:54 +00:00
8d9e2bdc71
log tweaks
2015-04-26 17:46:48 +00:00
772d0beac3
Streaming: Don't wait too long to send a dup ACK, so the other
...
side isn't stuck forever at a window size of 1.
Cleanups, log tweaks, javadocs
2015-04-23 15:34:24 +00:00
64fdfd81ee
remove excess logging
2015-04-23 13:38:44 +00:00
1b09b9faa4
Streaming: More efficient checking for input buffer overflow,
...
add additional checks.
Fix bug if available buffer calculation is negative
Check log level before calling displayPacket()
Log tweaks
2015-04-23 13:19:18 +00:00
6f0ebb2d94
Streaming: Reduce min RTO so that "loopback" connections
...
recover quicker after packet loss;
Reduce default initial ack delay;
Rename misspelled method
2015-04-23 10:28:02 +00:00
72eb2c058c
Streaming: Move Packet.writeSignedPacket() to PacketLocal
2015-04-20 13:13:55 +00:00
47c4c0d6bb
add all known dsa-only hosts to list
2015-04-19 19:35:38 +00:00
b2872e6110
I2CP Multisession - Work in progress:
...
Start availability notifier in subsession
Availability notifier cleanup
Various log tweaks added while chasing this down
Better subsession state management
I2PSocketManagerFull verifies subsession to force connect()
Successfully tested
2015-04-19 19:05:53 +00:00
32049d7bfc
I2CP Multisession - Work in progress:
...
Reuse LS encryption keypair from primary LS
Log tweaks
2015-04-19 14:49:13 +00:00
d8baf62966
I2CP Multisession - Work in progress:
...
Stub out hardcoded list of DSA-only destinations
Tweak client name length in summary bar
Force initial leaseset request for subsession
Send SessionStatus msg before LS request for subsession
2015-04-19 03:11:37 +00:00
ff5d29de1a
I2CP Multisession - Work in progress:
...
Fix NPE in addSubsession() by creating key stream
Set sigtype for subsession
2015-04-18 19:50:14 +00:00
91e98ba447
I2CP Multisession Work in progress:
...
Fix NPE in requestLeaseSet()
Fix setting new session ID in SessionStatusMessage
Fix subsession support detection
Streaming: one socket manager, multiple connection managers.
Change data structure for subessions in socket manager
Subsession cleanup on destroy
I2PTunnel: add DSA subsession for non-DSA shared client
Javadocs
2015-04-18 19:01:23 +00:00
6a644dd0e5
propagate from branch 'i2p.i2p' (head 66743cfb9b4e1c257e4f0a20a318ee7eb1fb607c)
...
to branch 'i2p.i2p.zzz.multisess' (head 4533ba250cb8e49044f5144b34014e9bc618cdc7)
2015-04-18 14:08:22 +00:00
7b82393336
atomics and finals
2015-04-17 17:15:22 +00:00
bc0a7ebbbc
propagate from branch 'i2p.i2p.zzz.test2' (head b6de226d1664089488ab2b438fe7457e9fb8e563)
...
to branch 'i2p.i2p' (head 0cf35c87b68a5360bd35257e36dfe7f740e53693)
2015-04-17 13:18:22 +00:00
5555c52376
Streaming: Locking for next send time,
...
rename shadowing field in inner class
2015-04-17 13:00:16 +00:00
dev
b31ae4bae5
propagate from branch 'i2p.i2p.tuna.tmp' (head 1bba286bdb7f8ba879c4db3f356676151674a201)
...
to branch 'i2p.i2p' (head 5698b31632398b8156a3b4cc215fed677cf205bf)
2015-04-15 16:08:29 +00:00
dev
54dba980b4
#1069 : Replaced SimpleScheduler with SimpleTimer2 in a few places
2015-04-15 15:32:40 +00:00
de6608f6b8
Streaming: Handle reset packets without a FROM field, validate
...
signature using connection's destination
Log tweaks
Remove 0 arg from addRateData() calls
2015-04-14 14:11:48 +00:00
dev
facbe8f9a0
#1069 : Deprecated SimpleScheduler and moved functionality into SimpleTimer2
2015-04-06 21:05:24 +00:00
706ee243a5
Streaming read timeout fixes:
...
i2ptunnel:
- Better timeout handling when reading headers in HTTP server (improved fix for ticket #723 )
Enforce total header timeout with new readLine()
- Prep for returning specific HTTP errors to client on request timeout and header errors,
instead of just closing socket... further work to be in i2p.i2p.zzz.test2 branch
Streaming:
- Fix read timeout on input stream - was waiting too long, often twice as long as timeout, or more
Enforce total timeout even when notify()ed
- Fix read() returning 0 on read timeout instead of -1 (possible fix for ticket #335 )
This prevents passing partial headers to server on timeout
- Fix javadocs for read timeout to match current behavior
- Fix StandardSocket SoTimeout to account for differences with I2PSocket readTimeout
- log tweaks
2015-04-04 17:00:57 +00:00
fadc624f7c
API: Fix some client-side APIs to honor defaults in Properties;
...
add javadocs to specify where we do and don't (ticket #1491 )
2015-03-31 13:18:11 +00:00
956730c5e9
log tweak to help diagnose ServerSocket closed
2015-03-28 10:54:00 +00:00