235c196f14
log tweaks
2015-04-24 21:37:22 +00:00
e475c161cb
i2ptunnel: Don't register port mapper in clients overriding startRunning()
...
if super.startRunning() failed
Register as HTTPS proxy also in HTTP client
2015-04-24 21:16:45 +00:00
08e96109a7
i2ptunnel: Fix shutdown of client tunnels on server socket errors,
...
broken in fix for ticket #815
TCG still doesn't go back to stopped, to be fixed.
Test case: configure low port.
2015-04-24 19:19:18 +00:00
37c6ac3a88
i2ptunnel: Fix Socks and SocksIRC tunnels not starting,
...
broken in fix for ticket #815
2015-04-24 01:48:07 +00:00
ae3a5f7b25
name tunnel starter threads
2015-04-22 20:17:33 +00:00
da0036581c
thread name tweak
2015-04-22 14:51:40 +00:00
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
212f6b472a
i2ptunnel: Catch and log uncaught errors in thread pool
2015-04-21 20:37:59 +00:00
a100d2ccf9
javadoc, remove unneeded volatile and initializer in TCG
2015-04-20 13:12:21 +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
f3bb84f2c0
merge of '4cd641356d3ecf443fa79aa64c8ad553a37022da'
...
and 'b9d4479f7e0f562a5fd47f2d494fe1b2b0925cbe'
2015-04-17 13:46:44 +00:00
1d496404be
Separate loading and starting of TunnelControllers
2015-04-17 13:45:37 +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
e1842be049
Don't automatically start TCG on Android
2015-04-17 11:21:26 +00:00
50b68d4e1c
propagate from branch 'i2p.i2p.zzz.815' (head 43bce385eecdf95bba08985211b80099d1224462)
...
to branch 'i2p.i2p' (head 1b89427bd2952dc4be08fba14ad1d814d722739f)
2015-04-16 23:19:48 +00:00
dd265bbd54
Updates after review:
...
Remove meeh.i2p as update host (ticket #1515 )
Re-add 193.xxx https reseed
Fix SocketManagerFactory property handling
Restore UPnP locale fix lost in the merge
i2ptunnel finals
I2NP unique id fixes
duplicate done() in ReseedChecker
bigger langbox in CSS
reformatting
Javadocs
2015-04-11 19:34:34 +00:00
7825f0f84f
i2ptunnel: Remove null workaround and stat, testing passed (ticket #335 )
2015-04-09 16:04:06 +00:00
2f5f91a084
log tweaks
2015-04-08 11:52:02 +00:00
cce710e377
IRC Server: Better timeout handling when reading initial lines (ticket #723 )
...
Send error responses for timeout, EOF, and bad registration.
Only affects "user" mode, not webirc.
detab
move private fields to top
2015-04-05 17:36:30 +00:00
6aa1284848
i2ptunnel: Check for total header size too big,
...
log tweaks
2015-04-04 19:31:20 +00:00
f7577e7de8
i2ptunnel: Return specific error pages to client on errors
...
in HTTP header processing in the HTTP server (ticket #1507 )
2015-04-04 19:12:18 +00:00
b5df13d8b7
propagate from branch 'i2p.i2p' (head 2cb50c2864d750f33039bdbaeb6c15d2bd636ce4)
...
to branch 'i2p.i2p.zzz.test2' (head 9775e688503ec47dc12efa860a5571317af5f063)
2015-04-04 17:04:52 +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
351a1a8d27
i2ptunnel: Fix NoSuchElementException processing proxyList
...
caused by 03-31 checkin
2015-04-04 16:59:21 +00:00
fcec43b7ca
i2ptunnel: Fix stopping tunnel on bad args when starting,
...
broken by new state code
2015-04-03 23:46:24 +00:00
1ac8d99145
i2ptunnel: Send HTTP server port 443 traffic to the server
...
transparently, to support HTTPS over the same tunnel,
when so configured.
Jetty: Add extensive help to jetty-ssl.xml for setting
up SSL on the same server.
2015-04-03 12:19:41 +00:00
485acd6c8d
Remove all the startRunning() calls in constructors,
...
which duplicated the new ones in I2PTunnel, causing all sorts of trouble.
May still need more locking. TBD.
2015-04-02 20:52:40 +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
c770c6bc6a
i2ptunnel: Fix multiple SSL outproxies in HTTP client
...
escape and truncate URL on error page
2015-03-31 11:21:32 +00:00
9dc2ae0d7e
fixup after prop
2015-03-28 10:25:45 +00:00
188bd6db7b
propagate from branch 'i2p.i2p' (head 2ce39645bf3b3b7fc2f083ebcb073f104114e939)
...
to branch 'i2p.i2p.zzz.815' (head 4f0279eb4cf13e547a64913443ff7819a43962c0)
2015-03-27 14:47:49 +00:00
3a8ce64c84
I2PTunnel client-side locking fixes (ticket #815 )
...
Checkin of patches from Oct. 2013, based on 0.9.8.1.
Had some issues back then, and not tested recently.
Prop from i2p.i2p to follow.
2015-03-27 14:16:41 +00:00
f3d573cab0
i2ptunnel HTTP client: Replace all getBytes() calls
...
with a Writer or getBytes("UTF-8") for efficiency and to
avoid encoding issues.
Store strings as strings, not bytes.
Catch IOEs to prevent cascading error pages.
Minor cleanups
2015-03-25 12:10:14 +00:00
9e18c7ea18
Streaming: Throw I2PSocketException when connection is reset,
...
display new error page in HTTP client (ticket #643 )
javadocs
2015-03-24 14:33:36 +00:00
b875e284af
merge of '33b368d75d4b7536dd4a29efa35fba64e6dc409d'
...
and '8eb5a0d367c4b34eadc326e0ba727e998e6f5505'
2015-03-23 14:21:05 +00:00
46fe4298b9
States for TunnelController ( #815 )
2015-03-23 13:59:05 +00:00
9790d3ba64
Tweak so TODO is marked in IDEs
2015-03-23 12:50:33 +00:00
2d31f30a22
ReadWriteLock in TunnelControlGroup ( #815 )
2015-03-23 12:49:30 +00:00
2fefe93922
merge of '91e8b79f2d8c4ffd26867eb6ddd0ee63d22b0ca9'
...
and 'dd39c6a48fec46017ce527d8b8b8208369ecda5e'
2015-03-23 12:47:40 +00:00
399b068a4e
Fixed NPE in test
2015-03-23 03:54:21 +00:00
dcffde6eeb
Javadoc: missing package.html files in applications (ticket #1109 )
2015-03-22 18:37:40 +00:00
44c75187f5
set tunnel name for ping
2015-03-22 08:30:38 +00:00
47f3476078
More I2PTunnel UI logic into GeneralHelper
2015-03-21 04:29:32 +00:00
56d705739b
Migrate accessors to GeneralHelper, fix broken outproxyAuth boolean
2015-03-15 20:26:36 +00:00
7e5bd17714
Move saveTunnel() and deleteTunnel() from IndexBean into i2ptunnel-ui.jar
2015-03-14 02:52:16 +00:00
8fac5c064e
fix i2ptunnel.war
2015-03-13 14:14:49 +00:00
0b6f74e646
Enable proxy authentication type to be configured
2015-03-11 23:46:38 +00:00
b8b272a5b8
Better multi-mode setters
2015-03-11 10:57:07 +00:00
a570e09166
Explicit boolean setters in TunnelConfig
2015-03-11 10:34:02 +00:00