ce041dfbc1
0.9.18
2015-02-22 09:52:27 +00:00
4613da093d
log level tweak, bump for review
2015-02-19 09:47:44 +00:00
2d5f7aaae5
year typo fix
2015-02-18 23:48:21 +00:00
5a7a7ac83d
typo fix
2015-02-18 22:36:52 +00:00
f217af2deb
extend checkcerts.sh to print bits and hash information
2015-02-18 22:36:33 +00:00
6d58f9a354
Updates to geoip.txt and geoipv6.dat.gz based on Maxmind GeoLite Country database from 2014-02-04.
2015-02-18 22:34:09 +00:00
29953ea5e4
Debian: confine daemon with apparmor (ticket #1061 )
2015-02-18 22:25:24 +00:00
bb9cef1e40
Add example apparmor profile (ticket #1092 )
2015-02-18 21:38:25 +00:00
ece2f1484c
refresh debian patch
2015-02-18 21:32:34 +00:00
a3c8a4363d
Pulling in translations from Transifex
2015-02-18 20:20:52 +00:00
2f90b5a201
refresh debian patch
2015-02-17 19:27:11 +00:00
d4bbdc28f3
FloodfillMonitorJob: use the 60 min rate avg instead of lifetime avg, but fallback to the lifetime.
...
SAMStreamSend: fix tabbing from earlier commit.
2015-02-16 17:27:17 +00:00
f41df969b7
merge of '3e2231827648f614c5df325d9904e8d454e9a847'
...
and 'cddd2e9d2cf6f5c50a7d9948fbb2b3247d9768eb'
2015-02-16 08:07:54 +00:00
f87d006a1c
FloodfillMonitorJob:
...
- Use lifetime average value for job lag
- Change the job lag limit to less than 25ms
- Consider and set the limit of backlogged tunnels to less than 5
2015-02-15 22:40:36 +00:00
f4fa9a7d8f
New cert for i2p.mooo.com. Will be switched on the server in a future release.
2015-02-15 19:16:07 +00:00
c52047e6cd
Remove reseed host by hoster's request
2015-02-15 19:10:48 +00:00
9163d41228
* I2PSnark, Jetty, SAM, crypto: findbugs resource leaks.
2015-02-10 21:57:27 +00:00
1be9bb29e8
disabling us.i2p2.no over http
2015-02-08 15:05:04 +00:00
522a89a045
reseed: remove reseed.info; hoster is discontinuing the service.
2015-02-08 15:00:01 +00:00
06b9b6a7fb
more clock log tweaks
2015-02-08 12:52:51 +00:00
7f9c565cd7
fix early NPE
2015-02-08 00:42:43 +00:00
201afc823e
SSU: Limit range for valid clock skew
...
Reduce log level for ignored clock adjustment
2015-02-07 14:13:14 +00:00
f4c79c885a
Transport: Ban routers if they are too old and we are non-DSA
2015-02-07 14:03:42 +00:00
656202c9db
debug tweak
2015-02-07 14:01:56 +00:00
72b64072d5
missed file for event log change
2015-02-07 13:59:11 +00:00
b72271f9a4
NTCP: Block IP for a while when incoming connection is dropped before
...
receiving a message. Possible workaround for tickets #551 , #1075 , #1411 .
Root cause of problem not yet found.
- Increase threshold for loop throttle, this probably isn't the problem.
- Log tweaks
2015-02-06 15:09:45 +00:00
b0d09d28f4
SSU: Change peer test log error to warn.
...
This is caused by an i2pd bug, already fixed.
2015-02-06 11:18:20 +00:00
b9197e35b5
NetDB: Reduce max job lag for floodfill, was far too high
2015-02-06 00:51:32 +00:00
e431be2cbe
NTCP minor cleanups, javadocs, atomics
2015-02-06 00:49:21 +00:00
761c883c1f
Add event log for reachability change
2015-02-06 00:47:41 +00:00
60f86f342b
Decrease DH refiller initial delay and increase buffer size
...
to reduce chance of running out on high-bandwidth routers
2015-02-06 00:46:13 +00:00
1234b6b148
stat tweak
2015-02-06 00:45:24 +00:00
6f45242fc8
Plugin SU3 cert for str4d@mail.i2p
2015-02-04 23:03:42 +00:00
36c45ccb7b
Console: Show UPnP status even if disabled (ticket #1459 )
2015-02-04 16:11:17 +00:00
90cf71b5bc
rename headers after review
2015-02-04 11:54:18 +00:00
7165dc7860
NetDB: Don't flood an RI back to itself. While Java ffs self-flood,
...
other implementations may not.
2015-02-01 19:57:18 +00:00
5491287931
OCMOSJ: Pick a OB tunnel at random, not with the OBEP closest
...
to the lease, as that may be reducing the odds of trying a
different path and hurting connection reliability.
While the change may slightly increase connection congestion,
if it helps with reliability then it's worth it.
2015-02-01 19:53:11 +00:00
7256096b8a
Router: Call warmupCrypto() earlier in the initialization, so it
...
actually happens before some other thread needs the crypto
2015-02-01 19:49:25 +00:00
b6008b5414
Crypto: Catch IAE in generateCertificate()
2015-02-01 19:47:09 +00:00
1042d21278
log tweak
2015-02-01 14:07:56 +00:00
47eff7ee86
PRNG: Don't hang forever at startup waiting for SecureRandom init
2015-01-31 17:37:59 +00:00
3da850a6b9
bump -17
2015-01-31 15:20:37 +00:00
a1358deda2
private method
2015-01-31 15:16:42 +00:00
df0bbfd615
Netdb: Encrypt lookups for 32-bit x86 also
2015-01-31 15:13:52 +00:00
0568ac3aa5
javadoc
2015-01-31 15:13:04 +00:00
e63a69170e
Transport: set 4 MBps max bw due to bloom filter
2015-01-31 15:12:21 +00:00
711f8dedd9
console: disable changing log path
2015-01-31 15:10:45 +00:00
09c3737a94
reduce log level
2015-01-31 12:53:49 +00:00
9384424173
disable floodfill in laptop mode
2015-01-31 00:12:25 +00:00
4936f08212
Console: Don't display invalid IPv6 addresses as options on /confignet
2015-01-30 17:26:45 +00:00
03f4ebbe35
add throttle stat
2015-01-30 16:17:39 +00:00
0671785ab2
NTCP: Throttle event pumper if looping too fast (tickets #551 , #1075 , #1411 )
...
This is just a simple workaround, root cause unknown.
May need tuning.
2015-01-30 16:00:45 +00:00
381dbc4b4a
Proxy error page tweaks
2015-01-30 15:55:12 +00:00
84cf531f5f
SSU: Fix transition from firewalled to non-firewalled
2015-01-29 22:23:28 +00:00
175806115b
SSU:
...
- Sort introducers in router address, so we won't force a republish
due to a different ordering of the same introducers
- Don't publish an address if we need introducers but don't have any,
so the user won't see a 'firewalled with inbound NTCP enabled' message
2015-01-29 20:34:49 +00:00
86b45ab1e5
SSU: Fix replaceExternalAddress churn when firewalled,
...
caused by change in 0.9.17 removing IP/port from published address
when firewalled. We must now keep a local unpublished address
also, containing the detected IP/port.
2015-01-29 15:53:04 +00:00
17939036bc
move comparators to their own class
2015-01-29 12:52:46 +00:00
5bf515441e
Router: Ensure nonzero tunnel IDs
2015-01-28 21:43:27 +00:00
06edb9f2a6
Router: Stub out capabilities P and X (ticket #1447 )
2015-01-28 18:07:45 +00:00
33b58f5fab
UPnP:
...
- Callback when device removed
- Consolidate callbacks
- Clear ignored devices after primary device removed
to allow one to be promoted on rescan
2015-01-28 17:38:52 +00:00
47a012a4dd
initialize blocklist sooner
2015-01-28 17:36:53 +00:00
e5801be43e
only use valid IP for geoIP
2015-01-28 16:25:50 +00:00
d5a6ac591c
more UPnP locking fixes
2015-01-28 16:25:08 +00:00
59373f9bdf
UPnP:
...
- Rescan for devices periodically and when reachability changes (tickets #661 , #959 )
- Don't put "I2P" in registered protocol name
- Add uptime to UPnP info
- HTML escaping
- Remove static log on Android
- Javadocs and cleanups
2015-01-28 15:04:59 +00:00
5da492b9e5
spelling
2015-01-19 12:44:31 +00:00
9bcc951f10
i2psnark: Skip incompatible welterde tracker if we are ECDSA
2015-01-11 18:21:45 +00:00
3270ba840e
I2PTunnel: Add option for multihoming optimization
2015-01-11 17:36:39 +00:00
45b3e44cc2
NetDB: Stubs for bandwidth estimation during reseed (ticket #935 )
...
Incomplete and may not ever be, for evaluation only.
2015-01-10 16:51:13 +00:00
7ed855b2d2
NetDB: Publish RI faster when costs change (ticket #1437 )
...
PLRIJ interval was 37-50 minutes. Reduce that by 4x,
but for 3 out of 4 times, only publish if something changes,
including cost. 4th time, always publish, as before.
This will hopefully reduce routers getting slammed to
conn limits on a transport.
2015-01-09 17:03:33 +00:00
f08552c2d1
javadocs
2015-01-09 16:58:57 +00:00
9a4c19b24b
reduce log level
2015-01-08 19:32:42 +00:00
690b695373
remove jisko.i2p, down since 2014-11-08
2015-01-08 18:21:11 +00:00
65348b2365
more renaming
2015-01-08 18:20:08 +00:00
285c13d900
fix reseed checking at startup, broken in previous checkin
2015-01-07 23:15:10 +00:00
0a938d9048
Router: Don't reset uptime after a soft restart
...
Tunnels: Temporarily increase exploratory tunnel quantity at startup,
so that netdb refresh will work better
2015-01-07 20:11:04 +00:00
a02a265802
trim all xml news data
2015-01-07 19:55:37 +00:00
eeeeef81cf
NetDB: Possible fixes for reseed completion not recognized (ticket #1384 )
2015-01-07 19:16:55 +00:00
bcb9fe5f24
Startup: Accept tunnels after 10 minutes instead of 20 (ticket #1152 )
2015-01-07 19:14:44 +00:00
37f34d83f8
Router: Add startup/shutdown state machine
...
Tunnels: Cleanup, catch more cases of zero-hop configuration
ClientAppConfig: Start i2ptunnel sooner
Since BuildRequestor won't use a zero-hop exploratory as a paired tunnel
for client builds, it's now safe to start client tunnels
before the expl. tunnels are ready. This will save up to 90 seconds.
2015-01-07 17:54:21 +00:00
b3238079c3
reorder
2015-01-06 14:39:14 +00:00
ee1edb3383
renaming
2015-01-06 14:10:25 +00:00
7767430af2
EepGet: Fix PcapWriter
2015-01-05 17:05:36 +00:00
2e5185aa99
EepGet: Change command line default to 0 retries
2015-01-05 15:22:32 +00:00
6e847a4cc4
Streaming: Add API for sending/receiving payload in ping/pong
2015-01-05 15:09:12 +00:00
045f6dccf8
Latency reduction all over:
...
- SSU: Reduce ack delay
- Streaming: Reduce min RTO and flusher delay
- Tunnels: Reduce GW batching time
2015-01-05 13:19:34 +00:00
d7895a456a
minor optimization
2015-01-05 13:17:59 +00:00
7753d05b61
UrlLauncher:
...
- Configure browser with routerconsole.browser (ticket #1159 )
- Convert to ClientApp interface
2015-01-05 12:42:39 +00:00
043b4776c3
move port under interface in form
2015-01-05 12:40:46 +00:00
5db764de5f
Blocklist:
...
- Rewrite to read and merge multiple files
- Include in update, use version in base dir too
- Increase limits
- Bug fixes
2015-01-05 12:38:38 +00:00
3ae846a713
m4b mime type
2015-01-03 14:15:48 +00:00
927e29b8ef
I2PTunnel: Persist leaseset keys
...
I2CP: Use configured leaseset keys if available
2015-01-03 13:32:24 +00:00
d271411552
Added Dock fix for Mac OSX 10.10
2015-01-03 01:51:32 +00:00
31d98ac4a5
new reseed host
2014-12-30 02:18:30 +00:00
78f4cc8e30
Add two certs to deletelist (missed in last commit)
2014-12-22 16:27:58 +00:00
cce30a8f42
reseed changes
...
- cowpuncher is moving to rows.io
- (temporarily) disabling 193.150.* due to downtime
- removing unnecessary certs
2014-12-21 20:41:34 +00:00
a9e928fb46
Eepsite help: Removed statements requiring dest to end in AAAA.
...
Translations updated also, but may need some further fixup.
2014-12-19 14:14:04 +00:00
60017f7c55
Crypto: Stubs for encryption key types
2014-12-17 14:41:24 +00:00
eb46f74e24
I2CP: Don't log full session config on error
2014-12-17 14:30:11 +00:00
5e890bd781
checkremotecerts.sh: torify was recently deprecated and now is just an alias pointing to
...
torsocks, so let's use torsocks directly
2014-12-15 15:18:19 +00:00
20facf78d0
bump -3
2014-12-15 14:51:34 +00:00
96db43cc8e
unchoke new peer faster
2014-12-15 14:43:37 +00:00
ab4f209c10
remove xml stats link
2014-12-15 14:40:38 +00:00
fa51a0aef4
enhance logging for inproxy rejections
2014-12-15 14:40:00 +00:00
aa6a5e053c
raise max concurrent tunnel builds
2014-12-15 14:38:33 +00:00
03df6c2ba0
less casting
2014-12-15 14:38:07 +00:00
501f645e60
disabling reseed host i2p-netdb.innovatio.no: unresponsive hoster + config issues.
...
Could be re-enabled when/if problems are fixed.
2014-12-14 23:32:11 +00:00
23534b31c6
SU3File: Infer SigType from private key when signing,
...
Change default to RSA 4096
SigUtil: Add conversion methods for Java keys with unknown types
2014-12-14 17:52:23 +00:00
d35363cdbc
SU3File: Fix getContentOffset(); fail on excess data after sig
2014-12-14 15:52:44 +00:00
ba34c90b7f
EdDSA cleanup, another null resource check
2014-12-13 20:56:49 +00:00
94a19171ed
reseed server and comment updates
2014-12-13 18:54:28 +00:00
8099591589
correct certificate line endings
2014-12-13 18:38:41 +00:00
df6bbc59b3
update of reseed ssl certificates:
...
The webpack* and cloudflare* certificates are for ssl.webpack.de and
cowpuncher.drollette.com, respectively. I'm removing the smartcom.org
certificate because it's unused.
2014-12-13 18:29:12 +00:00
05a616aa0d
SU3File: Implement 'extract -k'
2014-12-11 20:58:04 +00:00
c84105e783
add cacert cert to deletelist
2014-12-10 17:57:16 +00:00
262721cc90
SSU: reduce log level of uncaught errors processing I2NP message
2014-12-10 17:56:37 +00:00
c24168d5cd
remove unused and weak md5 certficate
2014-12-10 14:39:44 +00:00
4e529a68d3
Console: Prevent two-word translations from splitting across lines in summary bar
2014-12-09 15:16:41 +00:00
4f3244e93b
add new, stronger certificate for netdb.i2p2.no
...
The old certificate will not be replaced on the server yet. The old cert is
SHA/1024-bit. New cert is SHA256/2048-bit key.
2014-12-08 23:50:06 +00:00
b2e17916e4
HTTP Proxy: Fix parsing of ECDSA address helper,
...
ignore '=' when comparing, reindent test
2014-12-08 14:12:00 +00:00
57ac344e7f
show infohash in upper case
2014-12-08 14:08:45 +00:00
98e275d908
javadoc typo
2014-12-08 14:05:35 +00:00
8420b6c715
NetDB: Increase lookup throttle time
2014-12-08 14:05:08 +00:00
3dfcb2d5cc
(temporarily?) disable jp.reseed.i2p2.no (ticket #1422 ), add a note that netdb.i2p2.no is currently v3 only
2014-12-07 15:42:57 +00:00
540720a912
unit test fixes
2014-12-05 16:18:25 +00:00
f86200e3ae
history for prop, -1
2014-12-05 15:37:01 +00:00
9e43618028
Plugins: More thread group debugging for isRunning check;
...
Don't count Jetty RolloverFileOutputStream in the thread group,
to fix restart of a plugin
2014-12-05 15:35:38 +00:00
aacdba1bc7
KeyGenerator: main() test improvements
...
Allow specification of sig types on command line
2014-12-05 15:32:34 +00:00
c28d060d52
Update: Use last-modified instead of last-checked for the next
...
if-modified-since fetch, to fix failing to fetch the latest news
2014-12-05 15:30:53 +00:00
bf3fdbb1ab
Increase default class O conn. limits to 350 NTCP, 1050 SSU
2014-12-05 15:27:24 +00:00
0a7a637d46
javadocs
2014-12-05 15:21:45 +00:00
e842165265
more argument checking, javadocs
2014-12-05 15:21:26 +00:00
2db82da910
cleanup
2014-12-05 15:19:26 +00:00
9953bc3024
javadoc
2014-12-05 15:18:24 +00:00
2ba4992d88
propagate from branch 'i2p.i2p.zzz.test2' (head 0feb2e6806927f68c7333aaa0892de185bb2629c)
...
to branch 'i2p.i2p' (head 0482fa843cb1e9d7ec281440056eef3a0ab07bdb)
2014-12-05 15:14:40 +00:00
5e67008d26
I2PTunnel: Reduce i2ptunnel threads, more thread pooling.
...
Big savings is on client side (two less threads per connection)
- Move client pool from static inI2PTunnelClientBase to TCG.
- Use client pool for some server threads
- Run some things inline that were formerly threads
- Client-side I2PTunnelRunner thread used to do nothing but start 2 more
threads; now it runs one inline (like we do for server-side HTTP)
- Javadocs and cleanups
Was originally intended to reduce load for high-traffic servers
but most of the savings for now is on the client side.
Ref: http://zzz.i2p/topics/1741
Todo: Figure out how to run the HTTP client-side gunzipper inline too
Todo: More server-side improvements
---
Client side:
before:
4-5 threads, 1-2 pooled
I2PTunnel Client Runner (BlockingRunner from client pool)
starts I2PTunnelRunner or I2PTunnelHTTPClientRunner and exits
starts StreamForwarder toI2P and waits
starts StreamForwarder fromI2P and waits
starts HTTPResponseOutputStream (HTTP gunzip only) (from client pool)
now:
2-3 threads, 1-2 pooled
I2PTunnel Client Runner (BlockingRunner from client pool)
runs I2PTunnelRunner or I2PTunnelHTTPClientRunner inline
starts StreamForwarder toI2P and waits
runs StreamForwarder fromI2P inline
starts HTTPResponseOutputStream (HTTP gunzip only) (from client pool)
---
Server side:
before:
1-4 threads, 0-1 pooled
Server Handler Pool (Handler from server pool) execpt for standard server, blockingHandle() inline in acceptor
starts I2PTunnelRunner or CompressedRequestor and exits
starts StreamForwarder toI2P and waits (inline for HTTP)
starts StreamForwarder fromI2P and waits (except not for HTTP GET)
now:
1-4 threads, 0-2 pooled
Server Handler Pool (Handler from server pool) execpt for standard server, blockingHandle() inline in acceptor
starts I2PTunnelRunner or CompressedRequestor and exits (using client pool)
starts StreamForwarder toI2P and waits (inline for HTTP)
starts StreamForwarder fromI2P and waits (except not for HTTP GET)
2014-12-05 15:12:51 +00:00
e7b50c5940
reduce auto-stop threshold again
2014-12-02 15:23:50 +00:00
78d7277298
show b32 for local leasesets too
2014-12-02 15:11:12 +00:00
fb641187b8
use new getVersion()
2014-12-02 13:42:58 +00:00
4b2715c36f
RouterInfo: Add convenience method getVersion()
2014-12-02 13:30:31 +00:00
f1e9f5d4fd
DatabaseStoreMessage: Mask the unused bits in the type field,
...
in case we ever want to use them for options
2014-12-02 13:28:48 +00:00
2d43d349ab
add more invalid ports
2014-12-02 13:22:26 +00:00
7ab6708a3c
0.9.17
2014-11-30 16:41:57 +00:00
7010d9b524
really bump
2014-11-28 20:43:42 +00:00
947a3a2181
bump build (-11-rc)
2014-11-28 20:42:33 +00:00
0ff87ef8cb
merge of '3e6cfe9a01136316f39f1bd294a515e6bc91ff8e'
...
and 'b4b595d294ace07f7fde583957d8e00e96af347c'
2014-11-28 20:39:57 +00:00
ec20150ffd
geoip updates (2014-11-05)
2014-11-28 19:29:16 +00:00
30876a9cd3
PO files pulled from tx
2014-11-28 19:25:26 +00:00
1773fc0e0d
Add more clues to file locations in default config files
2014-11-28 14:23:34 +00:00
6d6f7fb89b
Data: Disallow duplicate keys in a Mapping
2014-11-28 13:45:33 +00:00
449ce3176e
propagate from branch 'i2p.i2p' (head b4b595d294ace07f7fde583957d8e00e96af347c)
...
to branch 'i2p.i2p.zzz.test2' (head 90c482d231ea639bff8d37d390dac081e361f48f)
2014-11-28 13:13:00 +00:00
be8832e87f
link to Russian version of ECDSA help page
2014-11-27 18:17:07 +00:00
5999690665
link ECDSA warning to wiki help page
2014-11-27 12:55:16 +00:00
285fa6cbc9
BuildRequestor: Reduce delay when client build can't find
...
a paired tunnel (possible fix for ticket #1412 )
2014-11-26 17:32:56 +00:00
9700f30c35
Tunnels: Disallow changing allowZeroHop setting for exploratory
2014-11-26 16:18:37 +00:00
a38bd0b5cf
Data: Fix NPE on unknown sig type in destination
...
Fix hashcode and equals for typed data
2014-11-26 16:06:09 +00:00
5383f9f097
Profiles: Change slice selection argument from an int to an enum for clarity
2014-11-25 14:25:42 +00:00
a16d17c422
SusiMail: Add save-as button
...
Fix encoding for filename in Content-Disposition header
New icon from Silk, same license as the others
2014-11-24 18:36:16 +00:00
5f2b620819
PrivateKeyFile: Don't rewrite file in main() if no options
2014-11-24 14:26:53 +00:00
fd47cb88de
i2ptunnel: Fix automatic setting of random key
2014-11-24 14:15:44 +00:00
77e7982e74
Drop i2p.feared.eu ssl cert for reseed
2014-11-23 14:24:22 +00:00
04cd1cedda
Reseed update from backup@mail.i2p:
...
please commit some updates for my reseed servers: Add new ssl-certs:
ieb9oopo.mooo.com2.crt --> certificates/ssl/
link.mx24.eu.crt --> certificates/ssl/
The first one is a new ssl-cert as exchange for the current one.
On http-server side the exchange will take place sometimes next year,
until then the current existing ieb9oopo.mooo.com.crt is still valid.
The second is a new reseed server from me.
Reseeder.java: Please add to DEFAULT_SSL_SEED_URL:
https://link.mx24.eu/
with this comment:
// Only HTTPS and SU3 (v3) support
Also the list can be cleaned up from these other dead servers:
2014-11-23 14:18:29 +00:00
3ef89f49e7
SAM: Fix v3 bug accepting incoming connections
...
It was starting both the v3 and v1 acceptors.
2014-11-22 17:19:40 +00:00
2a681608b5
PeerSelector: If non-DSA, don't use incompatible peers
...
for exploratory tunnels or closest-hop in client tunnels
2014-11-22 14:05:06 +00:00
a52c06a6c6
point to Jetty 8 Javadocs
2014-11-22 13:17:39 +00:00
49b8a65ad9
Integer.compare() is 1.7 syntax
2014-11-21 22:52:19 +00:00
9781cb72ac
Bump version
2014-11-21 13:11:47 +00:00
f7e83fb839
Require at least one update in a release
2014-11-21 13:09:58 +00:00
ce2a2cf684
Only need one torrent magnet; tighten update type spec
2014-11-21 13:02:57 +00:00
c88fa70f82
Cleanups
2014-11-21 12:52:24 +00:00
f76744a0c0
Improved SU3 news file specification
2014-11-21 12:46:33 +00:00
31cc0764a9
Logger: Configurable flush interval
2014-11-18 14:49:23 +00:00
15137d9b62
NetDB: Exclude A1/A2 "countries" from auto-floodfill
2014-11-17 14:19:00 +00:00
8f8adfa39e
propagate from branch 'i2p.i2p' (head bde4ef3680071b416b3528bad4c16245964f432a)
...
to branch 'i2p.i2p.zzz.test2' (head 183d2a30edd10165451d0cbbf75636f3b1dfda16)
2014-11-15 17:48:39 +00:00
5044f3e58f
I2NP:
...
Move some data structures away from ByteArray; offsets were always zero
- New BuildRequestRecord constructors
- BuildRequestRecord field becomes final byte[222]
- IV becomes byte[16]
- Build record becomes EncryptedBuildRecord
Remove extra copy in BuildRequestRecord.encryptRecord()
Remove unused BuildRequestRecord.readOurIdentityMatches()
2014-11-15 17:48:11 +00:00
279e102d7a
I2NP:
...
- Set lookup type flags even if no reply tunnel specified
- Reduce object churn when writing some messages
2014-11-15 17:45:14 +00:00
7f72830ec8
JavaDoc fixes
2014-11-14 22:00:51 +00:00
2caaad95ec
Comment out not yet implemented tests
2014-11-14 21:52:47 +00:00
09b995aca6
BigIntegerFieldElement.isNonZero() tests
2014-11-14 21:51:53 +00:00
a0bf8433e4
Tests: copy the EdDSA test.data file to where the classloader can find it
2014-11-14 21:16:28 +00:00
9104bd7304
Tests: Copy the new EdDSA test vectors
...
to where the classloader can find them.
Throw a better error message if not found.
2014-11-14 16:44:04 +00:00
2f2aa7f5a8
I2PTunnel:
...
- Fix bug that left server acceptor thread running after close
- Add destroy() methods to release all resources when closing a tunnel for good,
particularly the streaming timer threads
- Use COWAL to prevent concurrency problems
- Javadocs
Streaming:
- Don't return null from accept() any more; actually throw
ConnectException as the javadocs have always specified
- Throw ConnectException from accept() if interrupted; previously caught and ignored
- Throw exceptions from ConnectionHandler.accept(), not higher up
- Close ServerSocket when ConnectionManager is shut down
- Synchronize setActive(), clear queue when starting to accept,
better handling of calls that don't change state
- Javadocs
ConfigClientsHelper: Call isPluginRunning() less often
PluginStarter: Simplify detection of active threads
Above changes mostly in support of zzzot plugin implementing ClientApp
and being able to shut down completely so there are no threads
in its thread group, so /configclients will all show status as stopped.
Previously, the I2PTunnelServer acceptor thread and
one or more streaming timer threads would remain.
2014-11-13 20:12:55 +00:00
0773a30578
add hamcrest-all to classpaths and minor formatting fixes
2014-11-12 17:42:50 +00:00
962f5efe6b
merge of '1e0d390eeacce432f968251f1bbbe03ef031a116'
...
and 'f61d617d9bfd5759366102b0b5ff45effde08e84'
2014-11-12 14:52:52 +00:00
6dc3cd9650
build.xml: signing
...
- move signing to ant macros so they can be used by multiple build targets
- add support for signed devbuilds
- add support for generating i2pseeds.su3 (for testing)
2014-11-12 14:51:27 +00:00
397ae536f9
Data: Clear more caches when under memory pressure and at shutdown
2014-11-12 14:44:49 +00:00
f19ec4bd44
Plugins: Fix bug in stopping a ClientApp plugin with $parameters in the args
2014-11-12 14:38:13 +00:00
fd7e549915
Added EdDSA tests
...
Source:
https://github.com/str4d/ed25519-java
Git commit:
58e4efadf972f4dc4f67c05152f82b49fb22bac6
2014-11-12 10:21:46 +00:00
7a7ae77c83
Updated EdDSA code
...
Source:
https://github.com/str4d/ed25519-java
Git commit:
58e4efadf972f4dc4f67c05152f82b49fb22bac6
2014-11-12 10:20:28 +00:00
1a9fb381ed
new su3 reseed cert (bugme/mooo.com)
2014-11-11 21:45:32 +00:00
ae7bfceafb
snark tweaks
2014-11-11 14:26:23 +00:00
a961843aa6
bump -4
2014-11-10 16:27:53 +00:00
43c6a4ddac
fix some issues with tracker config form
2014-11-09 14:33:26 +00:00
ae1d5648d5
Router, i2ptunnel: Add option for per-pool persistent random key,
...
so peer ordering does not change across restarts
2014-11-09 13:51:19 +00:00
2d3e8e0c4e
disable spellcheck in custom options field
2014-11-09 13:46:47 +00:00
4691fc69d5
SSU: Fix bug preventing inbound connection from non-DSA router (ticket #1408 )
...
Transports: If we are non-DSA, check for compatibility before connecting out
2014-11-08 18:01:13 +00:00
cb87f9f307
ProfileOrganizer: More efficient slice calculation,
...
don't pollute Hash cache
2014-11-08 17:57:17 +00:00
5f1e5bc271
Data: make getKeysAndCert() public
2014-11-08 17:53:55 +00:00
1c6d5ad2db
EdDSA: Bump minimum router version to 0.9.17
...
due to previous bugs
2014-11-08 17:52:35 +00:00
555189f123
i2psnark: Add support for specifying data dir in add form (ticket #1028 )
2014-11-08 17:50:27 +00:00
049044b827
javadoc fix
2014-11-08 17:47:51 +00:00
cfd9e2c3ab
Fix compile error; history for prop; -2
2014-11-06 18:09:14 +00:00
a0b457b9a1
propagate from branch 'i2p.i2p.zzz.test2' (head 9dca19f228a66b5ac646c3d97d4f018c733081de)
...
to branch 'i2p.i2p' (head e7f2b0990f1ff9ab0e0d8633ac2faf35a993b917)
2014-11-06 17:53:02 +00:00
23f24c7d39
javadoc
2014-11-06 17:50:47 +00:00
6112cc5a38
i2psnark:
...
- Add new opentrackers, remove welterde
- Support multiple default opentrackers
- Don't link to opentrackers at the top
2014-11-06 17:45:06 +00:00
7deb8c1bcb
Console: Don't disable updates when restarting from /configupdate
...
Recognize router.newsRefreshFrequency=0 as "never"
2014-11-06 16:41:29 +00:00
76e4b49d9d
Transports: Consolidate port checking code
...
Disallow SSDP port
2014-11-06 15:20:24 +00:00
5ae267a8a2
EdDSA bugfixes
2014-11-06 03:02:25 +00:00
f524351041
Console: Add ECDSA warning to sidebar
2014-11-05 17:20:45 +00:00
893d1bb45f
Job Queue: Only drop lookup jobs if lagged
2014-11-05 16:59:19 +00:00
945988dfb7
i2psnark: Fix NPE when deleting torrent if the data directory
...
was deleted out from under us (ticket #1407 )
2014-11-05 16:39:54 +00:00
62698664a2
SU3 News: Blacklist HTML event-handler attributes in content
2014-11-05 16:04:21 +00:00
0d2892c75d
SSU: Fix corruption of ack-only packets containing bitfields
...
Full acks were included in the bitfield portion, which
ran over and appeared to be fragments.
Also clean up setting bytes with initial data, for clarity.
2014-11-04 14:51:31 +00:00
ecc72e6825
SU3 News: Add echelon cert, change default URL
2014-11-04 13:56:46 +00:00
531d520ceb
Blockfile:
...
- Add block size to superblock
- Add span size to skiplist block
- Bump version to 1.2
2014-11-02 19:37:23 +00:00
4e72e150ad
reduce log level of expired certs on android
2014-11-02 17:36:28 +00:00
b28628b8e1
Console: Log warning if no pack200
2014-11-02 16:42:35 +00:00
702830ad0e
Reseed: SSL only by default
2014-11-02 16:16:01 +00:00
6ca0c54ba7
i2ptunnel:
...
ECDSA default for all new server tunnels
ECDSA default for streamr client tunnels
Fix display of server destination on edit page when not running (privkey file path wasn't absolute)
Fix display of persistent client key b32 on edit page when not running
Fix display of server sig type on edit page when we have a privkey file
Add KeysAndCert.getSigType()
Javadocs
2014-11-02 15:23:13 +00:00
634bf5f7e3
0.9.16
...
Fix history.txt UTF-8 breakage
Javadoc fixes after review
2014-11-01 18:50:26 +00:00
2284c963af
drop dummy crypto stubs
2014-11-01 15:52:02 +00:00
ad2052395f
bump -19-rc
2014-10-31 12:47:35 +00:00
e9a1dbf8f1
merge of '3baf6884e9804b23ac99e38fb031fc6c04b6134a'
...
and '995a4e27dc6bd096a6eb83acfc9e2e09c9cb61aa'
2014-10-31 02:03:44 +00:00
703b21e89b
Eclipse classpath fix
2014-10-31 01:58:27 +00:00
36ea2cca6b
Removed 20 unnecessary variable definitions from multiply()
...
Android build tools 21.0.* caused dalvikvm runtime errors before this change.
2014-10-31 01:58:05 +00:00
8b2cf770a5
bump -18-rc
2014-10-30 20:51:28 +00:00
7d6d801943
merge of '76a3db43068c5b8578dfad10bf0dad884846f608'
...
and 'feed7db1184a2b8a06ddf35d45dc0e993895e2be'
2014-10-30 20:50:03 +00:00
d705b43f3a
update en po files before pushing to tx
2014-10-30 20:11:11 +00:00
a18ed194cb
update debian changelog
2014-10-30 20:09:13 +00:00
a3e4293fd8
geoip updates
2014-10-30 20:03:13 +00:00
df144d8434
Arabic, Chinese, Czech, Dutch, French, German, Russian, Spanish updates from Transifex
2014-10-30 20:01:45 +00:00
bab1e05235
Router: Fix rare NPE building garlic message (ticket #1403 )
2014-10-30 15:14:52 +00:00
a1fdd41b0e
SU3 News: Tweaks after testing
...
Console /debug: Move DHT section to bottom
2014-10-29 15:34:52 +00:00
60d9c1651a
SU3File: Show content and file types in showversion
2014-10-29 14:31:14 +00:00
ec1380dfa1
i2psnark: Convert '+' to ' ' in magnet dn param
2014-10-29 14:11:41 +00:00
798275608e
jbigi: Save and report extracted library name
2014-10-28 14:50:40 +00:00
0f2affd414
SSU: Don't publish direct info if introducers are required
2014-10-28 14:00:37 +00:00
7695b51d89
Make recognition of a hidden router consistent,
...
whether specified in the caps or the cert
2014-10-28 13:50:09 +00:00
fb99122d83
log Java 6 warning
2014-10-28 13:18:48 +00:00
6d53838e20
javadoc clarification
2014-10-28 13:18:27 +00:00
ec3fd9a7d7
null check in zip entry name
2014-10-28 13:17:20 +00:00
304f2ebb7b
dont OOM when thread dies
2014-10-28 13:16:20 +00:00
4976e84488
use recent method
2014-10-28 13:13:40 +00:00
2ebacb1b9b
fix static access
2014-10-28 13:11:39 +00:00
d085f9ea66
SSU: Fix ACK Sender thread dying on corrupt packet
2014-10-26 22:09:38 +00:00
e275117569
i2ptunnel: Fix description entered via wizard
2014-10-24 14:25:33 +00:00
eae277fb77
dont add whitespace to XHTML output
2014-10-24 14:11:40 +00:00
d7130c15cc
SSL: Don't prohibit SSLv3 ciphers if that's all we have
2014-10-23 15:32:07 +00:00
937a17c5dd
SessionKeyManager:
...
- Raise inbound limit
- Delete oldest tagsets when limit is hit
- Don't delete recent tagsets when limit is hit
- Log tweaks
2014-10-23 15:31:00 +00:00
b6234e1d5e
javadoc fixes
2014-10-23 15:26:03 +00:00
7955b8ae71
SU3 News: Fix parsing of the XHTMl nodes
2014-10-22 18:20:31 +00:00
a36ef62358
SU3 News:
...
- Fix SU3File support (tested)
- Finish implementation (untested)
- Output metadata as comments in news.xml
- Support signed HTML
- Copy router certs to news
2014-10-22 16:07:18 +00:00
bcbda3cd27
SSU: Don't resend ACKS that are too old (ticket #772 )
...
untested
2014-10-21 18:37:11 +00:00
239fe518a9
Update: Partial implementation of su3 news with atom feed.
...
No spec yet, just followed str4d's testnews.atom.xml proposal.
Atom parsing is tested, su3 part is incomplete and untested.
Todo: add spec to http://i2p-projekt.i2p/en/docs/spec/updates ,
finish su3 and test.
2014-10-21 18:35:06 +00:00
44d6e117d5
Console and Eepsite Jetty:
...
Switch back to QueuedThreadPool (ticket #1395 )
In Jetty 5/6, the default QTP was not concurrent, so we switched to
ThreadPoolExecutor with a fixed-size queue, a set maxThreads,
and a RejectedExecutionPolicy of CallerRuns.
Unfortunately, CallerRuns causes lockups in Jetty NIO.
In addition, no flavor of TPE gives us what QTP does:
- TPE direct handoff (which we were using) never queues.
This doesn't provide any burst management when maxThreads is reached.
CallerRuns was an attempt to work around that.
- TPE unbounded queue does not adjust the number of threads.
This doesn't provide automatic resource management.
- TPE bounded queue does not add threads until the queue is full.
This doesn't provide good responsiveness to even small bursts.
QTP adds threads as soon as the queue is non-empty.
QTP as of Jetty 7 uses concurrent.
QTP unbounded queue is the default in Jetty.
So switch back to QTP with a bounded queue, which does what we want,
which is first expand the thread pool, then start queueing, then reject.
ref:
http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/ThreadPoolExecutor.html
https://wiki.eclipse.org/Jetty/Howto/High_Load
2014-10-20 14:01:36 +00:00
8a12b7cb41
snark HTML fix
2014-10-18 15:22:39 +00:00
4d4308c486
NTCP: Deadlock fix 3rd try (ticket #1394 )
2014-10-17 14:15:40 +00:00
abcdcf2e8c
log tweaks (SSU)
2014-10-16 20:38:12 +00:00
44b753d1e5
NTCP: Deadlock fix 2nd try (ticket #1394 )
2014-10-16 20:21:03 +00:00
83b3f242a9
Console, I2CP, i2ptunnel, SSLEepGet: Set allowed SSL protocols and ciphers
2014-10-15 20:44:23 +00:00
86c43f4734
propagate from branch 'i2p.i2p' (head b82e829752729679ee6b9ece7ce8c7279c70aedf)
...
to branch 'i2p.i2p.zzz.test2' (head 8e441b5ba1384e499901127e10ab79b96f0f0cb5)
2014-10-14 16:47:50 +00:00
be0cb84f97
Util: Use write-sync-close-rename for config file writing
2014-10-14 16:47:41 +00:00
3bea7f5ad5
drop unused HarvesterJob
2014-10-14 16:32:41 +00:00
266a20d55e
I2NP: Implement DatabaseLookupMessage search type field,
...
to replace all-zeros hash, and ease implementation for
separate LS and RI databases, as documented in i2np spec.
2014-10-14 13:57:02 +00:00
d2c6a80d24
i2ptunnel: Set default sig type to ECDSA P256 for client tunnel
...
types Standard, IRC, and Socks IRC, if non-shared.
2014-10-13 16:46:58 +00:00
cd51fbc2a6
doc fix
2014-10-13 16:46:43 +00:00
73256f6030
Move BundleRouterInfos out of router.jar
2014-10-10 19:40:49 +00:00
e081f94d9f
GeoIP:
...
- Don't rate peers in some countries as high capacity
- Don't enable auto-floodfill in some countries
- Don't prefer floodfills in some countries
2014-10-10 15:26:17 +00:00
e96cc09d75
Banlist: Remove unused banlist tracking in the profile causing deadlock (ticket #1394 )
2014-10-10 15:21:10 +00:00
d87178fec3
UPnP: Comment out unused parsers
2014-10-08 17:47:19 +00:00
28ad95f892
findbugs all over
2014-10-07 14:59:49 +00:00
8270a92a44
SSU: Improve handling of socket that gets closed (ticket #1385 )
2014-10-07 12:09:10 +00:00
088290c544
Startup: Delay ReadConfigJob another minute
...
- code cleanup
2014-10-07 12:04:55 +00:00
6685acfef4
i2ptunnel: Handle named sig types from i2ptunnel.config in the GUI
2014-10-07 12:03:00 +00:00
1d1a05ee7b
log tweak
2014-10-07 11:57:03 +00:00
bbeb429a59
Graphs: Catch an error caused by missing fonts
2014-10-07 11:56:18 +00:00
55af588c2c
CPUID: Remove Intel model 2 again, this is spoofed in the VM
2014-10-07 11:49:51 +00:00
80d0313fe5
Crypto: EdDSA cleanup
...
- Remove duplicate load3 and load4 methods
- Change load3 return type to int
- Comment out dead stores
- Re-roll the add, subtract, and negate loops;
there's no speed benefit or timing reason to unroll them
- Check for field already set
- Remove shifts by 0
2014-10-05 12:11:21 +00:00
853d309960
i2ptunnel: Fix js confirm for delete button
2014-10-04 13:54:09 +00:00
564400597a
i2psnark: Disable changing types for predefined trackers
2014-10-04 13:21:14 +00:00
1c2b6fc00e
CPUID: Fix Intel processor identification
2014-10-03 17:45:34 +00:00
7b6f32e5b2
Console: New add-to-addressbook links on leaseset page
2014-10-03 17:44:24 +00:00
dd4acc88a1
i2psnark: Fix adding magnet links with % encoding (ticket #1391 )
2014-10-03 17:40:19 +00:00
6e566f6e3d
log tweak
2014-10-03 15:12:38 +00:00
fff7fbe121
Base64: Catch NPE on bad input to main() decode
2014-10-03 15:11:29 +00:00
a50afeb5d5
SAM: Fix v3 LS publish, broken in -4 (ticket #1390 )
...
- code cleanup in direction handling
2014-09-30 12:17:56 +00:00
49eeb99d43
Logs: Fix displayed filename when empty (ticket #1386 )
...
- More synchronization
2014-09-30 12:12:22 +00:00
bfd51097c9
i2psnark: Show subdirectory in table header on details page
2014-09-29 13:07:08 +00:00
a21e3cd842
CPUID:
...
- Fix main() model and family calculation
- Add model string fetch from processor
- AMD model string tweaks
2014-09-29 13:05:38 +00:00
0f298cf48e
CPUID:
...
- Fix model and family calculation
- Fix most AMD family 15 IDs
- Add AMD Llano, Jaguar, Bulldozer 2
- Add Intel Ivy Bridge, Haswell, Broadwell, Penryn, Pineview, Cedarview, Bay Trail, Avoton, and others
- Set best-guess capabilities for most Intel processors
- Supply best-guess model string in most cases
- Processors listed above, and some others, may see crypto speedups as a result
- Code cleanup, reduce number of JNI calls
- Merge dup cases
- Tab removal
- Javadocs
2014-09-27 19:27:58 +00:00
4b074b8dcf
I meant CREATE
...
SAM:
- Don't publish LS for DIRECTION=RECEIVE
- Set default tunnel name
2014-09-26 20:24:53 +00:00
2c79853ffe
i2psnark:
...
- Increase default to 3 hops (ticket #966 )
- Reduce upload threshold for auto-stop
- Revert addition of js mime type, it was already in the default
2014-09-26 14:24:21 +00:00
72f57255f0
Transport: Hooks for pluggable transports (ticket #1170 )
2014-09-26 14:16:08 +00:00
1053bc8bb0
go back to release w/o geoip
2014-09-25 20:14:28 +00:00
4835e6fcb9
i2psnark:
...
- Show info hash on details page
- Null storage check just in case
2014-09-25 20:11:47 +00:00
7ec02a1620
NetDB: Increase max age of RIs to reduce number refreshed after restart
2014-09-24 13:57:26 +00:00
10993cc6ef
EdDSA: Use our PRNG by default for keygen
2014-09-24 13:54:33 +00:00
81409369bc
measure keygen time in test
2014-09-24 13:46:38 +00:00
edb8590da8
move log outside synch
2014-09-24 13:45:50 +00:00
3a7bfd28fc
snark: Don't enable sort-by-remaining link when complete
2014-09-24 13:44:55 +00:00
36fdb4ee2f
Fix junit compile fails due to data structure moves
2014-09-23 14:15:27 +00:00
b06f772647
history for prop, -2
2014-09-23 13:23:04 +00:00
012cc740d6
propagate from branch 'i2p.i2p.zzz.test2' (head 6ccd9ca652057494bb2857e87636f18aadcd33f3)
...
to branch 'i2p.i2p' (head 376f751adc13923cdbf4f659c3f23ca957cf47b3)
2014-09-23 13:06:36 +00:00
1407cff49d
fix anonymous proxy flag
2014-09-23 12:18:23 +00:00
3331e1c152
SSU: Return unused DH to the queue
2014-09-22 18:49:20 +00:00
591f48856d
add sort links for details page
...
fix tooltips on images
2014-09-22 17:06:02 +00:00
479b9691fd
snark sorters for details page
...
no links yet
2014-09-22 15:18:20 +00:00
0e48557b48
* SSU: Fix 100% CPU after socket failure
...
* UPnP: Catch reported error on FreeBSD
2014-09-22 13:22:35 +00:00
3fae6f06dd
reduce object churn in ElG decrypt
2014-09-21 22:20:37 +00:00
7639c24bfe
restore dh.calculateSessionTime stat
2014-09-21 21:54:31 +00:00
39fd1c3ab8
center icons in details first column
2014-09-21 16:12:46 +00:00
abf9dbae6d
itoopie for update files
2014-09-21 15:51:53 +00:00
98062f830a
0.9.15
2014-09-20 19:17:58 +00:00
c259347917
javadoc fixes after review
2014-09-20 15:08:55 +00:00
9c4558d891
Catch SSU packet read errors in one place
...
IMS PartialBitfield tweaks
Log tweaks
2014-09-20 12:26:45 +00:00
9e7e2948e3
dont return next IV to cache
2014-09-20 12:20:08 +00:00
43430da25f
bump for review -21-rc
2014-09-19 12:41:01 +00:00
eca7ac21a0
remove bogus check
2014-09-18 15:48:48 +00:00
bc463f6d0b
NetDB: Don't auto-ff if ARM or ElG decrypt is too slow
2014-09-18 14:48:08 +00:00
ec2708a1fd
Jetty 8.1.16.v20140903
2014-09-18 13:56:48 +00:00
082922de01
NTCP: Return unused DH keypairs to the pool
2014-09-18 13:32:27 +00:00
ea02a7c70b
Transport DH:
...
- Add method to return an unused keypair to the pool
2014-09-18 00:16:39 +00:00
ab7e25bd52
NTCP EstablishState:
...
- Prep for future enhancements by refactoring to a state machine model
- Reduce object churn; use SimpleByteCache
- Synchronization
- Define some constants
- More finals
- Log tweaks
2014-09-17 22:29:03 +00:00
d4876dd25e
debian: add 0.9.14.1 changelog
2014-09-17 22:16:22 +00:00
89ee0bbab4
translation updates pulled from transifex (cs, es, fi, fr, ja, nb, pl, ro, ru,
...
uk), and English po file updates
2014-09-17 22:13:04 +00:00
06ae882064
geoip updates:
...
Updates to geoip.txt and geoipv6.dat.gz based on the Maxmind GeoLite Country
database from 2014-09-04.
2014-09-17 21:29:42 +00:00
6517fe7515
set default SSL outproxy
2014-09-17 14:19:25 +00:00
d510aad2ab
fix class
2014-09-17 12:52:20 +00:00
3db297de95
* i2psnark:
...
- Forward port from trunk: Don't send HTML-only headers for icons (2nd try)
- Consolidate HTML header code
- Set no-cache headers
- Don't set HTML headers for redirects
2014-09-17 02:21:31 +00:00
8688f26f15
* i2psnark: Don't send HTML-only headers for icons (2nd try)
2014-09-16 22:32:05 +00:00
85d38e7af2
I2PTunnelGUI: Deleted, moved to i2p.scripts
2014-09-15 19:17:24 +00:00
0448348154
javadoc fix
2014-09-15 18:30:59 +00:00
ceab4f1ffc
improve efficiency of addressbook parser
2014-09-15 18:28:35 +00:00
3781b8db09
sanity check
2014-09-15 18:24:37 +00:00
7a450c526c
exception tweak
2014-09-15 18:23:58 +00:00
c1e8ea0e4a
RoutingKeyGenerator:
...
- Move from core to RouterKeyGenerator in router.jar
- Leave RoutingKeyGenerator as a simple abstract class
- DatabaseEntry now uses timestamp instead of mod data
to determine if mod data has changed. Don't expose
mod data to DatabaseEntry any more.
- I2PAppContext.routingKeyGenerator() now returns null;
you must be in RouterContext to get a generator.
2014-09-15 18:23:01 +00:00
f248a33eaa
SSU:
...
- Fix IB ACKBitfield.highestReceived()
- More efficient OMS.acked()
- Log tweaks
2014-09-14 18:54:46 +00:00
67fb4e7007
SSU InboundMessageState.PartialBitfield, PacketBuilder:
...
- Add ACKBitfield.highestReceived() for efficiency
- Only write as many partial bitfield bytes as required,
rather than 10 (for 64 bits) every time.
- Don't allow more than 10 bytes when reading in bitfield
- Don't send an extra byte if (fragments % 7) == 0
- Don't send a corrupt ack packet if the partial ack got completed (race)
- Log tweaks
2014-09-14 17:51:29 +00:00
0a41052f3f
SSU InboundMessageState -
...
Rewrite PartialBitfield for efficiency, less space and object churn
SSU ACKBitfield: Add ackCount()
PeerState.fetchPartialACKs() improvements
2014-09-14 14:32:23 +00:00
a7763a08dc
SSU OutboundMessageState -
...
Fix SSU Output Queue errors due to races with PacketBuilder:
- Remove all buffer caching as it can't be made thread-safe.
Just allocate buffer in constructor and let GC handle it
- Do fragmenting in constructor and make all fragment fields final
- Don't track per-fragment retransmissions as it wasn't used
- Move ack tracking from an array to a long
- Sync all ack methods
- Entire class now thread-safe (thx dg)
2014-09-14 13:04:48 +00:00
fcfb471a8a
log OS version too
2014-09-14 11:55:33 +00:00
b9e383130e
i2psnark: Sort themes in config form
...
Don't return null from getThemes()
2014-09-14 11:48:56 +00:00
cd2159b873
i2psnark: Switch from checkbox to radio for tracker configuration form
2014-09-14 11:38:22 +00:00
e492d5e0cf
fixup remaining field on details page
2014-09-13 18:21:58 +00:00
9a0f6490ba
i2psnark: Consolidate code for creating img entities
2014-09-13 18:09:48 +00:00
5183b44d8b
port new styles to the other two themes
2014-09-13 15:32:17 +00:00
156d86835a
propagate from branch 'i2p.i2p' (head 60a9a2297abeaf042645e3f0bc8d106f1ff585bf)
...
to branch 'i2p.i2p.zzz.test2' (head 6ff6f0bcee835d32aad62449a37f5171afde915a)
2014-09-13 14:50:11 +00:00
eab4397b0f
* i2ptunnel:
...
- Fixes for stopping client tunnels
- Fix status display for shared clients
- Log tweaks
2014-09-13 14:49:38 +00:00
d808b999c6
better error message
2014-09-13 14:36:21 +00:00
603b345405
* i2ptunnel: Fix updating session options on a running delay-open client tunnel
2014-09-12 21:48:29 +00:00
682534f468
* i2psnark: More escape fixes
2014-09-12 18:38:11 +00:00
42eb43f713
SSU: Implement bundling of multiple fragments in a single data message.
...
This has always been in the spec and implemented in the receive side
since the beginning, so it is compatible with all versions.
- Switch preparePackets() return value from a "sparse array" to a list
- UDPPacketReader cleanups
- UDPPacket javadocs
2014-09-12 15:17:14 +00:00
0817b58b9d
i2psnark:
...
- Add file type sorter
- Cycle through name/type sorters
2014-09-11 16:36:14 +00:00
9ab766375d
i2psnark: Fix downloaded comparator
2014-09-11 15:56:57 +00:00
6c2799fe53
i2psnark:
...
- Cycle through downloaded/size sorters
- Cycle through uploaded/ratio sorters
- Fix ratio comparator
- Display ratio when sorted by ratio, and on details page (ticket #1298 )
2014-09-11 15:47:53 +00:00
ef81a575cd
i2psnark:
...
- Add ratio sorter
- Catch IAE on unstable sort
- Only sort if necessary
- toImg() cleanup
2014-09-11 14:42:08 +00:00
cce0d94fbb
- Conditionally enable sort links
2014-09-11 14:13:13 +00:00
22b5203334
i2psnark:
...
- Tweak column tooltips
- Tweak status sort
2014-09-11 13:39:10 +00:00
d4be5abe67
better shutdown message
2014-09-10 23:30:49 +00:00
9985a02efc
i2psnark:
...
- Consolidate and clean up parameters code
- Click to sort by column
2014-09-10 23:28:41 +00:00
41c2c60ab0
i2psnark:
...
- Comment out command-line code
- Clean up ID generation
2014-09-10 23:18:09 +00:00
f285364f46
icons on buttons when enabled
2014-09-09 20:24:57 +00:00
1c5e9b7fe3
i2psnark:
...
- More CSS
- .js mime type
2014-09-09 19:53:08 +00:00
12cc501e25
fixup after prop
2014-09-09 19:29:02 +00:00
49118b8bf1
propagate from branch 'i2p.i2p' (head e606c473eb1e461a477e45419f6295b6430a7353)
...
to branch 'i2p.i2p.zzz.test2' (head 6212892778308db10a86e58f9f275c838f604973)
2014-09-09 19:27:10 +00:00
09dfea7dea
* i2psnark: Escape fixes
...
- fix ':' in name (again)
- Change priority key from file name to file number so we don't hav to escape
2014-09-09 19:23:12 +00:00
00bd469f8e
bump -15-rc
2014-09-09 16:13:49 +00:00
18e7e56a6c
i2psnark:
...
- Set-all priority buttons (ticket #1376 )
- Move icons to resources dir, add js dir
- Todo: more CSS
2014-09-09 15:27:53 +00:00
34d14a720b
atomics
2014-09-09 14:22:47 +00:00
c4d7f9924f
checkcerts.sh: check for extraneous spaces
...
(trying to catch the problem noted at http://zzz.i2p/topics/1663 )
2014-09-06 22:14:06 +00:00
80d6921a66
fix certificate line endings
2014-09-06 22:11:06 +00:00
3c95144b83
close tag
2014-09-06 22:10:15 +00:00
84ad155ab8
remove extraneous trailing whitespace
2014-09-06 18:21:41 +00:00
330a5ddd0f
NetDB:
...
- Better handling of unsupported encryption in destinations
- Implement handling of unsupported encryption in router identities
- Banlist forever all RIs with unsupported encryption
- New negative cache of all dests with unsupported encryption
- New methods for destination lookup that will succeed even if
the LS is expired or encryption is unsupported
- Use new dest lookup so client will get the right error code
later, rather than failing with no LS when we really got it
but just couldn't verify it.
- Cleanups and javadocs
OCMOSJ: Detect unsupported encryption on dest and return the correct failure code
through I2CP to streaming to i2ptunnel
Streaming: Re-enable message status override, but treat LS lookup failure
as a soft failure for now.
HTTP Client: Add error page for unsupported encryption
2014-09-05 22:52:23 +00:00
3b2f1d35c4
I2CP: Fix LS keypair check
2014-09-05 22:42:06 +00:00
0f1036b0e1
better message on EOF reading data
2014-09-04 15:21:03 +00:00
86935f10a8
update link
2014-09-04 15:14:33 +00:00
1078c42a14
I2CP: Enforce strict authorization when auth is enabled
2014-09-04 13:28:40 +00:00
09cf973712
BuildHandler: Enforce request record timestamp
...
BuildRequestor: Randomize timestamp to prevent hop ID at top of hour
2014-09-04 01:08:23 +00:00
5af749a226
NetDB: Encrypt exploratory lookups too
...
SearchUpdateReplyFoundJob: finals
2014-09-03 23:26:34 +00:00
f84b86a752
* BundleRouterInfos:
...
- Move to its own class
- Run GeoIP, exclude bad countries
- Exclude class K
- Exclude dup IPs
- GeoIP mods for use in I2PAppContext
2014-09-03 15:19:18 +00:00
ca7873eda7
CryptoChecker: add main()
2014-09-03 13:22:56 +00:00
f87ebaf214
re-enable i2p.mooo.com (ticket #1351 )
2014-09-02 20:54:49 +00:00
a9802eb6a7
NetDB: Encrypt RI lookups and request encrypted reply on
...
faster boxes, as a test, to prevent scraping by OBEPs and IBGWs
2014-09-02 14:23:06 +00:00
5d5a68cb3e
* CryptoChecker: Log tweaks, handle gij
2014-09-02 14:11:22 +00:00
c6b1f5053f
dont bundle IPv6-only RIs
2014-09-02 14:09:41 +00:00
1d2e01c8cd
i2ptunnel filter tweaks
2014-09-02 14:08:41 +00:00
0c5c18a767
* Build: Add support for bundling router infos in the package
2014-08-31 16:19:46 +00:00
6826ba05e7
stubs for su3 news
2014-08-31 14:12:18 +00:00
053ce88743
* I2PTunnel: Allow changing of spoof host and target host/port without
...
restarting server tunnel
2014-08-31 13:17:44 +00:00
4a216c57d4
Updated EdDSA code from upstream
...
Source: https://github.com/str4d/ed25519-java
Git commit: f9a9213e1446adb46756d3a23b614fe09324ae16
2014-08-31 00:11:03 +00:00
03cec7fd5a
just check availability once
2014-08-30 20:46:16 +00:00
1238001add
bump -13
2014-08-30 19:38:56 +00:00
fa1c077fdd
* Console: Show unavailable crypto on /logs
...
* Router: Log warnings for unavailable crypto at startup
2014-08-30 19:00:57 +00:00
8a7c3390f5
/configclients:
...
- Re-enable plugin installation by default
- Don't show configuration section or update-all button if no plugins installed
2014-08-30 16:14:41 +00:00
2302aee819
su3 plugin key
2014-08-30 14:06:20 +00:00
a72866ee6a
RouterInfo: Backport fix for verification of EdDSA RI sig type
...
from i2p.i2p.zzz.test2
2014-08-30 12:35:14 +00:00
0f7a3dba87
Catch AIOOB in upnp code (triggered in I2P Android on shutdown)
2014-08-30 02:38:27 +00:00
5decf18eb5
import, @since
2014-08-29 13:40:53 +00:00
c318760398
javadoc fixes and package.html files
2014-08-29 13:21:14 +00:00
629eff20dd
copy flag icons in preppkg-base target
2014-08-28 23:31:07 +00:00
f6e508ca14
* Streaming: Fix verify of Ed25519 signatures in CLOSE packets
...
- cleanup writtenSize()
2014-08-28 13:57:52 +00:00
588ab86abb
* Streaming: Fix P521 and RSA sig types
2014-08-27 22:43:44 +00:00
387629372b
i2psnark: Don't retry announce if we get back HTML
2014-08-27 18:21:58 +00:00
0a01700e3e
NetDB: Don't abort initialization on an unsupported RI sig type
...
(backport from i2p.i2p.zzz.test2)
2014-08-27 17:44:24 +00:00
59504deb7f
i2psnark:
...
- Recognize Vuze tracker rejections
- Don't retry rejected announces unless seeding
- Better UI handling of announces with ports or full destination
2014-08-27 17:06:44 +00:00
8ee660c238
i2psnark:
...
- Persist uploaded count (tickets #1034 , #1298 )
- Show uploaded count even when stopped
2014-08-27 16:00:02 +00:00
176c106427
I2CP: Catch bad private key
2014-08-26 20:12:29 +00:00
ed4fe56e7e
I2CP:
...
- Verify crypto key pair in LS
- Verfiy same dest as before in LS
Router: Don't try to use an unavailable sig type for the router,
even if it's the default
RouterInfo: Work around unsupported raw signatures for
RI Ed25519 sig type
2014-08-26 19:14:51 +00:00
310cd54aa0
remove unused EC curves
2014-08-26 13:47:21 +00:00
3217b4ac90
move radio buttons closer together thx Shinobiwan
2014-08-26 13:47:06 +00:00
7bf1949061
remove unused method
2014-08-26 13:46:28 +00:00
51f9d6d421
NTCP RI sig types
2014-08-25 20:33:56 +00:00
ddb32c65fb
add getPadding()
2014-08-25 20:32:47 +00:00
c5c158e983
PrivateKeyFile: Add validateKeyPairs()
...
Router: Validate router key pairs read in from file
2014-08-25 16:55:16 +00:00
f83007e038
KeyGenerator: Add support for converting
...
all signing key types from private to public
2014-08-25 16:20:39 +00:00
2b9a368b18
propagate from branch 'i2p.i2p' (head 695c0048cc8ce28df0574a5e188c77c07c9b42ce)
...
to branch 'i2p.i2p.zzz.test2' (head c116da02ea4b4d01dd028bc58ea02b43ae9af8cd)
2014-08-25 12:05:15 +00:00
6ad6974452
javadoc warnings about EdDSA raw sigs
2014-08-24 23:11:56 +00:00
308923448b
PrivateKeyFile: New constructor with padding
...
Router:
- Use eepPriv.dat format for router keys file (thx orignal)
- Consolidate router keys readin code
- Update killKeys file list
RouterPrivateKeyFile: New extension to add getRouterIdentity()
2014-08-24 19:15:26 +00:00
04ad7de2e1
SSU: Handle RI sig types
...
TransportManager: Banlist unsupported RI sig types
2014-08-24 14:54:17 +00:00
54563b0b42
catch swapped args
2014-08-23 23:49:34 +00:00
593779b54f
Router: Prep for RI sig types:
...
- New router.sigType config
- Generate / regenerate router keys based on config
- New router.keys2 file format for sig types and padding
- Fix RouterInfo.readBytes() signature verification with sig types
- Catch unset padding in KeysAndCert.writeBytes()
- Catch key errors in ReadRouterJob
- Show RI sig type on /netdb in console
- Move some things from Router to startup classes
- Startup classes package private
- Buffer readin of key files
- Remove configurability of router.info and router.keys file locations
2014-08-23 23:48:16 +00:00
34d3704680
sig type availability check
2014-08-23 15:09:24 +00:00
613f90bcf7
SSU: Drop peer tests as Bob from unestablished Alices
2014-08-23 14:22:06 +00:00
6ff500f7cb
increase RI publish interval slightly
2014-08-23 13:49:26 +00:00
c79e33896e
SSU intro key checks
2014-08-23 13:48:13 +00:00
68b15aadca
proxy no LS error pages tweak
2014-08-23 13:46:10 +00:00
819504f08f
console escape fixes and cleanups
2014-08-23 13:44:56 +00:00
e65ec2a589
i2ptunnel escape fixes
2014-08-23 13:20:25 +00:00
1bc355b8fd
i2psnark escape fixes
2014-08-23 13:19:44 +00:00
d76164679f
move null check to constructor
2014-08-23 13:16:57 +00:00
efebecfc67
* SigTypes:
...
- Add isSupportedSince(), use in floodfill selection
- Handle mixed-case 25519 enum
- Fix 25519 type code
- Add dup type code check
2014-08-22 14:34:13 +00:00
7b64586c87
temporarily disable reseed host (ticket #1351 )
2014-08-22 10:13:37 +00:00
0fe15b8e1d
Use DataHelper instead of TestUtils
2014-08-21 23:43:57 +00:00
a1cb00b5a3
Java implementation of Ed25519
...
Source: https://github.com/str4d/ed25519-java
Git commit: be161ee7c6da29129b5ec6c4739ec3a99114a846
License: Public domain
2014-08-21 23:27:45 +00:00
5041d819a9
propagate from branch 'i2p.i2p' (head b026fe071e77884ef6d104635c793ef16357ec71)
...
to branch 'i2p.i2p.str4d.eddsa' (head 0d928736c4a34d8a337e1f55e095fe90564ea1fb)
2014-08-21 23:27:34 +00:00
02ab6eac62
javadoc
2014-08-21 17:38:35 +00:00
d7feab116f
Core: Move router data structures, and the deprecated RouterAddress sorter, from core to router.
...
This will break Android and the i2pcontrol plugin but shouldn't affect anything else.
2014-08-21 17:36:06 +00:00
4f9e13d0f6
unit test fix take 2
2014-08-21 15:01:15 +00:00
d0b0e6a58e
fix clock.skew rates
2014-08-21 14:27:16 +00:00
a12f898096
Corrected Ed25519 SigType name
2014-08-21 13:08:21 +00:00
c921ecca05
fix unit test
2014-08-21 12:46:11 +00:00
975378b224
* i2ptunnel:
...
- Add local SSL support for std. and IRC client tunnels (ticket #1107 )
Keystore goes in ~/.i2p/keystore; pubkey cert goes in ~/.i2p/certificates/i2ptunnel
- Escape messages to index page
- Show message for uncaught exception
2014-08-21 12:21:29 +00:00
915e003355
* i2ptunnel: Use I2PAppThread
2014-08-21 11:58:09 +00:00
51e45d128a
* Tunnels: Debug code and other cleanups
2014-08-21 11:55:03 +00:00
57650ef058
remove dup conversion
2014-08-21 11:51:05 +00:00
dee6e16e6c
* i2psnark:
...
- Escape control chars in encodePath()
- Increase max piece size to 8 MB (ticket #1347 )
2014-08-21 11:49:58 +00:00
c860674613
propagate from branch 'i2p.i2p' (head e8883e85a7761bbda9df59b3f6b57601cc01bb5a)
...
to branch 'i2p.i2p.str4d.eddsa' (head a1cc4ae4a17efaca2825dae64b2cc55aa520ca27)
2014-08-20 02:11:15 +00:00
33b7f08d5c
* i2psnark:
...
- Don't filter create torrent form, and
fix exception on ':' in file names (ticket #1342 )
- Don't remap file names on torrents we created, and
save remap setting in torrent config file (tickets #571 , 771)
- Escaping fixes since names may not be remapped
- Use better encodePath() from Jetty
- Don't say create torrent succeeded when it didn't
- Add more sanity checks for torrent creation
2014-08-19 20:34:46 +00:00
66bbe21a87
* Tunnels: Use consistent tunnel pair for Delivery Status Message
...
to reduce network connections (ticket #1350 )
2014-08-18 18:57:19 +00:00
51995cc428
* i2psnark:
...
- Don't send HTML-only headers for icons
- Catch IllegalStateException for icons
2014-08-18 18:52:47 +00:00
a3e3a305ce
removed notification of port 8887
2014-08-17 14:54:50 +00:00
15facc72b3
* Console: Escaping fix (ticket #1348 )
2014-08-15 11:49:56 +00:00
3839c8d1c0
* I2CP: Lookup synch cleanups
2014-08-15 11:48:02 +00:00
d5edcbc6e1
* Console, EventLog: Added {BECAME,NOT}_FLOODFILL events. They will now be shown on the console's /events page when the router's ff status changes.
...
* EventLog: Fix a minor typo.
2014-08-13 21:29:17 +00:00
eb97ef4cb2
* i2psnark: Fix add torrent NPE
2014-08-13 19:17:26 +00:00
9c38e1e191
* Console: Escaping fix (ticket #1346 )
2014-08-13 19:10:25 +00:00
7c3d3b4128
fix dependency checking for ministreaming po files
2014-08-13 19:07:39 +00:00
367cea4b1f
new translation files
2014-08-10 19:32:11 +00:00
a63bfeaeec
fix SKM test broken by TSKM move
2014-08-10 15:48:18 +00:00
41672dde64
include geoip.txt in updater for next release
2014-08-10 14:57:28 +00:00
3b18cb7eca
history for prop, -3
2014-08-10 14:22:16 +00:00
c9ce1751c1
propagate from branch 'i2p.i2p.zzz.snarkconfig' (head ad48ab1a9e769c58ea2e286337927f5c0e1568be)
...
to branch 'i2p.i2p' (head 0cd9e265bd38c40839e68de8f51233489acad346)
2014-08-10 14:14:00 +00:00
4ba40b340a
history for prop, -2
2014-08-10 14:08:05 +00:00
e3be1d1a04
propagate from branch 'i2p.i2p.zzz.test2' (head c182b371bc28158dd47262b89e5bd0cdda29e07b)
...
to branch 'i2p.i2p' (head 4fc776f7b76b028bb890affccfdcfbefbb932c58)
2014-08-10 13:56:15 +00:00
6fa2a416be
Console: Hide client delete button too
2014-08-10 12:18:18 +00:00
fdb54c315b
propagate from branch 'i2p.i2p' (head b8f5da367cf5d16bc1d91aa2097830c350c9ef8a)
...
to branch 'i2p.i2p.str4d.eddsa' (head 6fcc5b5019abb36251e28fe0f7723fd1a046a8e9)
2014-08-10 11:41:45 +00:00
c7de4e46c1
0.9.14.1
2014-08-09 21:24:18 +00:00
22a7757461
Console: Show share options below 30% (ticket #1329 )
2014-08-09 18:08:00 +00:00
0bacbbc553
SigType: Add static isAvailable() methods
...
SU3File:
- Add -x option to bypass signature verification
- Add -k option to use specified private key cert for verification
- Don't verify signature in showversion
2014-08-09 17:55:17 +00:00
fbdc535287
* i2psnark: Fix more escaped messages
2014-08-08 20:05:42 +00:00
03d8314842
dir for plugin certs
2014-08-08 16:41:27 +00:00
fe4d98f0df
javadoc
2014-08-08 16:40:56 +00:00
b1d60122a3
better msg to client on unsupported sigtype
2014-08-08 16:40:48 +00:00
64ec9f6a00
GeoIP db updates
...
Updates to geoip.txt and geoipv6.dat.gz based on Maxmind GeoLite Country
database from 2014-08-06
2014-08-07 23:28:51 +00:00
2d6f71dc12
debian: changelog update
2014-08-07 23:26:17 +00:00
c9e20c5d23
log tweak
2014-08-07 21:22:18 +00:00
381f494754
SU3File: Fix NPE on EOF reading input
2014-08-07 20:17:51 +00:00
506419964b
Plugins: SU3 support in form, type checking,
...
don't require DSA key in SU3
2014-08-07 19:27:53 +00:00
35bb8c5348
Plugins: partial SU3 support
2014-08-07 19:06:41 +00:00
79fe799aeb
Plugins: Stub out SU3 support
2014-08-07 18:45:04 +00:00
2878a6487e
KeysAndCert: Change hashcode to prevent possible collisions
...
caused by apps with zeroed pubkey
2014-08-07 17:05:25 +00:00
d4722e0d2c
* i2psnark: Fix excaped message
2014-08-07 13:39:24 +00:00
9655e79d26
UPnP: Disable external entities in XML parser
2014-08-06 18:13:54 +00:00
d1a2e24f0e
SSU: Speed up introductions by responding to HolePunch (ticket #1333 )
2014-08-06 16:35:08 +00:00
086381d958
SU3File: Add support for XML and NEWS types
2014-08-06 16:32:10 +00:00
7187f6f714
* Console: Display full path to config file
...
* i2ptunnel: More escaping
2014-08-06 13:40:25 +00:00
e10e05166f
refresh patch
2014-08-06 09:03:18 +00:00
b0f8d84a7f
updated debian/po/uk.po
2014-08-06 09:03:02 +00:00
0e9ceba057
* i2ptunnel: Fix filtering of custom options
2014-08-05 21:26:48 +00:00
fe3059f0ab
* Plugins: Enforce signing key matches that in plugin.config
2014-08-05 21:23:48 +00:00
bd566f52cf
Adding SWAT's reseed(su3) certificate.
2014-08-05 09:27:24 +00:00
b7e0dabe61
fix manual wrapper URL
2014-08-04 15:49:46 +00:00
2d2348f671
payload bounds check
2014-08-03 14:36:20 +00:00
b28eb708a4
* Console:
...
- Fix update buttons
- Don't filter parameter names starting with "nofilter_"
- Re-allow configadvanced, news URL, and unsigned update URL if routerconsole.advanced=true
- Re-allow plugin install if routerconsole.advanced=true or routerconsole.enablePluginInstall=true
- Only allow whitelisted plugin signers, unless routerconsole.allowUntrustedPlugins=true
- Re-allow clients.config changes if routerconsole.advanced=true or routerconsole.enableClientChange=true
- More escaping
* i2psnark: Fix add torrent form
2014-08-03 13:58:51 +00:00
bf9c4b2346
new su3 cert as pwd for old lost, old one not in use till yet
2014-07-31 19:11:48 +00:00
d33aa097fe
bump
2014-07-31 14:56:04 +00:00
8673c232b6
Whitelist of known plugin public keys
...
Compiled by kytv from plugins.i2p
todo: implementation
2014-07-31 14:51:02 +00:00
d3ea5d2122
drop ExecNamingService, moving to i2p.scripts
2014-07-31 14:44:52 +00:00
370d2555c7
Notes and logging re: compiling with Java 8
2014-07-31 14:42:51 +00:00
5332cee3e8
update credit as requested
2014-07-27 11:02:59 +00:00
1246e1c498
0.9.14
2014-07-26 20:32:26 +00:00
d6b0b1b93c
refresh tweaks
...
another escape html
2014-07-26 20:14:01 +00:00
1e0c970c95
remove add client button
2014-07-26 19:31:36 +00:00
db9f49c7d4
updates after review:
...
Disable clients.config editing in UI
Strip single quotes too
Fix double-escaping in susimail folder page
2014-07-26 18:58:58 +00:00
1603353ae8
Susimail escaping from psi plus some more
2014-07-26 16:50:58 +00:00
6753d23309
Add filtering for getParameterMap()
...
Don't return null entries in getParameterValues() array
Log in getParameterValues() too
static
2014-07-26 15:09:40 +00:00
ca5755b0fd
javadoc move new classes
2014-07-26 13:51:48 +00:00
2c8223274d
filter pattern tweaks
2014-07-26 13:43:52 +00:00
f0dd09cf9c
filter logging
2014-07-26 12:18:35 +00:00
4746d9eb80
Fix CSP to allow inline style and refresh
...
Add filter to all webapps
2014-07-26 11:01:16 +00:00
99401c5639
fix link
2014-07-26 10:51:42 +00:00
58578d9020
Console:
...
XSSFilter patch from str4d:
XSSFilter and XSSRequestWrapper were from http://ricardozuasti.com/2012/stronger-anti-cross-site-scripting-xss-filter-for-java-web-apps/
No provided license, but it is clearly intended for public consumption.
But most of it is boilerplate provided by the Servlet Filter system.
In fact, now that I have stripped out his JS-specific patterns and replaced it with the whitelist,
it is effectively identical to what I would have written from scratch.
2014-07-26 09:39:31 +00:00
af575d6c95
* Console:
...
- Fix several XSS issues (thx Aaron Portnoy of Exodus Intel)
- Add Content-Security-Policy and X-XSS-Protection headers
- Disable changing news feed URL from UI
- Disable plugin install from UI
- Disable setting unsigned update URL from UI
- Disable /configadvanced
* DataHelper: Disallow \r in storeProps() (thx joernchen of Phenoelit)
* ExecNamingService: Disable (thx joernchen of Phenoelit)
* Startup: Add susimail.config to migrated files
2014-07-26 09:32:26 +00:00
e9c8748c0b
Updated Eclipse settings
2014-07-26 02:48:49 +00:00
08409d016b
translation updates from Transifex
2014-07-23 13:55:58 +00:00
42bfbfc60b
geoip database updates
2014-07-23 13:54:36 +00:00
c7c087d964
fix poupdate target
2014-07-23 13:49:09 +00:00
89764c12e7
bob finals, synch
2014-07-23 13:12:32 +00:00
bd45d5483f
Added new reseed host, thanks to Backup.
...
Notes: Only HTTPS and SU3 (v2) support.
2014-07-22 17:56:50 +00:00
328d7d0008
SAM:
...
- Don't spawn a thread for each transmitted datagram
- Set protocol field for raw and signed datagrams
- Enforce a 60s timeout for HELLO
- Use naming service cache to reduce Destination object churn
- Get Log object from the log manager
- Log spelling fixes
2014-07-22 14:52:08 +00:00
cca5bef8c1
propagate from branch 'i2p.i2p' (head 79d0ad4538a0adc4ced6ac26cb725abe3d5ccee3)
...
to branch 'i2p.i2p.zzz.test2' (head 73032545b42f6f9caffffca08d0a8b97f5cf7e3a)
2014-07-22 14:38:28 +00:00
ce4874d825
better logging of reseed su3 errors
2014-07-21 20:05:05 +00:00
9b408b67ef
Adding Matt's SU3 reseed key.
2014-07-21 18:07:02 +00:00
c3bf100082
readme_fr.html thx hummingbird
2014-07-21 13:24:13 +00:00
b282ccd890
increment error count on exception
2014-07-21 13:23:14 +00:00
f38b741813
Adding sindu's reseed key. ( i2p-netdb.innovatio.no )
2014-07-21 01:47:37 +00:00
3a899d52d1
Don't grab the ClientApp if we don't need to
2014-07-19 23:55:43 +00:00
a2567b0ee2
* SusiMail: Better error message on decode fail
...
http://forum.i2p/viewtopic.php?t=11469
2014-07-19 16:31:59 +00:00
4b0019c732
* SAM: Add support for RAW on the bridge socket in v3 (ticket #1334 )
...
log fixes
2014-07-19 15:43:51 +00:00
5d21738410
* i2psnark: Don't prefer leeches during end game, to
...
prevent slowdowns or stalls
2014-07-19 12:48:16 +00:00
df81006b42
javadoc
2014-07-19 12:40:23 +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
b1caa8d5a3
fix URL in initialNews: It's i2p-projekt not i2p-project
...
(thanks to SeekingFor for the heads-up)
2014-07-15 23:46:08 +00:00
8b2ffada10
- fix test
...
- final
- last week's history
2014-07-15 14:30:19 +00:00
0998738e94
Updated history
2014-07-15 12:59:56 +00:00
c04062bbdf
Forgot to update @since
2014-07-15 12:58:58 +00:00
0c7a3a3a39
Stubs for I2CP connections over Unix domain sockets
2014-07-15 12:54:22 +00:00
f364a83f4f
mtn.i2p-projekt.i2p
2014-07-14 20:40:36 +00:00
9dabc75866
* SU3File: Disable the X.509 CN checking of local certs on Android,
...
as the javax.naming classes are not available.
Any issues with local certs will be discovered in non-Android testing.
2014-07-13 13:29:55 +00:00
2c185ea76c
* Datagrams:
...
- Redefine the repliable datagram signature for non-DSA_SHA1 sig types;
was the sig of the SHA-256 of the payload, now the sig of the payload itself.
This is an incompatible change but nobody is yet using the new
sig types for datagram applications.
- Don't pollute the hash cache with hashes of payloads
- Check for too-big datagrams
- Remove assertion check
- Cleanups
2014-07-11 19:31:44 +00:00
39e859c368
javadoc
2014-07-11 19:29:44 +00:00
2cfe5e678a
propagate from branch 'i2p.i2p' (head e02e6d733a703970e20e732e5156cbabc394e88e)
...
to branch 'i2p.i2p.str4d.eddsa' (head 3910d01bed7c5a216f52bfd1d9fd96b59f058745)
2014-07-10 09:29:34 +00:00
d48991f71f
Crypto: Move TransientSessionKeyManager from core to router.
...
I2PAppContext will return the dummy SessionKeyManager which
is sufficient for non-tag uses (e.g. Bote).
Client use of end-to-end encryption using SessionTags was
disabled in release 0.6, 2005-07-27.
2014-07-09 13:52:26 +00:00
dfbe3c4eb1
signing key type check
2014-07-09 13:29:52 +00:00
b8170a544b
add reseed cert
2014-07-09 13:27:57 +00:00
4e7f92ec89
Removing certificate + added it to delete list
2014-07-09 00:46:18 +00:00
292683268b
Thanks for the past support in reseeding pkol!
...
Removing reseed host after request.
From: pkol <pkol@mail.i2p >
To: Meeh <meeh@mail.i2p >
Subject: Reseed server shutdown
X-Mailer: smtp.postman.i2p - Official I2P Mailer
Hi meeh,
I wanted to announce the discontinuation of my reseed server
(reseed.pkol.de) at the end of July/beginning of August.
Thanks for your support during the initial setup.
Cheers
pkol
2014-07-09 00:29:59 +00:00
dc14abd4d3
BFNS: Trim whitespace from hosts.txt when importing
...
DataStructureImpl: Throw unique exception on bad base 64
2014-07-05 21:58:48 +00:00
dd782f08f7
hosts.txt: Remove trailing whitespace causing test failure
2014-07-05 21:44:23 +00:00
d57dc9a8a2
* Reseed: Check su3 version as date code
2014-07-05 19:15:26 +00:00
4e463d57ce
* Reseed: Send If-Modified-Since in fetches
...
* EepGet: Fixes for adding etag or lastmod headers before fetch
2014-07-05 18:41:09 +00:00
e0c0cc8b63
Avoid publishing null IP when using forced address config
2014-07-05 17:02:44 +00:00
cc50d47376
log warning on very low MTU
2014-07-05 17:01:29 +00:00
4da7548caa
* Reseed:
...
- Fix URLs without trailing /
- Cleanups of su3 code
2014-07-05 13:39:51 +00:00
91a676cb36
public constructors for SKM
2014-07-05 13:37:53 +00:00
48a32fb3b8
spacing
2014-07-05 13:37:35 +00:00
845b45a57d
javadoc
2014-07-05 13:36:29 +00:00
7b7a620999
* Console: Add event log viewer (ticket #1117 )
2014-07-03 13:13:57 +00:00
82217d5ebc
increase default refresh on graphs page
2014-07-03 13:08:24 +00:00
b95ec70d7d
Console: Check wrapper version before calling WrapperManager.getProperties()
2014-07-03 13:07:41 +00:00
aa3d3670a4
* PrivateKeyFile: Check for key type mismatch
2014-07-03 13:06:21 +00:00
8198c83982
* Base64:
...
- Catch numerous decoding errors that were previously misdecoded (ticket #1318 )
- Improve decoding efficiency, reduce copies
- encode(String) now uses UTF-8 encoding
- decode() now accepts short strings without trailing '='
- whitespace in decode will now cause an error, was previously ignored
- Cleanups
2014-07-03 13:03:56 +00:00
75ff7987b8
re-enable reseed.pkol.de:443 (ticket #1326 ) as it seems to be working again
2014-07-02 22:02:27 +00:00
9c87685c02
fix date in history.txt
2014-07-02 13:57:24 +00:00
ce2bb85440
Update Java Service Wrapper to v3.5.25
...
- Windows: x86 and x64 versions self-compiled with VS2010 in
Windows 7. The icon has been changed from Tanuki's default to Itoopie.
- Linux ARMv6: Compiled on a RaspberryPi using gcc 4.6.3-14+rpi1,
Oracle Java 1.7.0+update40 and stripped
- All other binaries are from the "community edition" deltapack offered by
Tanuki.
2014-07-02 13:54:47 +00:00
43fdff2292
postinstall: remove some redundancy, update comments
2014-07-02 13:51:17 +00:00
06525adf3d
Chinese eepsite help from xkimo
2014-06-30 13:23:06 +00:00
cff4210dfd
merge of 'a88d14e53014d9ab4a5d6e156e3abe2e496284c2'
...
and 'bcf2bb5bf040195d80e26c4bf643ba0df8386f8a'
2014-06-29 11:44:37 +00:00
d855c5de50
* NetDB: Add more su3 checks
...
* SU3File: Improve CLI help
2014-06-29 11:43:57 +00:00
f1a738340f
checkcerts.sh: remove unnecessary echo
s
2014-06-29 11:37:24 +00:00
9827c48527
checkremotecerts.sh: support for ports
2014-06-29 11:27:57 +00:00
367d68e552
Adding three reseed hosts, all with reseed-v2 support
...
* uk.reseed.i2p2.no
* us.reseed.i2p2.no
* jp.reseed.i2p2.no
2014-06-29 02:15:26 +00:00
1498ed361e
Added my reseed key
2014-06-29 02:13:02 +00:00
91bc16ce05
* NetDB: Fix handling reseed URLs with ports (ticket #1278 )
...
by fixing the dup host check
2014-06-29 00:44:31 +00:00
861a1e26d7
merge of '2542a527f53e4df3896ae26f5b0cf7d0a45128ff'
...
and '4944f31a9bec7dcacd3a97f6e451fd4eaf5f4096'
2014-06-28 21:58:50 +00:00
a5b2f9a5e9
temporarily disable reseed.pkol.de:443 (ticket #1326 )
2014-06-28 21:55:24 +00:00
9550484037
checkremotecerts.sh: fix regex so that commented out hosts are not matched
...
(//" was needed and // " would pass through)
2014-06-28 21:51:09 +00:00
b33284bb8e
added echelon su3 reseed cert
2014-06-28 20:01:03 +00:00
ce2694e8fb
* NetDB: Add support for reseeding with su3 files (ticket #934 )
2014-06-28 19:37:59 +00:00
44073732e2
build.xml: copy built binaries to build/ in the build* targets
...
This will hopefully make it easier for apps to use bits of I2P as build-deps.
2014-06-28 16:51:38 +00:00
fef591412e
SAM: Cherrypick from patch in ticket #1318 :
...
- Add SIGNATURE_TYPE support to GENERATE and CREATE
- Don't NPE checking dest+privkeys
- Simplify HELLO checking
- Don't require two params in HELLO message
- Make MIN parameter optional too
- Version checking fixes
- Bump version to 3.1, only visible if requested
- Cleanups, javadocs
2014-06-28 14:14:39 +00:00
f191e50b14
Custom target so I2P-Bote can be built against source
2014-06-28 05:57:34 +00:00
3379432e5f
SAM: Cherrypick from patch in ticket #1318 :
...
- Check for extra bytes in private key string
- checkPrivateDestination() returns boolean instead of throws
2014-06-27 21:05:54 +00:00
bb9129b61b
SAM: Cherrypick from patch in ticket #1318 :
...
- Fix empty properties check
- Overrides
- Statics
2014-06-27 20:53:01 +00:00
0fc3029aaa
SAM:
...
Version handling (ticket #1318 )
- MAX param now optional
- 1-digit versions now accepted for MIN and MAX
- Use VersionComparator for version tests
- Don't require a minor version of 0
- Fix empty properties check
- Overrides
- Prep for version 3.1
Throw exception on null option key (ticket #1325 )
2014-06-27 20:36:34 +00:00
d8c8586ccf
SAM: No synch needed for finals;
...
Move fields to top
2014-06-27 16:53:05 +00:00
38a4728283
SAM: Use SAMHandler.writeString() where possible,
...
Use DataHelper.getASCII() for byte conversion
2014-06-27 16:46:57 +00:00
7888705b01
final
2014-06-27 16:31:24 +00:00
31938f49d6
SAM: Fix checkPrivateDestination() for key certs (ticket #1318 )
2014-06-27 16:19:07 +00:00
c95ed2ea96
SAM: Rename exceptions, make serialVersionUID private,
...
add new SAMException constructor
2014-06-27 16:15:22 +00:00
b5ed247a53
SAM: more Log conditionals, javadocs
2014-06-27 15:55:12 +00:00
22aff49747
SAM: Log conditionals, javadocs
2014-06-27 15:53:16 +00:00
e4430f05e4
2 more pkg private
2014-06-27 15:32:56 +00:00
1047691c64
SAM: Make all classes package private except the SAMBridge entry point
2014-06-27 15:26:44 +00:00
f3180b3f6f
SAM client logging cleanup
2014-06-27 15:14:21 +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
58512b8230
build.xml: add new macros for use in the release target
...
Also move away from using external binaries when an ant task can do the job.
2014-06-26 20:01:07 +00:00
ca4555c496
lint redundant cast all over
2014-06-26 15:26:58 +00:00
bc99bc7206
javadoc fixes
2014-06-26 12:51:33 +00:00
8f2dc67430
- Fix files not found in listing at top level of torrent
...
- Fix loading of files outside of snark dir
2014-06-25 13:58:34 +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
888ef37808
propagate from branch 'i2p.i2p' (head 5a3ad2a39b0e0f06e70cb8b4d4f7b1d6461afc1a)
...
to branch 'i2p.i2p.str4d.eddsa' (head b2a13496a248ebfdac0aa3a8528a27ceff091b6b)
2014-06-24 02:14:05 +00:00
690b40ed77
* Tunnels: Reject participating tunnels when hidden (ticket #1314 )
2014-06-23 20:23:32 +00:00
986de4c1d6
Streaming: Fix connection error message
2014-06-23 20:12:12 +00:00
01da32364f
Streaming: Bundle I2PSocketException messages for translation
2014-06-23 20:10:11 +00:00
8b1abc08db
Add Destination.toBase32()
2014-06-23 20:06:03 +00:00
69e56f8f6b
'Home': (temporarily?) disable salt.i2p.
...
At this point it's been offline for a month with no sign of returning.
2014-06-23 08:19:30 +00:00
b611d0238a
build.xml: minor tweaks to comments, indentation
2014-06-22 00:45:50 +00:00
c987a9735d
fixup after prop
2014-06-21 13:16:38 +00:00
3b9549c2c1
propagate from branch 'i2p.i2p' (head 1f9b91f318a0f2369243844a3cf7f485528492d7)
...
to branch 'i2p.i2p.zzz.snarkconfig' (head 37b27b6d354d62487294fd9276504b98a23f1057)
2014-06-21 13:02:22 +00:00
2dcc9b7a1e
i2psnark:
...
- Display webapp name in html title (ticket #1311 )
- Use tracker from magnet link in display (ticket #1313 )
- Clarify auto-start (ticket #1293 )
- Include tracker in magnet link on details page (ticket #964 )
- Recognize .azw4 extension as ebook
- Cleanups
2014-06-21 02:30:25 +00:00
3e54b5d544
New Spanish eepsite help page from 'lati2p'
2014-06-19 01:13:17 +00:00
8845ce6e1c
Findbugs all over:
...
- Serializable
- hashCode()
- Make DataStructureImpl Serializable (removed from DataStructure in 2005)
2014-06-15 16:14:13 +00:00
ff189e796c
slackbuild: minor changes to the comments
2014-06-14 09:15:55 +00:00
89c07ac969
slackbuild: remove gettext as a run-time requirement as it's not *strictly* req'd
2014-06-14 09:15:14 +00:00
a8e878f894
SlackBuild: version extraction using awk (thanks 'ihavei2p') (ticket #1310 )
2014-06-14 00:08:49 +00:00
1f8f3eb4d9
Fix up the included SlackBuild (ticket #1310 )
2014-06-13 22:44:42 +00:00
8fd2a05bf9
duh
2014-06-13 22:12:38 +00:00
002d057c92
findbugs all over
2014-06-13 21:37:18 +00:00
ab44488e4c
i2prouter: don't use uname -p to determine the arch
...
- This came from the script from Tanuki but it does return useful information
(as far as its use in the script) in my testing. uname -m is better for our
needs. (The problem is only seen on certain CPUs when *all* available wrapper
binaries are present and the script tries to resolve the correct binary to use..
2014-06-13 20:55:36 +00:00
653ffbc82e
build.xml: add jbigi-linux-x86-only target
2014-06-13 20:28:02 +00:00
95fd0291e3
* Tunnels: Don't get stuck only building tunnels for an empty pool (ticket #1300 )
2014-06-13 13:40:52 +00:00
2a269ff1a9
* Transports: Disallow Carrier Grade NAT (RFC 6598) addresses
2014-06-13 13:39:15 +00:00
83ccfb4596
* i2psnark: Fix NPE when fetching invalid torrent (ticket #1307 )
2014-06-13 13:38:30 +00:00
e968828916
i2prouter: add amdfx* as an x64 CPU / move ldd check
2014-06-12 00:41:14 +00:00
ed85a2b82b
Executables get 755, not 744
...
While this may be the primary cause of the problem mentioned in ticket #1310 ,
plenty of other fixes/changes will be forthcoming.
2014-06-11 19:27:54 +00:00
e692e21dc9
updates to SlackBuild READMEs
2014-06-11 19:24:58 +00:00
662fe3ebc2
* i2psnark: Fix decoding of negative numbers (ticket #1307 )
2014-06-10 19:54:05 +00:00
1bf8fd92e4
* NewsFetcher: Only treat correct status codes as success
...
The last-modified date was getting updated even when
the server returned e.g. 503, preventing routers from
getting the latest file on a subsequent fetch.
2014-06-10 19:52:55 +00:00
4dd8a6421a
Tomcat: Bundle a stripped tomcat-coyote.jar with the utils
...
required to precompile jsps with tags (SusiDNS and Bote).
As of 6.0.39, these utils are required but they are not bundled
in the Tomcat deployer package, the main package is required.
This checkin has only the classes required from the jar.
2014-06-10 00:17:19 +00:00
884b285bf5
* Jetty 8.1.15.v20140411
...
* Tomcat 6.0.41
2014-06-09 20:39:49 +00:00
cb340152df
* i2psnark:
...
- Linkify all announce URLs on details page
- Sanitize announce URLs
2014-06-09 14:14:01 +00:00
299a44e7eb
i2psnark: display peer version when available
2014-06-07 17:07:44 +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
d328e78727
* SusiMail: Extend times on background checker (still disabled by default)
2014-06-07 13:17:40 +00:00
1bcb9b24b6
* Console: Fix NPE in summary bar
2014-06-07 13:16:19 +00:00
3c1c130bf0
* i2psnark: Fix errors when checking read-only files
2014-06-07 13:15:13 +00:00
df3442563c
* Eepsite: Updated French help page (thx hummingbird)
2014-06-07 13:13:33 +00:00
331b1fa742
fix test breakage
2014-06-01 18:04:04 +00:00
b97a53177e
* i2psnark:
...
- Store seed/leech status in DHT tracker (ticket #1280 )
- Increase max received DHT nodes (Vuze sends more than K)
- Recognize not-registered message from diftracker
- Fix bug in DHT unannounce()
2014-06-01 17:13:00 +00:00
633b71ba19
history for prop, -2
2014-05-31 16:58:05 +00:00
f3dd42143d
cleanups
2014-05-29 12:44:27 +00:00
7c79f5d5e5
propagate from branch 'i2p.i2p.zzz.test2' (head 9aee013cf961ba795a6b5333481634c52d43abc5)
...
to branch 'i2p.i2p' (head e439e67c49695a624fabdf6f3cd1a8f7a3fd7ea5)
2014-05-29 12:31:49 +00:00
af5c0bd8a7
Console, i2psnark, susimail: Recognize emacs-w3m as a text-mode browser
...
As reported at http://zzz.i2p/topics/1630
untested
2014-05-28 21:25:35 +00:00
c07bfe34ab
s/www\.i2p2\.i2p/i2p-projekt.i2p/g
2014-05-27 12:55:53 +00:00
49681415e2
Change "view source" link from Trac to Github.
2014-05-27 12:54:46 +00:00
190e8c01b7
update irc servers mentioned in the router console
...
- remove freshcoffee, add dg and echelon
2014-05-27 12:48:01 +00:00
6ae86f7d81
* i2psnark: Support ports in announce URLs, 2nd try (ticket #1283 )
2014-05-27 12:06:59 +00:00
0aeb3ca75e
s/i2plugins/plugins/ since i2plugins hasn't existed for years
2014-05-26 14:28:41 +00:00
1d3e12abb7
router console: fix links to i2p project pages
...
Some pages, such as Arabic linked to the German version.
Most pages mentioned "i2p-projekt and its mirror i2p-projekt.i2p"
2014-05-26 14:27:55 +00:00
5e8428ef6c
router console: s;forum\.i2p2\.de;forum.i2p;g
2014-05-26 14:18:59 +00:00
19e3064529
remove #i2p-help from the router console (merged into #i2p)
2014-05-26 14:10:47 +00:00
f9dbd74ad8
update links to syndie to point to its eepsite
2014-05-26 13:59:22 +00:00
ff837cf66e
i2ptunnel: Define standard tunnel properties and types in one place
2014-05-26 13:36:41 +00:00
e0914c358e
susimail: fix NPE (ticket #1296 )
2014-05-25 23:17:19 +00:00
0e9bb23c7b
i2psnark:
...
- Respond to get_peers with an empty peers list instead of
a nodes list if the requester was the only peer (ticket #1279 )
- Fix sendError() (still unused)
2014-05-25 21:41:43 +00:00
7ff5d36f07
i2psnark DHT tweaks (ticket #1281 )
...
- Extend DHT tracker expire time from 45m to 3h
- Extend DHT announce interval from 10m to 40m
- Increase announces from 1 peer to 4
2014-05-25 20:38:39 +00:00
5a3eab0c7c
i2psnark:
...
- Change "private" value in infohash from string to number,
to match what everybody else does
- Send seed/leech status in DHT announces (ticket #1280 )
2014-05-25 19:41:01 +00:00
c28f707f55
cleanup
2014-05-25 19:23:04 +00:00
ef96c88719
HTTP Client:
...
- Add GUI options for user-agent, referer, accept
- Fix SSL (initial socket data in I2PTunnelRunner)
- Disable SSL to i2p addresses by default, add GUI option
- Fix NPE in error handler
2014-05-25 19:17:36 +00:00
faa2435e33
checkremotecerts: fail if CN doesn't match
...
Since all reseed hosts now have proper certificates with matching CNs, I'm
making this script enforce a stricter policy, requiring matching CNs.
2014-05-24 13:13:35 +00:00
0537a221d3
temporarily disabling uk.reseed.i2p2.no
2014-05-24 10:08:58 +00:00
99c5a1978f
merge of 'be06d7987687efb0d6b027f04a2efbf702218677'
...
and 'f6541fdc88966f2e0e510c2291b33cf716a3a62a'
2014-05-22 18:09:55 +00:00
d106f483a1
0.9.13
2014-05-22 14:59:02 +00:00
dee84e70ae
Eclipse project for entire routerconsole dir
2014-05-22 01:51:05 +00:00
09995b77b4
Eclipse project for entire installer dir
2014-05-21 02:02:36 +00:00
06894f9f0b
Export jstl.jar and standard.jar in Eclipse
2014-05-20 21:34:45 +00:00
73943b1a08
javadocs
2014-05-20 13:23:31 +00:00
b573dab05f
javadocs
2014-05-20 13:22:07 +00:00
a766eca283
Crypto: Don't start YK thread in constructor (ticket #973 )
2014-05-20 13:14:55 +00:00
a65edbef92
SSU: Fix peer test deadlock (ticket #1286 )
2014-05-20 12:35:48 +00:00
7479aa235e
fixes after review
2014-05-20 12:03:19 +00:00
4167cd955b
Console: Cheap workaround for old wrappers (ticket #1285 )
2014-05-18 23:24:03 +00:00
d1bd893a7b
* I2PTunnel:
...
- Display custom error pages for I2PSocketExceptions (ticket #788 )
- Tag I2PSocketException text for translation (no bundles yet)
- Move methods from superclasses to I2PTunnelHTTPClientBase
- Fix connect client error pages, but they aren't displayed anyway
- Don't start I2PTunnelRunner threads in constructor (ticket #973 )
- Synch close() in I2PTunnelServer
- Cleanups and javadocs
2014-05-18 21:13:22 +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
1acd5caaa8
* HTTP client: Fix 'connection reset' browser messages
...
after an error in the first line (ticket #1277 )
- A SocketException is an IOE
- out can't be null
2014-05-17 23:44:16 +00:00
f69b757305
* i2psnark: Support ports in announce URLs (ticket #1283 )
2014-05-17 22:10:10 +00:00
d2db41bc89
remove cert from delete list
2014-05-16 14:04:45 +00:00
f3b4377ee1
re-add netdb.i2p2.no.crt
2014-05-16 13:58:51 +00:00
551a8091a9
GeoIP db updates; Japanese Susimail translation, -21-rc
2014-05-15 23:22:40 +00:00
f994590ad7
Translation updates
...
sk, ja, de, fr, it zh, nl, uk, nb
2014-05-15 23:14:38 +00:00
8371b8f806
* I2CP: Client-side prep for asynch status for sent messages (ticket #788 )
...
- Clean up and reuse MessageState for asynch notification
- New I2PSession sendMessage() method and listener
- Move VerifyUsage from SimpleScheduler to SimpleTimer2 for efficiency
- Fix up javadocs
2014-05-15 20:11:21 +00:00
5d04f8db89
checkremotecerts.sh fix test logic
...
Script would return 0 even connecting to the remote host failed.
2014-05-15 03:38:29 +00:00
06de347373
-20-rc
2014-05-14 14:18:24 +00:00
2bf2eb482e
update outbound UA to match TBB's
2014-05-14 14:14:23 +00:00
a93666cd36
* I2CP: Prep for per-message reliability settings (ticket #788 )
...
Router side:
Store message nonce in ClientMessage, so we may send
a MessageStatusMessage with a failure code to the client
without sending an ACCEPTED MessageStatusMessage first.
All MessageStatusMessages sent in response to outbound messages will now have a valid nonce.
2014-05-14 13:49:42 +00:00
dbb7eb3d88
* I2CP: Prep for per-message reliability settings (ticket #788 )
...
Add bounds checks for flags
2014-05-14 12:15:57 +00:00
39169f0450
reveal key cert settings in i2ptunnel
2014-05-14 12:13:43 +00:00
df71308664
Susimail: Don't let an exception on one mail break others
2014-05-13 21:36:06 +00:00
e393f82eb7
* i2psnark: Escaping fixes on details page
2014-05-13 21:35:12 +00:00
8480a204ea
* BOB, SAM, i2psnark: Fix datagram NPE (ticket #1275 )
...
This could only happen on an extremely overloaded router.
2014-05-13 18:45:54 +00:00
197be5f60f
* SusiMail: AIOOBE fix 3nd try (ticket #1269 )
2014-05-13 18:39:56 +00:00
5621e9b390
* SusiMail: AIOOBE fix 2nd try (ticket #1269 )
2014-05-12 20:46:30 +00:00
485d785e0b
merge of 'dcf98ef995380862d3e668685caaa0acd403f068'
...
and 'f9fdb1592f632ef5de78e3dc7dac3f75ce4e3c39'
2014-05-10 15:38:20 +00:00
8d71d496be
new self signed certificate which fits to the host name reseed.i2p.projekt.de
2014-05-10 15:21:54 +00:00
738bae46d2
* SusiMail:
...
- Remove deleted messages from memory too
- Disable delete button when really-delete button shown
2014-05-10 14:47:46 +00:00
d519228efb
change exception type
2014-05-10 14:44:09 +00:00
72c404c4d4
* NTCP: Fix NPE (ticket #996 )
...
(hopefully)
2014-05-10 14:42:13 +00:00
d2e3547a2e
* Crypto: JVM AES only faster for larger data size
2014-05-09 19:13:28 +00:00
8d9790fd77
* CPUID:
...
- Add hasAES()
- Fix bugs in unused hasSSE3(), hasSSE41(), hasSSE42()
* Crypto: Use JVM AES when faster
* SystemVersion: Add isJava7() and isX86()
2014-05-09 15:28:54 +00:00
cd91a6b2a4
* SusiMail: Add more locking (ticket #1269 )
2014-05-09 12:15:12 +00:00
e165c1805d
unnecessary cast
2014-05-09 12:14:19 +00:00
292b0a81c0
remove debugging cruft
2014-05-09 10:33:01 +00:00
b9e9c07d95
checkremotecerts.sh: clean-ups, compatibility updates
...
It now works with either gnutls or openssl, and both gnutls v2 and gnutls v3.
2014-05-09 10:21:15 +00:00
837bf9eafe
add i2pdocs.str4d.i2p to hosts.txt
...
It's linked on the website but wasn't in any of the default lists.
2014-05-09 10:11:22 +00:00
cfdbef05c5
set GPG key ID in release target
2014-05-08 19:23:15 +00:00
47b10e9771
checkremotecerts.sh: explicit check that cert exists
2014-05-08 17:56:37 +00:00
1b5a2ddef3
updated cert for ieb9oopo per email in ticket #1266
2014-05-08 17:55:41 +00:00
c161649ed5
Add script to check reseeder host certificate validity
2014-05-08 13:31:32 +00:00
c9b5c03e1b
remove certs that are no longer used
2014-05-08 12:47:46 +00:00
c4c04d7ec5
rename i2pproject cert
...
The other self-signed certs are named after the host that they're being used
for. Maintaining this naming scheme will make automated testing easier.
2014-05-08 12:46:44 +00:00
b4e03fa969
Removing netdb.i2p2.* certs
...
These have not been used for some time. netdb.i2p2.no is using an *.i2p2.de
cert from Commodo.
2014-05-08 12:45:31 +00:00
1cdcf1cb0a
i2ptunnel: Display warning for duplicate client ports (ticket #1265 )
2014-05-07 16:00:38 +00:00
56b6992ca8
i2psnark: Add log message if directory does not exist (ticket #1263 )
2014-05-07 15:58:24 +00:00
2beaea4a86
Tunnels: Revert expl. OB default back to 2 + 0-1 for now
2014-05-07 14:50:45 +00:00
2dc97b160a
i2psnark: Allow click on entire table cell for viewing torrent details
2014-05-07 14:48:42 +00:00
a014918c0d
Transports: Use constant time method for HMAC verification
2014-05-07 14:47:15 +00:00
fb9a4eb87a
SSU: Extend establishment phase retx timeout
2014-05-07 14:43:46 +00:00
cd83c48526
DSAEngine: Minor cleanup
2014-05-07 14:41:28 +00:00
5b2766ddfb
Data: Use Arrays.equals() directly, same as DataHelper.eq()
2014-05-07 14:40:03 +00:00
f912b01137
Fix console getting disabled when saving client config (ticket #1260 )
...
Router: Add warning at startup if console is disabled
2014-05-07 14:36:41 +00:00
b0db4e4fff
* SusiMail:
...
- Don't fetch headers from folder sorters
- Update debug setting when saving config
2014-05-07 14:34:51 +00:00
649f76fb06
add hiddengate.i2p
2014-05-07 14:33:20 +00:00
91408cbdce
SigUtil: Catch EdDSA IAE
...
SU3File: Hide EdDSA and unavailable sig types from help text
2014-05-05 19:49:24 +00:00
97c1ba2d02
merge of '477b2b4e4f6f8a2e406fb9729cd603d8caeadb40'
...
and 'ef12e90467e2bdbf5e64a9e55230ce56121d7347'
2014-05-04 14:52:06 +00:00
284802bfa5
add caching of EdDSA keys
2014-05-04 14:09:02 +00:00
48b6e0693e
finals
2014-05-02 19:43:21 +00:00
67ea2f3717
SusiMail: Remove dups in war
2014-05-01 17:05:57 +00:00
e9e535cb94
* SusiMail:
...
- Move js to resources
- js for delete boxes in folder view
2014-05-01 14:34:02 +00:00
7822b5c3ac
SusiMail: header padding
2014-05-01 13:13:20 +00:00
767bd05ce1
SusiMail: new sorter base class
2014-05-01 13:02:44 +00:00
36ebe19cd7
SusiMail po update for TX
2014-05-01 12:04:10 +00:00
943ea957a2
* Plugins: Retry deletion at restart if it fails (ticket #1257 )
2014-04-30 14:22:25 +00:00
04a3673366
remove UTF8 in commented-out test
2014-04-30 11:28:13 +00:00
1dfbe73b73
* SusiMail:
...
- Add print css
- Add some divs
- Hide header and footer in mobile css
- Fix 'from' address in compose
- Boolean config parse cleanup
- Config textarea row count
2014-04-29 19:50:28 +00:00
87889bb322
* UDP:
...
- Locking fixes on peer testing
- More locking fixes on rebuilding address
- Slow down peer test frequency, esp. when firewalled
* Transports:
- Deprecate unused recheckReachability()
2014-04-27 18:46:11 +00:00
aa0616d7c5
* UDP:
...
- Locking fixes on rebuilding address
- Don't rapidly churn address when we don't have enough introducers
2014-04-27 15:47:43 +00:00
611ff6357e
* NTCP: Remove published NTCP address if SSU becomes firewalled,
...
to fix the "Firewalled with NTCP enabled" message
2014-04-27 15:01:01 +00:00
91d7a0ab98
* SusiMail:
...
- Add locking for disk cache
- Remove cancel button from login page
- New configuration page
- Move set page form to configuration page
- Theme and folder js enhancements
- Wrench icon from Silk, same license as the others
2014-04-27 14:57:28 +00:00
f5661da595
* Router: Set killVMOnEnd before runRouter() (for azi2phelper)
...
* RoutingKeyGenerator: Don't assume UTC (for azi2phelper)
2014-04-27 14:53:15 +00:00
d867f9f36e
Fix for SigType.isAvailable()
2014-04-27 01:56:01 +00:00
55d92fc9f2
Support "raw" EdDSA signatures (in reality they are double-hashed)
2014-04-26 13:03:38 +00:00
2e2d3c39e6
Added Ed25519-SHA-512 to I2PTunnel advanced UI
2014-04-26 12:11:02 +00:00
3cd01acb73
Fixed Ed25519-SHA-512 algorithm name
2014-04-26 12:10:18 +00:00
02c0ddb3d3
Generalized to support any EdDSA parameter spec
2014-04-26 11:59:16 +00:00
ce397f5858
Added EdDSA support (directly, not using Provider)
2014-04-26 11:24:31 +00:00
3f56ce206d
* SusiMail:
...
- Subject sort enhancements
- Tag Re: and Fwd:
2014-04-25 20:05:23 +00:00
8a2308b411
* SusiMail:
...
- Send delete to server for mails already downloaded
- Fix idle closer waiting for deletions
- Add tooltips for icons
- Add new options to properties resource
- Add feedback when reload config button pushed (ticket #1158 )
- Reset page size when config reloaded
- Remove max page size limit
- Show page nav buttons on bottom too if page is big
- Set title to subject on message view
- Log tweaks
2014-04-25 18:47:47 +00:00
04cabf40b5
* SusiMail:
...
- Move delete and confirmation button in folder view to bottom left,
page size form to bottom right
- Attachment finals and cleanup
- Increase max size for full download again
- Fix repeated re-saves of mail to disk
- Enable auto-deletion of downloaded mails
- Consolidate check box processing
- Button spacing tweaks
2014-04-25 16:11:35 +00:00
4e0c4f6f98
* SusiMail:
...
- Tweak sort button display based on current sort
- Secondary sort based on date
- Ignore "Re:" in subject sort
2014-04-25 14:09:28 +00:00
75bd235eb2
* SusiMail:
...
- Add raw attachment download method
- Display image attachments inline
- Don't rezip certain attachment types, just offer link
- Handle attachment sending directly, don't put ref in session
2014-04-25 13:04:04 +00:00
05236b093a
* SusiMail:
...
- Fix sorting buttons, broken by POST check
2014-04-25 04:15:50 +00:00
260ebe512c
* SusiMail:
...
- Add icon for new mail
(from Silk icons, same license as others)
- Attachment logic tweak
2014-04-25 04:09:14 +00:00
c2dab16c8c
* SusiMail:
...
- Add icons for attachments and spam
(from Silk icons, same license as others)
- Add checks for POST for XSS prevention
2014-04-25 03:42:18 +00:00
945d455f33
* SusiMail:
...
- Different colors for new mail and spam
2014-04-24 21:33:43 +00:00
c8f8f6ff34
* SusiMail:
...
- Add background mail checker, not yet enabled
- Add idle timeout connection closer
- Rely on idle checker for most delayed deletions
- Cleanup resources better when shutting down session
- Don't add deleted mails to folder, caused errors after deletions
- Set socket soTimeouts so things don't hang forever
- Display errors after check mail button pushed
- More IOE debug logging
2014-04-24 20:54:22 +00:00
0d4f597a59
SusiDNS: Fix subscription edit page, thx bubbles
2014-04-24 14:26:21 +00:00
775047fbc2
* SusiMail:
...
- Fix HeaderLine decoder going past the headers,
which was causing corruption in forwarded mails
- More efficient output buffer allocation in HeaderLine decoder
2014-04-24 01:25:50 +00:00
1e4b43314c
* SusiMail:
...
- Fix fetching of new mail
- More Folder cleanup
- Prep for not leaving on server
- Prep for background checker
2014-04-23 22:46:57 +00:00
b365817c99
* SusiMail:
...
- Queue deletions for a delayed background thread
- Synch all folder access
- NPE fixes
- Javadoc fixes
2014-04-23 19:40:57 +00:00
bbb04774d1
compile fix
2014-04-22 20:52:08 +00:00
1823e5e641
* SusiMail:
...
- Load all mails from disk at startup
- Add offline mode
- MailCache now has the total UIDL view
- Copy silk folder icon from snark to console for use by susimail
2014-04-22 20:01:24 +00:00
4d2dc1c8e8
* SusiMail:
...
- Show sender name in folder view
- Add support for configured sender name
- Add HTML escaping of '&'
- Fix Folder sorting so UP is up and DOWN is down
- Use replace() instead of replaceAll() where appropriate
- Fix capture by show page after back button
2014-04-22 18:45:09 +00:00
6986f90bf8
* SusiMail:
...
- Fix encoding in sent mails on non-UTF8 platforms (thx cryptosynthesis)
- Clean up all other getBytes() calls
- Tweak spacing on up buttons
2014-04-22 11:48:45 +00:00
b43ebd2486
* SusiMail:
...
- Add persistent cache
- Remove ID sorter
- Mail size getter/setter
- Set mail size when setting body
- Only send CAPA once
- Tagged string tweaks
2014-04-22 11:18:56 +00:00
611f991fdd
Added a security provider for I2P-internal crypto
2014-04-22 07:20:30 +00:00
7bf3ea5200
* SusiMail:
...
- Pipeline all deletes and quit
- Don't reconnect after delete and quit
- Verify connected before each POP3 operation
- Null check in comparators
- Don't clear messages if a reconnection fails
- Use locale-based sorting for strings
- Increase limit for full fetch again
- Increase default page size back again
2014-04-21 23:00:46 +00:00
490727b401
fix i2ptunnel
2014-04-21 20:59:29 +00:00
49f4f3398d
* SusiMail:
...
- Add MailPart constructor, make fields final
- Add ReadBuffer constructor, make fields final
- Move decoding to MailPart method
- Setters/getters for Mail header, body, part
- Classes package private
- Finals, constructors
2014-04-21 20:17:08 +00:00
b84682fdc9
* findbugs: mostly stream closure fixes in router, apps, core
2014-04-21 10:54:52 +00:00
b9491b269b
* SusiMail:
...
- Pipeline initial fetch of messages, huge speedup
2014-04-20 22:22:22 +00:00
b70cbb28b2
* SusiMail:
...
- Send CAPA
- Pipeline STAT, UIDL, and LIST
2014-04-20 19:31:28 +00:00
673c14287a
* SusiMail:
...
- Rework in POP3 in prep for more pipelining
2014-04-20 18:38:54 +00:00
b4a0ffdbbd
* SusiMail:
...
- Don't require an attachment to be "uploaded" to send it
- Move delete attachment button, hide if no attachments
- Icon for delete attachment button
- Fix html error in bccToSelf input
2014-04-20 17:12:21 +00:00
3b2e5bded2
* SusiMail:
...
- Don't store encoding class names in config
- New susimail.debug setting in config
- Use DataHelper to load config file
- Close any open POP3 socket when session is unbound
- Don't keep returning user to compose page (ticket #1252 )
- Add javascript capture of back button from compose page
2014-04-20 15:19:30 +00:00
67eb3cc140
unblocking USERS (ticket #1249 ) and various safe Inspircd commands
2014-04-20 11:53:39 +00:00
5a683149ab
* SusiMail:
...
- New reply button icon (from Silk, same license as the others)
- Save BCC-to-self preference in the session
- Tweak the BCC-to-self layout
- Fix date format in reply
2014-04-20 02:45:01 +00:00
b75ad1ca5a
* SusiMail:
...
- Use pipelining in SMTP
- Rewrite SMTP response processing
- Translate SMTP error messages
- Right-justify msg size in folder view
- String.compareTo() cleanup
2014-04-20 01:26:11 +00:00
552ab31559
Console: Remove the classpath workarounds for SusiMail,
...
since it isn't using the jetty classes any more
2014-04-19 20:46:31 +00:00
4abfde4047
SusiMail:
...
- CSS padding in inputs
- Flush writes in SMTP
- Don't wait for SMTP response after QUIT
- Translate the "login failed" message
- Show "no messages" in folder view if none
- Message view attachment cleanups
- Fix the message view layout in CSS
- Pipeline USER and PASS to save a round-trip at startup
- Better synchronization in POP3
- Properly de-byte-stuff in POP3
- Flush writes in POP3 for speedup
- Remove unnecessary caching in POP3, this is handled in MailCache
- More efficient handling of POP3 server responses
- Remove 60s timeout for fetching a message,
so retrieval of large messages doesn't fail
- Don't allow line breaks in date/time or size in folder view
- Use DataHelper.formatSize2() for message size
- Identify susimail log messages in wrapper
- Debug log tweaks
2014-04-19 20:44:50 +00:00
6ecfedba37
SusiMail:
...
- Increase max size of mails that are fetched in full,
previous limit was so small it never happened.
- Move page nav to top of folder view, hide if only one page
- Put message nav buttons on second line
- Refuse to send mail with no "to"
- Reduce default page size as it slows startup
- Remove unnecessary casts
- Right justify some input fields
2014-04-19 16:57:56 +00:00
43883a90d2
SusiMail: Successfully extend session expiration (ticket #1253 )
...
by renaming the cookie, so we don't have a common session ID
with the base context and get it expired there.
2014-04-18 21:32:45 +00:00
3930113f00
I2PTunnel IRC Client: Prevent AIOOBE (ticket #1254 )
2014-04-18 16:44:39 +00:00
029198c213
* SusiMail:
...
- Don't force reconnection on folder view (ticket #1253 )
- Only show logout button on folder view
- Switch subject and date headers on message view
- Button theme tweaks
- Debug logging
- Fix NPE when RELEASE=false
- Synch tweaks
- hellip
- Footer tweak
2014-04-18 16:43:07 +00:00
493788f4f8
merge of '9f159df098940fb0feecf6eae0c990c62736bb9c'
...
and 'ba82e9e4c57bd8d9f567c9252fe7b5815972e370'
2014-04-18 01:50:14 +00:00
028776de88
* SusiMail:
...
- Extend session expiration (ticket #1253 )
- Handle non-UTF8 encoding on header lines (ticket #508 )
- Display dates in current locale and time zone
- Display sender name on message view
- Remove sort-by-ID buttons
- Hide "reload config" button unless config file is present
- Increase default page size
- Add dependency tracking to build
2014-04-18 01:48:03 +00:00
705de68aa3
allow PROTOCTL and LINKS through the filter.
...
http://www.unrealircd.com/files/docs/technical/protoctl.txt
We already allow /MAP and /LINKS is pretty much the same.
2014-04-18 01:46:19 +00:00
eb96a74e32
configclients: Don't allow console disable
2014-04-18 01:14:23 +00:00
614f34c6b4
Stats: clean up addRateData() calls
2014-04-17 18:58:38 +00:00
f77a3c7f56
NTCP: Log tweaks to help on ticket #996
2014-04-17 18:54:58 +00:00
6de81d41d2
SSU: SessionRequest replay prevention (ticket #1212 )
...
NTCP: Just use first 8 bytes of Hx^Hi for replay check
2014-04-17 18:52:40 +00:00
7ac9dc5542
Tunnels: Increase OBEP throttle limit for now
2014-04-17 18:50:24 +00:00
2195c2fe98
SusiMail: Button styling for prev,next,list
2014-04-17 18:48:52 +00:00
3f35e927dd
SusiMail:
...
- Initializer cleanup, finals
- Escape "--" inside HTML comments
- Log errors to router log too
- Notes on ticket #508 header line issues
2014-04-17 18:48:07 +00:00
5ec659513b
SusiDNS:
...
- Move some methods to BaseBean
- Locking on config file accesses
- Remove static log and context
2014-04-17 18:39:52 +00:00
1039a4b7a0
i2psnark: Randomize announce list order and limit size
2014-04-17 18:36:37 +00:00
88899c1233
clean up unused router stuff
2014-04-06 18:28:34 +00:00
d429514a3a
debian: remove dep on ${misc:Depends}
...
This causes the 'i2p' package to force the version of i2p-router to match.
2014-04-06 16:04:17 +00:00
b2c6fcbb73
merge of '0c93d925b9ac38f2475b39aa2b80eaa1454214d6'
...
and '97ec023f8ba85ebdabe5ee0bd3f9e107710f170f'
2014-04-06 15:19:30 +00:00
3b1e030b39
NetDB: Iterative search improvements
...
- Pass DSRM hashes through IMD to ILJ for client tunnels too
- Query unknown DRSM hashes in ILJ without looking up
when using client tunnels; look up after querying
when using expl. tunnels to speed things up
- Don't look up banlisted hashes
- Check 'from' hash in DSRM against list of peers sent to
- Don't query an unknown peer through a zero-hop OB tunnel
- Log tweaks
Extend expiration of returned message in IMD
2014-04-06 15:18:16 +00:00
e097a1caeb
NetDB: Skip LS verifies when shutting down
...
remove unneeded null check
2014-04-06 15:15:23 +00:00
d6b09f8bab
don't check launch4j xml
2014-04-06 14:36:36 +00:00
6d46344171
drop launch4j demos, docs, and source
2014-04-06 14:03:43 +00:00
24e807b238
Skip key cert LS verifies for floodfills that don't support them
...
Fix continuation after skipping key cert LS stores for floodfills
that don't support them; ditto big leasesets
2014-04-05 14:05:40 +00:00
fdf6f5d51f
-2
2014-04-05 12:59:11 +00:00
4b938a02e7
log tweak
2014-04-05 12:33:53 +00:00
44a5740a04
Add server option for unique local address per-client
...
as suggested in https://lists.torproject.org/pipermail/tor-dev/2014-March/006576.html
2014-04-05 12:30:58 +00:00
8d73b2e838
Fix changing outproxy without stopping tunnel (ticket #1164 )
2014-04-05 12:24:50 +00:00
e1fc6893b4
SocketErrorListener callback is unimplemented
2014-04-05 12:18:14 +00:00
7487ab8848
i2ptunnel: remove extraneous '>' from editClient
2014-04-02 01:25:47 +00:00
e675416b8c
debian: re-enable javadocs pkgs, bump changelog
2014-04-01 21:27:49 +00:00
24a133fe67
add .pc/ to .*ignore
2014-04-01 21:22:41 +00:00
0570feda6f
* NetDB: Handle RI response from non-floodfill router down a client tunnel
2014-04-01 13:05:51 +00:00
b206665c72
TunnelPoolSettings constructor tweak
2014-04-01 13:03:40 +00:00
8a6fb132f5
* Console: Fix summary bar html when displaying an update constraint
2014-04-01 13:01:13 +00:00
6992ca8b98
build path update
2014-04-01 13:00:28 +00:00
fd916a7646
test script updates
2014-04-01 12:59:27 +00:00
90cd68900e
0.9.12
2014-03-31 12:43:15 +00:00
3f865edb4f
Convert pt_BR getopt translation from ISO-8859-15 to escaped UTF-8
2014-03-31 12:36:50 +00:00
2e8681de2c
getopt translations
2014-03-28 20:23:53 +00:00
2d85b98c20
* i2ptunnel.config: Remove irc.freshcoffee.i2p
...
* NetDbRenderer: Adjust debug floodfill estimate
* StatManager: Don't start thread for an empty config
* StatisticsManager: Don't publish client tunnel stats
* Log tweaks
2014-03-28 14:01:39 +00:00
d28d6efb79
geoip updates
2014-03-28 12:21:52 +00:00
43d84a5f07
fr, nb, and ru translation updates
2014-03-28 12:21:32 +00:00
e4d57f62bb
merge of '1202f5d3645add930a96dfa77cd2b2ebfb56ca95'
...
and '5c131297d763f8953029fea257681d55f2103aaa'
2014-03-24 11:57:46 +00:00
a974268e7b
postinstall: fix freebsd x86 wrapper path
...
Spotted in the FreeBSD Port (http://svnweb.freebsd.org/ports/head/security/i2p/files/patch-installer__resources__postinstall.sh?view=markup )
2014-03-24 11:57:04 +00:00
1695af7011
belated jisko.i2p
2014-03-23 20:44:47 +00:00
682c4cd0b8
remove extraneous '>' from editServer
2014-03-23 18:33:29 +00:00
0f6d039391
Console: Handle stopping plugin ClientApps
2014-03-23 10:55:00 +00:00
d6233a8798
add *.torrent to .gitignore
2014-03-21 11:35:37 +00:00
4f12e81dbb
build: add -pre-release target, add addt'l files to distclean
...
Moving the pre-release checks to a new target (to be run at the very start of
"release")
2014-03-21 11:35:04 +00:00
ab612d0088
cleanup of *clean targets, remove more generated files in distclean
2014-03-19 22:00:43 +00:00
3fa7bb9dc5
mtn-ignore: ignore .torrent
2014-03-19 21:59:27 +00:00
22b3d4d70b
translation updates
2014-03-16 23:56:43 +00:00
bd6c588c74
* SSU: Fix corruption of introducer keys
2014-03-16 18:27:46 +00:00
6c202e8f1d
fix router identity test broken by previous checkin
2014-03-15 19:40:41 +00:00
24e6750529
* Certificate: Fix null cert hash code
...
* Hash: Cleanup of cached hash
* NetDB: Randomize returned DSM timestamp
2014-03-15 18:43:42 +00:00
af7ce8e18e
remove extraneous <a> tag
...
(fixing my mistake)
2014-03-15 13:47:53 +00:00
c73f0eeeb5
more Jetty classpath cleanup
2014-03-13 13:58:50 +00:00
c68769cf7f
MultiMap: Cleanups, javadocs after review
2014-03-13 13:57:10 +00:00
3e639a319d
SAM:
...
- Classes static/private
- Fields private/final
- Remove unused fields
- Remove shadowing fields
- Remove dup method overrides
- Remove static Logs
- Remove unnecessary field initialization
- Atomics
- Findbugs
2014-03-13 12:22:04 +00:00
1bbb79f5b1
log tweaks
2014-03-13 12:17:34 +00:00
84e6991374
Add .su3 to .mtn-ignore, create new .gitignore file
2014-03-13 11:27:37 +00:00
5d1796bb6f
Debian: Remove service directory when package is purged
...
This was in the 0.9.11 packages but not checked into mtn.
2014-03-13 02:31:23 +00:00
bfba732f76
Debian: Add systemd support (ticket #1208 )
...
Currently just for Debian unstable and Ubuntu Saucy and newer.
2014-03-13 02:29:41 +00:00
738c5ed14e
Streaming: Workaround for jwebcache and i2phex (ticket #1231 )
2014-03-12 16:02:23 +00:00
beed080390
anoncoin.i2p
2014-03-12 15:21:17 +00:00
3624d66c12
send message on HTTP Server OOM
2014-03-12 15:18:41 +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
31d485299c
log tweak
2014-03-12 12:36:00 +00:00
a39f667c2f
set BAOS size
2014-03-12 12:35:29 +00:00
5283fc923e
* Wrapper: Fix failed restarts on ARM (ticket #1230 );
...
extend shutdown timeouts for all archs.
2014-03-12 12:33:36 +00:00
c57552f4e9
* Console: Handle ISO-639-2 language codes (ticket #1229 )
2014-03-12 12:29:38 +00:00
96b4c6b219
findbugs sam/bob
2014-03-12 12:27:23 +00:00
51911bd9a8
fix jetty deprecations
2014-03-12 12:25:30 +00:00
1f5926e4e9
* PeerManager: Restore profileOrganizer.sameCountryBonus advanced config,
...
inadvertently removed in 0.9.10
2014-03-08 16:03:35 +00:00
d6a02a13ad
* Router:
...
- Look for DeliveryStatusMessages beyond the message expiration,
so we don't throw out a tagset that gets acked late
- Allow re-adding of a "failed" tagset to the SKM
- Extend max message age in MessageValidator
- Remove unused and confusing timeout param when registering a selector
- Log tweaks, javadocs, cleanups
2014-03-07 14:17:11 +00:00
e282491798
merge of '10a291d2283174a7527515a7448d220d5023ffc0'
...
and '6ace0f7ffbda402db7e1af21a74ca29ad54829c2'
2014-03-07 08:35:12 +00:00
2b0dfed012
Fixed Android API version detection, load cacerts dir for API >= 14
2014-03-07 08:27:14 +00:00
9d80aff977
* GarlicClove, CloveSet, GarlicMessageParser:
...
- Cleanup, reduce object churn, comment out unused code
- Limit max cloves to 32
2014-03-06 19:31:09 +00:00
a0724dc009
* Router: Encrypt DeliveryStatusMessages sent in garlics (ticket #1217 )
2014-03-06 16:21:36 +00:00
8c820bb237
clean up build classpath (ticket #1165 )
2014-03-06 06:03:58 +00:00
3fdc964eac
javadoc fixes
2014-03-05 16:53:04 +00:00
597662d0dc
* Transports: Don't send a duplicate store of our RI at
...
start of a connection (ticket #1187 )
* NTCP:
- Lower send priority of the RI at exchange
- Bob will now send his RI even if he doesn't have Alice's
- Send RI again sooner on long-lived connections
2014-03-05 16:32:04 +00:00
17c80c29e6
Updated history.txt
2014-03-05 03:35:52 +00:00
5d0bfc63fa
Updated readme.html files for new website paths
2014-03-05 03:34:53 +00:00
0c449f8b8e
susimail: Removed remaining Jetty dependencies in susimail (ticket #1165 )
...
Thanks for the patch, wockenfuss!
2014-03-05 03:02:08 +00:00
36b6baa33e
Updated .mtn-ignore
2014-03-05 02:58:07 +00:00
2c049878c6
Enable addressbook.jar building (for I2P-Android)
2014-03-03 03:49:48 +00:00
81c58c1796
log tweak
2014-03-01 13:13:52 +00:00
36a3edf612
- DatabaseStoreMessage: Don't instantiate an ArrayList unless we need it
...
- Overrides in GarlicConfig/PGC for efficiency and clarity
- Check for valid ID in DeliveryStatusMessage
- Misc. log tweaks, javadocs, cleanups
2014-02-27 13:37:11 +00:00
4b6fd3d387
format tweak
2014-02-24 14:06:24 +00:00
f777696e14
finals, volatiles, cleanups
2014-02-24 14:02:48 +00:00
c9c181c14a
* NetDB: Slow down router refresh after startup to reduce load
...
on exploratory tunnels
2014-02-24 14:01:35 +00:00
a62b7a4374
* Tunnels: Rate-limit connections at the OBEP (ticket #1134 )
2014-02-24 14:00:39 +00:00
9d7a9c9895
* NTCP:
...
- Add check for replayed session requests (ticket #1212 )
- Disable inbound check connection
- Reduce object churn in EstablishmentManager
- Don't pollute Hash cache in EstablishmentManager
- addRateData() cleanup
2014-02-24 13:54:52 +00:00
5d6a1c5e35
reduce log level
2014-02-24 13:52:44 +00:00
c48266fdc4
* Transports: Use SigUtil.rectify() in DH
2014-02-24 13:51:20 +00:00
895d54d36d
minor cleanup
2014-02-24 13:46:07 +00:00
ba0e1a3aa9
* I2PTunnel: add 'irc.dg.i2p' to the default IRC2P tunnel (for more information, see http://echelon.i2p/docs/IRC2p/irc2p_userguide.txt )
2014-02-23 21:38:12 +00:00
6ec665db50
Br. Portugese, French, Japanese, Polish translation updates
2014-02-23 16:54:49 +00:00
7f4c52cf42
remove #i2p-help from initialNews
2014-02-23 16:40:28 +00:00
37728e38c9
(hopefully) langbox fixes
2014-02-22 23:58:25 +00:00
18b4a2427b
* I2CP Client: Generate revocation key of same type as signing key
...
* i2ptunnel: Only offer Sig options that are available in the JVM
* LeaseSet: Add check for SigTYpe mismatch
* SigType: Add isAvailable()
2014-02-21 17:47:30 +00:00
3102970540
* RouterAddress: Restore storage of expiration and use in signature
...
calculation, broken in 0.9.3, in anticipation of using it someday
2014-02-21 14:57:28 +00:00
c679091afd
target build property
2014-02-21 13:59:27 +00:00
91cdf85772
* Router: Allow null args to main() (broke Android)
2014-02-20 14:08:05 +00:00
aab8b10adf
* i2ptunnel: Add inproxy block option to HTTP server
2014-02-20 14:07:02 +00:00
5bcfe1ec72
don't link to docs.i2p2.de in the router console
...
docs.i2p2.de was last updated in October of 2010!
2014-02-18 19:51:35 +00:00
4209c291ba
* history for prop, -9 (ticket #1090 )
2014-02-17 14:18:18 +00:00
7c5dc7fa55
propagate from branch 'i2p.i2p.zzz.jetty8' (head 0a03ce60906c508b08cc84b3044954844a6ee157)
...
to branch 'i2p.i2p' (head d99392e09883a92b99a316b4deed0586dcf4ea5b)
2014-02-17 14:01:13 +00:00
c6dfb8744a
Jetty 8.1.14 jars
2014-02-17 13:58:19 +00:00
6e0ca92041
* getopt fix for PrivateKeyFile -t sigtype, busted in prop
...
* history for prop, -8
2014-02-17 13:39:32 +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
8c98ef7328
update version
2014-02-17 13:14:23 +00:00
45997fd1d5
* SSU:
...
- Restrict authentication with Bob's intro key to session created packet
2014-02-17 13:05:17 +00:00
6a3e5ec620
* SSU:
...
- Use session key for relay request/response if available (ticket #1206 )
- Remove packetAuthTime stats
- Misc. cleanups and logging
2014-02-17 12:56:08 +00:00
18cbf3d253
* HMAC:
...
- Replace BC MD5 with JVM version, refactor I2PHMAC to use
MessageDigest instead of BC Digest (ticket #1189 )
- Use JVM HmacSHA256 instead of I2PHMAC for Syndie since it is standard
2014-02-17 12:03:22 +00:00
4df6a6f47b
min java version for izpack
2014-02-16 22:31:17 +00:00
5542406f3d
Merge pull request from https://github.com/i2p/i2p.i2p/pull/1
2014-02-16 11:28:48 +00:00
a9fceae181
* I2CP:
...
- Add session limit, add new status code for refused
- Ramdomize session ID, prevent dups
- Make session IDs immutable
2014-02-14 17:05:32 +00:00
c79ff0dc09
minor cleanups
2014-02-14 17:02:14 +00:00
e2fc5c6957
* Tunnels: Change expl. OB default to 3+0
2014-02-13 15:46:34 +00:00
5667a6647f
* Router: Convert to getopt (ticket #1173 )
2014-02-13 14:43:23 +00:00
b70d616083
update links
2014-02-12 23:06:30 +00:00
75fa2b1809
typo fix
2014-02-12 21:38:42 +00:00
66d9017d58
fix PingTest
2014-02-11 19:45:52 +00:00
53efb7119a
merge of '12c51adcf9862cc57488b27ec00002b1bb399294'
...
and 'b870e2fda1291f95ae4e6e35cc5ded300578d92b'
2014-02-11 14:15:35 +00:00
8b946bb56b
Remove mention of Pebble in the router console for reasons noted in ticket #865
2014-02-11 14:15:04 +00:00
8ed34e3edf
* HTTP client proxy: Don't flush after headers for a POST,
...
so the POST data is included in the SYN packet,
to improve speed and reliability of small POSTs
2014-02-11 13:44:37 +00:00
d8fef53aef
i2prouter: - note FBSD10 workaround in ticket #1118
...
- remove tanuki's script version checks
2014-02-11 01:54:45 +00:00
6af82f2a9a
history for prop, -2
2014-02-10 20:32:20 +00:00
36b2547ca4
propagate from branch 'i2p.i2p.zzz.test2' (head 7db2f2b73bc7c44b4be1077185314201c5b0bfe6)
...
to branch 'i2p.i2p' (head ea9844ecc27e816a09cf5d9b36c10ee2c3d1bcc9)
2014-02-10 18:46:38 +00:00
72e96cdd23
remove concatentation within appends
2014-02-10 18:33:32 +00:00
a2ba9bbdb1
* Checklist updates
...
* Console:
- Don't reset graph settings when clicking restart or shutdown on graphs page
- Don't recommend guest login on trac, it's disabled
- Catch and remove corrupt jrb file (ticket #1186 )
- Always set default language on /configui
* Readme: Update links
* Transports: Reduce target connection count again to reduce
tunnel reject rate further
2014-02-10 14:22:43 +00:00
f6d9a6917f
Removed a comment line from french translation
2014-02-09 20:27:42 +00:00
2e91890401
Javadoc fixes to correct release number
...
Remove unused lock object
Add irc.dg.i2p
0.9.11
2014-02-08 18:09:46 +00:00
1956068698
* Addressbook:
...
- Rewrite subscriptions.txt to convert to new default URL
- Static method call cleanups
2014-02-08 16:02:50 +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
ef3a12f01a
* UpdateManager:
...
- Convert to RouterApp and remove update hooks from context
(ticket #1185 )
2014-02-07 15:40:23 +00:00
37bf750ab9
* I2PTunnel:
...
- Convert to getopt (ticket #1173 )
- Add more argument sanity checking
- Add a usage output
2014-02-07 14:24:09 +00:00
090a790a9d
* Services:
...
- Move backup news to psi.i2p
- Move default addressbook subscription to i2p-projekt.i2p
- Remove www.i2p2.i2p from default update lists
- Add psi.i2p to hosts.txt
- Update links on help pages to avoid redirects on new website
and select the correct language
* SusiDNS: Fix whitespace issues
2014-02-07 12:52:54 +00:00
8ef3bb3d82
version number fix
2014-02-06 18:50:54 +00:00
388019249d
-10-rc
...
Debian changelog update, Korean debconf translation, history.txt update
2014-02-06 18:45:11 +00:00
91d1364832
February 2014 geoip db updates
2014-02-06 18:43:45 +00:00
2ec1d8484f
Brazilian Portuguese, Danish, French, Japanese, Polish, Russian, Ukrainian
2014-02-06 18:32:23 +00:00
9a01fdf57c
* PrivateKeyFile:
...
- Convert to getopt (ticket #1173 )
- New option -e for hashcash effort, instead of -h with optional arg
- Stub out -t option, to be propped from ecdsa branch
Will require manual merge with ecdsa branch...
2014-02-06 15:30:03 +00:00
deec84713f
* EepHead, PartialEepGet, SSLEepGet:
...
- Convert to getopt (ticket #1173 )
* EepHead, PartialEepGet:
- New option -c for clearnet (no proxy), same as -p:0
- New option -o, same as EepGet
- Proxy option -p with host name arg only (no ':') now allowed
- Add proxy auth support with -u and -x options (ticket #1173 )
* EepGet:
- Catch error in -h option
- Cleanups
2014-02-06 14:18:51 +00:00
0d028122a6
* EepGet:
...
- Support Digest proxy authentication(ticket #1173 )
- Move authentication parsing method from I2PTunnelHTTPClientBase
2014-02-06 01:29:46 +00:00
4998f86efe
* EepGet:
...
- Convert to getopt (ticket #1173 )
- New option -c for clearnet (no proxy), same as -p:0
- Proxy option -p with host name arg only (no ':') now allowed
- Proxy password option is now -x, not the second arg to -u
- Prompt for proxy password if not supplied in options
- Line length option is now -l, not the second arg to -m
- Error on nonproxied .onion hosts
- Update man page, sort options (ticket #1173 )
2014-02-05 16:10:56 +00:00
839bd51bc8
javadoc fix
2014-02-05 14:46:23 +00:00
936f2bb317
combine help strings
2014-02-04 14:32:36 +00:00
0cd774273c
* I2Ping:
...
- Convert to getopt (ticket #1173 )
- Add support for from/to ports
2014-02-04 14:11:09 +00:00
fe391ff29f
Convert all jars and wars to compile to 1.6 target,
...
except for the following which are used by android,
to maintain compatibility with very old phones, for now:
addressbook.war
BOB.jar
i2p.jar
i2ptunnel.jar
mstreaming.jar
router.jar
streaming.jar
2014-02-03 23:59:48 +00:00
001b127258
* Jetty:
...
- Update to Jetty 8.x, Servlet 3.0, JSP 2.2
- Require Java 6
- Use Servlet and JSP jars from Jetty instead of Tomcat
- Tomcat remains at 6.0.37 supporting Servlet 2.5 / JSP 2.1
- Remove Jetty dependency in console error pages
- Build files for Jetty 8.1.14
- Doc updates
- Delete Jetty 7.6.14
- Jetty 8.1.14 not yet checked in,
waiting to see if a new version is released soon,
but build will download it for testing
2014-02-03 23:24:45 +00:00
7c00a5165f
Build: Honor require.gettext=false for i2prouter translations
2014-02-03 20:43:02 +00:00
e1c3e2c1c7
* Getopt bundle fixes for Java Properties standard:
...
Fix comment lines
Encoding conversion to UTF-8 with escapes
Add unicode escapes for all chars over 0x7f
Change Transifex type to PROPERTIES
Also:
- Remove BOMs
- Remove \r
- Remove blank lines
Encodings were as follows:
cs: marked ISO-8859-2
pl: marked ISO-8859-2, possibly corrupt, ?? in two strings
de, es, fr: marked ISO-8859-1
hu: detected as ISO-8859-2
it: apparently ISO-8859-1
ja: Unicode escaped already
nb, nl: ASCII
ro: marked ISO-8859-2 but actually UTF-8
zh: detected as GB2312 w/ CRLF
zh_TW: UTF-8 w/ BOM w/ CRLF
2014-02-02 21:05:14 +00:00
e9b3577eec
snark: cache PeerID.toString()
2014-02-02 17:19:06 +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
b7207fd29f
Use getopt lib in SU3File (ticket #1173 )
2014-02-02 15:14:00 +00:00
4dc1241d2f
Add lightweight getopt command line parsing lib
...
(ticket #1173 )
This is Java getopt 1.0.14 (released 2012/02/08)
Source was retrieved from https://github.com/arenn/java-getopt
Previous version 1.0.13 (released 2006/08/29)
is available at http://www.urbanophile.com/arenn/hacking/getopt/
Copyright (c) 1998 by Aaron M. Renn (arenn@urbanophile.com ),
LGPL v2.
Include the small translation files, add to build.xml and to .tx/config
Fixes:
Simplified Chinese
MessagesBundle_chs.properties renamed to MessagesBundle_zh.properties
Traditional Chinese
MessagesBundle_cht.properties renamed to MessagesBundle_zh_TW.properties
Norwegian Bokmaal
MessagesBundle_no.properties renamed to MessagesBundle_nb.properties
2014-02-02 15:12:44 +00:00
c59603d31b
fix swapped Dutch and Norwegian on /configui
2014-02-02 14:39:41 +00:00
3ab149a399
streaming javadoc fixes
2014-02-01 12:37:45 +00:00
99f28519fb
* SOCKS: Remove static logs
2014-01-31 18:38:15 +00:00
05aa88b4e8
* /logs: Fix encoding of wrapper log section (ticket #1193 )
...
- remove a cast in FileUtil
2014-01-31 18:34:27 +00:00
887f953efb
* NetDB: Fix cases where corrupt RouterInfo files were not deleted (ticket #1190 )
2014-01-31 18:32:22 +00:00
5e16c42e4e
* InboundMessageDistributor: Set reply flag on LeaseSets
2014-01-30 13:02:16 +00:00
2cea7cdb30
fix
2014-01-29 21:41:52 +00:00
e60da8e8ff
Added new https reseed, i2p-netdb.innovatio.no (Sindu)
2014-01-29 19:45:10 +00:00
be12995753
* Tunnels: Change expl. IB default to 2 + 0-1
2014-01-28 22:50:51 +00:00
c30419107f
* /configclients: Add link to plugins.i2p; don't show delete button for console
2014-01-28 22:48:52 +00:00
2cacded182
datagram sigtype bugfix
2014-01-28 22:40:36 +00:00
ec22a1dafc
- Only store LS with more than 6 leases to routers that support it
2014-01-28 22:35:33 +00:00
434bf13be9
* I2PSnark: Make 'kitty.png' transparent.
2014-01-28 21:11:39 +00:00
236df32f30
volatiles
2014-01-28 17:42:14 +00:00
28575dbdae
* Key certs:
...
- Hide setting in i2ptunnel edit pages unless advanced user
- Only store LS with key certs to routers that support it
2014-01-28 14:21:54 +00:00
5b9d669d79
* I2CP: Use client tunnels for b32 lookups (ticket #1166 )
...
- convert some calls to use getDestHash()
- javadocs
2014-01-28 13:27:44 +00:00
b2f4fde7e5
history for prop, -6
2014-01-27 18:50:44 +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
b91f041ad7
I2CP:
...
- Add missing session ID assignments in HostLookup/Reply constructors
2014-01-27 16:38:00 +00:00
ba96f72899
help tweak
2014-01-27 16:37:39 +00:00
5d322245d8
Ticket #1183 - move message serialization later in the SSU pipeline
2014-01-27 14:47:58 +00:00
47712a39ac
i2psnark:
...
- Support arbitrary location for torrent data. Save location in
per-torrent config file. TODO: Fix torrent browse pages
(ticket #1028 )
- Enhance idle shutdown message
- Javadocs
2014-01-27 13:41:38 +00:00
6b16907e40
* i2ptunnel HTTP Proxy: Fix default enable for outproxy plugin
2014-01-27 13:32:24 +00:00
18146daad8
i2psnark:
...
- Add missing nonce protection for file priority setting
- Add torrent mime type
- String append cleanup
2014-01-26 14:26:16 +00:00
0c326f989e
Remove outproxy hook vestiges in context, history for prop, -3
2014-01-25 18:23:46 +00:00
e0a499dd0f
propagate from branch 'i2p.i2p.zzz.outproxy' (head 02da481346e0bf35b289f00b32f50871da202afb)
...
to branch 'i2p.i2p' (head eb2820957208e17c76e8c10a2c36e59e0da61895)
2014-01-25 18:16:38 +00:00
0f862124fe
- Tweak display name of HTTP client tunnel
...
- Show outproxy plugin status on i2ptunnel index page
2014-01-25 17:56:35 +00:00
d00be4ceee
update error pages for HTTPS
2014-01-25 15:52:04 +00:00
ec8354860e
* NetDB: Fix NPE after client shutdown (ticket #1174 )
2014-01-25 15:08:56 +00:00
f9144f2fbf
* StatisticsManager: Lower frequency for publishing stats again
2014-01-25 15:07:57 +00:00
5d2ff5e648
* Installer: Update links
...
* Update release checklist
2014-01-25 15:06:51 +00:00
ce475d2cd6
sort imports
2014-01-25 15:05:43 +00:00
72bd1fe91b
* i2psnark: Lower threshold for auto-stop
...
* Update: All updates via torrent
2014-01-25 14:58:34 +00:00
747d833392
Fix
2014-01-25 00:59:42 +00:00
3427464de6
Move OutNetMessage buffer preparation to the Writer threads
...
(Ticket #1184 )
Up version to -1
2014-01-25 00:46:30 +00:00
9ca625a64e
- Fix up the header processing for SSL thru HTTP proxy
...
- Fix the CONNECT line output
- Set use-plugin default to true
- Log tweaks
- rename a variable
2014-01-24 16:52:29 +00:00
9e87fd9b13
Sync fix for NTCPConnection._currentOutbound
2014-01-24 15:35:55 +00:00
5b6ed48ec0
0.9.10
2014-01-22 01:30:33 +00:00
96f6865835
bump for review
2014-01-21 00:51:08 +00:00
fa50f9f246
* Adding http(s) uk.reseed.i2p2.no (Meeh)
...
* Adding http i2p-netdb.innovatio.no (Sindu)
2014-01-21 00:00:27 +00:00
538b4b10d7
Translation updates from Transifex
2014-01-20 17:00:24 +00:00
bdb3e26d07
geoip (v4 and v6) updates
2014-01-20 16:17:32 +00:00
ec87600e80
Chinese language update
2014-01-20 16:13:31 +00:00
0624f46e67
* Console: Change www.i2p2.i2p links to i2p-projekt.i2p
...
* Reseed: Remove netdb.i2p2.de
2014-01-20 15:52:14 +00:00
ece1198dd4
Fixed NPE
2014-01-15 02:31:07 +00:00
8bbab31872
* NetDB: Fix handling of DSM down client tunnels
2014-01-12 19:21:52 +00:00
8c6922ac5f
* NetDB: Fix handling of DSRM down client tunnels
...
ISJ log tweak
2014-01-12 15:24:13 +00:00
6b67f399f6
* NetDB:
...
- Reduce min part tunnels for ffs to 35
- Use client tunnels for LS lookups from OCMOSJ (ticket #1166 )
2014-01-12 01:10:38 +00:00
a9598633b3
Missing file from BOB logging fix
2014-01-11 17:14:09 +00:00
1fb2672b67
BOB: Pass through I2CP host/port (ticket #827 )
2014-01-11 04:30:59 +00:00
4308ce6347
Fixed logging for BOB-one.jar
2014-01-11 01:56:47 +00:00
32b095efbd
BOB: Implement ClientApp interface (ticket #347 )
2014-01-10 21:11:55 +00:00
eb4bdfcefb
add i2pjump
2014-01-10 16:31:39 +00:00
fc6554cabc
typo fix (a03adeb0, part 2)
2014-01-10 11:44:37 +00:00
058590f69b
Fixed language names in routerconsole
2014-01-10 06:15:17 +00:00
576984badc
I2CP:
...
- Add SessionID to HostLookup/Reply messages, for future
use when we have multiple sessions
- New SessionID constructor w/ value
- Throw IAE on invalid SessionID values
- Bump all comments from 0.9.10 to 0.9.11
2014-01-10 02:24:15 +00:00
9825fcf97b
update of en source files, bump build
2014-01-09 19:33:54 +00:00
1ed96d72b2
i2prouter translation updates
2014-01-09 19:24:45 +00:00
a29935abb3
New Brazilian Portuguese translation
...
- New translation from Transifex
- Update langbox widths
2014-01-09 19:24:11 +00:00
e92a5da5a5
tx: update hostname in config, add pt_BR
2014-01-09 19:21:38 +00:00
f08e0299ef
Updated translations from Transifex
2014-01-09 19:17:38 +00:00
9757435b09
NewsFetcher: Delay news fetch on new installs (ticket #1153 )
2014-01-09 14:03:49 +00:00
80fadb4580
Kad: Fix NPE when removing yourself
2014-01-09 12:27:18 +00:00
8658c23974
susimail: Fixed pagination with zero entries (ticket #1168 )
2014-01-09 04:31:30 +00:00
0264cc9030
susimail: UTF-8 support from wockenfuss (ticket #508 )
2014-01-09 03:34:45 +00:00
bd5b6b32b5
Updated history
2014-01-09 03:33:57 +00:00
dc0a1281bf
Migrated overlap fix from Fux (ticket #773 )
2014-01-09 03:10:50 +00:00
c20c697126
RouterAppManager: Allow registration of untracked ClientApps,
...
required for orchid plugin
2014-01-08 15:17:09 +00:00
44e7110c9a
Fix StandardServerSocket.isClosed() and close()
...
thx cacapo
ref: http://zzz.i2p/topics/1547
2014-01-08 00:32:51 +00:00
c860c49c6b
Add jisko.i2p to home page
...
Icon source: http://jisko.i2p/wiki/File:Jisko_console_icon.png
Icon license: Copyleft: This work of art is free; you can redistribute it and/or modify it.
ref: http://zzz.i2p/topics/1539
2014-01-08 00:30:28 +00:00
b16e66d39a
Add GUI outproxy plugin enable setting for all tunnel proxies
...
(only implemented in HTTP)
More SSL support in I2PTunnelHTTPClient
- Add separate config for SSL outproxy
2014-01-06 16:56:00 +00:00
3b06f0b83c
Change the test url to www.i2p-projekt.i2p
2014-01-06 16:06:20 +00:00
0bc6c23ac9
Remove outproxy hook in context, use ClientAppManager:
...
- Add clientAppManager() to I2PAppContext so it can be used there
- Add routerAppManager() to RouterContext for convenience inside router
Start of SSL support in I2PTunnelHTTPClient
- Add initialSocketData support back to I2PTunnelOutproxyRunner
- Works for orchid (and in-net?)
- TODO Doesn't work for in-net proxy
- Need separate config for SSL proxy
2014-01-06 13:57:45 +00:00
17e63b054c
add sigtype to i2ptunnel client gui too
2014-01-05 16:38:39 +00:00
0fae0640d6
missing file
2014-01-05 02:55:46 +00:00
d054e12952
New interface and context hooks for in-jvm outproxy
...
Support in HTTP client proxy
All preliminary, maybe better to use ClientAppManager?
2014-01-05 00:52:00 +00:00
dc60c2b478
* Console: Change /configclients 'advanced warning' to include 'toopie, no red
2014-01-04 23:40:41 +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
fba209ca7d
restore method used by bote
2014-01-04 17:32:38 +00:00
b91b242a1a
bump
2014-01-04 16:54:12 +00:00
38186c8f75
TunnelPoolSettings:
...
Split out the defaults for expl/client IB/OB.
Client default now 3 hops.
Expl default still 2 hops, with OB Expl + 0-1,
en route to 3+0.
2014-01-04 16:48:45 +00:00
1b3aefbbce
PeerManager: Remove small same-country bonus
...
This was done back when we were desperate for
build improvement but it's bad for anonymity
and probably a little slow also
2014-01-04 16:43:54 +00:00
c03511b971
exception causes
2014-01-04 16:40:06 +00:00
78e7599a8a
better wording
2014-01-04 16:39:10 +00:00
dc871cf1eb
XSS
2014-01-04 16:38:05 +00:00
e98b9d0af5
bump for testing
2014-01-04 14:27:51 +00:00
2a09d5baa6
* Streaming: Move streaming to new package (ticket #1135 )
2014-01-04 14:09:33 +00:00
41e071efe5
* Key cert GUI support:
...
- Add setting in i2ptunnel server edit page
- Comment out cert setting on i2ptunnel server edit page
- Show key type on susidns details page
- Show key type on LS debug page
2014-01-03 15:31:08 +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
1feb317f8b
typo
2013-12-25 09:39:19 +00:00
09668453d0
* Console: Add 'advanced warning' to /confgiclients
...
* SOCKS5Server: Remove redundant, commented out line from my previous findbugs
2013-12-25 09:37:46 +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
a2e7fa8b7b
another minor dir listing speedup
2013-12-22 14:23:01 +00:00
30ccf1b334
i2psnark:
...
- Refactor file deletion in prep for better file name handling (ticket #571 )
- Don't use canonical files in directory listings,
for speed and to avoid file comparison problems (tickets #1079 , #1148 )
- Set base file/dir in Storage constructor, make final,
in prep for arbitrary locations (ticket #1028 )
2013-12-22 13:52:35 +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
bf485d8bce
history update and date fixes
2013-12-21 18:01:04 +00:00
cc97a19d3c
I2CP:
...
- Add support for hostname lookups over I2CP with new
HostLookup and HostReply messages.
- Move username / password from CreateSession
to GetDate for early authentication;
this is an incompatible chage.
Outside router context with authentication enabled,
new clients will not work with old routers.
Early authentication is not yet enforced, enable with
i2cp.strictAuth=true. Will change default to true in a later release.
- Block all actions before authentication.
- Better disconnect messages to clients for diagnostics
- Improve lookup command, add auth command in i2ptunnel CLI for testing
- Don't start ClientWriterRunner thread in constructor
- Don't flush in ClientWriterRunner unless necessary
- Send GetDate even in SimpleSession outside of RouterContext
- Improve SetDate wait logic to reduce locks and break out when
Disconnect received
- Add Disconnect handler to SimpleSession
- I2Ping cleanups
- Javadocs
2013-12-21 00:21:48 +00:00
38c02b44b9
Streaming: final, volatile, logging
2013-12-19 12:24:51 +00:00
04a596899a
NetDB: Fixes for ExpireRoutersJob
...
- Don't expire if too few routers
- Don't expire if net is disconnected
- Don't run in VMCommSystem
2013-12-19 12:23:29 +00:00
ee1ed1bb82
Nice message during graceful shutdown
...
May need to tweak the wording
2013-12-19 12:20:32 +00:00
2b39d28e99
fix comment
2013-12-19 12:16:39 +00:00
01b153488a
i2psnark:
...
- Move config file and DHT persistence file to a config dir
- Move per-torrent configuration from "zmeta" in the main config file
to a per-torrent config file (ticket #1132 )
- Split timestamp and bitfield into separate configs
- Fix misspelling of autoStart config
- Remove two unused SnarkManager methods
2013-12-16 16:12:32 +00:00
8cb503d8bb
EepGet: Allow override of the User-Agent
...
i2psnark: Set User-Agent
2013-12-15 15:16:54 +00:00
efff25a87c
NetDB:
...
- Just before midnight, flood to new location too so lookups
don't fail after keyspace rotation (ticket #510 )
- Refactor RoutingKeyGenerator and UpdateRoutingKeyModifierJob
in support of the above
- Display next key on LS debug page
2013-12-14 14:38:00 +00:00
6e2583ad92
NetDB:
...
- Increase new kad size to K=24, B=4
- Fix router count by counting in the data store, not the kbuckets
- Randomize the order we load router infos at startup so we
don't bias the kbuckets
2013-12-13 17:50:39 +00:00
af84bcf945
i2ptunnel:
...
- Show destination for persistent client key only if available;
show b32 for the key as well
2013-12-13 17:45:35 +00:00
3dc429415b
use advanced setting to show LS debug
2013-12-13 17:31:13 +00:00
ec9dd25631
sort i2ptunnel CLI help for sanity
2013-12-13 17:30:18 +00:00
2bda87d5a7
comment out main
2013-12-13 17:29:43 +00:00
a7a816e0a7
wrapper: 3.5.23 updates for win64
2013-12-10 23:23:06 +00:00
3d9d722cee
history for props, -1
2013-12-10 11:39:45 +00:00
289a8e7b40
merge of '3f93d2c09c89b5c68487c33fd700ef7c2feeeb61'
...
and 'b2c58f8462ab5c08682b711436c387b421bdd0c2'
2013-12-10 11:11:08 +00:00
7d3aa33c25
Fixed type argument problem causing infinite recursion
2013-12-10 05:55:19 +00:00
0db1314595
propagate from branch 'i2p.i2p.zzz.netdbkad' (head bc7310e940f01e68bd6be0ed0681eb624dada332)
...
to branch 'i2p.i2p' (head 98569f30891693e6888913f50b88d1f37969fe45)
2013-12-10 02:31:08 +00:00
68641626aa
propagate from branch 'i2p.i2p.zzz.test2' (head ec8e362ce8b93280b518c599a3cc075b89085d2b)
...
to branch 'i2p.i2p' (head c9b1eef91f61f4482ad11c4f2b2d01be67a17ad2)
2013-12-10 02:26:32 +00:00
5b9fb403c9
Jetty 7.6.14.v20131031
2013-12-10 02:26:00 +00:00
a4114b96fd
Deprecation warning fixes
2013-12-09 20:45:11 +00:00
de184ed139
propagate from branch 'i2p.i2p.str4d.cleanup' (head 736423cc308e964bab55068e625f8a1852932ec5)
...
to branch 'i2p.i2p' (head 0ac335d5dc4ccaeb113af4fb5c0e993a6f42fdbe)
2013-12-09 19:51:39 +00:00
04c342ec6a
PrivateKeyFile: Fix ISE (ticket #1145 )
...
broken in 0.9.9
2013-12-09 16:38:00 +00:00
27ce28027d
i2ptunnel: Disable streaming pings for clients (ticket #1142 )
...
i2psnark: Disable streaming pings (ticket #1142 )
2013-12-09 16:11:53 +00:00
f8a54bde19
0.9.9
2013-12-07 15:30:29 +00:00
3acfdbe8f7
i2ptunnel IRC client: Do not filter server PING or client PONG (ticket #1141 )
2013-12-06 15:26:12 +00:00
d9fed57c89
more finals
2013-12-05 16:25:16 +00:00
46e7e9be82
finals
2013-12-05 16:21:36 +00:00
d87d4eb232
I2CP: Disconnect client on attempt to publish invalid leaseset
2013-12-05 16:14:51 +00:00
88ea451f81
propagate from branch 'i2p.i2p' (head 2634e424f06e58231c47f1ec318e9ae21c94a8b3)
...
to branch 'i2p.i2p.zzz.test2' (head 68ca880caf69a06c0fd01fc70675df795aef1de2)
2013-12-05 16:07:32 +00:00
822ec4aa53
Debian: patch refresh
2013-12-04 18:46:28 +00:00
7b0b07933f
finals
2013-12-04 14:21:03 +00:00
7fe8573df4
i2psnark ConnectionAcceptor:
...
- Fix ConnectionAcceptor not restarting after tunnel
restart, preventing incoming connections
- locking tweaks
- cleaner reschedule tweaks
- don't store server socket locally
- constructor tweaks / finals
- Stop acceptor when tunnel disconnects
- javadocs
2013-12-04 14:17:38 +00:00
c180292358
Style fix: leave brackets around for() one-liners
2013-12-04 03:51:02 +00:00
a3fa48dcbe
Removed dead code
2013-12-04 03:50:26 +00:00
445e4301d5
bump for review
2013-12-01 21:27:43 +00:00
736da22bba
update geoip from maxmind's 2013-11-05 db
2013-12-01 20:15:32 +00:00
f29c64cd70
merge of '37bb29ce149260c55fb90ec8e56262262382fd9d'
...
and 'c4f7358a50c9982c5d63e9e5201f4e3f9562422f'
2013-12-01 20:13:49 +00:00
aa4b4b9d2b
French, Italian, Romanian, Spanish, and Swedish translation updates
2013-12-01 20:09:16 +00:00
1112fc8544
Yes it's deprecated, it should still use proper generics
2013-11-30 12:52:50 +00:00
9b361ac445
Fixed history. Last commit was actually blocking "X-Powered-By". Oops.
2013-11-28 21:12:35 +00:00
0ff423fc57
I2PTunnel: Don't send 'X-Forwarded-For' on HTTP server tunnels for anonymity reasons (reported by 'trixie' on IRC).
2013-11-28 21:03:19 +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
ed2feb3ff7
Core: findbugs
2013-11-27 23:22:49 +00:00
a17b1b99c0
Moved StatLogSplitter to i2p.scripts/java-utils
2013-11-27 22:48:46 +00:00
27bc32f2f3
Core: findbugs exclusions (for use in Eclipse or Jenkins)
2013-11-27 11:17:17 +00:00
b535054e13
generics
2013-11-27 11:14:16 +00:00
97a9a6090a
Use copy constructor instead of clone()
2013-11-27 01:55:29 +00:00
8b8e2c88c1
type argument
2013-11-27 01:55:14 +00:00
9d7ee30c15
More cleanups
2013-11-27 01:42:34 +00:00
4ee144533a
Another warning suppression to be removed at Java6
2013-11-27 01:25:20 +00:00
0f2a983bb7
i2psnark: type arguments, warning suppression (to be removed at Java6)
2013-11-27 01:11:48 +00:00
8fd2f9090e
propagate from branch 'i2p.i2p' (head 7903431c2a396fceb1e0428b2be3dde03ba24635)
...
to branch 'i2p.i2p.str4d.cleanup' (head cfbae7380c3fa106f578d5de399701cfb72d5747)
2013-11-27 00:57:19 +00:00
8770d7eae0
i2psnark: Comparable type arguments
2013-11-26 21:09:36 +00:00
c59ef24acf
i2psnark: more type arguments
2013-11-26 20:16:45 +00:00
85aa2fb083
i2psnark: MetaInfo type arguments (thx zzz)
2013-11-26 19:54:53 +00:00
434b9fa0d1
GeoIP: Thread the periodic lookup so it doesn't clog the timer queue
2013-11-26 16:28:24 +00:00
56116ad8c2
PeerManager: Thread the periodic reorg so it doesn't clog the timer queue
2013-11-26 15:51:00 +00:00
c0ef19a281
i2psnark: Fix mixed public/private tracker detection
...
(thx str4d)
2013-11-26 03:07:21 +00:00
9804e5b7d9
i2psnark: more type arguments
2013-11-26 01:34:08 +00:00
2f33186e58
i2psnark: type arguments, unused imports, for each
2013-11-26 00:20:03 +00:00
0347c56c96
Deprecation fixes
2013-11-25 23:29:48 +00:00
e77409e57a
Close resources
2013-11-25 23:14:09 +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
ce0596d5b1
Reseed: Listen to "Require SSL" config option
2013-11-25 21:11:56 +00:00
35b6926e4f
Ticket #1047 : Do not adjust window on receiving dups.
2013-11-25 19:21:27 +00:00
76925fa3bd
console: add debug link if advanced config is set
2013-11-25 15:59:34 +00:00
dbdf36d85c
Update: Increase torrent from 30% to 60%
2013-11-25 15:34:49 +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
001070f677
fix setting of BC_AVAILABLE thx str4d
2013-11-24 23:42:13 +00:00
c6f2d4948b
Class generics
2013-11-24 23:41:06 +00:00
8699c82614
Kad unit tests:
...
- Port KBSTest from i2p.zzz.kademlia branch
- Fix RandomTrimmer so it always returns true, so it may be used
as the trimmer in the unit tests
2013-11-24 23:39:47 +00:00
1d7eedd463
Kad unit tests:
...
- Move KBucketSetTest to new directory
- Fix testSelf() as new implementation will never include myself
- Delete KBucketImplTest, not applicable/useful now
Next todo: port KBSTest from i2p.zzz.kademlia branch
2013-11-24 21:58:42 +00:00
796a231f54
NetDB:
...
- Move net.i2p.kademlia package from i2psnark to core, and convert
netdb to use it.
- Delete old implementation in netdb
- Fixups in netdb for generics
- Add debug output to /debug
This is the next step in the development plan, in which we previously:
- Copied the code from netdb to the i2p.zzz.kademlia branch, fixed it,
and made it generic for hash size (June 2012);
- Moved it from the i2p.zzz.kademlia branch to the i2p.i2p.zzz.dhtsnark
branch, and implemented KRPC with it (June 2012);
- Propped it from i2p.i2p.zzz.dhtsnark to trunk for 0.9.2 (July-Sept. 2012);
- Proved it out in 0.9.2 - 0.9.9 (Oct. 2012 - Nov. 2013)
The plan was to maintain the KBucketSet public methods throughout the development
so we could drop the new version back into netdb, so here we drop it in.
Setting of K=16, B=3 is just an initial guess, to be reviewed.
This moves about 18 KB from i2psnark.jar to i2p.jar and removes about 12 KB from router.jar.
Unit test fixup: todo.
2013-11-24 16:38:51 +00:00
e1fcad686c
propagate from branch 'i2p.i2p' (head 72c44737466e553fec443a79fffa7636894fe383)
...
to branch 'i2p.i2p.str4d.cleanup' (head 5a2425d7523b732840e55039f88cea5699f1aa83)
2013-11-24 01:20:11 +00:00
ffa03f2b83
IterativeSearchJob:
...
- Recheck completion status just before sending out a wrapped message
- log tweaks
2013-11-23 17:56:40 +00:00
54fb91ba8e
I2PTunnel: Call destroySocketManager() when replacing
...
a client socket manager configured with i2cp.newDestOnResume,
or a shared client.
This prevents lots of orphaned StreamingTimer threads.
There are still cases where these threads may stick around,
when a tunnel is stopped but not restarted. We don't know in
some cases when a tunnel could be restarted and when it can't.
destroySocketManager() should always be called when discarding a
SocketManager but i2ptunnel doesn't do that now. More to do,
but this fixes the most common case of leaked threads.
Related tickets: ##642 #961
2013-11-23 17:54:01 +00:00
e498e2113f
Snark: make a set of the default trackers so the config array
...
can be private and the lookup for the form is more efficient.
2013-11-23 14:45:38 +00:00
f42ac71fe0
UDP PeerState findbugs volatile/atomic/synch
2013-11-23 14:37:33 +00:00
74f2fd06cc
Deprecate Signature.FAKE_SIGNATURE
2013-11-23 14:33:58 +00:00
143a0dfc47
Transport: Reduce target connections from 60% to 45% of limit.
...
This will improve network capacity.
Apparent problems with lower limits were actually due to
unrelated bugs that were fixed by 0.9.8.1-22.
This can go lower still; I've been testing 33% without issues.
2013-11-23 14:29:23 +00:00
fdb0097934
Temporarily moved old help.jsp translations back
2013-11-23 11:44:07 +00:00
0dde4162e6
susimail: Fix NPE when deleting last message (ticket #414 )
2013-11-23 04:24:30 +00:00
844bae18ba
fixup after prop
2013-11-22 22:19:06 +00:00
9e4d5c0e61
propagate from branch 'i2p.i2p' (head da40262a8b7685de3877c1d7d6d16a155caa9e7c)
...
to branch 'i2p.i2p.zzz.test2' (head 6263bb149b8301059d0471bcc1d47caeca660f4e)
2013-11-22 17:29:45 +00:00
9b8d3eb688
Startup:
...
Wait a while and recheck if a recent ping file is there,
so that a crashed router doesn't prevent a restart (ticket #633 )
2013-11-22 17:27:49 +00:00
8478bfbddc
BOB: for each
2013-11-22 11:46:39 +00:00
d6bb5f6a4d
i2ptunnel: type arguments
2013-11-22 11:41:12 +00:00
e9fec9354b
ministreaming: type arguments
2013-11-22 11:37:44 +00:00
f9f0e6d0a2
SAM: for each
2013-11-22 11:36:26 +00:00
3bc0be1cbe
susidns: type arguments, for each
2013-11-22 11:25:22 +00:00
8d826cee93
susimail:
...
- Generics in Folder
- for each
- type arguments
2013-11-22 11:18:41 +00:00
e853d9a40b
Router: more type arguments, for each
2013-11-22 10:16:34 +00:00
15bf94b479
Core: type arguments
2013-11-22 09:34:42 +00:00
6314f33d8f
desktopgui: unused imports
2013-11-22 04:25:48 +00:00
5fa0376f58
SAM: type arguments, unused imports
2013-11-22 04:22:14 +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
0454639db8
bump -30-rc
2013-11-21 23:02:21 +00:00
c32b451733
i2psnark: type arguments, unused imports
2013-11-21 12:43:45 +00:00
2f4765665d
routerconsole: type arguments, unused imports
2013-11-21 11:31:50 +00:00
bff79cdae8
susimail: type arguments
2013-11-21 10:49:15 +00:00
4bddf8ae0b
susidns: type arguments, unused imports
2013-11-21 10:17:35 +00:00
ae79deff39
net.i2p.jetty.*: type arguments, unused imports
2013-11-21 10:13:34 +00:00
e3aeb267f8
Eclipse classpath consolidation
2013-11-21 09:38:09 +00:00
c5c26c440d
Eclipse Ant builders for core, router and jettylib
2013-11-21 09:11:42 +00:00
77971624b4
Created Eclipse project for installer/resources
...
Reverts a change in 7fe82070
This project can be added to the classpath of a JUnit runner
2013-11-21 08:54:42 +00:00
f5621c5082
Converted lib Eclipse project to standard folder
2013-11-21 08:52:04 +00:00
3fa7fe9733
Updated routerconsole Eclipse classpath
2013-11-21 08:40:05 +00:00
c97d07e10a
org.cybergarage.*: more type arguments
2013-11-21 06:08:41 +00:00
567c328331
org.cybergarage.*: type arguments, unused imports
2013-11-21 05:58:54 +00:00
3aa982529e
org.xlattice.crypto.*: type arguments
2013-11-21 05:56:14 +00:00
0c07f9ff96
More type arguments in UDPTransport
2013-11-21 05:23:35 +00:00
f0055ccbfe
Made type argument for Transport.getClockSkews() consistent
2013-11-21 02:27:53 +00:00
693cc828c2
Type arguments in OutNetMessage
2013-11-21 02:27:03 +00:00
688dd23111
gnu.crypto.prng.*: type arguments
2013-11-21 02:18:59 +00:00
e38db5eb44
i2ptunnel: type arguments, unused imports
2013-11-20 23:36:39 +00:00
817f531619
merge of '743aa294fa15c3243bb6ad56d4de64f5eff15051'
...
and '85fa37bf6c3090c0d4c10f4b7b2d679549090c37'
2013-11-20 23:15:31 +00:00
53623da2eb
addressbook: type arguments, unused imports
2013-11-20 23:14:40 +00:00
4910266d9b
merge of '63ea1d70b3fd3886a050d7b196cd7ae261844164'
...
and '6a57f7039fe5697b9770d642ac1d4653e4b9878c'
2013-11-20 23:10:52 +00:00
24ae66df6d
Core JUnit tests: type arguments, unused imports
2013-11-20 23:06:17 +00:00
228bd980db
Router JUnit tests: type arguments, unused imports
2013-11-20 22:47:14 +00:00
f161a2dfc9
BOB: NamedDB accesses are synchronized, correct findbugs fix is to remove volatile
2013-11-20 22:12:44 +00:00
abe1dc676e
Dead code, type arguments
2013-11-20 22:05:37 +00:00
9de57a5d5a
log tweak; bump -29-rc
2013-11-20 21:16:13 +00:00
2cc742c3ed
Fixed stupid pasting bug
2013-11-20 19:54:10 +00:00
5bcfe025d5
fix build
2013-11-20 15:40:21 +00:00
6dc6ca7713
avoid <? extends Object> generics
2013-11-20 15:11:35 +00:00
eabcc96a99
remove useless string
2013-11-20 14:52:44 +00:00
28b6675979
findbugs BOB/SAM. more to do.
2013-11-20 12:02:44 +00:00
413ad6b0e6
BOB findbugs
2013-11-20 09:56:57 +00:00
a7a7e96188
Findbugs in imported core code
2013-11-20 09:15:12 +00:00
796dbc5d2e
Fixed bug hidden by Set<RouterInfo> -> Set -> Set<Hash> unchecked conversion
2013-11-20 04:18:15 +00:00
c86845078c
Reverted change in net.i2p.router.Router
2013-11-20 04:06:59 +00:00
89dcceefee
Core: type arguments, unused imports
2013-11-20 04:02:28 +00:00
bacce17990
Router: type arguments, unused imports
2013-11-20 02:46:24 +00:00
e61e950713
update patch / update debian changelog
2013-11-20 00:50:39 +00:00
244209d3b7
Translation updates, addition of Japanese language
...
-28
2013-11-19 23:59:46 +00:00
dbe0a8240e
Translations:
...
- Add support for country variants (ticket #1133 )
- Refactor data in ConfigUIHelper
Config files: Allow empty values
2013-11-18 23:18:46 +00:00
7e3e08532f
more static atomics
2013-11-17 15:03:10 +00:00
1d4190734d
Findbugs all over
...
- volatile -> atomic
- unused code and fields
- closing streams
- hashCode / equals
- known non-null
- Number.valueOf
- new String
Still avoiding SAM, BOB, SusiMail
2013-11-16 13:22:05 +00:00
96cf1d60c2
* Jetty: Fix eepsite and webapp cache control directives.
...
Eepsite fix for new installs only.
Fix i2psnark BasicServlet javadoc about param prefix.
(ticket #1128 )
2013-11-15 18:51:14 +00:00
3aa33378c1
i2prouter: s/3\.5\.20/3.5.22/g
2013-11-15 01:02:37 +00:00
747bd0c5a3
Update Java Service Wrapper to v3.5.22
...
- Windows: Self-compiled with VS2010 in Windows 7. The icon has been
changed from Tanuki's default to Itoopie.
- Linux ARMv6: Compiled on a RaspberryPi using gcc 4.6.3-14+rpi1,
Icedtea6 6b27-1.12.5-1+rpi1 and stripped
- All other binaries are from the "community edition" deltapack offered by
Tanuki.
2013-11-15 01:01:49 +00:00
ea7b42810f
* InboundMessageDistributor:
...
- Put garlicked DSM messages in the InNetMessagePool instead of handling directly,
so the IterativeSearchJob will see the response and declare success.
Only affected LS lookups as we do not request encrypted replies for RI lookups.
Similar to the fix for verifies 6dc5bed94321ae2b290cfe351511d18465e08f91
This bug was causing initial lookups to fail but subsequent ones to succeed.
Broken since 0.9.7 when encrypted replies was introduced.
Ticket #1125
2013-11-14 17:39:31 +00:00
19022baa27
log tweaks, final
2013-11-14 17:36:57 +00:00
e8248f5005
volatile
2013-11-14 15:18:46 +00:00
f8178b7165
ticket #1125 : revert previous change as it is not relevant
...
to test failure
2013-11-13 11:43:24 +00:00
79b5d9748d
patch refresh
2013-11-13 01:03:19 +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
df84a2fcd0
save server status text to return to user
2013-11-12 19:19:21 +00:00
25e7dea370
merge of '4f6d64a50c7c5c27682914984831fc581724659d'
...
and 'e5def490e4eba793ca0d2bcb739771dcdf8c0242'
2013-11-11 23:49:02 +00:00
90919ebf6b
Make ObjectCounter Serializable
2013-11-11 23:48:15 +00:00
76078deb3f
handle numeric private value in metainfo
2013-11-11 23:24:14 +00:00
1b95a03d2e
merge of '3a7591d75dacb165b1b1d26c6bdd94184076fb03'
...
and 'ba02b6daf2d660339ff05cfe0479344391e6e34f'
2013-11-10 23:27:39 +00:00
108039de08
partial revert of 6df9f4e154d148867ee158cbe9e9acf3fb73d680
2013-11-10 23:00:57 +00:00
addd2e6d6a
merge of '3f85581f65aedde0f96729d197aaab223174f2e4'
...
and '6df9f4e154d148867ee158cbe9e9acf3fb73d680'
2013-11-10 22:22:10 +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
69489dd19e
use DataHelper.skip() in a few more places
2013-11-10 22:20:06 +00:00
3fce0e8e45
xlattice findbugs
2013-11-10 22:19:45 +00:00
35fb332c2c
moar test cases
2013-11-10 21:13:42 +00:00
1b5309be05
junit test for new DataHelper.skip()
2013-11-10 20:42:24 +00:00
d2a1025b3f
about 20 findbugs fixes all over
2013-11-10 20:07:46 +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
18e4c2ac63
log tweak
2013-11-10 15:34:44 +00:00
90c2e08489
Streaming:
...
- Fix uncaught exception when log level = WARN, broken in -23
2013-11-10 15:32:54 +00:00
598ef67c4e
Tunnel fragments:
...
- more checks, don't allow fragment #0 in follow-on fragment
- Set message ID in constructor
2013-11-10 15:27:28 +00:00
1b9d870b91
i2psnark: Don't announce more than torrent size as downloaded amount
2013-11-10 15:20:07 +00:00
68f67b7c8e
UPnP:
...
(ticket #1123 )
- Add new config i2np.upnp.ignore to specify UDNs of ignored devices
- Add display of ignored devices on /peers
2013-11-10 15:17:42 +00:00
d2f0c251c0
use four digit umask in wrapper.config
...
According to http://wrapper.tanukisoftware.com/doc/english/prop-umask.html the
umask is a four digit number.
2013-11-09 16:19:33 +00:00
2b2f34b3f1
A better killyourtv.i2p icon
...
New icon from FatCow, licensed as specified in our docs.
ref: http://zzz.i2p/topics/1492
2013-11-08 18:28:35 +00:00
4e680479da
Home page: replace all default eepsite icons.
...
New icons from FatCow, licensed as specified in our docs.
ref: http://zzz.i2p/topics/1492
2013-11-08 15:26:32 +00:00
d1b93e0705
DeliveryInstructions:
...
- Comment out unused encryption fields to save space
- New static immutable LOCAL instruction to reduce object churn
2013-11-08 14:39:43 +00:00
4382def62f
log tweak
2013-11-08 14:35:28 +00:00
952a56c537
JobQueue: Log a warning if a job is scheduled too far in the future,
...
to catch bugs like the one in -7 where requeue() is called
with an absolute time instead of a delay
2013-11-08 14:34:33 +00:00
67aead214b
Tunnel Endpoints:
...
- Reject type 3 (undefined) delivery instructions at both OBEP and IBEP,
would be treated as LOCAL
- Reject type 0 (LOCAL) delivery instructions at OBEP, no current usage,
would cause NPE if handled
2013-11-08 14:31:14 +00:00
50f45a50a7
minor optimization
2013-11-08 14:24:06 +00:00
6b326c3705
merge of '15e16e2fd4c5be75a63b28616b413a8d1e13e1d6'
...
and '2449ac4142097e34b7ad4c4c4cb16c163a786a16'
2013-11-07 20:39:59 +00:00
919ec3af01
work on failing JUnit test
2013-11-07 20:38:52 +00:00
ca5a301a4f
i2prouter: create i2p.dir.config with umask from wrapper.config
2013-11-07 19:56:01 +00:00
ae76a6ee1a
findbugs correctness fixes, all over the place
2013-11-07 19:20:25 +00:00
5cbecb3599
log IP change in event log
2013-11-07 13:13:21 +00:00
5a34e1de4f
* NetDB: Fix RI publish interval, broken in -7
2013-11-07 12:31:46 +00:00
c810694e07
* i2psnark: Fix file links, broken in -12 (ticket #1114 )
2013-11-07 12:29:05 +00:00
ca866d48e6
* Logging: Track duplicates across flush interval (ticket #1110 )
2013-11-07 12:23:37 +00:00
f1e77499e2
allow webapps.config to be 'preseeded' with values
2013-11-04 22:05:22 +00:00
9007db1485
Expire wasUnreachable entries, so inbound tunnel build failures don't escalate
...
and the peer doesn't have a severe penalty in the CapacityCalculator forever.
This may fix the tunnel build problems that started in -10. Or not.
2013-11-03 15:26:21 +00:00
85c998e500
HTTP proxy: Fix addressbook name on redirect page
2013-11-03 15:04:37 +00:00
8296f8229e
+ * NetDB: Allow store of leaseset as long as one lease has not expired
2013-11-03 15:01:31 +00:00
059ae3a80e
- Add network status to event log
2013-11-03 15:00:00 +00:00
67e242c441
Debian patch refresh and readme file update
2013-11-02 17:31:31 +00:00
e23f3b4875
comments
2013-11-02 14:10:06 +00:00
06ea9af733
i2psnark: Log name of offending file causing IOException (ticket #1099 )
2013-11-02 14:09:00 +00:00
884818f518
log tweaks, generics
2013-11-02 13:58:12 +00:00
3f39bd0f7b
remove unused static log
2013-11-02 13:53:42 +00:00
48cce6435b
routerconsole war dies with .jsp files in a subdir
2013-11-01 11:00:37 +00:00
777e08c8b6
* Transport: Fix GeoIPv6 (ticket #1096 )
...
due to int/long problem, they were being corrupted
and then looked up as IPv4
2013-11-01 01:44:29 +00:00
8c4b0b7c00
merge of '0af9bde8ae97c3b08f2c934236532121ce135817'
...
and 'b324a96172089b549e53fb1c0c2a01807fe64699'
2013-10-31 21:30:02 +00:00
dae8b25374
Transports:
...
- Increase threshold for idle timeout reduction from 33% to 60%.
This was reduced from 75% to 33% in -10 and it caused significant
tunnel build problems, for reasons that aren't entirely clear.
- Don't change the SSU idle timeout quicker when firewalled.
- log tweaks
2013-10-31 21:27:26 +00:00
2ae293444e
Split routerconsole help into several files (no frontend change)
...
The old full-page translations of help.jsp are deprecated. The help text will
be tagged for translation on Transifex.
2013-10-31 21:22:24 +00:00
0f11d3566a
log tweaks
2013-10-31 21:15:09 +00:00
fa70d439c3
minor optimization
2013-10-31 21:08:02 +00:00
0010581405
TunnelPoolSettings:
...
- Make dest hash final
- Ensure allowZeroHop is always true for exploratory
2013-10-31 21:07:11 +00:00
1d659e4f8a
i2psnark: Always verify file lengths at startup (ticket #1099 )
2013-10-31 21:02:59 +00:00
509f00c5e2
Override toString()
2013-10-30 18:09:40 +00:00
aeb3241abb
* i2psnark: Start torrents by default (ticket #1072 )
2013-10-29 23:05:50 +00:00
8909df3c88
* i2psnark: Fix start and start-all buttons on text-mode browsers
...
and Opera (ticket #1093 )
2013-10-29 21:49:20 +00:00
1cffcae36b
merge of '2c288e0ac5d4a6039b3f08e6bbae9439bb038955'
...
and 'fa8975b2dbcb60d5f181bc21fc1245d5f82baef0'
2013-10-29 21:04:40 +00:00
d2ee5b96ad
Log tweaks and minor cleanups, -15
2013-10-29 21:03:20 +00:00
0506a5915b
* Tunnels:
...
- Build a new exploratory fallback tunnel in the BuildExecutor
loop if we run out.
- Don't use closest expl. tunnel as the paired tunnel for a build,
use a random one instead (partially back out change from -12)
- Log tweaks
2013-10-29 21:01:53 +00:00
91ef3fd0bc
* InboundMessageDistributor:
...
- Don't discard an encrypted DSRM received
down a tunnel, just strip the hashes like we do for unencrypted
- Send a store of our own encrypted LS received down a tunnel to
the InNetMessagePool so the FloodfillVerifyStoreJob will see it.
* NetDB: Fix LS store verifies with encrypted replies
by storing the tagset with the correct SKM for the inbound tunnel used.
Broken since 0.9.7 when it was introduced.
2013-10-29 20:57:00 +00:00
79f5484f87
Fix history.
2013-10-29 20:38:32 +00:00
6afd2c4b97
* Adding no.i2p registrar
2013-10-29 00:05:06 +00:00
06b09f89de
add SU3File bulksign CLI
2013-10-28 23:22:17 +00:00
bd0eee6aa9
* configstats: Page will now always reflect results of a previous
...
change, by querying the config instead of StatSummarizer to
determine if a stat is graphed.
- Don't append to a string in a loop
- parseConfig() return a Set instead of List to avoid O(n**2) behavior
when deteriming config changes
2013-10-28 21:48:02 +00:00
5bc13c16dc
merge of '40e39576b76cc1261e0eda2c63a052544021f2e3' and '81c0ce21efaae02bbc2b5d3ce4e25b2d315dc2eb'
2013-10-28 20:09:57 +00:00
626daeb86e
* I2PTunnel: Enable persistent keying for SOCKS tunnels (ticket #1088 )
2013-10-28 19:15:46 +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
f0f363e8c3
* Streaming: Fix instantiation failure with blacklist entries,
...
caused by bad fix for ticket #1070
2013-10-27 17:09:29 +00:00
7839c0fec3
* Tunnels:
...
- Don't use fallback expl. tunnels as the paired tunnel
for a client tunnel build.
This will cause more client tunnel breakage but it's
really bad to use a zero-hop for this.
- Fix selection of an expl. tunnel close to a hash
- Don't update build generation stat if the generation failed
- log tweaks
2013-10-26 20:52:56 +00:00
4d24d65c1f
* Profiles: Ensure we select random peers even before the first reorganization -
...
we were picking the not-failing peers in-order for early expl. tunnel builds
2013-10-26 20:47:41 +00:00
ddf761b1f8
* Streaming: Randomize end of first conn limit period
...
to prevent correlation
2013-10-26 20:45:30 +00:00
2814fe75b1
sort custom options
2013-10-26 20:44:19 +00:00
7316c82ef3
* i2psnark: Display base name, not torrent file name (ticket #985 )
2013-10-26 20:42:16 +00:00
e04646bd37
finals
2013-10-26 14:21:53 +00:00
8f8022347d
* I2PTunnel HTTPServer:
...
New POST limiter
2013-10-26 14:21:26 +00:00
acc0ab66a3
My RSA 4096 pubkey for update signing
2013-10-26 11:25:07 +00:00
5a6acf1d85
* Router: Only log pingfile error once (ticket #1086 )
2013-10-25 19:55:09 +00:00
ca45194c30
* Streaming:
...
- Check blacklist/whitelist before connection limits, so
a blacklisted peer does not increment the counters
- Don't increment total throttle if peer is throttled
- Fix blacklist NPE after config change (ticket #1070 )
2013-10-25 14:09:02 +00:00
102506ebe8
* Transports: Reduce connection idle time sooner
2013-10-25 14:05:50 +00:00
d06f1c4a30
/confighome: Remove config when restoring default so user will again see changes from updates
2013-10-24 21:46:03 +00:00
c732c1c038
I2PTunnel: Catch unchecked exceptions in server accept loop (ticket #1070 )
2013-10-24 20:56:37 +00:00
4aa1bba575
* NetDB:
...
- We don't verify RI stores any more, so save RI-last-published time when we store it.
2013-10-24 20:54:21 +00:00
9d3925eb20
* i2psnark:
...
- Drop incoming connections on HTTP port
- Define port 6881 in one place
- Don't let random DHT port be 6881
- Exception tweak
2013-10-24 20:52:37 +00:00
80fdf4e917
* I2PTunnel - fix anonymity characterization in dropdowns
...
(2 hops is not high anonymity)
2013-10-24 19:18:53 +00:00
35a86e603b
* I2PTunnel standard, HTTP, and IRC servers:
...
Route connections to specific targets based on incoming I2P port
with custom option targetForPort.xxxx=myserver:yyyy
This allows multiple services on a single server tunnel (ticket #1066 )
2013-10-24 11:38:28 +00:00
8f7b31aed3
* I2PTunnel standard and IRC clients:
...
- Allow host:port targets; set defaults in i2ptunnel.config (ticket #1066 )
- Don't fail start if hostname is unresolvable; retry at connect time (ticket #946 )
- Output IRC message on connect fail
- Update target list on-the-fly when configuration changes
2013-10-23 20:20:54 +00:00
0f5a0b6b1b
* NetDB:
...
- Increase RI publish interval to reduce the connection load on ffs
- Save RI-last-published time; check it before publishing
- Minor cleanups
2013-10-23 14:56:27 +00:00
4cf3906ed2
* Home page:
...
- Add salt.i2p. Icon from efkt, free to use.
- Change icon for stats.i2p. Icon from Fat Cow, see license info in LICENSES.txt
2013-10-23 12:41:36 +00:00
57875586cf
reduce same-country bonus, less countries
2013-10-19 22:10:03 +00:00
ad8ec011d0
more transport categories
2013-10-19 22:09:23 +00:00
0d93b86a56
sfv mime type
2013-10-19 22:09:07 +00:00
63712002e2
merge of '4eee3780cfb882747ad68e39ac08b721f91c48a7'
...
and 'cca89ae05036ab7a2fe0080fdd1cfac19968246a'
2013-10-19 21:27:59 +00:00
67af1a17c1
- Don't display UPnP info on peers page in Android
...
to prevent crash
2013-10-19 21:26:23 +00:00
9cac546547
add IPv6 categories to /netdb transport chart
2013-10-19 16:37:13 +00:00
3ffb321f46
* NetDB: Reinstate ExpireRoutersJob
2013-10-19 14:51:11 +00:00
14ea6d8d0a
delay multiple ExploreJobs slightly
2013-10-19 14:47:27 +00:00
8e0dbf31ba
* NetDB (ticket #1076 )
...
- Reduce flood redundancy from 4 to 3
- Reduce min part. tunnels for ff from 100 to 50
2013-10-19 14:45:52 +00:00
5187bf1eae
* I2PTunnelHTTPServer: Start timer before reading the first line (ticket #1071 )
2013-10-19 14:40:34 +00:00
99471d8e1b
css tweak to fix i2ptunnel ssl box layout on firefox
2013-10-19 14:37:28 +00:00
012e999354
fix unit tests broken by previous checkin
2013-10-18 19:58:39 +00:00
bdd9900d0d
* OutNetMessage: Remove setters, make fields final
2013-10-18 18:42:48 +00:00
c71b485083
mark ipv6 only as experimental on /confignet
2013-10-18 18:38:39 +00:00
a78d34ab4b
* I2PTunnel SSL cleanup, log SSL exceptions as errors to help find cert problems
2013-10-18 18:37:25 +00:00
255ebe7efb
* Streaming: Throw IOE if socket is closed (ticket #1077 ),
...
never return null from stream getters
2013-10-17 13:39:00 +00:00
5f7a761e42
* I2CP: Move SSL client socket code to util,
...
move cert location to certificates/i2cp.
* I2PTunnel: Support SSL for connection to local server
for Standard, HTTP, and IRC server tunnels.
Put server cert in certificates/i2ptunnel if necessary.
2013-10-17 13:22:17 +00:00
09548358fa
increase translate initial map size, clear on exit
2013-10-17 11:17:58 +00:00
df381c37ff
3gp mime type
2013-10-17 11:15:20 +00:00
31e96b416d
Update Trac links: s| http://trac\.i2p2\.de | https://trac.i2p2.de |g
2013-10-16 23:12:11 +00:00
53b0f7b579
french updates
2013-10-16 23:11:06 +00:00
45deaa3a87
* open4you icon and text
...
from hosting@mail.i2p
image free to use
2013-10-14 20:06:57 +00:00
0c8eabcdf6
merge of '2bb222d33ec817b78fcf506c32da44d10b1eff3b'
...
and '59e86e3176465259a67927b042c1307cd0a94aa4'
2013-10-14 17:10:55 +00:00
f9571740ae
address check cleanup
2013-10-14 17:02:08 +00:00
eb2af2b5fd
* ClientManager: Remove setters, make all fields final
2013-10-14 17:01:32 +00:00
ded00300b4
javadoc fixes
2013-10-14 17:00:14 +00:00
811819af69
* Tests:
...
- Fix LogSettingsTest broken by recent LogManager changes
- Remove empty LogSettings.java
2013-10-14 16:58:50 +00:00
1804c852bb
French language translation updates from Transifex
2013-10-14 15:43:39 +00:00
3ec602865d
* Translations: Move country names to a new resource bundle
2013-10-14 15:29:12 +00:00
0c0a25b038
merge of 'ad0ab5020bb253c5233ac2f036c0cf4f40001d51'
...
and 'bc7c0fa32e955a7d8185456815652d4baab500ae'
2013-10-13 19:38:48 +00:00
208192f445
* I2CP: Fix bug in handling external I2CP clients, introduced in -2
...
by the immutable destination patch
2013-10-13 19:33:04 +00:00
d0f635e30c
ticket #1062 - count duplicate packets towards RTT if we have
...
never sampled it
2013-10-13 17:05:59 +00:00
20b2f7dcb1
fix date, restore tunnel length changed in previous checkin
2013-10-13 12:03:57 +00:00
cf66951818
cleanup after prop, history for prop, -2
2013-10-13 11:55:23 +00:00
c6f41cc8fa
crypto cleanup
2013-10-13 11:53:43 +00:00
45a579403a
propagate from branch 'i2p.i2p.zzz.test2' (head 5c1b78bd78845b0c8b90fbb60412c68e7dc4f3e6)
...
to branch 'i2p.i2p' (head 8bdc25c8e6f40491f20b533d94eacab012adba35)
2013-10-13 11:48:12 +00:00
74a57abfb4
Streaming:
...
- Make I2PSocketFull.close() nonblocking; it will now cause any user-side
writes blocked in I/O (Connection.packetSendChoke()) to throw
an exception (tickets #629 , #1041 )
- Don't ignore InterruptedExceptions; throw InterruptedIOException
- Back out static disconnect exception
- MessageInputStream locking fixes
- Cleanups
I2PSnark:
- Close socket before closing output stream to avoid blocking in
Peer.disconnect(), and prevent Peer.disconnect() loop
2013-10-12 17:39:49 +00:00
380783c1ba
Snark DHT:
...
- Combine getPeers and announce into a single method, as we must announce to
the closest from the getPeers, not the closest from the kbuckets
- Stop getPeers when nothing closer is found
2013-10-09 21:09:34 +00:00
c8843a736d
make _ackSinceCongestion atomic
2013-10-09 14:08:44 +00:00
e69fefda62
cleanup: remove boolean parameter that is always true
2013-10-09 14:06:16 +00:00
513da3b743
cleanup: remove no-op invocation
2013-10-09 14:04:34 +00:00
7513d42e9e
Snark DHT:
...
- Increase dest lookup and search timeouts
- Increase max search depth
- Loop tracker client faster when in magnet mode
- Loop tracker client faster if DHT announce fails
- Don't return an empty peers list if we only know about the requestor
- volatiles, log tweaks
- Major fixes of getPeers() to follow
2013-10-09 13:06:47 +00:00
8872437caf
Another snark refactoring bug, log tweaks
2013-10-08 01:17:36 +00:00
712c77a4b6
add my "su3" certificate
2013-10-08 00:17:41 +00:00
38cef14cf4
synch cleanup thx zab
2013-10-07 19:26:33 +00:00
05c3b0d391
Fix bug causing writes past end of file, introduced in refactoring, not in trunk
2013-10-07 15:47:44 +00:00
854090e9d8
- Console: Set per-connector acceptors back to 1, Jetty default changed to 2?
2013-10-07 14:51:49 +00:00
f035815f7a
- Don't truncate initial news header if it appears in summary bar
...
(unlikely as we don't show the "hide news" button for initial news)
Also prevent string IOOBE
2013-10-07 14:45:11 +00:00
df4302dda0
* Update:
...
- Thread news fetcher so it doesn't clog the scheduler
2013-10-07 14:43:18 +00:00
31f117e74c
* Data Structures:
...
- Make Destination and RouterIdentity keys and cert immutable
- Add Destination cache
2013-10-07 13:04:01 +00:00
890f40b2ac
more log tweaks
2013-10-07 12:11:42 +00:00
3ac8083faf
log tweaks
2013-10-07 12:10:10 +00:00
249319f76f
* Disallow 2001:db8::/32 (RFC 3849) addresses
2013-10-07 11:22:54 +00:00
efe87060b4
add missing start.jar thx kytv
2013-10-06 22:55:59 +00:00
afe3ff57cf
history for prop, -1
2013-10-06 17:13:29 +00:00
6bb1505d3b
propagate from branch 'i2p.i2p.zzz.ecdsa' (head 1dd9522809f801ca68dd331cfba1c5c914dc1481)
...
to branch 'i2p.i2p' (head a1c2ba4663abc7470f427c6a14854707d58b486a)
Prop from branch i2p.i2p.zzz.ecdsa:
* Build:
- Generate su3 file in release target
- Add zzz's new RSA 4096 pubkey cert for updates
- Fix checkcerts.sh
* Console: Move advanced setting to HelperBase
* DSAEngine changes:
- Implement raw sign/verify for other SigTypes
- Add sign/verify methods using Java keys
* ECDSA Support:
- Add ECConstants which looks for named curves and falls back to
explicitly defining the curves
- Add support for ECDSA to SigType, DSAEngine and KeyGenerator
- Attempt to add BC as a Provider
- genSpec: fallback to BC provider
* EepGet:
- Fix non-proxied PartialEepGet
- Prevent non-proxied eepget for an I2P host
* KeyGenerator changes:
- Generate key pairs for all supported SigTypes
- KeyPairGen: Catch ProviderException, fallback to BC provider
- Add KeyGenerator main() tests
* KeyRing and DirKeyRing added: simple backend for storing X.509 certs
* KeyStoreUtil added:
- Consolidate KeyStore code from SSLEepGet, I2CPSSLSocketFactory,
SSLClientListenerRunner, and RouterConsoleRunner into new
KeyStoreUtil and CertUtil classes in net.i2p.crypto (ticket #744 )
- Change default to RSA 2048 (ticket #1017 )
- Set file modes on written keys
- Overwrite check in createKeys()
- New getCert(), getKey()
- Extend keygen max wait
- Read back private key to verify after keygen
- Validate cert after reading from file
- Validate CN in cert
- Specify cert signature algorithm when generating keys
* NativeBigInteger: Tweak to prevent early context instantiation
* RSA support added: constants, parameters, sig types, support in DSAEngine, KeyGenerator, SigUtil
* SHA1Hash: Add no-arg constructor
* SigType changes:
- Add parameters (curve specs) to SigTypes
- Add getHashInstance()
- Add RSA, fix ECDSA
- Renumber, rename, comment out types that are too short.
* SigUtil added:
- Converters from Java formats (ASN.1, X.509, PKCS#8)
to I2P formats for Signatures and SigningKeys
- Move ASN.1 converter from DSAEngine to SigUtil, generalize
for variable length, add support for longer sequences,
add more sanity checks, add more exceptions
- Move I2P-to-Java DSA key conversion from DSAEngine to SigUtil
- Add Java-to-I2P DSA key conversion
- Add Java key import
- New split() and combine() methods
* SSLEepGet: Move all certificates to certificates/ssl, in preparation
for other certificate uses by SU3File
* SU3File changes:
- Support all SigTypes
- Implement keygen
- Readahead to get sigtype on verify, as we need the hash type
- Enum for content type
- Add unknown content type, make default
- Fix NPE if private key not found or sign fails
- Store generated keys in keystore, and get private key from keystore
for signing, in Java format
- Use Java keys to sign and verify so we don't
lose the key parameters in the conversion to I2P keys
- Type checking of Java private key vs. type when signing
- Use certs instead of public keys for verification
- Fix arg processing
- Improve validate-without-extract
- New extract command
- Change static fields to avoid early context init
- Reduce PRNG buffer size for faster signing
* Update: Preliminary work for su3 router updates:
- New ROUTER_SIGNED_SU3 UpdateType
- Add support for torrent and HTTP
- Refactor UpdateRunners to return actual UpdateType
- Deal with signed/su3 conflicts
- Verify and extract su3 files.
- Stub out support for clearnet su3 updating
- New config for proxying news, separate from proxying update
- PartialEepGet and SSLEepGet tweaks to support clearnet update
- Remove proxy, key, and url config from /configupdate
- More URI checks in UpdateRunner
- Add https support for news fetch
- Add su3 mime type
- Reset found version in update loop so we don't fetch from
the next host too.
- Prevent NPE on version after SSL fetch
2013-10-06 17:09:56 +00:00
a1c8e3eae3
reduce search limit
2013-10-06 17:08:51 +00:00
aa171bbaa6
less scary message
2013-10-06 17:07:56 +00:00
845b70fe0c
add missing sidebar
2013-10-06 17:07:27 +00:00
82b1eb7c18
* Update:
...
- Check proxy setting before calling runner for method
2013-10-06 16:39:30 +00:00
4bd27ea1d3
* Update:
...
- Reset found version in update loop so we don't fetch from
the next host too.
- Prevent NPE on version after SSL fetch
- Fix su3 version check
* EepGet:
- Fix non-proxied PartialEepGet
- Prevent non-proxied eepget for an I2P host
- Fail if no hostname in URL
2013-10-06 16:02:33 +00:00
d0f6be3161
fix cert dir
2013-10-06 01:15:40 +00:00
7764257e41
more synching for coherence
2013-10-06 00:43:12 +00:00
af0e72ac4d
* SSU: More efficient ImboundMessageState
...
(reduce ByteArray[] size where possible)
2013-10-05 18:38:55 +00:00
0534440695
- Treat 6bone 3ffe::/16 as local
2013-10-05 14:04:40 +00:00
c2fa2d0c5b
* Logging:
...
- Require strict match of class name component
- parseLimits() cleanup
2013-10-05 13:07:33 +00:00
887017b54c
* Transport: Treat more IPs as local
...
25/8 - Hamachi (moved from 5/8 Nov. 2012)
2620:9b::/32 - Hamachi
0::/8 - Includes IPv4 compatibility addresses ::xxxx:xxxx
2013-10-05 12:56:39 +00:00
3a4f5a2f1b
jetty 7.6.13.v20130916
2013-10-04 23:43:38 +00:00
3fb4643742
- Add https support for news fetch
2013-10-04 20:28:43 +00:00
a5e3bc9b85
Update:
...
- New config for proxying news, separate from proxying update
- Default logic cleanup
2013-10-04 20:21:54 +00:00
8a0c3f10f4
Update:
...
- Stub out support for clearnet su3 updating
- PartialEepGet and SSLEepGet tweaks to support clearnet update
- Remove proxy, key, and url config from /configupdate
- More URI checks in UpdateRunner
- Add su3 mime type
- Move advanced setting to HelperBase
2013-10-04 19:06:39 +00:00
e1d808a284
add msg when stopping tunnel on idle
2013-10-04 16:50:37 +00:00
e755051ebe
* i2psnark:
...
- Add torrent auto-stop support; enable for update file
- Add tunnel auto-close when no torrents are running
- Log/msg tweaks on add/create failures
2013-10-04 16:40:14 +00:00
d7c3ffa4de
0.9.8.1
2013-10-02 14:14:18 +00:00
cba3b249dd
* Startup: Fix rekeying on Windows (tickets #1056 , 1057)
2013-10-01 14:22:17 +00:00
32f250003e
NBI: Tweak to prevent early context instantiation
2013-09-30 19:25:21 +00:00
e004b0e6e9
Build:
...
- Generate su3 file in release target
- Add my new RSA 4096 pubkey cert for updates
- Fix checkcerts.sh
2013-09-30 19:21:25 +00:00
a5c5917a5f
add key length to RSA SigType names
2013-09-30 17:13:35 +00:00
cbd24946b6
refresh patch, en po
2013-09-30 16:33:01 +00:00
9b4842931a
0.9.8
2013-09-30 12:57:13 +00:00
e04cf132cc
HTTPServer: Log tweak for better diagnosis of delays
2013-09-29 16:40:50 +00:00
7d237b4cf6
Watchdog: Format messages better
2013-09-29 16:38:57 +00:00
3cbfd09722
Console: Tag strings on /jobs (ticket #969 )
2013-09-29 16:36:32 +00:00
0ae774dd68
bump for review
2013-09-28 12:00:20 +00:00
2884df873e
* Streaming: Major rework of connection disconnect process. Tickets 1040-1042.
...
- Prevent multiple calls or reentrancy in disconnect() (ticket #1041 )
- Implement processing of close to skip TIME-WAIT, and
wait for all packets to be acked (not just the CLOSE) before
doing so, if possible (ticket #1042 )
- Don't call disconnect() or disconnectComplete() from I2PSocketFull.destroy()
so retransmissions and acks can still happen (removes some close loops)
- Don't call disconnect() until we have both sent and received a CLOSE (ticket #1040 )
- Don't reset the connection from CPH just because we sent a CLOSE
and it was acked (ticket #1040 )
- Ack packets even if we sent a CLOSE (ticket #1040 )
- Retransmit CLOSE if not acked (ticket #1040 )
- Send received packets to the MessageInputStream even if we haven't received a SYN
- Don't call MessageInputStream.messageReceived() for ack-only packets, that was pointless
- Don't send a RESET after timeout of an outbound connection
- Work around bugs on other end by limiting retransmission of CLOSE packets
- Make _isInbound final
- More cleanups, javadocs, log tweaks
2013-09-28 11:47:47 +00:00
d4d1424c4f
update debian changelog
2013-09-27 20:15:02 +00:00
33827f9aaf
switch from elipsis to three "."s
2013-09-27 20:14:36 +00:00
30a666c833
Streaming: Don't queue a message for an unknown connection on the SYN queue
...
if it has a send ID set, it must be for a recently closed connection
2013-09-27 01:50:38 +00:00
9a00621fa4
log tweaks
2013-09-27 01:48:12 +00:00
46bc479884
update geoip based on Maxmind GeoLite Country database from 2013-09-03
2013-09-26 21:47:53 +00:00
6ab6abf4dd
French, German, Russian, and Swedish translation updates from Transifex
2013-09-26 21:47:06 +00:00
0c6a9ff2a0
proof delimiter tweak
2013-09-25 23:13:42 +00:00
aefc5b5317
javadoc fix
2013-09-25 17:42:37 +00:00
25682fdea7
log tweaks, javadoc
2013-09-25 17:42:13 +00:00
9318099845
* Streaming:
...
- Cleanups
- Remove setCloseReceivedOn(), unused outside Connection
- OR the isFlagSet parameter instead of multiple calls
- Remove acked packets from _outboundPackets inside synced iterator
- Short-circuit _outboundPackets iterator if empty
- Small optimization if not logging in ConnectionPacketHandler
- Stub out processing of close ack (ticket #1042 )
2013-09-24 16:01:20 +00:00
fdf38a952d
atomic default value cleanup
2013-09-24 14:45:30 +00:00
fb40ab1f00
* Streaming: Atomics for close/reset send/receive
...
so we only do things once. (Ticket #1041 )
2013-09-24 14:01:48 +00:00
3499ed7bb0
* Streaming: Consolidate scheduling of DisconnectEvent, and ensure
...
we only do it once. (Ticket #1041 )
2013-09-24 13:22:46 +00:00
b05906a3c2
SigType: Renumber, comment out all the types that are
...
too short or for testing. Turn off debug logging.
2013-09-24 12:55:22 +00:00
61d5f46295
* Streaming: Fix active stream counting so it doesn't count streams
...
that are closed and in TIME-WAIT state. Also, break out of the
counting loop as soon as we know the answer. (Ticket #1039 )
2013-09-24 12:40:35 +00:00
9ebfccd8f6
* Console: Add /proof page which can copied to prove you run a router
2013-09-23 16:39:40 +00:00
4fb3e86e4d
Truncate and linkify magnet link in summary bar update message
2013-09-23 12:13:44 +00:00
837517e94e
Update: Verify and extract su3 files.
...
untested...
2013-09-22 19:19:36 +00:00
f47ec65b8f
Update: Preliminary work for su3 router updates:
...
- new ROUTER_SIGNED_SU3 UpdateType
- Add support for torrent and HTTP
- Refactor UpdateRunners to return actual UpdateType
- Deal with signed/su3 conflicts
- unpack/verify stubbed only
2013-09-22 18:03:56 +00:00
6fede7f524
log tweaks
2013-09-22 14:13:50 +00:00
bd0c18b2e3
* Console: Implement webapp state detection and stop button for webapps
...
on /configclients (Ticket #1025 )
2013-09-21 16:11:55 +00:00
fba596c78c
geoipv6 Sept 19 2013 from Maxmind
2013-09-21 12:30:06 +00:00
61f2b49022
another extraneous script name
2013-09-20 23:09:27 +00:00
e71a1a5c4d
remove extraneous script name
2013-09-20 23:07:11 +00:00
683ce3254f
testscripts build target: check shell scripts for validity
...
(also adding missing shebang lines)
2013-09-20 22:32:05 +00:00
df555731c4
minor script changes
...
- mbuild.sh: don't require bash
- Slackware/i2p/doinst.sh: add bash shebang
2013-09-20 22:17:48 +00:00
641fc0cae9
fix langbox alignment, bump build number
2013-09-20 21:06:57 +00:00
5ab1d6896a
jbigi scripts: look in /usr/local (for *BSD)
2013-09-20 19:39:25 +00:00
0ae2d92fcd
* Update: Support notification of updates that cannot be downloaded
...
due to "constraints". Add constraint checks for java version,
router version, configuration, and base permissions. (ticket #1024 )
2013-09-20 18:56:54 +00:00
26c8201e03
spellcheck off
2013-09-20 18:42:51 +00:00
37521c69a2
look for openjdk6 in OpenBSD if v7 isn't available
2013-09-20 18:33:11 +00:00
43383a5b3c
changes to fix compilation on OpenBSD
2013-09-20 10:44:56 +00:00
bfea3e4dd6
translation updates from Transifex
2013-09-20 10:43:13 +00:00
35b02a52e1
redirect output of which command to /dev/null
2013-09-20 02:00:41 +00:00
8e3e566915
typo fix
2013-09-20 01:45:09 +00:00
968b9a0304
fix previous check-in
2013-09-20 01:38:20 +00:00
c97f0f3d22
OpenBSD compilation fix: set JAVAC in bundle targets if javac not found and require.gettext is set to true
...
This solves the following problem which was found on OpenBSD:
bundle:
[exec] Generating net.i2p.desktopgui.messages_ar ResourceBundle...
[exec] ERROR - msgfmt failed on locale/messages_ar.po, not updating translations
[exec] msgfmt: Java compiler not found, try installing gcj or set $JAVAC
[exec] msgfmt: compilation of Java class failed, please try --verbose or set $JAVAC
[exec] 9 translated messages.
In OpenBSD 5.4, neither java nor javac are in the PATH.
2013-09-20 01:21:43 +00:00
65b1124d81
various updates to i2prouter
...
- check status of i2psvc with ldd
- only warn about libiconv in FreeBSD if the package isn't installed. In recent
versions of FreeBSD, OpenJDK depends on libiconv so it should always be
available.
2013-09-19 20:56:56 +00:00
89034e1f9d
SU3File:
...
- Fix arg processing again
- Change static fields to avoid early context init
- Reduce PRNG buffer size for faster signing
2013-09-19 15:21:53 +00:00
9f2fa6a8be
fix arg processing
2013-09-19 13:59:39 +00:00
19cf8787d8
- Allow getRawAlgo() for public keys
...
- SU3File better arg processing, implement content type arg
- Type checking of Java private key vs. type when signing
- Add unknown content type, make default
2013-09-18 16:53:38 +00:00
a80c34c1df
* i2psnark:
...
- Refactor Storage file data structures
- Sort files when creating torrents
2013-09-18 15:41:10 +00:00
ab8900f910
* I2PTunnelHTTPServer: Don't thread a receiver for GET or HEAD
2013-09-18 15:39:12 +00:00
ce2d0b0e12
- Revert expl. default back to 2 hops, wait for next release
...
- Eepsite index.html better help on redirects
- Remove exotrack (again)
2013-09-17 13:53:20 +00:00
87d98781a9
Read back private key to verify after keygen
...
Validate cert after reading from file
Validate CN in cert
Javadoc fixes
2013-09-16 15:48:54 +00:00
79dc95dd66
Fix RSA_SHA384
...
Fix DSAEngine for RSA
Fix KeyGenerator for RSA
New split() and combine() methods in SigUtil
Fix private key conversions for RSA
2013-09-15 16:49:59 +00:00
c6533202f7
Add RSAConstants
...
Specify RSA parameters
Add RSA sig types
Specify cert signature algorithm when generating keys
Extend keygen max wait
Catch NPE if sign fails in SU3File
Fix signature conversion for RSA
Fix public key conversion for RSA
2013-09-15 15:12:07 +00:00
b5dc9bc0ba
DSAEngine: Add sign/verify methods using Java keys
...
SU3File: Use Java keys to sign and verify so we don't
lose the key parameters in the conversion to I2P keys
2013-09-14 15:53:08 +00:00
79891c6677
open4you.i2p
2013-09-14 15:28:36 +00:00
68aa1aea8e
stub out RSA
2013-09-13 15:26:38 +00:00
4ffaf4128e
SU3File:
...
- enum for content type
- fix NPE if private key not found
- use certs instead of public keys for verification
- improve validate-without-extract
- new extract command
2013-09-13 13:02:37 +00:00
801ca47a0c
add Koblitz curves for testing
2013-09-13 00:49:10 +00:00
43f5062169
SSLEepGet: Move all certificates to certificates/ssl, in preparation
...
for other certificate uses by SU3File
2013-09-12 21:47:25 +00:00
7ab4dd7f4b
KeyStoreUtil:
...
- Overwrite check in createKeys()
- New getCert(), getKey()
SU3File:
- Store generated keys in keystore
- Get private key for signing from keystore
2013-09-12 20:22:30 +00:00
71c0104236
Add base algorithm type in prep for RSA
2013-09-12 18:23:28 +00:00
a608d21571
KeyStore: change keygen default to RSA 2048 (ticket #1017 )
...
fix key length setting
2013-09-12 14:55:16 +00:00
935ddaa0b2
fix default expiration
2013-09-12 14:41:25 +00:00
945e7b75fd
Crypto - prep for using certificates in SU3File:
...
Consolidate KeyStore code from SSLEepGet, I2CPSSLSocketFactory,
SSLClientListenerRunner, and RouterConsoleRunner into new
KeyStoreUtil and CertUtil classes in net.i2p.crypto (ticket #744 )
2013-09-12 14:27:16 +00:00
5e90780590
jbigi/jcpuid build scripts: Look for OpenJDK7 in kFreeBSD (it has landed in Debian testing)
2013-09-11 14:04:58 +00:00
a8a21ea7ce
propagate from branch 'i2p.i2p' (head 6667c4a9f9fcc0705e407006d1933dd31942ffb2)
...
to branch 'i2p.i2p.zzz.ecdsa' (head bf746450400fc5ffa0e727ed0cd6a3966f6ce51f)
2013-09-10 13:03:40 +00:00
23444e4b81
* Router: Log new router hash in event log after rekeying
2013-09-10 12:25:24 +00:00
a3ea1f9429
remove static log
2013-09-10 12:23:45 +00:00
78d4b6d8a7
- Simple DirKeyRing backend for testing
2013-09-09 19:46:24 +00:00
3e3399adc6
- Add Java key import to SigUtil
...
- Import priv key to SU3File in Java encoded format instead of I2P format
- New KeyRing stub
2013-09-09 00:49:14 +00:00
1e554dd0fe
- Move I2P-to-Java DSA key conversion from DSAEngine to SigUtil
...
- Add Java-to-I2P DSA key conversion to SigUtil
- Export keys from SU3File in Java encoded format instead of I2P format
2013-09-08 21:47:48 +00:00
388e7088e1
Updating cert for reseed.info
2013-09-08 16:14:53 +00:00
e65289cd0d
Document logCloseLoop() methods
2013-09-08 15:23:09 +00:00
c4d68a8352
minor cleanup
2013-09-08 15:21:25 +00:00
7be0a93251
Use AtomicBoolean to prevent multiple close()-s
2013-09-08 13:18:47 +00:00
175f47293a
Ticket #1012 - remove nested locking on close() and
...
finishInboundEstablishment()
2013-09-08 13:13:14 +00:00
27936fce04
cache key conversion
2013-09-08 13:06:30 +00:00
592680302f
make the logCloseLoop() methods members of the Log class
...
so they can be used everywhere
2013-09-08 12:55:05 +00:00
55318cf14b
Crypto: Set file modes on written keys; don't overwrite existing files
2013-09-08 11:57:15 +00:00
83ead0c304
- SU3File: Readahead to get sigtype on verify, as we need the hash type
2013-09-07 20:24:40 +00:00
38ec55bc72
- DSAEngine: Implement raw ECDSA sign/verify
...
- SU3File: Implement keygen
2013-09-07 19:37:02 +00:00
c4f97ed65e
- DSAEngine: Start of support for signing hashes with other SigTypes
...
- KeyGenerator: Measure sign and verify separately in test
- SU3File: Start to support other SigTypes
- SigType: Add getHashInstance(), fix hash length for ECDSA_SHA256_P192
- SHA1Hash: Add no-arg constructor
2013-09-07 18:12:19 +00:00
78a426e9ac
* Crypto: Don't use "short exponent" on faster platforms.
...
Rebuild router identity if key length doesn't match setting.
This affects RI and LS encryption keys, and DH and YK.
Faster = 64 bit with working jbigi, non-ARM, non-GNU (for now)
Override default with crypto.elGamal.useLongKey=true/false
LS key is built at client startup (Dest key unused)
This will churn most of the RIs at the release.
* SystemVersion: Add isARM()
2013-09-07 13:43:28 +00:00
928b4bbbe5
- genSpec: fallback to BC provider
2013-09-06 13:53:15 +00:00
d27c465371
- KeyPairGen: Catch ProviderException, fallback to BC provider
2013-09-06 13:30:47 +00:00
4d62f63c71
* Start of ECDSA branch:
...
- Add ECConstants which looks for named curves and falls back to
explicitly defining the curves
- Add SigUtil with converters from Java formats (ASN.1, X.509,
PKCS#8) to I2P formats for Signatures and SigningKeys
- Move ASN.1 converter from DSAEngine to SigUtil, generalize
for variable length, add support for longer sequences,
add more sanity checks, add more exceptions
- Attempt to add BC as a Provider
- Add parameters (curve specs) to SigTypes
- Add support for ECDSA to DSAEngine and KeyGenerator
- Add KeyGenerator main() tests
- More javadocs
All is Java 1.5 compatible but the actual algorithms, curves,
and other support aren't necessarily present in any JVM.
Todo: More tests, more fallbacks for various JVMs
2013-09-06 12:04:22 +00:00
f4039b085a
* Crypto: SigType tweaks, prep for parameters, show type in toString()
...
* NativeBigInteger: Don't use native for negative arguments, which aren't supported in jbigi.c
2013-09-06 11:40:50 +00:00
53ed10cfc8
typo fix (s/lt/le/)
2013-09-04 01:42:12 +00:00
0859dbe57f
* i2ptunnel: Reduce buffer size and use cache in HTTPServer
...
* Jetty: Increase maxIdleTime
2013-09-04 00:46:43 +00:00
42bc4bb1f4
reduce log level
2013-09-03 12:13:07 +00:00
caead8a3a4
consolidate maxMemory() calls
2013-09-03 11:37:36 +00:00
7394c7997b
change pw restart warning to error so people dont miss it
2013-09-03 10:25:18 +00:00
0298e4ab4c
use different sort for floodfill profiles display
2013-09-01 12:12:40 +00:00
e3a5cdbbc2
deprecate most of LeaseSetKeys
2013-09-01 12:12:05 +00:00
6ae46abac0
fix ticket number
2013-08-31 18:42:07 +00:00
615a5f3c39
update history
2013-08-31 18:40:39 +00:00
6812dc1db8
Ticket #1007 use only non-retransmitted packets in RTT
...
sampling. (RFC 6298)
2013-08-31 18:39:29 +00:00
41595cafce
* Addressbook: Don't write to log file on Android (ticket #859 )
2013-08-31 15:35:57 +00:00
d6c4e411be
highlight snark table rows on hover
2013-08-31 15:19:00 +00:00
6ca797ec1f
* Console: Display "accepting tunnels" instead of "rejecting tunnels" after 20 minutes (ticket #902 )
2013-08-30 12:07:42 +00:00
8655988c66
* NTCP: Handle race where peer's NTCP address goes away
2013-08-30 12:01:51 +00:00
de5f2940ce
* SSU, confignet: Add support for specifiying multiple addresses
2013-08-30 10:27:22 +00:00
1933e6239b
* SusiDNS: Don't require last subscription to be terminated by newline (ticket #1000 )
2013-08-30 10:21:57 +00:00
8aec1e2eb6
* Addresses: Treat Teredo addresses 2001:0::/32 as local
2013-08-30 10:20:43 +00:00
def30c5903
javadoc update
2013-08-14 20:29:40 +00:00
193f0bbc42
More elegant
2013-08-11 20:21:06 +00:00
b7a3b7bf05
debian: add missing timestamp to changelog
2013-08-11 17:00:26 +00:00
a2bd45fa9b
* Translation updates from Transifex
...
- French, Portugeuse, Russian, Spanish, and Turkish updates from Transifex
- Start of Romanian translation from Transifex
- Update English POs for sending to TX
* Debian: Update changelog
2013-08-11 16:58:19 +00:00
fd297118f9
fix NPE if stats are not enabled
2013-08-11 11:58:51 +00:00
7171edad24
Jetty 7.6.12.v20130726
2013-08-11 11:28:33 +00:00
d8466333f3
more snark mime types
2013-08-11 11:26:57 +00:00
a5e4d586eb
dont display jump server msg if we dont know any
2013-08-11 11:26:40 +00:00
28a1c22438
Update Java Service Wrapper to v3.5.20
...
- Windows: Self-compiled with VS2010 in Windows 7. The icon has been
changed from Tanuki's default to Itoopie.
- Linux ARMv6: Compiled on a RaspberryPi using gcc 4.6.3-14+rpi1,
Icedtea6 6b27-1.12.5-1+rpi1 and stripped
- All other binaries are from the "community edition" deltapack offered by
Tanuki.
2013-08-11 01:26:19 +00:00
74e238322d
bump version for testing
2013-08-10 21:53:47 +00:00
1f3227409b
Reduce initial ack delay to 1000
...
Rework the logic for acking duplicate packets
2013-08-10 21:03:05 +00:00
afda1da9c3
volatile
2013-08-10 21:00:09 +00:00
f2857e8f97
bump after prop
2013-08-10 17:16:50 +00:00
4802b1e2cd
propagate from branch 'i2p.i2p.0971' (head 6cb629b61e0177deda1e539b2f85a2473f3af7fb)
...
to branch 'i2p.i2p' (head 8e86ef70afbbbbdc2db06cec34f17dedd528c7e7)
2013-08-10 17:06:17 +00:00
0328304f04
dont specify i2p.i2p branch so we can release from a different branch
2013-08-10 16:23:23 +00:00
06d2db0046
0.9.7.1
2013-08-10 16:00:46 +00:00
0539610219
volatile
2013-08-09 21:06:39 +00:00
170be8f033
Extend IB tunnel expiration
...
applied changes from 2f2fc980d396aa295ce972afc4298e8f2e763fea
through c2bc3b29484ec8a689c72f2ab4e823a2a72f6430
New update hosts, thx Meeh and dg
2013-08-08 22:13:38 +00:00
ca0bb1ab76
Plucks from trunk for 0.9.7.1:
...
Streaming RTO changes:
apps/streaming/java/src/net/i2p/client/streaming/ConnectionOptions.java
apps/streaming/java/src/net/i2p/client/streaming/TCBShare.java
apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketOptionsImpl.java
new reseed:
applied changes from dbfea0ca35dbf9df85b5703db6f97a9579beb364
through 325a9ed6f0f47eeabb33710073edf973671c63c9
disable RI verifies:
applied changes from 4ef48b93946923e3371ab62719a474d869520697
through a77990850b3534101571c88db4704676645914df
i2prouter bashism fix:
applied changes from b5a0148f96728466561ece9be0e50ac9ad3f1468
through e301d0499f4c688ed3a5febe30bf8098c7f2cdf9
i2psnark increase max piece size, mime type updates:
apps/i2psnark/java/src/org/klomp/snark/Storage.java
apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java
apps/i2psnark/mime.properties
UPnP fix:
applied changes from 3d4a5cd3d933f75fdff7696f560c569f4674bd73
through 75e5f5d4e0f0dd44140908bb6e73830e3448bdde
2013-08-08 12:07:16 +00:00
cdccb51456
* Start of 0.9.7.1 branch
...
* i2psnark: Increase update-via-torrent to 30%
2013-08-07 17:36:55 +00:00
870ecb847f
Updated Eclipse files
2013-08-04 00:02:22 +00:00
8ba493c60e
debian: compress package with xz
...
All currently supported distros support this format.
2013-08-01 23:29:34 +00:00
f3affff5be
Atomic
2013-07-31 16:01:26 +00:00
5941a52a0d
* Tunnels: Extend local expiration of IB tunnels, to allow for
...
more clock skew and not drop valid messages at their destination
2013-07-30 22:10:02 +00:00
04e6beb43c
javadoc, log, comment, and su3file help tweaks
2013-07-30 22:05:46 +00:00
1284c7ace0
* i2psnark: Increase max piece size to 4 MB (ticket #993 )
2013-07-30 21:50:07 +00:00
63414f0348
Override prepareOutbound() in VerifiedEstablishState
2013-07-30 17:13:34 +00:00
c8f22fdfd0
Adding new reseed host. Thanks to isdf!
2013-07-29 23:01:04 +00:00
7737bf5212
* GeoIPv6: Fix NPE (ticket #992 )
2013-07-29 14:02:08 +00:00
4340f70d72
* Signatures:
...
- Prep for new signature algorithms; new SigType enum;
Signature, SigningPublicKey, SigningPrivateKey store type
- New Hash384 and Hash512 classes
- Remove length field in SimpleDataStructure
- New SU3File generator/verifier/extractor
2013-07-29 13:49:05 +00:00
6dbd8a6d1a
add mobi mime type
2013-07-28 13:21:01 +00:00
076871fe44
* NetDB: Disable RI verifies for now
2013-07-28 13:02:12 +00:00
be753d7a1a
* Addresses: Treat RFC 4193 addresses fc00::/7 as local
2013-07-28 12:52:41 +00:00
e3f02553fd
javadoc
2013-07-28 12:52:10 +00:00
767ef8c489
add webm mime type
2013-07-28 12:52:00 +00:00
482787fbc3
* Transports:
...
- Really fix IPv6-only option
- Treat RFC 4193 addresses fc00::/7 as local
- Log tweaks, javadocs
2013-07-26 22:39:35 +00:00
b2d72f90ce
merge of '5ad8235a14f2f52799755969e5c877f4f1c159cc'
...
and 'f5d75b2ebc648c43182d685f30e96242e43caa69'
2013-07-25 20:08:31 +00:00
dd181a90e1
Fix NPE when cancelling PacketLocal's
2013-07-25 20:07:12 +00:00
19faa352e3
* Transports:
...
- Prefer IPv6 by default
- Fix IPv6-only option
- Don't try NTCP IPv6 addresses unless we have one
- Fix non-%16 SSU padding in data and session confirmed packets; enable by default
- Log tweaks
2013-07-25 18:52:45 +00:00
ffda7f6326
* Tunnels:
...
- Make expl. default 3 hops (ticket #966 )
- Allow expl. fallback up to -2 hops
2013-07-25 18:49:22 +00:00
8ebacf4c10
log tweak
2013-07-25 18:47:47 +00:00
a02cc25844
UPnP Fix for devices that return base URLs with trailing '/' (ticket #986 )
2013-07-24 18:03:50 +00:00
8aeca5b433
catch NPE in main when no state table available
2013-07-24 14:24:29 +00:00
7b4855d7cf
* UPnP: main() tweaks for debugging
2013-07-24 12:38:15 +00:00
803d7ff282
* GeoIP: Fix lookups, broken in IPv6 branch
2013-07-24 12:36:36 +00:00
a1c724f866
reduce initialRTO to 9000
2013-07-23 14:18:51 +00:00
96609e9173
change default loglevel for duplicate close()s to INFO
2013-07-23 14:17:26 +00:00
f5518739e2
javadoc fixes
2013-07-23 00:49:37 +00:00
e7c8d28b99
* HashComparator:
...
- Don't pollute Hash cache with hashes
- cleanups, less object churn
2013-07-22 23:07:37 +00:00
dff357a658
unit test compile fix
2013-07-22 15:14:58 +00:00
cc271de7df
* BuildReplyHandler:
...
- Make non-static
- Don't pollute Hash cache with build response record hashes
- Use SimpleByteCache
- cleanups
2013-07-22 14:25:30 +00:00
a7485ab5a3
* I2CP:
...
- Oops, must enforce property length limits even when inside router JVM
as the properties are serialized for signing.
2013-07-21 20:17:42 +00:00
7133736702
Fix more NPEs ticket #984
2013-07-21 19:41:48 +00:00
2313d82369
toclet #984 : fix deadlock introduced in -4 (ticket #972 )
2013-07-21 14:54:36 +00:00
1b42d99e66
* Console: Fix /peers table summary alignment
...
* I2CP:
- Don't NPE when loglevel=warn
- Don't enforce property length limits when inside router JVM
* I2PSnark: Log uncaught error in ThreadedStarter to router log
* I2PThread: Log uncaught error to wrapper log
2013-07-21 14:04:27 +00:00
d709f46183
Update unit test
2013-07-20 18:45:19 +00:00
97c1676bcb
Rework locking and state management of NTCP connections
...
trac ticket #972
up version to -4
2013-07-20 17:37:46 +00:00
02b92ac3fe
fix compile for test
2013-07-20 13:46:50 +00:00
29eb1d5dc5
fixup after prop; history for prop; -3
2013-07-20 13:41:31 +00:00
a87fc68cfd
propagate from branch 'i2p.i2p.zzz.ipv6' (head 5c147c6e394fae03752dcf497923a90e3f2db529)
...
to branch 'i2p.i2p' (head 7af6987d5546664f76589afe0cbeeb780f4b5d58)
2013-07-20 12:59:03 +00:00
bc1cf64df4
remove extra
2013-07-20 12:35:38 +00:00
b607d7b223
generic
2013-07-20 12:34:24 +00:00
4e00eaf9a3
checkpo fix; history for prop; -2
2013-07-20 12:25:31 +00:00
90cc71d14d
propagate from branch 'i2p.i2p.zzz.test2' (head d80f8632ef0a2aa350eee9a38ba6a4c56471f5bc)
...
to branch 'i2p.i2p' (head e8b712c826e44211217f06eb3a4da2703323a42f)
2013-07-20 11:53:41 +00:00
554a3a6b0e
* PRNG:
...
- Don't delay the refiller if we need more (don't limit max output)
- Add FortunaRandomSource.main() to output to stdout for testing e.g. with dieharder
2013-07-19 21:31:25 +00:00
8505e8a1ca
fix streaming property
2013-07-19 21:28:14 +00:00
54ec878698
merge of '90720c051863f44c6386493f3d5df546d988a663'
...
and 'fa509893effa9445a0833115160aed8fe6fed268'
2013-07-19 00:18:08 +00:00
ea4606fe79
Prepare for merge
2013-07-18 22:45:11 +00:00
96de87fdde
compute rttDev in updateRTT
2013-07-18 22:33:23 +00:00
55d571ffec
Hardcode TCP constants
...
Various suggestions by zzz
2013-07-18 22:25:10 +00:00
ae347c4fa1
sync getters
2013-07-18 15:52:40 +00:00
e93beb7c63
Updated .mtn-ignore
2013-07-18 13:48:36 +00:00
018098b8ef
better loading from cache
2013-07-18 01:52:46 +00:00
1e2fb4bea5
propagate from branch 'i2p.i2p' (head e301d0499f4c688ed3a5febe30bf8098c7f2cdf9)
...
to branch 'i2p.i2p.979' (head 2dfdeb022c9495461b2ec1d90f28ef9cd0bd9e22)
2013-07-17 23:04:04 +00:00
171f0d2671
Implement RTT update on first ack
2013-07-17 21:13:19 +00:00
175cb0817e
fix bashim in i2prouter
2013-07-17 19:45:43 +00:00
3b46acc285
* I2CP client session - improvements after review:
...
- Move more cleanups to finally block
- Bounded wait
- Don't ignore InterruptedExceptions, wrap in I2PSessionException and throw
- More finals
- Synch tweaks
2013-07-17 18:56:26 +00:00
d31ce49e77
change resource name
2013-07-17 18:55:12 +00:00
8937c4bf2a
Store stdev of rtt in the TCB cache as per RFC 2140
2013-07-17 18:13:42 +00:00
2902a708f9
debian updates
...
- check script validity in build target
- refresh patch
- changelog update
2013-07-16 22:17:50 +00:00
c1210b1c04
* Translations:
...
- Tag initialNews.xml for TranslateReader
- Drop static translated initialNews pages
- Add new routerconsole bundle for the news alone, shipped in the jar
- Use TranslateReader in HTTP proxy for initial news
- Initial translations created manually from translated xml filesx
- Add translated proxy error pages and initial news to deletelist.txt
TODO: ar translation fails checkpo.sh
2013-07-13 23:38:11 +00:00
71038c311f
* Translations:
...
- New varargs method in Translate
- New TranslateReader to translate static files on-the-fly using _("") tagging
- Tag proxy error pages for TranslateReader
- Drop static translated proxy error pages
- Add new i2ptunnel bundle for the proxy alone, shipped in the jar
- Use TranslateReader in HTTP proxy for error pages
- Move HTTP proxy strings from the web *war) to proxy (jar) bundle so they will be loaded
- Initial translations created by msgmerge from i2ptunnel and routerconsole po files, un-fuzzied
2013-07-13 19:58:11 +00:00
70a8ab1d1a
* DHSessionKeyBuilder: Fix for session and mac keys if DH key is between 32 and 63 bytes.
...
Was: NPE. Now: mac key is hash of ssession key. Won't ever happen. (Ticket #963 )
javadocs
2013-07-10 18:59:46 +00:00
f3c4a26483
* I2CP/I2PTunnel locking fixes (partial fixes for tickets 650. 815, 946, 947, 953):
...
- I2PSocketManagerFactory: New createDisconnectedManager(), javadocs
- I2PSessionImpl: Rewrite state management and locking, prevent multiple
connect() calls, but allow disconnect() to interrupt connect()
- I2PSimpleSession: Changes to match I2PSessionImpl
- I2PTunnelServer: Don't connect in constructor, use createDisconnectedManager()
for a final manager, finals and cleanups
Lightly tested.
Todo: I2PTunnelClientBase
2013-07-10 18:54:25 +00:00
9a1e1a92ca
dont use == on doubles
2013-07-10 18:42:13 +00:00
732eddd1b9
toString() fix (NO_ACK)
2013-07-10 18:14:18 +00:00
2caa6ad975
* Router I2CP:
...
- Make classes extensible for router-side test stubs
- Add router-side local-only test implementation, no full router required.
Only tested with external clients, probably doesn't work in-JVM.
- Don't start threads in ClientManager constructor
- Remove unused Reader param in ClientMessageEventListener methods
- Cleanups, volatiles, finals, javadocs
2013-07-10 18:12:47 +00:00
d3e0161a6b
* Transports: Consolidate translation methods in super,
...
ngettext fix for "peers" string
2013-07-10 17:59:10 +00:00
aabbdc1c1b
Hopefully fix SSU NPE (ticket #967 )
2013-07-06 13:25:11 +00:00
3aafea0d98
add ipv6 to /confignet
2013-06-29 15:13:05 +00:00
79f8e88e5f
propagate from branch 'i2p.i2p' (head 2a2c708bf9fee43e69469bdf896dfe489c32bdea)
...
to branch 'i2p.i2p.zzz.ipv6' (head c33552d7026b0a445d1dd7e138bf454144130eb2)
2013-06-28 16:10:49 +00:00
34b7081303
change congestion cost increment back to 1 for now
2013-06-14 16:13:20 +00:00
e0cd71069f
propagate from branch 'i2p.i2p' (head 1acb4077a56ccb4079538caa28648e27f0bf5b8b)
...
to branch 'i2p.i2p.zzz.ipv6' (head f87d396c445dc58e677a56d8ed69544c7f5ecab1)
2013-06-14 14:46:08 +00:00
378c5a0d4e
propagate from branch 'i2p.i2p' (head fd10b04ca3a6cf66e669bfad32d3011ed9f7e33c)
...
to branch 'i2p.i2p.zzz.ipv6' (head 6f6e16f14691f359322e665a7ad5ab65cbe1ca5e)
2013-05-29 00:22:15 +00:00
6c62c1f362
enable IPv6 geoip lookup
2013-05-24 14:11:35 +00:00
3daf287de8
GeoIPv6:
...
- Handle gzipped input data in merge tool
- Add script to generate compressed data
- Add local additions
- Add compressed data file, generated from Maxmind data fetched 2013-05-24
- Include data in installer and updater
- Update Maxmind license info, now CC-SA 3.0
2013-05-24 13:46:17 +00:00
9a4cd11748
* SSU: "rectify" IPv4/v6 MTUs differently due to different header size (mod 16)
...
* Penalize addresses w/o IP in sort
2013-05-21 21:10:23 +00:00
c0350702fd
* RouterAddress:
...
- Deprecate some setters
- Add warning about setCost()
- Change cost storage from int to short
- Cost range checks
* NTCP:
- Republish even if only changing cost
* Transports:
- Sort multiple peer addresses by cost, with adjustment for local IPv6 preference
- Add default IPv6Config for ease of changing later
2013-05-19 18:36:29 +00:00
55880844a5
* SSUDemo: Adapt for NTCP testing too
...
* RouterAddress and RouterInfo toString() cleanups; don't cache RI in _stringified
* NTCP: Fix publishing address when host specified but interface is not
* log tweaks
2013-05-19 15:18:45 +00:00
729282c0c4
* UDPAddress: Remove dependency in console; make package private
2013-05-18 20:10:10 +00:00
d603c3b5cd
- UDPAddress reduce object churn, check intro key length,
...
don't look for ihost3, reject ports < 1024, cleanups
2013-05-18 19:58:10 +00:00
5cda1ec703
- Handle IPv6 in too-close checks
2013-05-18 19:24:16 +00:00
ec3756a69f
* SSUDemo: Use IPv6; don't use System properties
2013-05-18 18:30:38 +00:00
0b49fa98f9
* SSU: Fixes for i2np.udp.allowLocal, log tweaks, sender/receiver thread name tweaks
...
* Limit tunnel GW pumper threads when testing
2013-05-18 18:00:17 +00:00
226c7eb8e3
* SSUDemo: configuration fixes, delete RI on exit, log tweaks
2013-05-18 14:27:11 +00:00
be262c6a70
* NetDb:
...
- Add floodfillEnabled() to NetworkDatabaseFacade so callers don't
have to cast to FNDF, and Dummy NDF will work
- Remove static FNDF.floodfillEnabled()
* SSUDemo: cleanups
2013-05-17 15:11:23 +00:00
a374f00613
* Fix UDPEndpointTestStandalone:
...
- init context
- Add unit test buildPacket() method to PacketBuilder
- Fix NPE in MessageHistory
* Minor PacketPusher optimization
2013-05-16 23:08:06 +00:00
fcdf837f33
* New buildTest and prepTest targets
...
* Fix UDPEndpoint usage in unit tests:
- Restore receive()
- Handle null UDPTransport
* Fix UDPEndpointTestStandalone compilation
2013-05-16 17:57:33 +00:00
febc0a5237
RouterContext: Fix disabling client manager with i2p.dummyClientFacade=true
2013-05-16 15:35:23 +00:00
a19140e186
GeoIPv6
2013-05-13 20:43:30 +00:00
e0b25cdcf9
remove unused method
2013-05-13 20:39:32 +00:00
e332c8bc27
FloodfillPeerSelector, ProfileOrganizer: Use 8 bytes for IPv6 check
...
Transports:
- Add IPv6 column on /peers
- Other minor /peers cleanup
2013-05-13 13:57:15 +00:00
7318632db9
strip scope from returned address strings
2013-05-12 15:23:02 +00:00
1b38a6478b
UPnP:
...
- Pass device IP back in forward port callback
- Only declare success if forwarded IP is public
NTCP: Bad bind config not fatal
GeoIP:
- Use cached IP in RouterAddresses
- Use both NTCP and SSU addresses
- Skip IPv6 for now
Blocklist:
- Add IPv6 in-memory single list
- Limit in-memory single list size
- Fix dup check in getAddresses()
2013-05-12 14:44:42 +00:00
6ceea60c92
addresses:
...
- blocklist 192.88.88.0/24 6to4 anycast
- invalidate 2002::/16
2013-05-12 00:24:01 +00:00
fcaebb4416
* Fix UPnP address received before startListening(),
...
broken by isAlive() check
* log tweakws
2013-05-11 22:11:02 +00:00
0be3beb30e
* SSU fixes for per-address and IPv6 MTU
...
* MTU.main() print all interfaces
2013-05-11 21:39:25 +00:00
5e51c6abef
* CSFI compile fix
...
* Start transports in a standard order to make testing easier
* When transports learn of interface addresses before being started, save them
and use them at startup
* Pick SSU random port before startListening() and have the TransportManager
pass it to NTCP before starting
* Only restart NTCP after changing addresses when necessary;
prevent thrashing at startup (ticket #459 )
* Only call rebuildRouterInfo() once at startup
* More checking of min/max SSU port config
* Invalid SSU bind config no longer fatal
* Allow "true" for ipv6 config
* log tweaks
* javadocs
2013-05-11 19:22:20 +00:00
5e953b0857
* Fixes for IPv4 and other breakage after basic testing
...
* Catch exception from UPnP callback
* Log tweaks
2013-05-10 18:34:02 +00:00
c76c80043f
* NTCP:
...
- Drop NTCPAddress, just use RouterAddress
- Drop _myAddress field, use super's currentAddress
2013-05-09 17:32:29 +00:00
3a49d6d28f
* NTCP:
...
Move SSU address notification handling from CSFI to NTCPTransport
2013-05-09 16:18:58 +00:00
94e34ff366
RouterAddress:
...
- Add new constructor
- Add add getHost() and deepEquals()
- Compare host string, not IP, in equals()
SSU:
- Remove all _external* fields; use _currentAddresses in super
- Big rework of externalAddressReceived(), rebuildExternalAddress(),
needsRebuild(), and replaceAddress() for multiple addresses and IPv6
- Add caching in UDPAddress
- More IPv6 flavors of utility methods
- Remove two-art replaceAddress()
2013-05-08 16:48:39 +00:00
af27c76b2c
* Only treat IPv6 addresses as valid if we have a public IPv6 address
...
* SSU Introduction:
- Document that Alice-Bob RelayRequest/RelayResponse may be IPv4 or IPv6,
but don't implement IPv6 yet.
Changes required in IntroductionManager and PacketBuilder to send Alice's
IPv4 address in the RelayRequest packet over IPv6, and to publish
IPv6 introducer IPs.
- Bob-Charlie RelayIntro must be IPv4
- Only offer/accept relay tags as Bob or Charlie if the Bob-Charlie session is IPv4
- Alice-Charlie communication must be IPv4
- javadocs
2013-05-07 22:46:55 +00:00
60336c9555
- Shuffle SSU addresses before picking one
...
- Change address sources to enum
2013-05-07 19:49:13 +00:00
a85b7aa9f8
- Hash IPv6 addresses in IPThrottler
...
- CSFI: Pass TransportManager instead of CSFI to GetBidsJob;
remove unused methods
- Add i2np.disable property for testing
2013-05-07 18:22:20 +00:00
228e6d7d03
fixup after prop
2013-05-06 13:30:11 +00:00
31531ee882
propagate from branch 'i2p.i2p' (head 17371fd6f9ef94bbb60a66c6bacb6828d6a4cde5)
...
to branch 'i2p.i2p.zzz.ipv6' (head 065a076899a2581b4196e626f2b0654c3d39518a)
2013-05-06 11:27:10 +00:00
368c2073b2
- Fix multiple-detection code in externalAddressReceived()
...
- Synchronize tracking of last IP/port
- Don't accept IPv6 address changes from peers
- Remove unused getLocalAddress()
- Pkg private getLocalPort()
Peer tests:
- Use only IPv4 peer for Alice and Bob in peer tests; Charlie may be an IPv6 peer.
- Enforce IPv4 (Alice's) address inside PeerTest packet
2013-05-05 12:08:28 +00:00
757df8c726
prep for multiple address discovery
2013-05-03 16:34:02 +00:00
c6121cb31e
Prep for multiple SSU sockets:
...
- Change from single UDPEndpoint to a List of UDPEndpoints
- Move (single) receive queue from UDPReceiver to PacketHandler
- Multiple transmit queues (one for each UDPEndpoint/UDPSender),
select queue in PacketPusher
- Throw exception on UDPEndpoint.startup() failure
2013-05-03 15:03:55 +00:00
eecab472eb
IPv6 SSU MTU adjustments
2013-05-03 11:27:21 +00:00
b71631d2ec
Fixes to isPubliclyRoutable() based on IPv6 config
2013-05-02 14:12:53 +00:00
3ec78e27b4
Start new IPv6 branch
...
- Add new TransportUtil for getting/setting IPv6 config
- Prep for supporting multiple RouterAddresses per-transport
- RouterAddress hashCode/equals tweaks
2013-05-02 12:55:35 +00:00