49ff78cf0e
0.9.25
2016-03-21 23:47:02 +00:00
c1b6e1be87
BuildHandler: Fix for leaky counter of outstanding lookups
2016-03-21 23:37:24 +00:00
c84dd527b7
Debian: Updates from the 0.9.24 release, including patch refresh, not checked in at the time.
...
Cherry-picked out of
https://launchpad.net/~i2p.packages/+archive/ubuntu/i2p/+files/i2p_0.9.24-1ubuntu1.debian.tar.xz
The files in http://deb.i2p2.no/pool/main/i/i2p/i2p_0.9.24-1~deb8u+1.debian.tar.xz
are somewhat different.
Note that some files out of that tarball are apparently older than what is in our debian/
directory and were not copied over.
Some of the changes may be for Ubuntu and will not work for Debian.
Kytv may have had a local debian/ directory for Ubuntu builds that was not checked in anywhere.
Untested. Another patch refresh for 0.9.25 may be required.
To be fixed up after the 0.9.25 release.
2016-03-21 18:25:17 +00:00
b0aaf64cec
Console: Use i2pwiki.i2p for plugins directory link
2016-03-21 14:33:13 +00:00
25514e9848
tx pull
2016-03-19 13:32:24 +00:00
d00c08dcd7
disable torontocrypto reseed, no ETA for restoration
2016-03-18 20:01:07 +00:00
d64e6bb17d
new backup news url
2016-03-16 18:55:39 +00:00
855215e840
SU3File: fix bulksign of .xml and .xml.gz files
2016-03-15 20:42:53 +00:00
674a77baca
SU3File: bulksign .xml.gz files
2016-03-15 19:55:05 +00:00
c9f025a44d
GeoIP update 2006-03-02
...
add v4 script
2016-03-15 18:21:50 +00:00
a61c44ba42
remove update.killyourtv.i2p
2016-03-15 18:20:36 +00:00
c869d3adc4
jetty config to disable context listing
2016-03-15 14:08:28 +00:00
387dc98e11
remove dead kytv sites
2016-03-15 13:53:24 +00:00
319d40146d
Router: Fix corner cases maintaining local leasesets (ticket #1768 )
2016-03-14 15:13:26 +00:00
2e3f5d0de9
UPnP: Fix NPE in HTML output on /peers (ticket #1779 )
2016-03-12 13:55:03 +00:00
dc36de667d
Home page: Replace pastethis with zerobin
2016-03-12 13:44:40 +00:00
0904500398
Susimail: Fix NPE
2016-03-12 13:43:45 +00:00
74e8cf79bd
Peer selection: Don't truncate data used for random slice
2016-03-11 01:53:21 +00:00
b7498b564a
add reseed
2016-03-11 01:48:30 +00:00
6d40e87032
tweak for consistent tagging
2016-03-05 14:58:55 +00:00
1f088ff3e5
NetDb: Look in all SSU addresses for introducers in the expiration check
2016-03-01 13:42:03 +00:00
50d038af5d
NetDb: Search for new leaseset before expiration
...
Reduce expiration for router infos with introducers
More negative cache checks
Log tweaks
SSU: Switch introducers less often
2016-03-01 13:30:30 +00:00
ffa4d6580d
i2psnark: Fix handling of HAVE messages received before metainfo
2016-03-01 13:09:18 +00:00
bf2f3762af
add missing reseed cert
2016-02-28 14:22:22 +00:00
35e4b3c859
javadoc typo
2016-02-28 14:04:40 +00:00
4910413482
fail javadoc task if it has errors
2016-02-28 13:54:28 +00:00
str4d
7ccca9ef3c
EdDSAEngine: one-shot mode tests
2016-02-28 04:18:04 +00:00
str4d
6e7f015d4b
Add tests to check that an EdDSAEngine object can be reused with the same key
2016-02-28 03:37:03 +00:00
80860232d7
i2ptunnel: Don't default to a private key file that exists (ticket #1628 )
...
Fix build.xml war dependency tracking
2016-02-27 16:17:25 +00:00
d28f983c46
Utils: Add main classes to i2p.jar and router.jar
...
for simple command line access to utilities
2016-02-26 18:12:11 +00:00
b3f37db33f
i2ptunnel:
...
- Fix hostname signature not finding private key file
- Hide hostname signature if not successful
- Null check for hostname signature failure
- Make add-to-addressbook link a button
- Add QR code generation
2016-02-26 15:25:01 +00:00
5f7d636738
Console: Don't display error after clicking restart on /graph page (ticket #1582 )
2016-02-25 17:27:47 +00:00
90a915b8b5
log message clarification
2016-02-25 14:59:20 +00:00
248deaecbb
Console: Add X-Content-Type-Options header everywhere (ticket #1763 )
2016-02-25 14:56:06 +00:00
a79b25d7b1
Router: Log full path to wrapper.log when dumping threads
2016-02-25 14:18:26 +00:00
d9a7dc0233
Transports: Increase connection limits for class N and higher
2016-02-25 13:58:16 +00:00
f34a05c35d
i2ptunnel: Fix default shouldBundleReplyInfo setting for non-http servers
2016-02-25 13:52:00 +00:00
8e4b7e3847
News: Set initial news to current date
2016-02-22 16:19:42 +00:00
eb094ba0ef
Console: Improve news CSS (ticket #1710 )
2016-02-22 16:04:42 +00:00
87d7e10841
I2CP: Improve client error message when internal router connection fails
2016-02-22 13:04:57 +00:00
7d35a4e1b9
Transports: Increase default max inbound bandwidth
...
Increase minimum in/out bandwidths
2016-02-21 22:17:38 +00:00
fc1268dd5b
Graphs: Increase font size
2016-02-21 22:11:48 +00:00
abb52331a5
/configfamily tweaks
2016-02-21 14:04:41 +00:00
fa44a952ed
make renderers package private
2016-02-21 14:02:12 +00:00
a3cac88c91
h1 css tweak
2016-02-21 14:00:40 +00:00
04614ac6f8
add i2pd-dev family cert
2016-02-21 13:59:39 +00:00
bd49b1d4bd
Crypto: Blacklist certificates by SHA1 hash,
...
not by serial/CN/OU
2016-02-20 01:41:23 +00:00
40894663c2
Clock: Add sanity checks to detect invalid system clock
2016-02-19 17:01:40 +00:00
7d6fe011db
i2ptunnel: Change Content-encoding to Content-Encoding
...
(thx orignal)
2016-02-19 14:37:02 +00:00
451cb2573a
log tweak
2016-02-19 02:51:11 +00:00
238ebc23e2
Crypto: Check for revocation when reading in certificates
2016-02-19 01:37:41 +00:00
910822ecf2
Add utilities for loading CRLs from disk and checking certs for revocation
2016-02-18 23:54:56 +00:00
9fba12519f
Transport:
...
- Implement mayDisconnect() for outbound connections also
- Run UDP idle disconnect loop faster if floodfill or near connection limit
NetDB:
- Call mayDisconnect() after direct netdb store
- Fix check to publish RI faster, broken in .24,
we were publishing at every check,
causing increased load on floodfills
2016-02-18 22:27:17 +00:00
3a28680162
/confignet: Clean up display and form handling
...
for specifying a fixed host name or IP
2016-02-18 16:10:14 +00:00
fa12967873
Add qr icon, to be used in buttons
...
created by me, public domain
2016-02-17 14:21:51 +00:00
9f0640ca2d
log tweak
2016-02-17 14:17:37 +00:00
c385ad8f1d
OCMOSJ: Don't wait until lease grace period has expired
...
to switch to a different lease
2016-02-17 14:16:53 +00:00
8faafc00b0
set request encoding
2016-02-17 14:13:58 +00:00
8498d7d128
i2psnark: Increase max files per torrent to 2000
2016-02-17 14:13:00 +00:00
455f32faa7
SAM: Don't log an error on datagram send success!
...
set i2cp.fastReceive=true
log tweaks
2016-02-17 14:11:18 +00:00
27d0a81bcb
i2ptunnel: Improve layout of blacklist radio buttons on editServer.jsp
2016-02-17 14:06:12 +00:00
52a37d170f
Imagegen: Add text to QR codes
2016-02-13 20:13:12 +00:00
236155791d
Console: Add translation debug option
2016-02-13 16:29:49 +00:00
8ef593fe98
Data: New Hash.toBase32() method
2016-02-13 15:35:57 +00:00
e65bd26ad5
I2PTunnel:
...
- Add options to block by referer and user-agent
- Increase size of access list field in form
- Log blocked destinations in b32, not b64
- Strip X-Runtime header
Streaming;
- Log blocked destinations in b32, not b64
2016-02-13 15:31:38 +00:00
071769679d
Javadoc fixes in imagegen, sam, crypto
...
package.html files for imagegen
2016-02-13 15:17:41 +00:00
6ab5b84979
Crypto: EdDSA precedence fix
2016-02-10 16:36:40 +00:00
981b708230
Crypto: Use new internal key generation instead of calling
...
out to keytool; save CRL for new su3 amd family keys
Allow su3 bulksign for xml files (news)
2016-02-09 20:48:23 +00:00
651c1b6545
Crypto: Fix raw (su3) signing, broken in test2 prop (-2)
2016-02-09 16:39:09 +00:00
e402bfaa81
history for prop, -3
2016-02-08 21:33:36 +00:00
241bb3812c
propagate from branch 'i2p.i2p.zzz.sam' (head d5c193915251826fe4f5dcd58c36f74714495fd4)
...
to branch 'i2p.i2p' (head 5ad07e5b5ef68fddeec919c04c6c49178b6a6b31)
2016-02-08 21:24:06 +00:00
55addfc739
Fix bug receiving datagrams on v3 sessions with UTF-8 IDs
...
Add test for tag options
2016-02-08 17:30:01 +00:00
84b94368a9
BOB: Fix invalid output after getnick (ticket #1204 )
2016-02-08 13:22:38 +00:00
8f667a0463
Use I2CP option names, not SAM option names, for setting tag options in SESSION CREATE/ADD
2016-02-07 20:53:09 +00:00
d962be9d7e
SAM v3.3:
...
- More master session option checks
- Add support for SEND_TAGS, TAG_THRESHOLD, EXPIRES, and SEND_LEASESET
(untested)
- Consolidate dup code in SAMv1Handler
- Change Session to extend SAMMessageSess
- Pass options down to v1 handlers in case we need it later
2016-02-07 18:45:26 +00:00
z3r0fox
691e274ca7
Linting dep-ann: Added @Deprecated annotations in i2psnark, i2ptunnel, ministreaming, routerconsole, streaming
2016-02-06 22:38:10 +00:00
z3r0fox
b1eaa772a1
Linting dep-ann: Added @Deprecated annotations in BOB and i2p_sdk
2016-02-06 21:32:28 +00:00
z3r0fox
79bb3f6cc4
Added @Deprecated annotations to router classes/methods
2016-02-06 20:39:58 +00:00
b6deae9b23
SAM v3.3: Tests and fixes for REMOVE; don't close underlying I2PSession
...
- Don't remove a non-subsession with REMOVE
2016-02-06 17:51:23 +00:00
edde533e1b
SAM v3.3: Fixes after testing
...
- More error checking
- Better error responses
- Fix listen port and protocol for DATAGRAM and RAW
- Fix adding sessions with duplicate dests to DB
- Add more sessions in SAMStreamSink
2016-02-06 16:56:37 +00:00
ceb7791541
test tweaks
2016-02-06 15:08:23 +00:00
68c617950c
SAM v3.3: Fixes after testing
...
- Fix master acceptor
- Clean up error message generation
- Add basic master session test for SAMStreamSink
2016-02-06 13:44:08 +00:00
62ad7996f1
SAM v3.3: Fixes after testing
...
- Set Master properties in handler, not in session, so they take
- Create subhandlers for the subsessions
- Create socket manager with preferred createDisconectedManager()
so we get exceptions
- Fix check for master session
- Enhance error messages
- Add basic master session test for SAMStreamSend
- Add check for DESTINATION in SESSION ADD
- Don't return DESTINATION in an I2P_ERROR response
Next to do: master support in SAMStreamSink
2016-02-06 00:21:37 +00:00
270bc24b62
SAM: Add start() to session interface,
...
don't start threads in constructors.
Start master acceptor thread.
Javadocs, SAMv2StreamSession cleanup
2016-02-05 18:44:35 +00:00
9b004bc61f
SAM v3.3 master sessions.
...
Compiles only. Untested, not regression tested, not complete.
2016-02-05 16:10:04 +00:00
f9cf6bdc85
Fix typos, history for prop, -2
2016-02-03 20:22:41 +00:00
ebc4ca8698
propagate from branch 'i2p.i2p.zzz.test2' (head 70ae5494bd7255a03f80838a2f3d8e7c0ce86634)
...
to branch 'i2p.i2p' (head 05a201cc5c1bd841f32e9268b3019b3a3447f4f3)
2016-02-03 20:02:34 +00:00
d4d720524e
hashCode() and equals() for ElGamalParameterSpec
...
comments for I2PProvider
2016-02-03 19:04:46 +00:00
6be7c46038
EdDSA:
...
- Implement one-shot methods in EdDSAEngine so we don't copy
the data if all the data is available (ticket #1750 )
- Use EdDSA one-shot methods in DSAEngine
- Fix API violation if EdDSAEngine object is reused for signing (ticket #1750 )
- Javadocs
2016-02-03 18:39:49 +00:00
7901784a71
Add secure.thethinhat.i2p to console home page and hosts.txt
...
Approved at Feb. 2 meeting
Icon license: public domain
2016-02-03 14:12:50 +00:00
4e55edc049
minor cleanup and javadocs for previous checkin
2016-02-03 13:32:31 +00:00
acdaa60de3
Console: Custom icons for non-webapp plugins, from cacapo (ticket #1550 )
2016-02-03 13:20:22 +00:00
a70a7a7ed5
Imagegen:
...
- Return 403 if no code specified in QR or RA
- Mode parameter for html or text in RA
- Set RA text-mode character encoding
- Fix up test page
2016-02-01 14:51:59 +00:00
2fb1ad035f
history for prop, -1
2016-02-01 13:45:09 +00:00
28a2b82795
propagate from branch 'i2p.i2p.zzz.imagegen' (head 051e08304e7d6d2abaa7eeaf1b57e17bc49c752e)
...
to branch 'i2p.i2p' (head cd632db729aa84ae0c27c5863cb11820f0adb950)
2016-02-01 13:35:03 +00:00
bf51d5d9c4
CertUtil: Consolidate PEM encoding (DRY)
2016-01-31 22:24:16 +00:00
5d1d8b6d4d
SelfSigned: Add support for CRL generation
2016-01-31 22:09:39 +00:00
129fb973f2
update comments
2016-01-29 18:28:43 +00:00
kytv
f094bacd67
merge of '01b0b5d0f5aae9882a6ada1fd1a9a7414adec7cb'
...
and 'ad6ebc8a0672f769ddc142886e0ce9e7fb344180'
2016-01-29 18:23:57 +00:00
kytv
be97e84d83
refresh patch
2016-01-29 18:03:33 +00:00
da3086bbef
EdDSA:
...
- Add hashCode() and equals() everywhere it was missing,
so we can test keys for equality: Curve, EdDSAParameterSpec, EdDSAPrivateKey, and EdDSAPublicKey
- Speedup for GroupElement.equals()
- Fix public key decode()
- Put unknown class name in exceptions
- indent fixes
Provider:
- Add KeyFactory aliases required for cert.verify()
- Fix EdDSA signature OID
SelfSigned:
- Add simple tests after generation using cert.verify() and key equality
2016-01-29 16:01:23 +00:00
8badb609e4
Selfsigned: Add EdDSA_SHA512_Ed25519 support
...
Remove debug output by default
2016-01-29 12:56:26 +00:00
a1a895e462
Add EdDSA_SHA512_Ed25519ph
...
Fix EdDSA OID
2016-01-29 03:02:02 +00:00
9ed185f3d1
Add synch
...
https://github.com/str4d/ed25519-java/issues/10
2016-01-29 02:40:44 +00:00
7fdfb5cf12
Put the OID in SigType
2016-01-29 02:23:14 +00:00
b4d4c93047
New selfsigned key and cert generator,
...
without keytool, BC, or sun private classes.
To be hooked in to KeyStoreUtil to replace keytool.
2016-01-29 02:08:51 +00:00
66299cb081
EdDSA notes
2016-01-29 02:04:16 +00:00
79450bcda6
ElG cleanup
2016-01-29 02:02:34 +00:00
3a72b0cc63
Crypto: Move I2PProvider initialization
...
Add ElGamal SigAlgo type
2016-01-28 14:57:07 +00:00
f200d5cb03
checklist fix
2016-01-27 17:46:31 +00:00
3ad1db8d74
I2PTunnel: Fix exception message choice that was backwards
...
for router/non-router context
2016-01-27 16:27:26 +00:00
bccefb949f
0.9.24
2016-01-27 14:18:08 +00:00
c6136b5cdb
SHA256Generator: Don't fall back to Sha256Standalone,
...
SHA-256 support must now be in the JRE.
Deprecate all uses of Sha256Standalone, schedule for removal
in 0.9.27. This will require a new Syndie release.
2016-01-27 13:47:46 +00:00
d2d5a464a3
KeyGenerator: Check that dsax is greater than zero
2016-01-27 13:42:58 +00:00
6ab814a649
bootclasspath doc
2016-01-27 13:39:25 +00:00
df0aceb26d
add another bootclasspath check
2016-01-27 13:38:08 +00:00
ddf056cf1d
Fixups after review:
...
Fix arraycopy argument order in unused SocksHeader
Add deleted reseed cert to deletelist.txt
Fix minimum version for SSU extended options
2016-01-27 13:26:22 +00:00
kytv
ddb9777638
Add new reseed host, bump build
2016-01-25 05:09:12 +00:00
kytv
374996d8b2
merge of '7fbf2343aecc5e4d60cf076b89e7ad999f9b1091'
...
and 'e0b151c2f0595a79a9580334568d9e9c520ed956'
2016-01-25 05:08:24 +00:00
kytv
6192aa6910
Switch reseed host per email from reseed admin
2016-01-25 05:05:25 +00:00
kytv
8e47ec325d
Translation updates from TX
2016-01-25 05:00:23 +00:00
ed9d403281
ElGamal: Implement key encoding
2016-01-24 21:40:33 +00:00
f38cfcc937
SigUtil: Enhance ASN.1 parser/generator to support
...
signatures up to 64K, needed for ElG
Log and javadoc tweaks
2016-01-24 19:02:13 +00:00
649d7122a2
Add ElGamal signature implementation
...
Add ElGamal to provider
doesn't work yet,
needs key encoding/decoding and SigUtil support for longer signatures
2016-01-24 16:45:54 +00:00
ad2561125e
final all the crypto classes
2016-01-24 16:37:21 +00:00
403044fc6c
DSAEngine: minor cleanup
...
ElG KeyFactory: Use getParameters() instead of getParams()
to get the correct class back
SigUtil:
Use split() in sigBytesToASN1();
new public ASN1 methods
Javadoc, args checking
2016-01-24 13:28:03 +00:00
e7081491ca
Fix unit tests I broke
2016-01-23 17:58:16 +00:00
594abdee55
merge of '8511dd159fa291cbf15fc0ea8bde4b331ed44534'
...
and 'd577249d0bf080d821db013df9a945dd87217a09'
2016-01-23 17:17:40 +00:00
c9063f9d9b
KeyFactory and KeyPairGenerator for ElGamal.
...
Stub out decoding key constructors.
2016-01-23 17:12:47 +00:00
e276febf0a
private, final
2016-01-23 14:57:42 +00:00
592f2449d2
ElGamal classes, from Bouncy Castle 1.53, for I2PProvider.
...
License: BSD
Encoding/decoding/sigs: todo.
2016-01-23 14:51:52 +00:00
kytv
d08f29d7d6
geoip updates (05-Jan-2016)
2016-01-23 08:30:57 +00:00
kytv
4342aa6bce
Fix erroneous test for equality
2016-01-23 08:28:02 +00:00
207bfb44f2
Add identicons to sybil page.
2016-01-22 22:53:16 +00:00
726adaf2bb
Add identicons to i2ptunnel address helper conflict page.
...
Clean up text on the conflict page for readability.
2016-01-22 22:26:46 +00:00
d16db7b56c
Display qr and id images on susidns details page
...
Don't trim whitespace, messes up title
2016-01-22 20:41:56 +00:00
c4ea50f06d
fix mtn-ignore skipping build.xml files
2016-01-22 20:12:40 +00:00
5004626d7a
Add top-level imagegen to build, javadoc, and licenses
...
Fix zxing build from top
2016-01-22 20:11:58 +00:00
48d32943b2
Add random art class, translated to Java from randomart.c in gnutls,
...
which is BSD licensed.
Heavily modified to add UTF box chars, colors, and HTML options.
Work in progress.
Add random art servlet to the imagegen webapp.
Heavily modified from the example in the identicon package,
which is MIT licensed.
2016-01-22 19:32:13 +00:00
49d8235661
New imagegen webapp, including
...
servlets for identicon and qr images.
Heavily modified from the example in the identicon package,
which is MIT licensed.
2016-01-22 19:25:33 +00:00
21e2600c40
zxing: Add build.xml and i2p notes
2016-01-22 19:04:49 +00:00
bdd6066fc3
Partial zxing package
...
This is a small portion of zxing, including only what's required
to generate QR codes.
Pulled from https://github.com/zxing/zxing on Jan. 4, 2016,
rev 4e3abafe3008e02695f894eccf05f8257fca4ee9 dated Dec. 9, 2015.
Contains only the files we need.
Unmodified.
License: Apache 2.0
2016-01-22 19:03:06 +00:00
04d7c9dfb4
identicon:
...
Add build.xml
Add i2p notes
Remove commons-logging dependency
2016-01-22 18:55:46 +00:00
cc21de3fee
Partial Identicon package
...
Pulled from https://github.com/PauloMigAlmeida/identicon on Jan. 4, 2016,
rev 96902d3c7c9733d9da4cce9c5ed424557fc2ec3c dated April 10, 2015.
Contains only the files we need.
Unmodified, changes to follow.
License: MIT
2016-01-22 18:52:47 +00:00
cf3accb181
Random: Reduce number of PRNG buffers
2016-01-22 16:43:29 +00:00
a4f75d7b32
Random: Don't bother trying to seed from /dev/urandom on Windows
2016-01-22 16:04:43 +00:00
9cdd0fc829
Crypto: Fix privkey encoding to follow PKCS8,
...
ignore example in josefsson draft,
required for keytool to work.
Fix pubkey decode typo.
(ticket #1723 )
2016-01-21 21:38:26 +00:00
f29ed21090
Crypto: Add OID aliases to provider,
...
required for keytool to work
(ticket #1723 )
not working yet, need to fix privkey encoding
2016-01-21 19:06:54 +00:00
cd5db63286
Crypto: Add I2PProvider,
...
pass provider args to keytool,
add EdDSA keygen support
(ticket #1723 )
not working yet, need sig support
2016-01-21 15:36:54 +00:00
5074002327
Crypto: Implement EdDSA key decoding
...
following the draft at
https://tools.ietf.org/html/draft-josefsson-pkix-eddsa-04
(ticket #1723 )
2016-01-21 14:43:23 +00:00
9067dedcc2
tweak family key explanatory text and file name
2016-01-21 13:34:45 +00:00
179a4a2e56
Crypto: Implement EdDSA key getEncoded()
...
following the draft at
https://tools.ietf.org/html/draft-josefsson-pkix-eddsa-04
(ticket #1723 )
2016-01-21 13:27:33 +00:00
8243b6922d
Jetty: Add gzip filter to eepsite Jetty (new installs only)
2016-01-20 22:40:11 +00:00
ec27458393
SusiDNS: Replace image (ticket #1301 )
2016-01-20 22:37:32 +00:00
2007e881e5
Crypto: New utils to support private key import/export
...
Console: New /configfamily, /exportfamily
2016-01-20 21:05:26 +00:00
d82591ae70
add icon to button
2016-01-20 20:42:01 +00:00
9d5e8dd785
make network ID configurable for testing
2016-01-20 16:44:40 +00:00
07e85e095d
propagate from branch 'i2p.i2p' (head 45c85fec6458cd0d1a6a6fa2d34b10ee2b9f215c)
...
to branch 'i2p.i2p.zzz.test2' (head 3ee9968e19867bebb063a98da1184ff4426626cd)
2016-01-19 01:13:09 +00:00
9bb1a00325
ArraySet implementation
2016-01-19 01:12:51 +00:00
f0dc76983a
BuildHandler: Disable removal of tunnel on next-hop timeout,
...
as it isn't reliable
cleanup and log tweaks
2016-01-17 19:22:55 +00:00
71c4505617
add locale note
2016-01-16 17:37:39 +00:00
acfb0a1e3b
add opendocument mime types
...
source: https://en.wikipedia.org/wiki/OpenDocument_technical_specification
2016-01-15 16:14:06 +00:00
ff66d9db67
Fix mime type for svg in themes directory
2016-01-15 15:24:40 +00:00
6edd2b97b9
add zh_TW translation
2016-01-15 00:04:04 +00:00
cdfd4ca2f4
Move CachedIteratorArrayList from core to router
2016-01-14 13:54:53 +00:00
308c9da384
remove unused stats
2016-01-14 13:51:42 +00:00
ca00ea7a76
Fortuna: Add getByte() method
2016-01-13 16:11:39 +00:00
e2b7f504b0
add i2p-dev family cert
2016-01-13 16:03:56 +00:00
20547238fc
javadoc
2016-01-13 16:03:14 +00:00
9caddc166b
SSU: Don't early-disconnect if we are introducing
2016-01-13 16:02:13 +00:00
c546b283fd
BuildHandler: More early-disconnect cases
2016-01-13 16:01:13 +00:00
c8197b8181
Tunnels: Fix build request Bloom filter (ticket #1746 )
...
Change from 60s DHS to 60m DBF
Use reply key as filter key, not first part of
encrypted data, to match the specs and hopefully reduce dups
BuildMessageProcessor cleanups
log and stat tweaks
remove deprecated methods
remove some timing measurements
javadocs
2016-01-10 21:22:22 +00:00
35739289cd
Console: Fixed summary bar overflow (ticket #1739 )
2016-01-07 14:16:14 +00:00
68d8c6e556
NetDB: Don't query floodfills if they are too old to
...
support sig types or encrypted replies (ticket #1742 )
2016-01-06 19:38:26 +00:00
f85d03085b
Build: Remove big geoip files from release again
2016-01-06 17:57:06 +00:00
6917203530
DataHelper: Optimize checks in storeProps()
2016-01-06 17:54:05 +00:00
144f54eb8c
Console: Properly register listen hosts with PortMapper
...
I2PTunnel: Fixup console links in error pages if console is
on a non-standard host or port, or on https
PortMapper: Add method to convert wildcard host to actual host
2016-01-06 17:50:06 +00:00
46af643ca8
Change default source logging from b64 to b32.
...
To change back to b64, add the following to the RequestLogImpl
section of jetty.xml:
<Set name="b64">true</Set>
2016-01-06 17:45:35 +00:00
ee1852f3a4
initialization cleanup and finals
2016-01-03 17:22:03 +00:00
a141d50902
Refactor Session classes out of SAMv3Handler to their own files
2016-01-03 16:56:44 +00:00
ab5d4b59fd
Cleanup to combine checking and removing a property
2016-01-03 15:48:43 +00:00
3dbc8408f1
propagate from branch 'i2p.i2p' (head 833ef88c125ba48423bc704701303ba55858336f)
...
to branch 'i2p.i2p.zzz.sam' (head 7814184e3e7cb4b819a0d7b4ceeda5befbe536c3)
2016-01-03 13:51:03 +00:00
08a9a01bfb
bump to 3.3
2016-01-03 13:50:37 +00:00
2698076fb6
distrust Comodo UTN cert
2015-12-23 11:55:44 +00:00
2f09389ddd
netdb minor cleanups
2015-12-23 10:59:53 +00:00
8da3257856
cache new family options
2015-12-23 10:50:46 +00:00
a4546e1045
SSU: Hand all messages pending after establishment to the
...
outbound queue at once, for efficiency.
This allows more aggressive combining of fragments in packets,
and ensures the priority queue works as designed.
Don't sort outbound messages by size, keep priority order instead.
Log tweaks
2015-12-21 17:19:40 +00:00
3bce2f5d46
SSU: Fix sent msg count, broken in last checkin
...
Increase sent threshold from 1 to 2 for mayDisconnect(),
because we send both our RI and a DeliveryStatusMessage
Log tweak
2015-12-21 14:15:40 +00:00
z3r0fox
074c5aa16c
merge of '22cebc21c21e3a101e03165f26a5e9fddc3648da'
...
and 'e210f94f3d17359b39a6b24f2a5e1221a86abfd0'
2015-12-20 21:07:16 +00:00
879b70617b
Family: Discard old key property so the separator change will happen
2015-12-20 15:24:35 +00:00
cad0ab17dc
SSU: Fix received msg count, broken in last checkin
2015-12-20 15:23:00 +00:00
4250f78ddf
javadoc fix, bump
2015-12-20 14:33:24 +00:00
cc4bf8ea16
CertUtil: Add methods to export private keys
...
Unused so far, to be used for family key
2015-12-20 14:28:44 +00:00
05b40a220d
Sybil tool tweaks
2015-12-20 14:23:59 +00:00
64f5c662fa
synch
2015-12-20 14:20:28 +00:00
e9146ebc77
Family: change separator from ';' to ':'
2015-12-20 14:17:42 +00:00
d5990cc0f2
Transports: Add mayDisconnect() advisory which says we
...
don't expect more messages on this connection; use for BuildHandler
Rename some dest arguments to peer for clarity
UDP: Display messages, not packets, sent/rcvd on /peers
Don't count duplicates in received message count
Count sent messages when sent, not acked
Move some PeerState counters from longs to ints to save space
2015-12-20 14:15:48 +00:00
z3r0fox
b6bd497e52
Replaces instances of getBytes() in apps classes
2015-12-20 02:11:42 +00:00
z3r0fox
2246e21340
Replaces instances of getBytes() in router classes
2015-12-20 01:26:33 +00:00
z3r0fox
c60f3970d1
Replaces instances of getBytes() in core classes
2015-12-20 01:18:38 +00:00
0b94d866f0
BuildHandler: Improve handling of null 'from' value
...
when not IBGW (ticket #1738 )
2015-12-19 22:17:33 +00:00
fa6643c5a2
Sybil tool: Fix NPE
...
Add old version points
Add lookup fail rate points
2015-12-19 22:06:00 +00:00
d0eaf4d899
BuildHandler: Fix NPE (ticket #1738 )
2015-12-18 15:44:11 +00:00
c59496f30f
Console: Consolidate "checked" code
2015-12-18 14:43:31 +00:00
8226e92973
Profiles: Don't use same family in a tunnel
...
Reduce IPv6 mask from 8 to 6
2015-12-16 14:37:40 +00:00
af26f73f99
Sybil tool tweaks
2015-12-16 14:34:05 +00:00
95946606ef
log tweak, bump
2015-12-13 17:35:00 +00:00
3c5f9d0bc3
RouterInfo: Optimize writing to avoid extra copy;
...
eliminate caching previously enabled for routers with high memory limits
Log tweak on sig verify fail
DataHelper.writeLong() to write(byte) conversion
DatabaseEntry: Remove deprecated, unused setRoutingKey()
2015-12-13 16:48:04 +00:00
2155347e4f
another writeLong
2015-12-13 16:41:35 +00:00
db86850d15
Addresses: Catch a rare (Windows only? IPv6 only?) error
...
when enumerating network interfaces
2015-12-13 16:40:42 +00:00
97ae1e5034
Cleanup: Don't use DataHelper.writeLong() for a single byte
2015-12-13 16:38:06 +00:00
fee755bdb7
Show family cert on /certs; fix HTML
2015-12-13 02:42:12 +00:00
4fe24790fd
RouterInfo: Log the full RI, not the hash of the data
...
(which is useless) on signature verification fail,
in an attempt to find the culprit
2015-12-12 23:14:39 +00:00
68ecd82755
minor cleanup
2015-12-12 14:55:08 +00:00
2c1b9c2d37
Javadoc fixes
...
Better OCMOSJ Javadocs
2015-12-12 14:31:52 +00:00
cddc1b362e
Another deadlock fix: remove sync in Router.isHidden()
2015-12-12 13:21:29 +00:00
89bdbedc0f
Sybil: Add start of profile analysis, use for first-heard-about time
...
Increase pair-distance threat points
2015-12-12 12:43:22 +00:00
3a4e82f025
Family: Publish pubkey in RI; use it to verify if no cert available
2015-12-12 12:14:51 +00:00
c8aca62d03
Crypto: Blacklist Verisign G1 roots
...
match by CN or OU
2015-12-11 22:36:40 +00:00
8b9bcbc777
SSU: Fix outbound IPv6 errors on Windows without a real v6 address
...
when explict host is set. Validate addresses before confirming that
we have an IPv6 address. Possibly related to ticket #1538 .
javadocs
2015-12-11 17:14:45 +00:00
00d6a49653
Router: Don't let context clock shifts affect calculated uptime
2015-12-11 17:11:16 +00:00
ea9c4a1957
Router, naming, I2CP: Increase lookup cache max sizes (except on Android),
...
reduce max lookup depth, and increase non-floodfill profile bonus
to attempt to reduce load on floodfills
2015-12-11 15:40:11 +00:00
7680ecbdc4
Transport: More deadlock prevention (ticket #1722 )
2015-12-11 15:28:39 +00:00
00a5d19534
Limit wait for NTP to 45 seconds (ticket #1725 )
2015-12-11 15:16:16 +00:00
2d1ac7b266
Wrapper: Listen for Windows Service shutdown events and shutdown router hard.
...
As a result, event log will now show "shutdown" instead of "crashed".
2015-12-11 15:13:40 +00:00
2852383e4e
Router: Fix family verification after testing, partially hook into netdb store()
...
Always use our pubkey to verify our family
Rework caching strategy
2015-12-11 15:10:08 +00:00
393b593785
Logs: Windows line ending fixes for event log and duplicate message in router log
2015-12-11 15:06:22 +00:00
32df925fa6
More Sybil tool tweaks
2015-12-10 13:09:33 +00:00
9b2bbe03ee
dont put HTML in Android router logs
2015-12-10 13:07:40 +00:00
7e872088d0
Router:
...
- Change addCapabilities() to getCapabilities()
- Add netdb family sign/verify utility (ticket #1510 )
(verify not yet used)
RouterInfo:
- Remove addCapability() and delCapability()
StatPublisher:
- Remove Service interface, not required
- Consolidate getCapabilities() and network ID here
- Add family signatures
- Remove unused coreVersion and stat_uptime (as of 0.9.24)
2015-12-10 13:03:49 +00:00
str4d
77a6db1cab
Updated history after prop
2015-12-08 05:32:27 +00:00
str4d
bb56a11bda
propagate from branch 'i2p.i2p.unittests' (head 53586f73fb813f519cdb6a1f7b1b40efec2e35dc)
...
to branch 'i2p.i2p' (head 628a2c591ca44095e2f93acd026046d4512cf692)
2015-12-08 05:27:03 +00:00
7ea2be387e
Better exception message, so it's in the router log
2015-12-08 02:13:31 +00:00
81cb62fda7
Sybil tool tweaks and enhancements
2015-12-08 02:09:10 +00:00
8b42896cc6
Crypto: Consolidate certificate import methods
2015-12-08 02:07:38 +00:00
kytv
9ba5ad7bb1
Remove 'l' from example apparmor profile
2015-12-06 17:47:22 +00:00
kytv
f7ede4bf6f
Update timestamp
2015-12-06 17:45:31 +00:00
kytv
64f2318720
update debian changelog: new pkg uploaded
2015-12-06 17:43:27 +00:00
kytv
34202e6c4e
debian: refresh patch
2015-12-06 17:43:07 +00:00
af8b8ecddd
Startup: Increase rekey probability again
2015-12-06 17:35:31 +00:00
0558bc41a3
Add wrapper deadlock detection to default wrapper.config
2015-12-06 17:33:44 +00:00
d45dc8d0f3
NetDb: Stub out a "family" indicator (ticket #1510 )
2015-12-06 16:52:27 +00:00
b6e8431bce
Console: Don't force profile creation when loading floodfill tab
...
Don't show negative times
Sybil tool: tweaks
TunnelRenderer: minor cleanup
2015-12-06 16:47:34 +00:00
826bb54984
minor cleanup
2015-12-06 16:30:46 +00:00
fdc160cf1d
Utils: Move new getSystemTimeZone() from DataHelper to SystemVersion,
...
which is a better place for it.
2015-12-06 16:28:14 +00:00
kytv
5a7fc3f7f4
Update debian changelog
2015-12-06 14:16:43 +00:00
kytv
a35ecda992
Debian: java6 can no longer fulfill the requirements
2015-12-06 03:08:23 +00:00
kytv
89e60fa8c5
sync debian/changelog
2015-12-06 03:05:42 +00:00
kytv
6e2e4ca6d8
allow writing to /tmp/imageio*, needed on some systems to display graphs
2015-12-06 03:03:01 +00:00
kytv
eaae06028e
remove 'l' from debian apparmor profiles
2015-12-06 03:01:31 +00:00
997ef73d50
Sybil tool: Test tomorrow's routing keys also
...
Add netdb stats output
Add avg. ff distance output
Increase penalty for proximity to our keys
Reduce number of RIs output
2015-12-05 13:50:00 +00:00
ff4d575196
Profiles:
...
- Change doubles to floats to save memory
- Move fields to top
Sybil tool: Tweaks
2015-12-04 21:25:25 +00:00
68c312139e
Console: Fix NPE on /profiles
...
Profiles:
- Fix first heard about to be earliest, undeprecate
- Fixup first heard about at profile readin
- Persist good/bad lookup/store DBHistory stats added in 0.7.8
- Remove unused DBHistory methods and fields to save memory
- Change bonus longs to ints to save memory
- Extend profile expiration time from 3 days to 15
- Consolidate getLong()
- Synch fixes
Sybil tool: Tweaks and enhancements
2015-12-04 20:35:38 +00:00
cab69f6583
NetDb: Fix deadlock (ticket #1722 )
2015-12-03 18:07:29 +00:00
5bd0041f8b
Console: Add experimental Sybil analysis tool
...
requires routerconsole.advanced=true
2015-12-03 17:44:15 +00:00
kytv
53ae4125e5
Add time-sync to the systemd unit created by i2prouter install ( #1578 )
2015-12-02 19:51:00 +00:00
b53fe37a30
SAM:
...
- Don't map keys to upper case in parser, corrupts I2CP options
- Register SSL and UDP ports with PortMapper
2015-12-01 20:14:09 +00:00
348805f012
i2psnark:
...
- Consolidate default tunnel length definition
- Increase max peers and uploaders per torrent
- Increase default max total uploaders
- Increase max peers sent and returned in DHT
2015-12-01 20:12:31 +00:00
72527f4d33
SSU: Allow IP and port in relay request if it matches the source
2015-12-01 20:11:07 +00:00
dfbbe3e928
Transport: Interrupt DH refiller thread when pool is empty,
...
to speed refilling and reduce pumper stalls
Reduces empties by 10x
2015-12-01 20:09:22 +00:00
f778c23f0b
SAM: Timeout for first command after HELLO
...
Better removal of command and opcode from properties
Send error message if no NAME key in LOOKUP
2015-11-30 21:57:55 +00:00
3c8cc16273
SAM: Use the Destination cache
...
Comment out some unused methods
SAM client: Add SSL forward support
Handle header line in forwarded stream
Name some threads, number some others
2015-11-30 20:20:55 +00:00
kytv
1c1511267d
after extended downtime, disabling https://i2pseed.zarrenspry.info/ as a reseed host
2015-11-30 19:08:50 +00:00
55f729986b
properly set protocol value
2015-11-29 16:23:22 +00:00
23df322056
i2ptunnel:
...
Change preferred sig type to Ed
Set permissions on backup tunnel keys file
2015-11-29 15:11:07 +00:00
d5717ca12d
javadoc
2015-11-29 14:52:08 +00:00
74fac4b1d8
i2psnark: BEP 21 support (upload_only)
2015-11-29 00:19:48 +00:00
a5a702744f
Parser: Allow '=' in values
2015-11-28 23:21:20 +00:00
1db7613519
one more UTF8 fix
2015-11-28 22:51:00 +00:00
68b4ad2238
declare 3.2 complete, bump -5
2015-11-28 21:45:36 +00:00
513e1b9ff8
SAM: Handle UTF-8 in ReadLine (ticket #1488 )
...
Allow forever timeout in ReadLine
Use ReadLine in v1 and v3 handlers
Fix send client closing too fast in v1 stream mode
UTF-8 test and fixes in clients
2015-11-28 21:25:44 +00:00
dffd441304
SAM: Allow backslash escapes in parser (tickets #1325 , #1488 )
...
remove unneeded escape char in other parsers
2015-11-28 18:53:40 +00:00
87fa1cb1ac
SAM: Fix parser to allow spaces in quoted values (tickets #1325 , #1488 )
...
Map keys to upper case
Catch some other parse errors
2015-11-28 18:28:15 +00:00
38c8e017a8
i2psnark: Increase max pieces to 32K
2015-11-28 13:01:00 +00:00
7b83e23269
HTML fix
2015-11-28 12:56:57 +00:00
415b51bc49
i2psnark: Fix NPE caused by URL-to-URI conversion in -2 (ticket #1715 )
...
Fix some other similar places
2015-11-28 12:54:41 +00:00
a03339b120
SAM:
...
- Use DataHelper to load/store sam.keys
- Move sam.keys file to config dir (ticket #677 )
2015-11-27 22:39:19 +00:00
b1668bbc11
Fixup after prop, history, bump -3
2015-11-27 21:10:10 +00:00
9ce8fced02
propagate from branch 'i2p.i2p.zzz.sam' (head b328f0edb961263d7606ea964ecb3f7c319ca1cf)
...
to branch 'i2p.i2p' (head 7b4c0525be182722ef2cc7b564691f27d997da3b)
2015-11-27 20:58:18 +00:00
01d23713af
test javadoc
2015-11-27 20:49:34 +00:00
2849aec3c2
Add v3 FORWARD support to sink
2015-11-27 20:34:11 +00:00
cb979fb685
Allow multiple simultaneous ACCEPT sockets.
...
Add support for parallel accepts in sink client
2015-11-27 19:39:32 +00:00
bafec18093
stub out send-with-options
2015-11-27 18:51:59 +00:00
5adbf9050a
Forwarded raw datagrams will include a header line if HEADER=true
...
Add support for raw with headers to sink client
2015-11-27 18:23:06 +00:00
3a25a91c33
log tweak
2015-11-27 17:36:42 +00:00
0519ea476e
Add v3 datagram and raw to sink
2015-11-27 17:34:36 +00:00
48d7f4969c
Fix PROTOCOL parsing
...
Add PROTOCOL test for raw sessions to send client
2015-11-27 16:20:49 +00:00
ed1567e9f7
short test instructions
2015-11-27 16:05:46 +00:00
9f625a03fb
Fix protocol for V3 datagram and raw sessions
...
Add V3 datagram and raw sessions to send client
minor cleanups
2015-11-27 15:59:42 +00:00
e77c5bd05c
add session options
2015-11-27 13:44:07 +00:00
31ace20256
auth and ssl support
2015-11-27 00:46:45 +00:00
4291450f37
make method private
...
fix timeout message
add client sink pinger
2015-11-26 23:30:18 +00:00
6373c8a9ed
v1 datagram and raw support for sink
2015-11-26 21:39:18 +00:00
bd048b04cc
Fix ReadLine bug that buffered and lost input;
...
can't handle UTF-8 for now.
Start support of datagrams and raw in the client
2015-11-26 20:55:10 +00:00
b9ab933550
client getopt
2015-11-26 18:31:17 +00:00
626f5415c7
add FROM_PORT and TO_PORT to client
2015-11-26 17:00:32 +00:00
9367aca50a
Notes on STREAM STATUS messages when SILENT=true
...
Fix one message for STREAM CONNECT that wasn't honoring SILENT setting
PING failure sends a SESSION STATUS message
Implement ping/pong in client
Delay at end of client send so data gets through in v3 mode
log tweaks
Exception catch tweaks
2015-11-26 16:40:45 +00:00
e5f186f61a
fix stopping of reader
2015-11-26 15:02:47 +00:00
807e5bf966
v3 sink working
2015-11-26 14:14:17 +00:00
8d7edaae61
Block DSDTestProvider CA cert
2015-11-26 12:54:37 +00:00
868e5e988c
More v3 support
...
Convert IDs from ints to Strings
Wait for STREAM STATUS
Open 2nd socket for sender
v3 sender working
2015-11-25 22:59:41 +00:00
612e01cbbf
More SAM client cleanup and fixes, beginning of v3 support
...
v3 unfinished, does not work yet
2015-11-25 20:46:21 +00:00
13fd613bb8
more client test enhancements
2015-11-25 17:27:37 +00:00
6b67a70bbd
update @since
2015-11-25 16:54:44 +00:00
6934599eed
log tweak
2015-11-25 16:48:44 +00:00
730dea377a
Streaming: Fix recognition of PoisonPacket in ConnectionHandler
2015-11-25 16:48:25 +00:00
5d07294cc6
require Java 7 in installer
2015-11-25 15:12:54 +00:00
6081856dd1
client demo cleanup
2015-11-25 14:48:43 +00:00
92bb2dbda7
Block CNNIC roots also.
...
Only log once.
2015-11-24 17:18:26 +00:00
5c4189abdf
KeyStoreUtil: Implement system cert blacklist
...
Fix creation of empty keystore
test enhancements
2015-11-24 15:23:13 +00:00
2400a77e25
Remove unused USE_FAKE_CRYPTO
2015-11-23 19:49:56 +00:00
110a0a1b7a
Remove singleton SAMv3DatagramServer; hang off of SAMBridge
...
SAMv3DatagramSession whitespace fixes
@since change to 0.9.24
2015-11-23 18:19:17 +00:00
302ec7767a
Console: Don't show null port in error message (ticket #1712 )
...
History for prop, -2
2015-11-22 16:44:26 +00:00
1215a70aab
propagate from branch 'i2p.i2p.zzz.test2' (head 8fa44268a1dd2b7baaf01806e6994281ab031870)
...
to branch 'i2p.i2p' (head 44afdaa15ce8a95c112c7d58a5908f401c1a0145)
2015-11-22 16:00:16 +00:00
ce96234fdb
SSU ext. options:
...
- don't ask for intro if he is indirect
- ask for intro if our state is unknown
- debug logging
- change min to 0.9.23 for testing
2015-11-21 19:45:54 +00:00
9a9832cb77
Console: Fix escaping of plugin description on /configclients (ticket #1711 )
2015-11-21 17:39:10 +00:00
d30c1ec319
EepGet: Fixes after URL to URI conversion
2015-11-21 17:37:56 +00:00
7649132259
OCMOSJ: One more place attempting to update our own profile
2015-11-21 14:33:22 +00:00
str4d
9efb3c8751
Blockquote formatting part 3
2015-11-21 02:10:12 +00:00
str4d
07c9ddb38f
Blockquote formatting part 2
2015-11-21 01:05:07 +00:00
str4d
be498eaab8
Blockquote formatting
2015-11-20 23:48:55 +00:00
str4d
9e8597aa05
Update checklist
2015-11-20 23:24:10 +00:00
str4d
5b4a4f6c84
Comment out update.postman.i2p because of lost key
2015-11-20 10:53:01 +00:00
a468b3e8b4
Build: Remove commons-logging classes from commons-logging.jar (ticket #1679 )
2015-11-19 18:56:49 +00:00
c7d68c2a6c
Require Java 7 for SAM
...
separate option javac.compilerargs7 for Java 7
2015-11-19 17:48:56 +00:00
16549aa49a
Update text docs for Java 7
2015-11-19 17:11:26 +00:00
b59a8027bb
Update: Disable sud/su2 updates (ticket #1709 )
...
Add constraints for no Pack200 support and no certs
2015-11-19 15:40:05 +00:00
8d9d3fcf95
SSU: Add option to disable extended options
...
Fix max payload type
2015-11-19 14:15:28 +00:00
str4d
1a7bf2a0c3
Rewrite release checklist in Markdown
2015-11-19 10:21:07 +00:00
str4d
bb8e6127d3
Add test plan to release checklist
2015-11-19 07:52:55 +00:00
str4d
13987b7d50
Release checklist tweaks
2015-11-19 07:52:30 +00:00
str4d
dfb8830802
0.9.23
2015-11-19 00:31:15 +00:00
str4d
9483e095d9
build.xml: Stop building SUD and SU2 update files in "ant release" (ticket #1709 )
2015-11-19 00:30:22 +00:00
46f42432a2
BOB: change default tunnel length to 3 (ticket #1707 )
2015-11-18 22:05:47 +00:00
599989deba
comment re: SSU timestamps
2015-11-18 20:04:45 +00:00
1e89fac192
SSU: Add support for requesting a relay tag via
...
Session Request extended options (ticket #1465 )
2015-11-18 18:12:23 +00:00
4c72c08d65
i2psnark: Add skipped length on details page
...
reorder some logging
volatile
2015-11-18 13:43:14 +00:00
679fe9b044
more release checks
2015-11-17 14:51:32 +00:00
6fb0692d57
Centralize time zone code in DataHelper
...
NewsManager should be a ClientApp, not a RouterApp
2015-11-16 20:04:15 +00:00
38a1a96db2
revert JobTiming being a clock shift listener, not needed
2015-11-16 19:57:38 +00:00
str4d
bbaa6f7f87
Tweaks after review
2015-11-16 19:32:00 +00:00
kytv
046ef07efd
-29-rc
2015-11-15 19:12:53 +00:00
kytv
fc7939b404
Translation updates
2015-11-15 19:12:05 +00:00
kytv
dd6a3f14ec
geoip updates based on Maxmind GeoLite Country database from 2015-11-03.
2015-11-15 19:07:08 +00:00
99c9b30e49
another installer build fix
2015-11-14 13:22:35 +00:00
f5ae9c23fe
fix installer tools compile
2015-11-14 02:50:08 +00:00
23cb4ca764
ditto
2015-11-14 02:07:28 +00:00
231040ddd8
Profiles: Don't allow creation of our own profile
...
TunnelCreatorConfig:
- locking
- comment out unused code
- don't set bandwidth stats in profile for ourselves
TunnelDispatcher:
- don't set tunnel stats in profile for ourselves
BuildHandler, TunnelPool: Minor optimizations
2015-11-14 02:07:01 +00:00
zab2
7a75e2e662
up version for interrupt()
2015-11-13 23:32:55 +00:00
zab2
e6644236ed
Interrupt when cancelling events
2015-11-13 23:28:02 +00:00
8a1f02aa89
Console: Fix lifetime participating bandwidth display (ticket #1706 )
...
Add locking to HopConfig counts
Split participatingMessageCount stat into two stats,
participatingMessageCountAvgPerTunnel for throttle (same as old participatingMessagecount)
and participatingMessageCount for console (straight total)
Fix calculation of stat for throttle by adjusting for new
stat coalesce time (50 not 20 seconds)
2015-11-13 21:18:21 +00:00
ded249dd3d
add systray dependency tracking to build
2015-11-12 21:00:46 +00:00
a028bba997
Console: Fix filtering and escaping on /configclients
...
Fix autostart setting on new client, was inverted
2015-11-12 20:39:58 +00:00
c609781927
fix compile
2015-11-12 20:02:11 +00:00
51c5da3f72
lint: don't catch Exception, catch RuntimeException or checked exception.
...
omits SAM, BOB, reflection, commented-out code, and a few other places
2015-11-12 18:49:13 +00:00
37a4fcb469
i2psnark: Minor details page reformatting
2015-11-12 16:02:01 +00:00
kytv
e93e76a362
Remove netdb.rows.io and its associated certs
...
The DNS record for the subdomain was removed about a month ago.
2015-11-11 16:36:32 +00:00
c1afbd37d7
SSU: Version check to send extended options
2015-11-11 13:48:38 +00:00
3fa2fb4c8d
Timers: State fix 4th try (tickets #1694 , #1705 )
...
log tweaks
2015-11-11 13:38:24 +00:00
ffddf415c0
snark add .cue mime type
2015-11-11 13:23:04 +00:00
03a99adaab
snark increase max pieces
2015-11-11 13:22:35 +00:00
48f294024c
snark log tweak
2015-11-11 13:20:42 +00:00
zab2
123b4ca460
Fix locking on _nextExpire field
2015-11-09 17:48:19 +00:00
zab2
c944fcce96
log if we can't cancel the future
2015-11-09 17:44:54 +00:00
1451dc6ece
More: Don't use DataHelper.readLong() for 1-byte reads, for efficiency
2015-11-08 20:43:42 +00:00
1aed266f70
Consolidate increments of offset, for efficiency
2015-11-08 19:17:32 +00:00
e120a8a3a3
Don't use DataHelper.readLong() for 1-byte reads, for efficiency
2015-11-08 18:49:05 +00:00
a3e16614ae
SSU: Prep for extended options
2015-11-08 18:30:51 +00:00
bdde11c0ef
Fix NPE from URL->URI conversion
...
new URL(null) throws MUE
new URI(null) throws NPE
2015-11-08 18:14:42 +00:00
63ddf11799
use float for efficiency
2015-11-08 18:14:19 +00:00
a3b55ccdea
cleanup
2015-11-08 16:43:49 +00:00
8e77188560
Replace URL with URI where possible
...
URL bad for anon and has traps like equals()
2015-11-07 22:38:05 +00:00
1e5a35c7f8
Use new split()
2015-11-07 17:45:48 +00:00
83b923151c
propagate from branch 'i2p.i2p' (head e2aa08a93036bcf0d846b8ff67e9cb74de3e4d0f)
...
to branch 'i2p.i2p.zzz.test2' (head b3d23ed369ba339b9a71dfeb205110458df9ec0d)
2015-11-07 17:08:39 +00:00
e4ebb9a77d
Utils: Add caching string split()
2015-11-07 17:08:27 +00:00
077c4a073f
replaceAll -> replace
2015-11-07 12:47:31 +00:00
f5bf4ec8ea
escape referer
2015-11-07 12:06:56 +00:00
zab2
c901010d96
Make parameters of NegativeLookupCache configurable
2015-11-07 02:56:59 +00:00
zab2
9f0f1f5ec8
Make more ISJ parameters configurable
2015-11-07 02:46:33 +00:00
zab2
7175b1cdb9
Make the search limit configurable
2015-11-07 02:22:17 +00:00
zab2
ca4642e0f0
Reduce the memory footprint of Rate objects by changing longs to ints and doubles to floats
2015-11-06 20:19:43 +00:00
zab2
6bb156a436
Do not expose ISJ lock
2015-11-06 19:01:44 +00:00
19090343ba
add more links in README
2015-11-06 14:16:25 +00:00
b15138dd67
i2pwiki.i2p icon
...
license: creative commons
2015-11-06 01:42:43 +00:00
5f50f23fe1
Streaming: Split blacklist into one for EC and one for Ed
2015-11-05 21:37:21 +00:00
d5e2defb5f
synch fix
2015-11-05 21:34:47 +00:00
c1d77dfe5c
I2CP: Fix additional connections getting rejected during tunnel open (ticket #1650 )
...
State change cleanups
State checking consolidation
2015-11-05 21:18:01 +00:00
eca234c187
i2ptunnel: Add longer tunnel options in advanced mode
2015-11-05 20:24:12 +00:00
1a6074a62b
Add lenta.i2p icon, public domain
2015-11-05 17:09:52 +00:00
zab2
9baeedbc27
merge of '380c87670c1c931cf39e93d5600c4954c6e13d1e'
...
and '4fe47402bea065caae229256d58d87e60607602a'
2015-11-04 22:22:58 +00:00
zab2
3f91e448c0
Add serialization methods to StatManager, FrequencyStat and Frequency
...
for easier collection
2015-11-04 21:41:33 +00:00
3e25ff251b
Console: Add new home page links as approved at meeting
...
exchanged.i2p icon license: WTFPL
i2pwiki.i2p and lenta.i2p: Awaiting icons that meet our requirements
2015-11-04 15:08:44 +00:00
f8830a759e
Threads: More conversions to I2PAppThread
2015-11-04 15:01:56 +00:00
b15ea8ba2f
Timers: Improve OutboundMessageRegistry locking
...
SimpleTimer2 cleanups
possible fix for ticket #1694
2015-11-04 14:57:07 +00:00
ef428d559e
merge of '7db2f97711361f598cb14aa579cb008ac8438577'
...
and 'cb9b4af48ca3c515eeddd44aefc040857a109b05'
2015-11-04 14:50:17 +00:00
z3r0fox
39d749ba16
Fixed generation of eepget target filenames for basic page URLs, URLs with query parameters, certain edge cases.
2015-11-02 17:27:04 +00:00
a3a092a454
Utils: Double IP lookup cache size (ticket #1700 )
2015-11-01 19:31:22 +00:00
787921aa89
spelling
2015-11-01 17:29:20 +00:00
bbb6da2ac6
cleanups, javadoc
2015-11-01 16:47:59 +00:00
b7dc55e326
checklist update
2015-11-01 00:45:30 +00:00
805979b987
UPnP: Fix deadlock in callbacks (ticket #1699 )
...
possibly more to do
2015-10-31 22:58:51 +00:00
c37cc7ad52
Convert remaining Threads to I2PThread or I2PAppThread
2015-10-31 19:13:57 +00:00
02c1417cc5
update ancient snark docs
2015-10-31 14:20:10 +00:00
627d0d29db
Router: Fix cascading I2CP error (ticket #1692 )
...
caused by not setting message ID.
only happens when serialized (external I2CP)
2015-10-30 16:53:45 +00:00
c595895877
i2psnark: More consistency and torrent links in messages
2015-10-21 13:22:32 +00:00
6efce31eed
Increase timer thread priority
2015-10-21 13:11:35 +00:00
f713a19785
Disable TLS_DHE_DSS_WITH_AES_128_CBC_SHA
2015-10-17 20:13:03 +00:00
abc0f4c720
lint core, console, i2ptunnel, jetty
2015-10-17 17:38:57 +00:00
71bc55b470
lint core, i2psnark, jetty, susimail
2015-10-17 16:49:37 +00:00
5f175455c7
lint console,streaming
2015-10-17 15:47:49 +00:00
9bddba56a0
lint router
2015-10-17 14:38:02 +00:00
4e6ddfcea3
lint core
2015-10-17 14:01:08 +00:00
3411a7c884
Crypto: Consolidate duplicate unlimited strength crypto check code
2015-10-17 12:55:39 +00:00
70921a2b09
i2psnark: Don't balloon files on ARM (ticket #1684 )
2015-10-16 22:17:09 +00:00
dd36176997
big fat Java 6 warning
2015-10-16 21:38:12 +00:00
fe26052189
add mime type for .mka
2015-10-16 20:54:12 +00:00
ba1488bcce
i2psnark: Add "smart sort" option, set sort based on language (tickets #637 , #1303 )
2015-10-16 19:45:23 +00:00
39b218b216
i2psnark: Fix deadlock (ticket #1432 )
2015-10-16 14:25:55 +00:00
b43417bf77
update jetty javadoc link
2015-10-15 18:59:37 +00:00
649a63db6f
Update: Fix persistence of the available dev version
...
Java 7 check at startup with persisted versions
2015-10-14 19:18:10 +00:00
6aa8ed1280
Update: Require Java 7 to download dev builds
2015-10-14 18:22:35 +00:00
9224afb78d
i2psnark: Don't show empty fields on details page
2015-10-13 21:38:19 +00:00
5e879b85a8
fix installer build
2015-10-13 19:49:18 +00:00
2c03b434e1
Startup: Delete our old RI from netDB when rekeying
2015-10-13 19:24:30 +00:00
55a6f44651
Crypto: Test for broken Gentoo ECDSA support
...
Add SystemVersion.isJava9()
2015-10-11 15:39:28 +00:00
971a2652e3
adjust date in warning
2015-10-10 19:53:34 +00:00
68aa8800b6
increase rekey probability
2015-10-10 15:45:54 +00:00
dd4d12f287
i2psnark: Increase max piece size to 16 MB, max files to 999,
...
close files faster based on file count (tickets #1626 , #1671 )
Remove dup synchs
2015-10-10 14:02:48 +00:00
7063609f05
JobQueue: Only adjust timing for negative clock shifts
2015-10-10 13:33:46 +00:00
b32c8d5fa4
NamingServices: Add support for lookups prefixed with "www."
2015-10-10 12:29:52 +00:00
str4d
843e2a8a0e
propagate from branch 'i2p.i2p' (head 4a63eba1606a8ba2448352876b4177d9e4c753a1)
...
to branch 'i2p.i2p.unittests' (head 051ea486db9f6f5a4327038827763f350369f932)
2015-10-09 10:17:03 +00:00
419d6a8e18
SimpleTimer2: Additional fix for uncaught IllegalStateException
...
affecting streaming timers (ticket #1672 )
Minor streaming cleanup
2015-10-08 13:42:31 +00:00
dg2-new
03f9df4ff0
JobQueue: Listen to clock shifts as well as clock changes (ticket #1014 ).
...
Restarter: Don't restart the JobQueue or PeerManager (ticket #1014 )/undo previous commit.
More to do.
2015-10-04 15:17:26 +00:00
f4a6cf2002
Show 'none' if no part. tunnels on /tunnels
2015-10-03 14:06:12 +00:00
f93da93cf0
Router: Minor cleanup, remove some deprecated and small methods
2015-10-02 13:45:42 +00:00
b068f9a262
Router: Don't check config files for reload on Android
2015-10-02 13:43:54 +00:00
kytv
5fa059b4a8
Adding the new reseed server hosted by our friends at TorontoCrypto. Thanks. :)
2015-09-29 19:41:01 +00:00
kytv
2f92b27446
Ticket #1596 - part 2
...
Removing 193.150.121.66 as a reseed host from the source and its certificate.
2015-09-29 19:30:13 +00:00
5d345f65a3
SusiDNS: Hide table headers and buttons if there are no search results
2015-09-28 16:58:18 +00:00
ccc8c04782
i2psnark: Support adding plain base 32 hashes
...
convert plain hashes to upper case
2015-09-28 14:52:55 +00:00
58ccfed41d
Addressbook:
...
- Use Patterns instead of replaceAll()
- Fix isValidDest() for EC/Ed dests
2015-09-28 14:50:53 +00:00
59b05d4214
Util: Speed up IP address validation by using Apache's implementation (ticket #1198 )
2015-09-27 21:54:14 +00:00
dg2-new
f46a902256
Router: Fix soft restarts for 'massive' clock jumps (over +150s or -61s) and recover from standby/hibernate (ticket #1014 ).
...
I2P should now recover (better) from a system hibernate/standby and be able to reconnect to peers automatically.
2015-09-27 21:15:51 +00:00
39b810bd79
Tunnels: Use max of 2 not-failing peers in an exploratory tunnel,
...
use high cap for the rest; change outbound exploratory
default length from 2 + 0-1 to 3+0.
2015-09-27 16:01:22 +00:00
22417715e7
javadoc
2015-09-27 15:58:47 +00:00
d21777fbc1
log tweak
2015-09-27 15:57:53 +00:00
b22a6bc163
log tweak
2015-09-27 15:57:22 +00:00
1c3527e1a4
Console:
...
- Export SSL cert on creation
- new /certs page to show local SSL certs
2015-09-27 15:56:03 +00:00
4d7ad6ef7f
Console: show 'none' if no leases
...
log timing for /netdb (ticket #1532 )
2015-09-27 15:53:37 +00:00
3ea8b477d8
Streaming: Move throttler from context timer to streaming timer
2015-09-27 15:14:18 +00:00
ea4dd12bff
SimpleTimer2:
...
- Fix bug in forceReschedule() that caused subsequent uncaught IllegalStateException;
forceReschedule() is only used by streaming timers
- Log uncaught exceptions
- Enforce 5 second minimum delay for periodic events
- atomic count
- de-wtf
2015-09-27 15:10:59 +00:00
dg2-new
a13552dd8d
Fix news (ant poupdate), typos in bundle-*
2015-09-25 21:49:47 +00:00
dg2-new
89c14c2e9a
javadoc
2015-09-25 20:21:03 +00:00
dg2-new
22b9876b68
Rename _() for translation to _t() for Java 9 compatibility (ticket #1456 )
2015-09-25 19:55:36 +00:00
04690bed9f
close before rename
2015-09-24 19:08:36 +00:00
0faa5ba2f4
i2psnark:
...
- Rename bad .torrent files instead of deleting them
- Add mime type for .xz
2015-09-24 18:28:26 +00:00
04d653a8b9
comment out main()
2015-09-21 15:21:54 +00:00
3f213cf1db
register I2CP with the PortMapper
2015-09-21 15:13:39 +00:00
53ae727935
synch fix
2015-09-21 14:54:08 +00:00
62acfc0cae
use standard error message
2015-09-21 12:35:39 +00:00
dg2-new
5a2f22b00f
history
2015-09-20 19:34:10 +00:00
dg2-new
7dd438b5f0
bump
2015-09-20 19:29:47 +00:00
dg2-new
6685b81834
/configreseed: Add 'Reset URL list' button for revert to default hosts (ticket #1554 , thanks dzirtt@gmail.com)
2015-09-20 19:28:11 +00:00
dg2-new
c56f686d8c
Fix typo.
2015-09-20 19:23:50 +00:00
b81cbedd5c
format multiplies by 100, so complete is 1.0
2015-09-20 11:08:27 +00:00
02a0ef3526
include man pages in the update
2015-09-20 00:44:51 +00:00
cfc0664756
Don't try to fetch subscriptions, news, or plugin updates while in VM Comm system
2015-09-19 19:06:07 +00:00
2a3b55f3a4
i2psnark: Add check progress output
2015-09-19 17:54:07 +00:00
287f94ad19
i2psnark: Add recheck/start/stop buttons to details page (ticket #372 )
...
remove dup CSS item
2015-09-19 17:05:09 +00:00
462c882f4e
i2psnark: Improve directory listing efficiency (ticket #1079 )
2015-09-18 22:54:32 +00:00
b8a909c4cc
Fix eepget man page (ticket #1631 )
...
retry default was changed to 0 a while ago
2015-09-18 20:43:54 +00:00
83791b2d10
i2psnark: Don't display "Tracker Error" if torrent is stopped (ticket #1654 )
2015-09-18 20:15:06 +00:00
ff420278c5
only log once
2015-09-18 20:08:40 +00:00
1a385b6dca
i2ptunnel:
...
- Pass Accept-Encoding header through HTTP client and server proxies,
to allow end-to-end compression
- Don't do transparent response compression if response
Content-Encoding indicates it is already compressed
- Minor encoding cleanups
EepGet:
- Send Accept-Encoding: gzip even when proxied
- Minor cleanups
2015-09-18 18:15:32 +00:00
64889b2bc2
Streaming: Move remaining timers from the context to streaming's SimpleTimer2;
...
these were the ones migrated from SimpleScheduler earlier
2015-09-18 14:36:49 +00:00
bfc6534b20
Don't delete torrent config file after error on initial startup (ticket #1658 )
2015-09-17 21:20:21 +00:00
84abfa0190
Store magnet parameters across restart (ticket #1485 )
2015-09-17 20:19:10 +00:00
d5a0d95c61
news appearance tweaks
2015-09-17 19:51:01 +00:00
1de840ce59
Profiles: Bias slightly away from floodfills
2015-09-16 21:07:46 +00:00
0f6176b7bf
News: Add author to entry headers
2015-09-16 17:26:03 +00:00
3d533a406d
News:
...
- Fix retrieval of entry links from feed
- Linkify entry headers
2015-09-16 16:42:24 +00:00
37597b8c7d
Build:
...
- Include geoip in update files for next release
- Add created-by string to release torrents
i2psnark:
- Store torrent added and completed times in config files, display on details page
- Display dates on details page in local time zone
- Add metainfo creation command line support for created-by string
2015-09-16 14:21:02 +00:00
addc9c5ca3
News: connect it all together (ticket #1425 ):
...
- Enable new NewsManager to load/store feed items on disk by UUID
- News items are stored forever, not lost when they are removed from feed
- News read in once at startup, not at every summary bar refresh
- Convert old initialNews.xml and news.xml to NewsEntry format
- Limit display to 2 news items in summary bar, /home and /console
- New /news page to show all news
2015-09-15 13:33:29 +00:00
a2e38503fe
News: New /news page and helper to show all news
...
WIP, not yet hooked in
2015-09-14 16:15:21 +00:00
7912d7650d
News: new NewsManager to maintain current news entries.
...
WIP, not yet hooked in.
2015-09-14 14:49:20 +00:00
6f5739b9d8
News: Store/load individual news entries as XML in separate files by UUID.
...
WIP, not yet hooked in.
2015-09-14 11:06:35 +00:00
ed3e444d1e
log tweak
2015-09-13 13:38:19 +00:00
ac1a28e988
print usage if no arg
2015-09-13 13:34:51 +00:00
7117438b04
RIP ugha
2015-09-13 13:34:10 +00:00
d5cbccf186
checklist update
2015-09-13 13:33:00 +00:00
fd606064d9
0.9.22
2015-09-12 13:55:30 +00:00
9d05424202
Router: Reduce rekey probability from 10% to 5%
2015-09-11 13:24:10 +00:00
kytv
157d494dee
bump build to -8-rc
2015-09-11 00:54:45 +00:00
kytv
fa792a9d5e
GeoIP db updates from 2015-09-02.
2015-09-11 00:54:03 +00:00
kytv
ab134261f0
Translation updates from Transifex
2015-09-11 00:53:13 +00:00
dg2-new
de2431e9ee
Fix auto-start of new .torrents in the Snark folder
2015-09-07 18:18:16 +00:00
kytv
c4cbd7d5c4
(hopefully temporarily) disable netdb.rows.io as it's been down for nearly a month.
2015-09-06 08:01:28 +00:00
e978bb81a0
checked in correct file
2015-09-05 14:02:21 +00:00
2c6edf401f
add extra to bumpBuild output after change
2015-09-04 21:15:48 +00:00
fe69d3b8f7
UPnP: Fix "content not allowed in trailing section" (tickets #481 , #1653 )
...
patch from 'kay" in #1653 , dev agreement received
2015-09-04 21:05:38 +00:00
kytv
61edd01e3d
Switch URL/certificate for backup's reseed server
2015-09-04 18:44:05 +00:00
483d7c43ee
Router: Change thread name so it truncates better (ticket #1648 )
2015-09-01 11:56:58 +00:00
7c703953be
Data: Cache P256 and Ed255i9 key certificates
...
- Enable P256 caching
- Create cached Ed25519 cert and enable
- Fix cached P256 hashcode
2015-08-31 13:25:58 +00:00
f577a94012
i2psnark: Change default sig type to Ed25519
2015-08-31 13:19:29 +00:00
b10b8581cc
Router:
...
- Change default RI sig type to Ed25519, with a 10% chance od
rekeying from DSA at each restart
- Don't initialize KeyManager before selecting sig type
- Don't log KeyManager error when changing sig type
2015-08-29 14:20:13 +00:00
601376561b
add Closeable/Flushable interfaces
2015-08-27 14:36:19 +00:00
5a11a28a35
i2psnark:
...
- Return partial piece to coordinator after reject
- Fix tracking of downloaded portion of piece after reject
- Send reject on receipt of bad request
- Mark piece unrequested after receiving bad data, so it
will be requested again, but not from the same peer
- Fix NPE in Request constructor on error
- Fix stuck before completion due to reject handling (ticket #1633 )
2015-08-24 17:30:32 +00:00
kytv
fde0ae8349
sync debian/changelog with packaged version
2015-08-02 15:06:50 +00:00
kytv
b5944045fb
sync apparmor rules with the 0.9.21 package
2015-08-02 15:04:08 +00:00
ecd0231cd0
Fix console SSL excluded ciphers (thx lazyg)
...
Fix typo in local address in I2PSSLSocketFactory
Another findbugs char encoding fix
Add keystore password option to SU3File command line
2015-08-02 12:58:00 +00:00
44b35f328b
0.9.21
2015-07-31 14:22:03 +00:00
f3bb20d750
minor updates after review
2015-07-30 20:41:45 +00:00
kytv
20cb284f9d
update geoip, bump to -23-rc
2015-07-30 17:03:46 +00:00
kytv
b4993d42b3
updated i2prouter po files (deb related)
2015-07-30 07:11:45 +00:00
kytv
9b466f3261
refresh debian patch so my automated update builds will run again
2015-07-30 06:52:18 +00:00
0bf9cb3bf2
add news cert
2015-07-28 13:55:10 +00:00
9efe60d7a8
Fix processing of translated news
2015-07-27 18:10:01 +00:00
str4d
45fe238227
Refactor SchedulerDead tests
2015-07-27 11:50:01 +00:00
str4d
e704baddd8
SchedulerDead tests
2015-07-27 08:18:46 +00:00
str4d
db9555dba3
Fix test
2015-07-27 06:49:07 +00:00
str4d
4b34b49dc1
More MessageInputStream tests
2015-07-27 06:32:53 +00:00
str4d
1652bb39e3
Fix Cobertura exclusions
2015-07-27 06:31:31 +00:00
str4d
5eda1e0031
JavaDoc paragraphs
2015-07-27 04:29:50 +00:00
str4d
b19866cbc4
Refactor part 2
2015-07-27 03:33:30 +00:00
str4d
48bcc031da
Refactor tests
2015-07-27 02:57:33 +00:00
str4d
f1998e6377
Add Mockito libs to streaming tests
2015-07-27 01:52:56 +00:00
str4d
6f1bb85397
Separate out streaming integration tests, make them optional
2015-07-27 00:58:42 +00:00
d848a19ab0
update translations, bump -20-rc
2015-07-26 14:22:33 +00:00
str4d
8dcbc9958e
I2PSocketManagerFactory tests
2015-07-26 11:55:49 +00:00
str4d
63555acd21
I2PSocketException tests
2015-07-26 09:33:11 +00:00
str4d
c451014eea
I2PSocketEepGet tests
2015-07-26 07:46:13 +00:00
str4d
9fad9347c1
Add Mockito library hooks
2015-07-26 07:45:49 +00:00
str4d
841e27f35c
Add tests for I2PSocketAddress
2015-07-25 15:09:32 +00:00
bfde521cf9
NetDB: Fix NPE (ticket #1619 )
2015-07-25 13:37:45 +00:00
fea6b8aec3
i2psnark: Fix total_size in metadata message (ticket #1618 )
2015-07-25 13:15:56 +00:00
str4d
8d3fb0c9a1
Add build harness for ministreaming tests
2015-07-25 12:08:17 +00:00
str4d
d662514f74
Move streaming demo out of tests
2015-07-25 11:42:53 +00:00
str4d
44bd14bd4d
propagate from branch 'i2p.i2p' (head 3a8ae6268555bd2c5d1519c48497677f74e34a76)
...
to branch 'i2p.i2p.unittests' (head 752d5d999986d2a552e695592c82fa659c1f889c)
2015-07-25 10:01:18 +00:00
str4d
1681598dec
merge of '30be1cda5a1ad30d33bbd355f4d85785a889c9fb'
...
and '8ec6b122079156e35f7515afa5eb433a13ce41b0'
2015-07-23 01:31:39 +00:00
str4d
809a533573
Updated history
2015-07-23 01:22:12 +00:00
str4d
265e4b58a5
Throw DataFormatException if not enough bytes
2015-07-23 01:15:11 +00:00
dg2-new
93854e93b5
bump -18-rc
2015-07-22 23:36:19 +00:00
dg2-new
f6605d05d9
merge of '1ba9885122d9a9ec69c77342719d8464aae244be'
...
and 'c61353ade089ac0e1fa83fab661dc6893b51b95a'
2015-07-22 23:34:32 +00:00
dg2-new
c20772702a
I2PSnark: Don't let tunnels start unless we're starting torrents (regression, #766 )
2015-07-22 22:05:44 +00:00
str4d
ba5af15c6f
Fix KeyCert bug
2015-07-21 01:19:37 +00:00
str4d
9af197e590
Add KeyCert test that fails
2015-07-21 01:19:23 +00:00
str4d
2f59a4b3e6
Fix test
2015-07-21 00:40:35 +00:00
8b14afd605
Add SSLSocketChannel wrappers after review
...
Requires Java 7 to compile
2015-07-20 14:44:22 +00:00
kytv
63e934f8f2
Update English PO files
2015-07-17 01:36:45 +00:00
dd5f804150
Console: Add dates to news headings
...
Spacing for news headings in summary bar
2015-07-16 18:06:48 +00:00
dg2-new
35b0e99ff0
I2PSnark: Fix torrent-stopping ( #766 )
2015-07-14 14:33:41 +00:00
1ed1e4414b
Findbugs all over #4
...
char encoding
2015-07-12 19:19:32 +00:00
d087fd674b
Findbugs all over #3
...
char encoding, remove FileReader/FileWriter
Fix TunnelConfig bug
2015-07-12 16:34:24 +00:00
1f9bb046f5
Findbugs all over #2
...
Mostly char encoding
Use StringWriter rather than OSW->BAOS->String
2015-07-12 16:06:49 +00:00
914cc120ad
Findbugs all over
2015-07-12 14:02:55 +00:00
dg2-new
631a0674ab
bump
2015-07-08 21:26:13 +00:00
dg2-new
17d26976d5
lang fixups
2015-07-08 21:25:33 +00:00
dg2-new
dc9d60e261
I2PSnark:
...
- Fix NPE (#1615 , h/t kytv)
- Fix start/stop status resumption on restart (#766 , h/t backup)
2015-07-08 21:22:45 +00:00
2c191e7bf8
Tunnels: New Bloom filter size, increase bandwidth limit (ticket #1505 )
2015-07-08 13:40:26 +00:00
817888c23c
i2psnark: Tweak dest display in footer
2015-07-07 18:42:26 +00:00
1eaf376ee7
Crypto: Check for error return from sign()
2015-07-07 13:46:04 +00:00
6cb3d1d330
Updates: New news URL
2015-07-07 13:38:44 +00:00
2681c4b42f
Streaming: New config to add to DSA-only list
2015-07-07 13:35:55 +00:00
05959d5199
SSU: Request outbound bandwidth on the way into the
...
sender queue, not on the way out, so that SSU requests
bandwidth allocations for each packet in parallel
and competes more effectively with NTCP for bandwidth.
Inbound stubbed-out only.
2015-07-05 12:30:01 +00:00
113a8a52f3
Transport: Raise bandwidth refiller thread priority
...
so I/O doesn't stall under high CPU load
- Raise DH generator thread priority to keep
DH building out of event pumper thread
- Raise PRNG and YK generator thread priorites one notch
- Set I2PThread priority in constructor
Fixes problems mainly seen on Windows, which seems
to be much more sensitive to priority settings
2015-07-05 12:08:33 +00:00
98a4460bde
fix test compile
2015-07-02 15:20:58 +00:00
dg2-new
3645c906e8
merge of 'a0b025f180c1f7befcc1eb504c24140cf9e3fc0f'
...
and 'e0773d79a9bc8820024206f39686541ddb393c4a'
2015-06-29 20:22:10 +00:00
fcdd8be7a7
Transport: More fixes for SSU stalling -
...
Don't skip further bandwidth allocations for SSU, since
it needs the entire allocation to proceed.
Log tweaks
More synchronization of requests
2015-06-29 16:02:07 +00:00
34f6f65104
UPnP main() test tweak
2015-06-29 15:59:45 +00:00
4c516cd2af
log tweak
2015-06-29 15:58:41 +00:00
dg2-new
8ea6805f8d
Prevent double-save for now and auto start all torrents if autostart is already set (don't make the user restart each one).
2015-06-28 19:43:57 +00:00
23f2261bd9
Apache Tomcat 6.0.44
2015-06-28 12:13:52 +00:00
6e06d326e3
Use ReadLine for SAMHandlerFactory
2015-06-27 20:31:56 +00:00
072e4dc2bf
Add ReadLine with timeouts
...
Implement PING
Handle QUIT, STOP, EXIT
synch DatagramServer start/stop
2015-06-27 19:46:45 +00:00
f56ac66d64
Make DatagramServer a Handler, register with bridge
2015-06-27 16:02:15 +00:00
c662f17823
Move DatagramServer from SAMv3Handler to its own file,
...
javadocs
more changes to follow
2015-06-27 15:41:19 +00:00
246b376ed9
tab cleanup
2015-06-27 14:58:29 +00:00
194f20e18c
V3 Stream Session: SSL for STREAM FORWARD
...
better exception handling
boolean cleanups
2015-06-27 14:31:55 +00:00
9b2d416154
Stub out PING and PONG commands.
...
Handle PING and send PONG. No code for sending PINGs yet.
Don't drop connection if only one token.
2015-06-27 13:15:28 +00:00
12385f04ec
protocol and ports for outgoing datagrams
2015-06-26 23:12:01 +00:00
49e68bcc86
ports for CONNECT
2015-06-26 21:47:37 +00:00
b82c1ead72
Add AUTH commands: ENABLE, DISABLE, ADD, REMOVE
...
Store changes to config file
2015-06-26 21:32:24 +00:00
33672e6a86
Add authorization
...
New PasswordManager methods for use by SAM
2015-06-26 20:24:15 +00:00
876729c24e
Add protocol and port notification
2015-06-26 18:51:03 +00:00
b6cb074c04
Add sam.config file support and -c file option
...
Add partial SSL support (will require Java 7 due to SocketChannel changes)
won't compile, SSLServerSocketChannel and SSLSocketChannel not checked in,
pending decisions on implementation
Bump version to 3.2
2015-06-26 15:40:20 +00:00
dd47389ad1
Console: Use registered host/port for eepsite link (ticket #1604 )
...
Jetty starter: Register host/port when started
PortMapper: Add hostname support
2015-06-25 17:00:52 +00:00
25268e7cb2
Transport: Add failsafe to prevent complete SSU stall waiting
...
for bandwidth limiter, root cause unknown
2015-06-24 19:11:05 +00:00
355b2a1528
I2CP: Don't try to decrypt an LS before it's encrypted (ticket #1608 )
...
log tweaks
2015-06-23 21:16:34 +00:00
975149d049
Router: Increase default outbound bandwidth to 60 KBps;
...
raise class L/M boundary to match so defaulted routers are still L
2015-06-23 20:50:22 +00:00
af394e13ad
GeoIP: Add countries and flags for Asia/Pacific, Bonaire, St. Barts,
...
St. Maarten, South Sudan
AP: black flag copied from A1
BL: official flag is France, copied from FR
BQ, SX, SS: PNG files generated from public domain SVG files from Wikipedia
Shortened some other country names (remove "Republic of", etc.)
Change spelling to Macau, Vietnam
2015-06-23 20:33:38 +00:00
e3f64f6edf
Console: Fix NPE on /configtunnels
2015-06-23 20:26:02 +00:00
dg2-new
2fbbfa388e
NetDB: Partially revert last NetDB change: flood because we don't want to create a hole in the DHT before publisher resends to somebody else.
2015-06-22 20:11:29 +00:00
0b4d4ddcbc
update hardcoded tags
2015-06-21 15:42:30 +00:00
428d89a307
Update: Add config to disable translated news
...
Rewrite addLang() for efficiency
2015-06-21 15:41:33 +00:00
dg2-new
feff6c003b
bump
2015-06-20 10:30:14 +00:00
dg2-new
699d550992
NetDB: Don't say we stored, and don't flood, if we're shutting down
2015-06-20 10:06:54 +00:00
dg2-new
c6896c4418
I2PSnark: Auto-start now only starts torrents which were running at shutdown ( #766 )
2015-06-20 10:03:47 +00:00
1b2d4c75eb
I2CP: Fix simple session lookups, broken in prop
2015-06-19 15:55:07 +00:00
586defc802
Tunnels: Increase default max tunnels
2015-06-19 14:57:59 +00:00
2499aad51d
I2PSocketEepGet: Do hostname lookups in-session for efficiency
2015-06-19 14:55:49 +00:00
addb142ecd
I2CP: Move client-side implementation classes to
...
new package net.i2p.client.impl, leaving only the
factories and interfaces in net.i2p.client
2015-06-18 21:20:00 +00:00
20c796e87a
Update: Add language param to news fetch, to support translated news (ticket #1425 )
2015-06-18 15:05:48 +00:00
cd62d7170c
I2CP: Don't send the first LS request to the client until we have
...
at least one OB tunnel, so the client waits until we are ready.
This will reduce drops, retransmissions, and failures on new client tunnels.
Fixes to prevent multiple pending LS requests.
2015-06-18 15:02:21 +00:00
kytv
acc647822f
sync debian changelog in mtn
2015-06-18 10:34:54 +00:00
1cf544f1d4
fix unit test compile
2015-06-18 00:41:58 +00:00
0f4e09500c
javadocs
2015-06-17 23:46:11 +00:00
7c5dfaee20
I2CP: More fixes after prop, w.r.t. restore after close-on-idle
...
- When socket is closed, set sessionID and LS to null,
close subsession and set its sessionID and LS to null
- Checks on client side for null session ID
- Check for null session in Destroy Session message
- Don't kill I2CP connection due to a bad session ID
in a SendMessage, just drop the message and send
a MessageStatusMessage
- Log tweaks
2015-06-17 23:44:12 +00:00
8d9cced128
history for prop, -6
2015-06-17 16:17:46 +00:00
8096e4f65d
propagate from branch 'i2p.i2p.zzz.multisess' (head 655a0c2bbd50625c804b8de8c809b40ed63f53f4)
...
to branch 'i2p.i2p' (head b977ab50209475c0e74825f361924e05dbd470c7)
2015-06-17 16:00:53 +00:00
5878fae88f
Use getopt for SAM args processing
...
Args processing cleanups
Change default host from 0.0.0.0 to 127.0.0.1
Add -s option for SSL (unimplemented)
Put help text in a single string
2015-06-17 02:22:28 +00:00
036b77746b
Catch uncaught exceptions in ClientConnectionRunner and stop connection
...
Catch null SessionId in messages and stop connection instead of NPE
Wait for LS in SubSession in connect() so we don't send data w/o
a session ID and leaseset
Log tweaks
2015-06-17 02:16:06 +00:00
233cce8311
remove _args field
2015-06-16 13:59:27 +00:00
bc85543ef2
Fix removal of subsession aliases from tunnel manager on
...
I2CP connection shutdown
Sort tweaks for shared clients in summary bar
2015-06-15 14:35:15 +00:00
kytv
627f7076b0
debian: Add support for setting open file limits to initscript, add comment to explain how to do it with systemd
2015-06-14 20:16:16 +00:00
kytv
863e120204
Hard-depend on gmp >> 5.
2015-06-14 20:12:00 +00:00
kytv
53cfba4cbd
merge of 'cb89dec5190f295ba301666166448929f1b7f3c1'
...
and 'f13d8499995c44dc76ae61d4b5c4c936e307eb89'
2015-06-14 20:07:43 +00:00
kytv
3a774b7c37
Rename i2p.mooo.com2.crt to i2p.mooo.com.crt, certificate has been switched out on the server
2015-06-14 20:07:35 +00:00
0ad34a4b00
Timestamper: Reduce NTP timeouts to shorten startup time
...
when NTP is blocked
2015-06-13 16:25:58 +00:00
2b9ffc1270
javadoc fixes after review
2015-06-13 15:14:21 +00:00
93c7860d2b
NetDB: Improve routing of DatabaseStoreMessage acks
...
Send our own RI unsolicited in reply if we aren't floodfill
Don't ack or flood a store of an unknown type
PeerTestJob: Don't generate zero reply token
Tunnels: More checks of messages received down exploratory tunnels
javadocs and comments
2015-06-13 15:13:35 +00:00
kytv
25f6c3d9e1
apparmor: tweaks to TMPDIR rules
2015-06-13 15:05:28 +00:00
b9e07bc9aa
i2psnark: Fix NPE (ticket #1602 )
2015-06-13 14:20:08 +00:00
09f68e44ca
enable ECDSA by default for shared clients
2015-06-10 23:24:38 +00:00
013b5fd85b
more @since updates
2015-06-10 19:24:20 +00:00
8962bfb6bc
more @since updates
2015-06-10 19:23:26 +00:00
605602e001
@since updates
2015-06-10 19:15:01 +00:00
f341e5566b
Pass session in connect();
...
Store the session in Connection;
Don't create a new ConnectionManager for a subsession,
now that all components track the session properly.
@since updates
2015-06-10 19:14:33 +00:00
7b84676f4a
remove session ref from PacketQueue
2015-06-10 12:37:19 +00:00
dev
c666f8a4f9
Javadoc fixes.
2015-06-09 14:30:42 +00:00
dev
e067761947
Added a new flavour of checkAvailable() to UpdateManager interface.
2015-06-09 03:57:44 +00:00
dev
226bee64ef
Added more variants of isUpdateInProgress to UpdateManager.
2015-06-09 03:44:34 +00:00
dev
1a40e57413
Added isUpdateInProgress() to UpdaterManager interface.
2015-06-09 03:32:33 +00:00
dev
f73101b014
Added checkAvailable(), update() and getStatus() to UpdateManager interface.
2015-06-09 01:09:23 +00:00
fef65c996f
Store the session in Packet, so we may more easily and efficiently
...
handle multisession, especially on the incoming side.
More refactoring to follow
2015-06-08 22:18:14 +00:00
cbc2f899a6
fixup after prop
2015-06-08 22:14:49 +00:00
099515adff
propagate from branch 'i2p.i2p' (head 1de143fff53bb56e6eac926d6293d62200f0c392)
...
to branch 'i2p.i2p.zzz.multisess' (head 70fc07857232668b93ca6ba02c433dffc7639132)
2015-06-08 21:50:42 +00:00
dg2-new
ff2ea9ac3e
Irc{Outbound,Inbound}Filter:
...
- Silence 'no streams' warning when we can't connect to an IRC server. Change to WARN.
2015-06-08 19:35:18 +00:00
dg2-new
97aeecd865
FloodfillMonitorJob, FloodfillRouterInfoFloodJob:
...
- Directly connect to nearby floodfills to share our RI to speed up integration of new floodfills (#1195 ).
- Called on both non-ff -> ff OR ff -> non-ff.
- Create FloodfillRouterInfoFloodJob to do so.
2015-06-08 19:24:28 +00:00
dg2-new
8098d705f9
Make netDb.storeFloodNew graphable for testing ( #1195 )
2015-06-08 16:39:41 +00:00
dg2-new
fa8c390267
Language fixups.
2015-06-08 16:14:08 +00:00
e8f4e19bac
NetDB: Fix early NPE
2015-06-07 16:29:41 +00:00
9041a2c69f
SSU: Possible fix for NPE in establisher
2015-06-07 14:13:58 +00:00
384e9118c6
Logs: Correct wrapper.config location when running as a Linux service
2015-06-07 12:44:29 +00:00
kytv
0936a2ee23
disable 193.150.121.66 (ticket #1596 )
2015-06-06 21:36:24 +00:00
kytv
bc6b0c12ac
update debian changelog to reflect the latest release
2015-06-06 21:33:51 +00:00
kytv
f6f051cfa4
remove unneeded user-tmp abstraction; tighten tmpdir perms
2015-06-06 21:31:38 +00:00
fb131a040c
fix snark sort by rate of stopped torrents
2015-06-06 20:54:13 +00:00
9f2ded6073
cleanup
2015-06-06 20:53:33 +00:00
55e36ee458
Console: Add indication of current ff status on /configadvanced,
...
change immediately when config changes, force republish
Router: RI rebuild locking
2015-06-06 16:01:39 +00:00
str4d
7c13fb2ba0
Android's SimpleDateFormat doesn't support XXX at any API
2015-06-06 09:24:46 +00:00
str4d
663ccb72d7
Bump router version
2015-06-05 01:53:52 +00:00
str4d
78e0a37fc9
Define I2PTunnelClientBase stats in one place
2015-06-04 22:36:45 +00:00
str4d
09cdc00939
i2ptunnel: Don't call startup() in chained constructor (ticket #1593 )
2015-06-04 22:34:13 +00:00
str4d
2590e7d4ff
i2ptunnel: Don't connect manager to router in constructor (ticket #815 )
2015-06-04 22:25:44 +00:00
27f56776ca
Console: Fix display of n/a for events that never happened on floodfill profiles
2015-06-03 20:45:15 +00:00
657f13af29
Remove ConnectionManager ref from PacketQueue
2015-06-03 17:25:25 +00:00
e2ca74963f
Console: Click on version or country in /netdb table to get list of those routers
2015-06-03 16:55:01 +00:00
9304cb2bbc
SAM message quoting fix
2015-06-03 12:33:42 +00:00
362086994a
history for props, -1
2015-06-03 12:03:07 +00:00
f57e37d588
comment fix
2015-06-03 12:02:25 +00:00
d96ddd1a0e
propagate from branch 'i2p.i2p.zzz.sam' (head 68de14d0053dea374413f9e0419b1c0f7e9ec3af)
...
to branch 'i2p.i2p' (head 54f5dd288f7c0c5a50f7f63f911aec4008be27e2)
2015-06-03 11:42:54 +00:00
7b711ebba0
propagate from branch 'i2p.i2p.zzz.test2' (head 47586aa88408845c51ee4c5fce40c617bdb8e398)
...
to branch 'i2p.i2p' (head bacb6048bc596f064ff237dd8569014a421b4ef6)
2015-06-03 11:40:28 +00:00
0762715264
i2psnark: Don't lose sort param when hiding peers
2015-06-02 21:04:12 +00:00
8a69dc0a97
only log reseed network disconnected warning once
2015-06-02 20:44:10 +00:00
39dc60cf8a
only log UPnP network disconnected error once
2015-06-02 20:19:46 +00:00
09e867b194
i2psnark: Don't say 'download finished' unless we downloaded something
...
atomics
2015-06-02 20:14:33 +00:00
dc9256f274
Console: Prevent bad line-wrap of very long menu items
2015-06-02 16:41:04 +00:00
272f63dbbd
Console: Nicer "move" icons on /configsidebar, add tooltips
...
Icons from silk, rotated, same license as before
2015-06-02 16:30:35 +00:00
06104118d0
EepGet: Recognize 418/420 responses
2015-06-02 15:44:17 +00:00
525ec01c1e
Console: Don't allow unbanning of all-zero hash
2015-06-02 15:41:42 +00:00
f8594c316f
DataHelper: make formatDuration() days to years be monotonic
2015-06-02 15:36:19 +00:00
3c89bd4e19
0.9.20
2015-06-02 12:00:59 +00:00
1f8408f417
Stats: Reduce number of rates in required stats to save memory
2015-05-31 14:03:39 +00:00
915b35f0c1
LogWriter: Write dup message to wrapper log and crit buf also
2015-05-31 13:22:36 +00:00
4521156ecb
Fortuna: Catch AIOOBE (ticket #1576 )
2015-05-31 12:43:06 +00:00
c58fd8f84e
i2ptunnel: Fix +/- variance config (ticket #1587 )
2015-05-30 15:46:37 +00:00
f02b401b7a
SSU: More synchronization in PeerState
2015-05-30 14:25:40 +00:00
4fdcb6ce29
I2CP: Prevent sending lookup or bw limit messages before handshake with router is complete
2015-05-30 14:13:13 +00:00
94824e4d2b
I2CP: Prevent sending data message before handshake with router is complete
2015-05-30 14:02:38 +00:00
280fc05c91
susidns, addressbook: Don't attempt to fetch subscriptions if
...
HTTP proxy is down (ticket #1530 )
2015-05-30 13:53:56 +00:00
89745f5002
HTTP Client: Greatly simplify decompression by using
...
InflaterOutputStream, available since Java 6.
Removes PipedInputStream, PipedOutputStream.
Removes Pusher threads.
Remove delay workaround for truncated pages, no longer required.
2015-05-30 13:19:29 +00:00
7715e6484c
Router: Add gzip caches to clearCaches()
2015-05-30 11:18:04 +00:00
c807194e93
propagate from branch 'i2p.i2p' (head 07028378508ab46278d193039b97c543d12ee22e)
...
to branch 'i2p.i2p.zzz.test2' (head 0074b91cb9fe0ed875457dc0bf1989df03fa9e9a)
2015-05-30 11:16:00 +00:00
3602f73497
HTTP client: Fix occasional truncation of compressed responses
...
log tweaks
2015-05-29 17:37:58 +00:00
4bf115b5f6
javadoc
2015-05-27 21:07:56 +00:00
7ab85a0a20
Graphs: prevent NaNs if we are skewed ahead of system time
2015-05-27 21:05:44 +00:00
fba0372339
Banlist: Ban all-zero hash
...
NetDb: Drop all-zero lookups and stores, add stats
SSU:
- Fix debug logging of dumped packets
- Drop sessions with bad clock skew, banlist peer, add stats
- Drop sessions with corrupt DSM, banlist peer, add stats
Log tweaks
2015-05-27 21:00:46 +00:00
03dfa6515b
SSU: send destroy message in a couple cases where we previously just called dropPeer()
2015-05-27 20:54:22 +00:00
5e33ed1169
log tweaks
2015-05-27 20:52:00 +00:00
11ab7fc56c
add comment
2015-05-27 20:51:01 +00:00
716bff41d7
remove cast
2015-05-27 20:50:29 +00:00
1d8842cfc8
Gunzip: Add tests to main()
2015-05-27 20:49:51 +00:00
042b03d6b8
DataHelper: Add year output to formatDuration()
2015-05-27 20:48:51 +00:00
kytv
ab753651b9
Add new reseed server
...
Thanks parg!
2015-05-26 20:55:44 +00:00
4ea99b8a10
I2CP: Take 2 of fix, so a newly created session
...
isn't destroyed and immediately replaced by i2ptunnel,
which caused dup shared clients in a race at startup;
Clarify session exception text if not open
2015-05-24 00:14:32 +00:00
3d07e1a10b
I2CP: Revert part of prior checkin, prevented idle tunnel from opening;
...
(treat INIT as CLOSED) better fix to follow
2015-05-23 20:02:46 +00:00
86525e7239
i2ptunnel: Strip top-level supercookies too
2015-05-23 17:13:15 +00:00
195171f9ed
I2CP: Add an INIT state for session, so a newly created session
...
isn't treated as CLOSED and immediately replaced by i2ptunnel,
which caused dup shared clients in a race at startup
(possible related tickets #642 , #650 , #815 , #1545 )
2015-05-23 16:07:49 +00:00
kytv
33c4be5b2f
Updates to geoip.txt and geoipv6.dat.gz based on Maxmind GeoLite Country database from 2015-05-06.
2015-05-21 17:32:35 +00:00
kytv
fea2c3c6b2
Install the apparmor profiles in complain mode
...
Instead of enabling exceptions when needed for custom set-ups, some users will
opt for disabling all security functions.
2015-05-21 17:27:29 +00:00
kytv
281686ba58
clarify comment
2015-05-21 17:24:32 +00:00
kytv
0b91fcb636
sync Translations with Transifex
2015-05-21 17:11:50 +00:00
kytv
807f1381fb
sync debian/changelog
2015-05-21 16:54:35 +00:00
kytv
ac56a63809
remove /dev/(u)?random since these are included in the base abstraction
2015-05-21 16:52:09 +00:00
kytv
e4798b9ed8
allow user scripts installed to cgi-bin to be executed
2015-05-21 16:46:19 +00:00
kytv
7584346c82
fix indentation of i2p abstraction
2015-05-21 16:44:00 +00:00
29330aa5d3
i2psnark: Another place to send reject; switch to LBQ
2015-05-19 23:21:18 +00:00
65ff2c0afe
i2psnark: Log tweaks and cleanups after testing
2015-05-19 21:56:21 +00:00
de4d47de95
i2psnark: Add support for fast extensions (BEP 6)
...
untested
2015-05-19 18:13:32 +00:00
ae41a3f316
SSU:
...
Synchronize UDPPacket methods, possible fix for bad
packets and UDP stalls caused by cache corruption?
Cleanup unused methods and fields
2015-05-19 14:49:02 +00:00
2dc3d68418
propagate from branch 'i2p.i2p' (head d046bffcd4f94b253e1aa2bfc9a90482974363dd)
...
to branch 'i2p.i2p.zzz.test2' (head d00c6fd9c9aef6c37218a791a12f2da957181cd2)
2015-05-18 11:09:26 +00:00
5eb43b6ae4
Translate: Clear ResourceBundle cache too,
...
available since Java 6 / Android API 9
2015-05-18 11:08:40 +00:00
0c672ecc49
Update: Fix NPE in initialization
2015-05-16 13:10:07 +00:00
dg2-new
3b6d98fe38
Translate "Dest" instead of "Dest:", tabbing (thx zzz)
2015-05-15 22:36:49 +00:00
dg2-new
b3472cfe80
Show the I2PSnark dest on the main page ( #1436 )
2015-05-15 20:51:45 +00:00
dg2-new
38f2b93c7a
typo
2015-05-15 20:30:59 +00:00
e7af87a981
Update: Ignore su3 dev build version at startup if older
2015-05-15 19:15:51 +00:00
d698a67660
Deprecate Router.setConfigSetting() and removeConfigSetting()
2015-05-15 15:50:16 +00:00
b38f2d62a8
bump -23
2015-05-15 14:58:54 +00:00
10556bca75
merge of '174649506cd8a9665ad798c090e39481af967011'
...
and '67eb724b7638284d33f1b4997183cc9f197d2883'
2015-05-15 14:17:41 +00:00
1f17d2a149
add cacapo plugin cert
2015-05-15 14:17:08 +00:00
dg2-new
dc777c8de5
fix on non-full stats routers (thx zzz)
...
doh
2015-05-15 13:42:16 +00:00
1fb9643916
i2psnark: Fix deletion of single-file torrent outside snark dir (ticket #1544 )
2015-05-13 14:00:19 +00:00
081f1865a8
Console: Fix URLs caught in XSS filter on /confighome (ticket #1569 )
...
Fix name and URL escaping
Truncate long URLs in display
2015-05-13 12:04:28 +00:00
0e17c560b3
NTCP: Catch race in Reader (ticket #1534 )
2015-05-13 10:52:26 +00:00
a3b1327934
javadoc fixes
2015-05-13 10:48:48 +00:00
e68ca573f0
remove status message
2015-05-13 10:41:49 +00:00
b5455cee6e
SAM: Set keepalive on sockets (ticket #1573 )
...
Also on both sides of I2CP.
BOB already does it.
2015-05-12 20:13:17 +00:00
dg2-new
cbdc1403bf
remove old check
...
bump
2015-05-12 19:53:19 +00:00
40130a8a61
SAM:
...
- Close sockets and stop tunnels when router-side SAM stops (ticket #1572 )
- Better checks for quoting status message strings (ticket #1488 )
- Set encoding for sam.keys file
- Don't throw NPE on rare stream errors
- Comment out unused dumpProperties()
- Cleanups, log tweaks, thread name tweaks
2015-05-12 19:07:42 +00:00
dg2-new
ca14055976
fix build
2015-05-12 19:02:00 +00:00
dg2-new
8303016b48
- Job Queue/stats: add stat/graph for amount of scheduled jobs (router.tunnelBacklog)
...
- FloodfillMonitorJob:
- Use avg of router.tunnelBacklog instead of current backlog
- Some language/spelling fixes
2015-05-12 18:46:40 +00:00
kytv
287862887d
runplain.sh improvements
2015-05-11 01:12:13 +00:00
f25d2a3d3f
Util: Fix corruption of cached ReusableGZIPInputStreams,
...
caused by calling close() from HTTPResponseOutputStream.Pusher,
but close() rendered the underlying InflaterInputStream unusable.
Broken in -15. Caused failed HTTP fetches and other flakiness.
2015-05-11 00:08:26 +00:00
7f30f481b2
i2ptunnel: Improve error handling for UDP tunnels,
...
Sink.send() may now throw RuntimeException,
converted from IOException or I2PSessionException;
interrupt runner threads on error;
ignore I2PSessionException in Pinger.close();
logging and javadoc improvements;
untested
2015-05-09 22:22:13 +00:00
5ee6826241
Plugins: Add support for custom icons (ticket #1550 )
2015-05-09 15:28:43 +00:00
68951c4c6b
remove http in linkify()
2015-05-09 13:19:46 +00:00
5dc7497802
Reseed: Don't reseed while shutting down (ticket #1565 )
2015-05-08 12:27:40 +00:00
31cfddc218
Router: Clear I2CP lookup cache on exit
2015-05-07 16:46:15 +00:00
c1e70ac7d2
SAM: Close datagram or raw session when underlying
...
I2P session closes (ticket #1563 )
2015-05-07 16:04:08 +00:00
dd9abd3f09
set installed dev version
2015-05-07 14:18:47 +00:00
2f5e64e532
Update: Add support for su3-signed development builds (ticket #1381 )
...
Full version is used as the su3 version.
Uses same su3 certs as release updates. Users may add additional certs
to ~/.i2p/certificates/router/ as necessary.
Copy echelon's reseed key for use as a router signer.
Unsigned update remains a separate option for now.
Various update subsystem cleanups.
2015-05-07 13:04:43 +00:00
b12f988390
javadoc fixes
2015-05-07 13:03:17 +00:00
kytv
9f3d5bf57b
use the full version string (including build number) in the signed-* build targets
2015-05-06 23:24:08 +00:00
7f9e958e5a
Datagram: Convert IOE to DFE and throw on datagram load error
...
rather than failing silently
2015-05-06 20:05:30 +00:00
c4877ea092
Crypto: Comment out Cryptix debug logging
2015-05-06 01:53:50 +00:00
2aafc23774
PrintWriter doesn't throw exceptions, so call checkError()
2015-05-06 01:51:57 +00:00
77c9a644ac
Naming services: Export address books with Windows line endings on Windows (ticket #1557 )
2015-05-06 01:48:47 +00:00
abd8ca34dc
Transport: Add config to force IPv4 (only) to firewalled (ticket #1541 )
...
since we cannot reliably detect DS-lite (ticket #1458 )
Hide transport status on /peers unless routerconsole.advanced
2015-05-06 01:45:33 +00:00
dev
31435685bf
Added disclaimer about not being a part of the public API.
2015-05-05 22:16:51 +00:00
7337fd0670
i2ptunnel: Add Connection: close headers to errors and proxy.i2p responses
...
where it was missing (ticket #1531 )
2015-05-04 16:36:49 +00:00
f7b7a98b9d
i2ptunnel: Close input stream when HTTP client decompressor terminates (ticket #1506 )
...
streaming: Minor cleanups, log tweaks
2015-05-04 14:43:54 +00:00
kytv
2226936737
i2prouter 'console' bugfix: Don't report failure for INT signal
2015-05-04 14:10:25 +00:00
kytv
8b293b2190
symlink instead of copying
...
I created this patch a couple of years ago and at that time symlinking (for
reasons I don't remember anymore) didn't work. Now it works with symlinks, so
let's go with that. (Tested in OpenBSD 5.7)
2015-05-04 13:47:32 +00:00
94bba8d11f
I2CP: Fix external I2CP SendMessageExpires, broken in previous cleanup
2015-05-04 12:36:03 +00:00
kytv
5c2b5075f9
support OpenBSD in i2prouter
...
We don't include a wrapper for OpenBSD and Tanuki doesn't offer OpenBSD
binaries either. It is available as an OpenBSD package. Therefore, if the
wrapper is not found (likely), advise the user to install it. The next time
`i2prouter start` is run, the wrapper will be copied to the I2P install
directory and it should "just work".
2015-05-04 09:22:25 +00:00
kytv
ca6820a4c0
refresh debian patch
2015-05-04 00:26:26 +00:00
2fafa3337f
Console: Add floodfill configuration form to /configadvanced
2015-05-03 18:49:34 +00:00
b5f75a4bb9
Router: Allow class M to become floodfill;
...
add bandwidth classes P and X (ticket #1447 )
2015-05-03 17:35:09 +00:00
707bfbbf8b
Router: Put the GarlicMessageParser in the RouterContext
...
to reduce object churn, we only need one
Add DeliveryInstructions.create() to return immmutable
local instructions, to reduce object churn
Minor cleanups
2015-05-03 17:00:22 +00:00
1eba6c5167
SusiDNS: Add export button
2015-05-03 13:21:16 +00:00
a14208b841
Move Indonesian po files used by Java om _id to _in, since
...
Locale.getDefault().getLanguage() will only return "in".
See Locale javadocs. Same change already made in Android.
2015-05-02 23:23:13 +00:00
kytv
83966f9a7f
Switch out the certificate for netdb.i2p2.no, replacing it with a stronger one
...
certificates/ssl/netdb.i2p2.no2.crt was checked in on 2014-12-08 with the
intention of its replacing certificates/ssl/netdb.i2p2.no.crt after a
transition period of a few months had passed. The certificate has already been
switched out on the server.
2015-05-02 20:49:50 +00:00
d89f06015b
merge of '7cc7b74d018c5e2d5d571000d066e65ad034c114'
...
and 'd87b6870e67271b703a38f82cb6fc9b753bf9698'
2015-05-02 17:46:48 +00:00
49f786c928
Transport: Ticket #1458 continued...
...
enum fixes so we don't always force a peer test quickly
set reachability status at startup when interfaces are configured
prevent firewalled -> OK -> firewalled+OK transition
2015-05-02 17:45:37 +00:00
e8bc0bd5d1
Stats: randomize router count at startup also
2015-05-02 17:42:49 +00:00
kytv
8d69b69357
Switch out the certificate for ieb9oopo.mooo.com
...
certificates/ssl/ieb9oopo.mooo.com2 was checked in on 11/23/2014 with the
intention of its replacing certificates/ssl/ieb9oopo.mooo.com.crt after a
transition period of a few months had passed. The certificate has already been
switched out on the server.
2015-05-02 15:59:33 +00:00
kytv
e7b9a230e6
add 'bump' as an alias for the 'bumpBuild' ant target
2015-05-02 15:50:25 +00:00
kytv
6385c412fd
Disable https://jp.reseed.i2p2.no:444/ due to extended downtime, unresponsive host (ticket #1422 )
2015-05-02 15:48:46 +00:00
bb33b358b4
Change log level for Jetty warnings with exceptions
...
from error to warn (ticket #1551 )
2015-05-02 14:36:39 +00:00
572f071cfe
Jetty 8.1.17.v20150415
2015-05-02 14:09:59 +00:00
42cb89f525
bump -12
2015-04-30 21:14:56 +00:00
1868d2b50f
Transport: Ticket #1458 continued...
...
Implement methods to remove only a single IPv4 or IPv6 address,
so that IPv6 addresses will remain when SSU detects that IPv4 is firewalled
Summary bar status fixes
Fix getIsPortFixed() for more enum cases
log tweaks, cleanups
2015-04-30 20:33:46 +00:00
4588f1ec75
I2CP: Periodically send a SetDate message to external clients
...
so they stay in sync
2015-04-29 15:22:55 +00:00
629f7f05c7
Transports: Track IPv4/v6 reachability separately (ticket #1458 )
...
Don't include NTCP conns established too long ago in clock skew vector
Hide unestablished outbound NTCP conns from /peers view
Add per-transport status to /peers
Put status description instead of code into event log reachability changes
2015-04-29 12:50:33 +00:00
0f18686243
Clock: Make forward slewing work better
...
when now() is not called too frequently
2015-04-29 11:48:17 +00:00
2a2587b13d
fix logic bug
2015-04-29 02:41:25 +00:00
489fdd5e4b
NTCP: Use context time, not system time, in NTCPConnection
...
so that clock skew calculations work right
2015-04-29 02:35:22 +00:00
fe680eb192
Transports: Fix clock skew calculations
...
- NTCP inbound skew calculation had flipped sign
- Include RTT in NTCP skew calulation
- Set SSU skew on first packet so it's right from the beginning
- Above should fix the "ignoring clock offset" error
- Javadocs
RouterClock:
- Add config to disable clock adjustment for testing
- Reduce window in skew vector for slew calculation
- Double max slew rate
2015-04-29 01:30:33 +00:00
613440ff63
CSF: New enums for SNAT/OK and SNAT/UNKNOWN
2015-04-28 22:26:40 +00:00
64121b1e92
catch OOM in the OOM listener
2015-04-28 22:24:05 +00:00
f16927f316
JobQueueRunner: Don't call System.exit() on OOM,
...
let the shutdown progress normally;
Make it an I2PThread instead of a Runner so we can
call fireOOM() for consistent logging (ticket #1549 )
Router: Don't add OOM listener on Android so
we don't hang onto the context
2015-04-28 21:57:13 +00:00
cb50c1bd8b
improve UDP test
2015-04-28 12:44:53 +00:00
921ad86274
Comm System: More prep for ticket #1458
...
- Big method to handle status transitions, not yet used
- Status enum tweaks, unknown must be higher code than known
2015-04-28 03:25:20 +00:00
ac76107752
Transports:
...
- More transition to status enum
- Don't set TCP keepalive for IPv6
2015-04-28 03:21:28 +00:00
2359b1edd2
Transports: Convert internal state to enums (ticket #1458 )
2015-04-27 17:05:16 +00:00
2750681d78
CommSystem: Stubs for separate IPv4/v6 status (ticket #1458 )
2015-04-27 15:44:05 +00:00
eaac4d3de0
NamingService: Add export methods,
...
fill in subclass methods for efficient exporting,
fill in getBase64Entires() and getNames() where unimplemented
SusiDNS: Add export support, no UI yet
2015-04-27 15:41:38 +00:00
f243968dfa
i2ptunnel: Reduce sleep time in runners to reduce latency
...
greatly improves "loopback" performance
minor cleanups
2015-04-26 17:50:06 +00:00
8d9e2bdc71
log tweaks
2015-04-26 17:46:48 +00:00
6dbbb6b61b
minor cleanup
2015-04-26 17:46:14 +00:00
f89bf32390
target=_top
2015-04-26 17:45:31 +00:00
ef195aa4ef
re-add fixed reseed
2015-04-26 17:45:01 +00:00
str4d
843230a1cb
Fixed MessageInputStreamTest after constructor changes
2015-04-26 01:43:34 +00:00
84e63f3b38
reseed tweaks for SNI
2015-04-26 00:12:17 +00:00
b90816fdf8
add package.html files
2015-04-25 23:15:52 +00:00
40c4a42921
I2PSSLSocketFactory:
...
- Add hostname verification using code from
Apache HttpClient 4.4.1 (Apache 2.0 license)
and one small class from HttpCore 4.4.1,
slightly modified to remove additional Apache dependencies
and unneeded code.
- Includes support for public suffix list;
use basic list with standard TLDs,
and also support loading the big Mozilla list,
but don't bundle the 150KB Mozilla list for now.
- For Android, use its default verifier, which
should actually work (unlike Oracle)
- Java 7 not required, although servers requiring SNI will now
fail on Java 6, which does not support SNI
SSLEepGet:
- Rework recent setSoTimeout code changes, as they broke SNI
- Add option to save certs even if no errors
- Add option to disable hostname verification
2015-04-25 23:06:44 +00:00
26f89391d3
Mods to remove additional Apache dependencies
...
and unneeded code, now compiles
2015-04-25 22:56:51 +00:00
aaae72cf84
- Initial checkin of Apache classes from
...
Apache HttpClient 4.4.1 (Apache 2.0 license)
and one small class from HttpCore 4.4.1,
unmodified as a baseline for future merges.
Does not compile.
See following checkins for more info
2015-04-25 22:54:05 +00:00
3e55cff153
Util: Catch and convert OOM in I2PThread.start() to a RuntimeException,
...
to give better message to users and prevent JVM shutdown
on what is unlikely to be a heap issue.
2015-04-25 00:02:55 +00:00
bd778a2204
Remove old pre-0.6.1.30 TunnelCreateMessage and TunnelCreateStatusMessage,
...
moved to junit years ago but not part of any tests
2015-04-24 22:25:17 +00:00
235c196f14
log tweaks
2015-04-24 21:37:22 +00:00
e475c161cb
i2ptunnel: Don't register port mapper in clients overriding startRunning()
...
if super.startRunning() failed
Register as HTTPS proxy also in HTTP client
2015-04-24 21:16:45 +00:00
08e96109a7
i2ptunnel: Fix shutdown of client tunnels on server socket errors,
...
broken in fix for ticket #815
TCG still doesn't go back to stopped, to be fixed.
Test case: configure low port.
2015-04-24 19:19:18 +00:00
81ad33d9e3
lint unchecked
2015-04-24 16:27:03 +00:00
aecc95825b
Updates: Fail fast if HTTP proxy is not running (ticket #1530 )
...
Covers router, unsigned router, plugin, and news updates
2015-04-24 16:08:08 +00:00
37c6ac3a88
i2ptunnel: Fix Socks and SocksIRC tunnels not starting,
...
broken in fix for ticket #815
2015-04-24 01:48:07 +00:00
772d0beac3
Streaming: Don't wait too long to send a dup ACK, so the other
...
side isn't stuck forever at a window size of 1.
Cleanups, log tweaks, javadocs
2015-04-23 15:34:24 +00:00
64fdfd81ee
remove excess logging
2015-04-23 13:38:44 +00:00
1b09b9faa4
Streaming: More efficient checking for input buffer overflow,
...
add additional checks.
Fix bug if available buffer calculation is negative
Check log level before calling displayPacket()
Log tweaks
2015-04-23 13:19:18 +00:00
6f0ebb2d94
Streaming: Reduce min RTO so that "loopback" connections
...
recover quicker after packet loss;
Reduce default initial ack delay;
Rename misspelled method
2015-04-23 10:28:02 +00:00
cbe91e3012
I2PSocketEepGet: Fix i2psnark NPE caused by -6 (ticket #1543 )
2015-04-22 20:34:04 +00:00
238501919b
i2psnark: Fix deletion of config files, cleanup
...
orphaned ones at startup (ticket #1498 )
2015-04-22 20:22:17 +00:00
ae3a5f7b25
name tunnel starter threads
2015-04-22 20:17:33 +00:00
638cadc3c9
NetDB: Disable floodfill for non-ARM Android also
2015-04-22 15:54:18 +00:00
da0036581c
thread name tweak
2015-04-22 14:51:40 +00:00
59a58ea310
NTCP: Reduce min send finisher threads to 1
2015-04-22 14:48:59 +00:00
bebe5f8a4e
PortMapper: Status output for /debug
2015-04-22 14:45:40 +00:00
c3af99685d
log tweak
2015-04-22 12:00:46 +00:00
e1d9e05b8d
i2ptunnel: Fixes and cleanups for command line testing;
...
catch IAE from getInstance() if i2ptunnel.config isn't found
in app context; log tweaks; config command tweaks
Unit tests: Fix several NPEs in LocalClientManager,
implement HostLookup
2015-04-22 11:59:40 +00:00
212f6b472a
i2ptunnel: Catch and log uncaught errors in thread pool
2015-04-21 20:37:59 +00:00
fdada78edf
Reseed: Disable non-su3 reseeding
2015-04-21 18:48:11 +00:00
638c5429d2
NTP:
...
- close socket in finally
- really comment out main()
2015-04-21 14:49:48 +00:00
b67bbd7065
improved locking
2015-04-21 14:33:59 +00:00
1caf3e778b
Router timestamper:
...
- Add country-to-continent mapping
- Add continent pool.ntp.org zones as first fallback,
this will improve time service for countries that don't have a zone
- Don't start threads in constructors
- Fix logging, better prevention of initialization loops
- Log severe errors to wrapper log also
continent.txt file from http://dev.maxmind.com/geoip/legacy/codes/country_continent/
Creative Commons Attribution-ShareAlike 3.0 Unported License
http://dev.maxmind.com/geoip/legacy/geolite/
Terms already met in LICENSE.txt
2015-04-21 14:22:05 +00:00
fd82fff07a
Transports: Reduce idle timeouts
2015-04-21 09:58:46 +00:00
a6ac8f8c09
Blockfile: Unroll recursive initialization of BSkipLevels
2015-04-20 22:56:08 +00:00
19a26f8e22
Reseed: Prep for disabling non-su3 fetches (ticket #1513 )
2015-04-20 18:48:00 +00:00
46e85cf265
only reset the sotimeout if not proxied
2015-04-20 17:57:57 +00:00
8f321b5427
EepGet: Set soTimeout for non-proxied fetches to enforce
...
header timeout and prevent long reseed hangs
2015-04-20 17:53:29 +00:00
e1f8f1a3f4
Reseed: Remove all default HTTP URLs (ticket #1514 )
2015-04-20 16:11:33 +00:00
935a5b573d
Reseed: Better error message if no valid URLs for configuration
2015-04-20 15:45:49 +00:00
8c2636aa99
Reseed: Honor SSL/non-SSL setting when custom reseed list is set (ticket #1136 )
...
patch from "Inondle", cleaned up and tested
2015-04-20 15:33:03 +00:00
03ddb1075c
BuildHandler: Don't enforce conn limits for P or X
2015-04-20 13:15:30 +00:00
72eb2c058c
Streaming: Move Packet.writeSignedPacket() to PacketLocal
2015-04-20 13:13:55 +00:00
a100d2ccf9
javadoc, remove unneeded volatile and initializer in TCG
2015-04-20 13:12:21 +00:00
ecfb3e94c8
javadoc and debug log tweaks for ST2
2015-04-20 13:09:48 +00:00
c31d6b1ac1
javadoc fix
2015-04-20 13:09:13 +00:00
65993e1d50
add methods to simplify logging
2015-04-20 13:05:14 +00:00
47c4c0d6bb
add all known dsa-only hosts to list
2015-04-19 19:35:38 +00:00
b2872e6110
I2CP Multisession - Work in progress:
...
Start availability notifier in subsession
Availability notifier cleanup
Various log tweaks added while chasing this down
Better subsession state management
I2PSocketManagerFull verifies subsession to force connect()
Successfully tested
2015-04-19 19:05:53 +00:00
b8c8d5b447
I2CP Multisession - Work in progress:
...
Accept subclient data message down client's tunnel in IMD
2015-04-19 15:49:02 +00:00
32049d7bfc
I2CP Multisession - Work in progress:
...
Reuse LS encryption keypair from primary LS
Log tweaks
2015-04-19 14:49:13 +00:00
f0fdb35ba6
I2CP Multisession - Work in progress:
...
Fix creating subsession LS from primary LS
2015-04-19 03:35:40 +00:00
d8baf62966
I2CP Multisession - Work in progress:
...
Stub out hardcoded list of DSA-only destinations
Tweak client name length in summary bar
Force initial leaseset request for subsession
Send SessionStatus msg before LS request for subsession
2015-04-19 03:11:37 +00:00
be8f7f9676
I2CP Multisession - Work in progress:
...
Fix sending CreateSessionMessage for subsession
New AliasedTunnelPool for subsessions, don't reuse TunnelPool,
so it has its own settings
Fix addAlias()
Simplify refreshSettings()
Send status message on subsession create failure
Fix settings for subsession
2015-04-19 01:32:30 +00:00
57b641bf63
I2CP Multisession - Work in progress:
...
Fix NPE in receiveMessage()
2015-04-18 20:45:30 +00:00
ff5d29de1a
I2CP Multisession - Work in progress:
...
Fix NPE in addSubsession() by creating key stream
Set sigtype for subsession
2015-04-18 19:50:14 +00:00
91e98ba447
I2CP Multisession Work in progress:
...
Fix NPE in requestLeaseSet()
Fix setting new session ID in SessionStatusMessage
Fix subsession support detection
Streaming: one socket manager, multiple connection managers.
Change data structure for subessions in socket manager
Subsession cleanup on destroy
I2PTunnel: add DSA subsession for non-DSA shared client
Javadocs
2015-04-18 19:01:23 +00:00
6a644dd0e5
propagate from branch 'i2p.i2p' (head 66743cfb9b4e1c257e4f0a20a318ee7eb1fb607c)
...
to branch 'i2p.i2p.zzz.multisess' (head 4533ba250cb8e49044f5144b34014e9bc618cdc7)
2015-04-18 14:08:22 +00:00
7b82393336
atomics and finals
2015-04-17 17:15:22 +00:00
kytv
22993e1ea6
installer/resources/eepsite/jetty-ssl.xml: fix comments
2015-04-17 14:18:56 +00:00
kytv
341bd6d7ca
tweak to debian apparmor rules
2015-04-17 14:15:05 +00:00
kytv
13d5a36cfc
drop unneeded patch (ty zzz)
2015-04-17 14:14:06 +00:00
str4d
f3bb84f2c0
merge of '4cd641356d3ecf443fa79aa64c8ad553a37022da'
...
and 'b9d4479f7e0f562a5fd47f2d494fe1b2b0925cbe'
2015-04-17 13:46:44 +00:00
str4d
1d496404be
Separate loading and starting of TunnelControllers
2015-04-17 13:45:37 +00:00
51233371e0
history for prop, -5
2015-04-17 13:43:48 +00:00
bc0a7ebbbc
propagate from branch 'i2p.i2p.zzz.test2' (head b6de226d1664089488ab2b438fe7457e9fb8e563)
...
to branch 'i2p.i2p' (head 0cf35c87b68a5360bd35257e36dfe7f740e53693)
2015-04-17 13:18:22 +00:00
72c78b3870
config for SSL to eepsite
2015-04-17 13:03:48 +00:00
5555c52376
Streaming: Locking for next send time,
...
rename shadowing field in inner class
2015-04-17 13:00:16 +00:00
str4d
e1842be049
Don't automatically start TCG on Android
2015-04-17 11:21:26 +00:00
6ceb4fcf42
history for prop, -4
2015-04-16 23:25:49 +00:00
50b68d4e1c
propagate from branch 'i2p.i2p.zzz.815' (head 43bce385eecdf95bba08985211b80099d1224462)
...
to branch 'i2p.i2p' (head 1b89427bd2952dc4be08fba14ad1d814d722739f)
2015-04-16 23:19:48 +00:00
3f46228f0b
ISJ: Reduce max search depth to reduce ff load
...
- from 7 to 6 if not ff
- from 7 to 3 if ff (we don't need to backtrack much if any, we know most of the ffs)
2015-04-16 22:02:35 +00:00
6c954f0b68
Transport: Fix NTCP countPeers()
...
O/P conn limit adjustment
2015-04-16 21:55:43 +00:00
69c2ed77a0
recognize Intel model 69
2015-04-16 15:38:13 +00:00
6f09224bdc
sort clients on /configclients
2015-04-16 15:07:08 +00:00
568c90806d
I2CP: Run DistributeLocal jobs inline (ticket #1506 )
2015-04-16 14:24:56 +00:00
6e451c8d4d
javadocs
2015-04-16 14:18:10 +00:00
12fd585625
Transport: Fix active peer count for NTCP,
...
which will make the network-down message in the console consistent.
Javadocs for getActivePeers() and getActiveSendPeers()
Make getActivePeers() and getActiveSendPeers() abstract in TransportImpl
Make getActivePeers() and getActiveSendPeers() more efficient
Preliminary conn limits for P/X
Log tweaks
2015-04-16 14:13:23 +00:00
997fbb3392
log on failed plugin update check
2015-04-16 13:14:40 +00:00
089626f6b1
increase max i2psnark tunnels to 10
2015-04-16 13:13:32 +00:00
71d2049fe8
OOM log tweak
2015-04-16 13:11:34 +00:00
e5aee3001f
bump -2
2015-04-15 18:20:52 +00:00
dev
ec62bcbf8e
propagate from branch 'i2p.i2p.tuna.tmp' (head 73f55ef56c4b4800364bc92d69794a7b6715c5a7)
...
to branch 'i2p.i2p' (head 20e0a6d51df8fa6918a48ac01c808e56d3540bf1)
2015-04-15 16:25:58 +00:00
dev
a8f013f3e4
merge of '303a05a4ccfb4162f4cca475bca49d77dceb06f9'
...
and '9c1c14d60b15e3d9eed4b291a7fae39c11d3c993'
2015-04-15 16:17:24 +00:00
dev
037cd78dc7
#1069 : Propagate fix into i2p.i2p from i2p.i2p.tuna.tmp
...
* Replace SimpleScheduler with SimpleTimer2
* Bump version number
2015-04-15 16:15:53 +00:00
dev
b31ae4bae5
propagate from branch 'i2p.i2p.tuna.tmp' (head 1bba286bdb7f8ba879c4db3f356676151674a201)
...
to branch 'i2p.i2p' (head 5698b31632398b8156a3b4cc215fed677cf205bf)
2015-04-15 16:08:29 +00:00
dev
54dba980b4
#1069 : Replaced SimpleScheduler with SimpleTimer2 in a few places
2015-04-15 15:32:40 +00:00
dev
dc19d2fab3
SimpleTimer2: Removed debug print
2015-04-15 15:18:02 +00:00
dev
3a57310fbe
SimpleTimer2: Call the 3-arg addPeridicEvenet() from the 2-arg addPeridicEvenet()
2015-04-15 14:42:39 +00:00
kytv
749e19a1c3
fixes to apparmor profile for i2prouter
2015-04-14 18:50:45 +00:00
de6608f6b8
Streaming: Handle reset packets without a FROM field, validate
...
signature using connection's destination
Log tweaks
Remove 0 arg from addRateData() calls
2015-04-14 14:11:48 +00:00
cd6d9cdd94
Router: Fix NPE on bad share bandwidth config (ticket #1524 )
2015-04-14 14:04:31 +00:00
e45413d417
Update: Don't log an error for the "dummy" updater (ticket #1525 )
2015-04-14 14:01:50 +00:00
kytv
11c3230150
updates to apparmor profiles
...
- hardening (restrict access to proc to owner)
- removing files covered by abstractions
- indentation per apparmor profile style
2015-04-14 01:00:10 +00:00
dd99978b19
0.9.19
2015-04-12 13:32:49 +00:00
dd265bbd54
Updates after review:
...
Remove meeh.i2p as update host (ticket #1515 )
Re-add 193.xxx https reseed
Fix SocketManagerFactory property handling
Restore UPnP locale fix lost in the merge
i2ptunnel finals
I2NP unique id fixes
duplicate done() in ReseedChecker
bigger langbox in CSS
reformatting
Javadocs
2015-04-11 19:34:34 +00:00
dev
f5ba1b1b97
#1069 : Replaced getInstance() with this
2015-04-09 22:32:59 +00:00
7825f0f84f
i2ptunnel: Remove null workaround and stat, testing passed (ticket #335 )
2015-04-09 16:04:06 +00:00
kytv
69a0324e86
update debian changelog; bump build
2015-04-09 12:06:26 +00:00
kytv
957d3545b6
Translation updates pulled from Transifex; start of Malagasy translation
2015-04-09 11:59:17 +00:00
kytv
466348a8c5
Updates to geoip.txt and geoipv6.dat.gz based on Maxmind GeoLite Country database from 2015-04-07.
2015-04-09 11:51:55 +00:00
e5b7e97ff4
Jetty: Set session cookies to HttpOnly in all webapps
...
i2psnark: Remove extra mime types in i2psnark web.xml;
added to Jetty's default by now, or in our mime.properties file
2015-04-08 19:45:37 +00:00
dev
4613e5f847
#1069 : Improved patch according to feedback in ticket
2015-04-08 17:49:28 +00:00
dev
44f8154f07
#1069 : Improved patch according to ticket feedback
2015-04-08 17:47:27 +00:00
5486874d1a
Tunnels: Add config to disable Bloom filter for testing
2015-04-08 14:50:12 +00:00
d868ca4740
Tunnels: Add new Bloom filter size, increase bandwidth limit (ticket #1505 )
2015-04-08 14:40:53 +00:00
780479be4b
Tunnel: Add bloom filter warning if high bw but low memory
2015-04-08 13:36:56 +00:00
4705f01bc5
Router: Move update extraction code to new class in tasks/
2015-04-08 12:33:16 +00:00
2f5f91a084
log tweaks
2015-04-08 11:52:02 +00:00
dev
e44fe98c7e
propagate from branch 'i2p.i2p' (head 6ae35262874a1828d53ddad22e6a6c4db7b031c1)
...
to branch 'i2p.i2p.tuna.tmp' (head 7d48c8e1a01f6c6f6cef802e0436c50785d89716)
2015-04-07 17:01:47 +00:00
dev
d8fbc9c170
Formatting
2015-04-06 21:10:49 +00:00
dev
facbe8f9a0
#1069 : Deprecated SimpleScheduler and moved functionality into SimpleTimer2
2015-04-06 21:05:24 +00:00
dev
4d8e577ffd
findbugs: Added companion equals() and hashCode() methods to existing compareTo()
2015-04-06 16:04:05 +00:00
dev
80eb7635c1
findbugs: Added companion equals() and hashCode() methods to existing compareTo()
2015-04-06 15:40:39 +00:00
dev
e3103762b6
findbugs: Removed synchronization on concurrent object
2015-04-06 15:00:40 +00:00
cce710e377
IRC Server: Better timeout handling when reading initial lines (ticket #723 )
...
Send error responses for timeout, EOF, and bad registration.
Only affects "user" mode, not webirc.
detab
move private fields to top
2015-04-05 17:36:30 +00:00
kytv
013c79bc45
Debian: Refresh patch
2015-04-04 21:59:36 +00:00
dev
1e375886bd
merge of '2cb50c2864d750f33039bdbaeb6c15d2bd636ce4'
...
and 'cb2fbb74aa4412375fdbc546fe2218ca1704cd7d'
2015-04-04 19:49:47 +00:00
dev
d1ac24c65d
findbugs: Covariant equals() method defined, Object.equals(Object) inherited
2015-04-04 19:49:37 +00:00
6aa1284848
i2ptunnel: Check for total header size too big,
...
log tweaks
2015-04-04 19:31:20 +00:00
bb082c35fc
recognize more error codes
2015-04-04 19:14:30 +00:00
f7577e7de8
i2ptunnel: Return specific error pages to client on errors
...
in HTTP header processing in the HTTP server (ticket #1507 )
2015-04-04 19:12:18 +00:00
b5df13d8b7
propagate from branch 'i2p.i2p' (head 2cb50c2864d750f33039bdbaeb6c15d2bd636ce4)
...
to branch 'i2p.i2p.zzz.test2' (head 9775e688503ec47dc12efa860a5571317af5f063)
2015-04-04 17:04:52 +00:00
9d76790cc5
javadoc
2015-04-04 17:01:40 +00:00
706ee243a5
Streaming read timeout fixes:
...
i2ptunnel:
- Better timeout handling when reading headers in HTTP server (improved fix for ticket #723 )
Enforce total header timeout with new readLine()
- Prep for returning specific HTTP errors to client on request timeout and header errors,
instead of just closing socket... further work to be in i2p.i2p.zzz.test2 branch
Streaming:
- Fix read timeout on input stream - was waiting too long, often twice as long as timeout, or more
Enforce total timeout even when notify()ed
- Fix read() returning 0 on read timeout instead of -1 (possible fix for ticket #335 )
This prevents passing partial headers to server on timeout
- Fix javadocs for read timeout to match current behavior
- Fix StandardSocket SoTimeout to account for differences with I2PSocket readTimeout
- log tweaks
2015-04-04 17:00:57 +00:00
351a1a8d27
i2ptunnel: Fix NoSuchElementException processing proxyList
...
caused by 03-31 checkin
2015-04-04 16:59:21 +00:00
6916cd7977
merge of '18f97452ba9fd5a7274ca689084ffe49b55c2cf3'
...
and 'c9caed8c48615dc740061fd28315ee659e1afe20'
2015-04-04 15:42:14 +00:00
dev
a444c25c2c
silence findbugs: use of uninitialized value
2015-04-04 13:44:37 +00:00
dev
45bc533e38
findbugs fix: equals() used to compare array and nonarray
2015-04-04 13:37:18 +00:00
03e890b01c
merge of '2e3b52a13c62422d86931cd194870b7e2698f3c2'
...
and 'fde331f6b10f0ef936a2aa0d68092df22348a581'
2015-04-04 11:21:50 +00:00
dev
0c90162e20
Copy directly into buffer without intermediate buffer
2015-04-04 02:27:24 +00:00
dev
ddc3ef8db3
Removed unnecessry buffering
2015-04-04 00:05:29 +00:00
fcec43b7ca
i2ptunnel: Fix stopping tunnel on bad args when starting,
...
broken by new state code
2015-04-03 23:46:24 +00:00
edb614d970
wrapper.config: Remove old mortbay properties, unused by new Jetty
2015-04-03 23:40:39 +00:00
dev
820b99e3d3
Commented out java runtime argument
2015-04-03 23:20:39 +00:00
dev
cf0453cee0
Initialize uniqueId lazily to avoid wasting entropy for messages where it isn't used
2015-04-03 23:01:16 +00:00
75a8d8f6d3
more ssl config tweaks
2015-04-03 13:33:59 +00:00
1ac8d99145
i2ptunnel: Send HTTP server port 443 traffic to the server
...
transparently, to support HTTPS over the same tunnel,
when so configured.
Jetty: Add extensive help to jetty-ssl.xml for setting
up SSL on the same server.
2015-04-03 12:19:41 +00:00
dev
b7b5512e7a
Formatting
2015-04-02 23:01:41 +00:00
485acd6c8d
Remove all the startRunning() calls in constructors,
...
which duplicated the new ones in I2PTunnel, causing all sorts of trouble.
May still need more locking. TBD.
2015-04-02 20:52:40 +00:00
dev
bb68728c82
Added link to blog post explaining why the flag was added
2015-04-02 20:44:52 +00:00
dev
f3b2eb69d2
Fixed syntax error
2015-04-02 16:32:38 +00:00
dev
168d688fc9
Disable JVM stats being written to file, to prevent long (up to ~400ms) pauses.
...
- Blog post: http://www.evanjones.ca/jvm-mmap-pause.html
- This change prevents tools that use the stats-file (/tmp/hsperfdata) from working (like jstat)
2015-04-02 16:05:43 +00:00
dev
ade93ea76d
Added model name for Xeon E3-1230v2
2015-04-02 15:58:46 +00:00
dg2-new
44503af88b
* Job Queue/stats: add stat/graph for amount of scheduled jobs.
2015-04-01 22:34:39 +00:00
eb7693561b
spelling
2015-04-01 13:59:51 +00:00
3ccb03f9be
propagate from branch 'i2p.i2p' (head bf7fc6bb213e734788d6527a4a689184ff73d6ad)
...
to branch 'i2p.i2p.zzz.test2' (head 6a04d890ef0ebf179ec6801d9d96afff26a2e515)
2015-04-01 13:48:18 +00:00
f3a2af8f10
make job runner quantity configurable
2015-04-01 13:48:06 +00:00
2ef615a3f7
I2CP: Allow larger client clock skew (ticket #1503 ),
...
better error message to client
javadocs
2015-04-01 12:50:51 +00:00
20197fc3ec
i2psnark: Fix changing data directory on Windows (ticket #1503 )
2015-04-01 12:41:38 +00:00
fadc624f7c
API: Fix some client-side APIs to honor defaults in Properties;
...
add javadocs to specify where we do and don't (ticket #1491 )
2015-03-31 13:18:11 +00:00
22c4149358
fix another split() bug
2015-03-31 11:26:02 +00:00
c770c6bc6a
i2ptunnel: Fix multiple SSL outproxies in HTTP client
...
escape and truncate URL on error page
2015-03-31 11:21:32 +00:00
891408191e
UPnP: Don't rescan when shutting down
2015-03-29 14:59:11 +00:00
9a8fa246a9
I2CP: Prevent NPE when router receives messages without prior session (ticket #1503 )
2015-03-29 13:45:14 +00:00
83c3152b5d
JobQueue: Don't start thread in constructor (ticket #973 )
2015-03-29 13:40:04 +00:00
956730c5e9
log tweak to help diagnose ServerSocket closed
2015-03-28 10:54:00 +00:00
72b9c92a6e
better 7 bit error message
2015-03-28 10:51:59 +00:00
349255d252
exit code checks and javadocs
2015-03-28 10:49:43 +00:00
ac902badcd
log tweak to hide i2pd badness
2015-03-28 10:47:10 +00:00
9dc2ae0d7e
fixup after prop
2015-03-28 10:25:45 +00:00
188bd6db7b
propagate from branch 'i2p.i2p' (head 2ce39645bf3b3b7fc2f083ebcb073f104114e939)
...
to branch 'i2p.i2p.zzz.815' (head 4f0279eb4cf13e547a64913443ff7819a43962c0)
2015-03-27 14:47:49 +00:00
3a8ce64c84
I2PTunnel client-side locking fixes (ticket #815 )
...
Checkin of patches from Oct. 2013, based on 0.9.8.1.
Had some issues back then, and not tested recently.
Prop from i2p.i2p to follow.
2015-03-27 14:16:41 +00:00
f3d573cab0
i2ptunnel HTTP client: Replace all getBytes() calls
...
with a Writer or getBytes("UTF-8") for efficiency and to
avoid encoding issues.
Store strings as strings, not bytes.
Catch IOEs to prevent cascading error pages.
Minor cleanups
2015-03-25 12:10:14 +00:00
9e18c7ea18
Streaming: Throw I2PSocketException when connection is reset,
...
display new error page in HTTP client (ticket #643 )
javadocs
2015-03-24 14:33:36 +00:00
a975dc4427
Summary bar: linkify news headings, remove 'show news' link
2015-03-23 15:47:33 +00:00
b875e284af
merge of '33b368d75d4b7536dd4a29efa35fba64e6dc409d'
...
and '8eb5a0d367c4b34eadc326e0ba727e998e6f5505'
2015-03-23 14:21:05 +00:00
str4d
46fe4298b9
States for TunnelController ( #815 )
2015-03-23 13:59:05 +00:00
str4d
9790d3ba64
Tweak so TODO is marked in IDEs
2015-03-23 12:50:33 +00:00
str4d
2d31f30a22
ReadWriteLock in TunnelControlGroup ( #815 )
2015-03-23 12:49:30 +00:00
str4d
2fefe93922
merge of '91e8b79f2d8c4ffd26867eb6ddd0ee63d22b0ca9'
...
and 'dd39c6a48fec46017ce527d8b8b8208369ecda5e'
2015-03-23 12:47:40 +00:00
str4d
399b068a4e
Fixed NPE in test
2015-03-23 03:54:21 +00:00
dcffde6eeb
Javadoc: missing package.html files in applications (ticket #1109 )
2015-03-22 18:37:40 +00:00
78074f6a7e
Javadoc: missing package.html files in i2p.jar (ticket #1109 )
2015-03-22 17:32:35 +00:00
79dc01f7e4
Javadoc: missing package.html files in router.jar (ticket #1109 )
2015-03-22 16:35:21 +00:00
0f6040ecb1
enforce a minimum number of RIs to bundle
2015-03-22 12:44:32 +00:00
a0ab72e362
more /configreseed help text
2015-03-22 12:26:05 +00:00
2c45378c6d
Console: Better status feedback on manual reseed from URL
...
Reseed: Better status feedback and cleanup in summary bar
2015-03-22 10:08:48 +00:00
44c75187f5
set tunnel name for ping
2015-03-22 08:30:38 +00:00
2609a4d124
Floodfill: Don't become ff w/o ECDSA support
...
Don't transition to non-ff when shutting down if configured true
Set ff for cap P and X
2015-03-22 08:30:10 +00:00
2d58501db3
Plugins: Add form to browse for local plugin file to install,
...
easy since we have multipart in console now
Better status feedback from update manager to console
2015-03-21 17:23:19 +00:00
a337185820
better temp dir fallback and logging
2015-03-21 12:38:48 +00:00
9c0aa0c271
randomize i2psnark temp dir name
2015-03-21 12:19:03 +00:00
b2e908f094
add removed certs to delete list
2015-03-21 12:14:07 +00:00
ef32d37073
TunnelPool: Reduce expl. quantity adder for ff since we're
...
doing mostly direct lookups now, and delay adding them at
startup to give client tunnels a chance
2015-03-21 12:13:22 +00:00
f0961a9658
more accurate job stats
2015-03-21 12:10:10 +00:00
str4d
876b5714be
merge of '7c32d2fbb882e6d56cb06fc0e272f05ee2c0b8ed'
...
and '7e72459b27feb5176e98c5efc843f63e46e8f63d'
2015-03-21 09:59:00 +00:00
str4d
825cd7ff4c
Docstring spelling fix
2015-03-21 04:29:45 +00:00
str4d
47f3476078
More I2PTunnel UI logic into GeneralHelper
2015-03-21 04:29:32 +00:00
kytv
7b10ebc117
fix previous commit
2015-03-20 19:43:01 +00:00
kytv
e5cdfd206d
Re-enable uk.reseed.i2p2.no; it's back up (ticket #1487 )
2015-03-20 19:25:42 +00:00
dd4c62b560
TunnelDispatcher: Start part. tunnel cleanup job sooner since
...
we're accepting tunnels sooner.
2015-03-20 16:54:03 +00:00
aae801efaf
sort config tabs
2015-03-20 16:51:34 +00:00
e02d44433d
missed file from last checkin
2015-03-20 13:32:42 +00:00
590a3c98e5
charset
2015-03-20 12:32:53 +00:00
7f472e4ee9
Console:
...
- Move multipart form support from susimail to jetty-i2p.jar
so console can use it
- Add multipart form support to formhandler.jsi and FormHandler.java
Reseed:
- Fix zip magic number
- Finish manual reseed from local file
package.html files for jetty-i2p.jar
2015-03-20 12:30:04 +00:00
a3802d4d8b
javadoc fix
2015-03-20 12:29:40 +00:00
59348f8dbd
Reseed:
...
- Add form to manually reseed from zip or su3 URL
(result status not yet working)
- Add form to manually reseed from local zip or su3 file
(not yet working, needs multipart/form-date moved from susimail)
- Add form to create reseed zip file to share
(working)
- Backend support and refactoring in reseed code
2015-03-19 23:17:18 +00:00
8742a66f2f
fix susimail HTTP headers
2015-03-19 21:36:23 +00:00
a2f027e136
NetDB: Don't publish non-ff RI on exit if we are coming right back
2015-03-18 19:58:31 +00:00
cb4359cd0a
Streaming: Reduce min RTT again
2015-03-18 17:50:40 +00:00
163c172823
StatisticsManager: Publish dummy LS count if we just started
2015-03-18 17:29:08 +00:00
80a2d2c1f5
Router: Allow disabling the setting of some System properties, for embedded applications
2015-03-18 14:40:17 +00:00
486f282999
add CoreVersion.getVersion()
2015-03-18 14:13:05 +00:00
1293dccf35
I2CP Multisession support and multiple destinations in one tunnel pool.
...
Work in progress.
Router-side I2CP mostly done.
Client-side I2CP mostly done but undecided on how to handle
listeners.
Streaming stubbed out but may be wrong, may need multiple socket managers,
not clear how to proceed.
I2PTunnel not started.
Blacklist of DSA-only dests not started.
Router leaseset publishing not correct. Not clear whether to have
additional tunnel pools with flags, or put the tunnel pools into
the client hashmap twice. Client config contains destination,
may need to move that to tunnel pool.
2015-03-18 12:59:50 +00:00
91fe62eee3
History for prop, -6:
...
Prop from i2p.i2p.zzz.upnp, containing:
Cyberlink for Java v3.0 + (2015-02-15) from github
See branch revs for more info and fixups.
Previous was Cyberlink for Java v2.1 (2011-09-16) from SVN.
From a scan of the 2.1-to-3.0 diff, it's mostly
formatting changes, getting rid of DOS line endings,
and a couple of new features we don't need.
I see very few fixes. And the Device.getAbsoluteURL()
"fixes" did not work in my testing, I had to fix them again.
Unlikely to fix any of the open UPnP tickets #481 #725 #728 #1194 #1480 .
But now we're current.
2015-03-18 12:15:41 +00:00
d3f5596cb2
propagate from branch 'i2p.i2p.zzz.upnp' (head 8719ae9a1473d748947733043f465a4589cc23d5)
...
to branch 'i2p.i2p' (head 5ae9785903c4b9452f4241758e8ddc1338e94574)
2015-03-18 12:13:41 +00:00
d7a88db87a
NetDB:
...
- Send exploratory lookups directly to the floodfill if
we are already connected to him
- Don't encrypt RI lookups when overloaded
- Don't explore when overloaded
- SearchJob cleanups
Tunnels: Drop instead of reject requests on high job lag
2015-03-18 12:10:30 +00:00
0af1f67c33
Router: Revert deprecation;
...
addCapabilities() tweaks
2015-03-17 21:38:59 +00:00
8dde7b70db
UPnP:
...
- New fix Device.getAbsoluteURL() once again after merge
- Don't load local files in Service.getSCPDNode()
2015-03-17 21:29:03 +00:00
64faeef6c4
restore previous javadoc fixes after merge
2015-03-17 19:11:21 +00:00
c79e4aeaea
propagate from branch 'i2p.i2p' (head 97716ce246bcbee153cf1a28253bac2385ddf7be)
...
to branch 'i2p.i2p.zzz.upnp' (head e508f71db90f382080b98d11efbdb4d88c1bc406)
2015-03-17 18:49:37 +00:00
8b6a86e391
merge of 'c5e201203713f0fefcdef642ca50597f8936c79c'
...
and 'fbd68f812db1e891f96e212b3a5938beec0233b5'
2015-03-17 18:21:12 +00:00
92daf4a8df
Cyberlink for Java v3.0 + (2015-02-15) from github:
...
Unmodified cybergarage-upnp from github rev 9499b03 2015-02-05
https://github.com/cybergarage/cybergarage-upnp/commits/master
which is the same as rev 3ed1af9 2014-07-28 except for
the addition of README.md which we aren't using.
This is post-version 3.0.
Omitted files:
router/java/src/org/cybergarage/xml/parser/XercesParser.java
router/java/src/org/cybergarage/xml/parser/XmlPullParser.java
router/java/src/org/cybergarage/xml/parser/kXML2Parser.java
chmod all files back to 644.
Diverging from 2.1 checkin rev 59eae97dbb470d8c4a1e4dba3a9763e134bb0c53
in prep for merging.
License unchanged.
Compile tested only.
2015-03-17 14:36:05 +00:00
819b07a52a
minor refactor
2015-03-17 13:18:30 +00:00
b8f8c6129d
prevent negative sleep
2015-03-17 13:17:38 +00:00
25d1ae195a
New translations from tx:
...
Indonesian, Finnish, Malagasy, Albanian, Korean, Ukrainian, Brazilian Portuguese, Dutch
Note broken translations in TX config file
2015-03-17 13:16:40 +00:00
d22b05e114
NetDB: Send RI lookups directly to the floodfill if
...
we are already connected to him
(from ISJ only; does not affect exploration, verifies, LSes, ...)
2015-03-16 22:40:25 +00:00
db25eff74a
log tweak
2015-03-16 22:38:29 +00:00
c927441d66
case-insensitive sort of stats
2015-03-16 20:14:32 +00:00
7e4832d5f2
lint
2015-03-16 15:44:45 +00:00
819b35c760
Router: Increase exploratory tunnel quantity if floodfill
2015-03-16 15:20:03 +00:00
071498c413
Router: Republish RI early if capabilities change
...
- RI javadoc clarifications WRT caps
2015-03-16 15:10:36 +00:00
7125ed0492
Apache Tomcat 6.0.43
2015-03-16 09:34:37 +00:00
de201bdd9c
Throttle: Reject tunnels based on job lag
2015-03-16 09:12:41 +00:00
4fccd258e6
javadoc fixes
2015-03-16 09:08:03 +00:00
str4d
56d705739b
Migrate accessors to GeneralHelper, fix broken outproxyAuth boolean
2015-03-15 20:26:36 +00:00
str4d
2a9d61b1ed
merge of '6eb0d9bd5731afaa33fa1a0c82dd08a1d16d104b'
...
and 'f4fa275a1d6e014c64c5ff063fb890dd05e4ed60'
2015-03-15 20:13:16 +00:00
a9f6839a04
NetDb: Track flood success
2015-03-15 13:37:22 +00:00
5b555855ef
Clear displayed tracker issues when restarting torrent
...
lint
2015-03-15 12:52:26 +00:00
76cf80a3d0
Job Queue:
...
- Fix overload dropping
- Add drop count to job stats
- Decrease overload threshold again
- Concurrent tweaks
2015-03-15 11:48:12 +00:00
4c6aaa32b6
Router javadocs, stub out class P,
...
throw ISE instead of exit() if another router running
2015-03-15 11:42:00 +00:00
74ab1bff53
threshold tweaks for floodfill
2015-03-15 11:37:03 +00:00
b5bba5e3c8
log tweak
2015-03-15 11:35:49 +00:00
str4d
7e5bd17714
Move saveTunnel() and deleteTunnel() from IndexBean into i2ptunnel-ui.jar
2015-03-14 02:52:16 +00:00
ec6207fc78
Job Queue:
...
- Drop garlic message decryption jobs on overload
- Decrease overload threshold
2015-03-13 17:50:32 +00:00
36d47a0ba9
minor cleanup
2015-03-13 17:48:29 +00:00
0289cefd8d
lint
2015-03-13 17:26:15 +00:00
dg2-new
521eb2d8f8
Router: create router.integratedPeers (floodfills) stat, and allow graphing of it.
2015-03-13 16:53:08 +00:00
0494266649
i2psnark:
...
- Auto-reduce tunnel quantity based on peer count
- Increase max tunnels
2015-03-13 14:56:35 +00:00
8fac5c064e
fix i2ptunnel.war
2015-03-13 14:14:49 +00:00
str4d
0b6f74e646
Enable proxy authentication type to be configured
2015-03-11 23:46:38 +00:00
str4d
b8b272a5b8
Better multi-mode setters
2015-03-11 10:57:07 +00:00
str4d
a570e09166
Explicit boolean setters in TunnelConfig
2015-03-11 10:34:02 +00:00
str4d
1919e36c30
Move TunnelConfig to .ui, separate it from i2ptunnel.jar
2015-03-11 03:58:24 +00:00
str4d
812c00f11e
Move TunnelController config creation logic into class that Android UI can use
2015-03-10 20:05:45 +00:00
kytv
419e27cfd1
Disable (jp|uk).reseeder.i2p2.no (tickets #1422 , #1487 )
2015-03-09 15:49:52 +00:00
kytv
d761c02909
Remove commented out reseed server i2p-netdb.innovatio.no and its associated certificates.
2015-03-09 15:40:40 +00:00
c7d1d2b69a
console: Hide cancel graceful shutdown button unless we are shutting down
2015-03-08 20:23:00 +00:00
0972b6b56a
more test cases
2015-03-08 20:20:50 +00:00
6e3cf7869f
log tweak
2015-03-08 20:20:06 +00:00
f7337b4891
i2psnark: Increase min and default bandwidth
...
Add creation date to created torrents
log tweaks
more test cases
2015-03-08 20:19:12 +00:00
55161dec17
Router Throttle: Tweak messages during probabalistic rejection,
...
other cleanup
2015-03-08 20:07:05 +00:00
b65b53b0df
Transport: Add missing bogons to IP validity check
...
192.0.0.2 seen out there (RFC 6333)
2015-03-08 20:05:50 +00:00
49e1e1c8a4
minor transport cleanup
2015-03-08 20:02:28 +00:00
str4d
9b73fcda40
Include priority for logged strings
2015-03-04 19:07:28 +00:00
str4d
b92e1ee9aa
Split LogWriter to make Android subsititution simpler
2015-03-02 10:56:50 +00:00
kytv
04ac54cd35
Re-enabling host; its su3 files are now properly signed.
2015-03-01 23:37:27 +00:00
kytv
d47916f753
re-enable jp.reseed.i2p2.no (ticket #1422 )
2015-03-01 22:34:15 +00:00
b0ea1d691a
log fix, comment fix
2015-02-23 09:50:43 +00:00
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
kytv
2d5f7aaae5
year typo fix
2015-02-18 23:48:21 +00:00
kytv
5a7a7ac83d
typo fix
2015-02-18 22:36:52 +00:00
kytv
f217af2deb
extend checkcerts.sh to print bits and hash information
2015-02-18 22:36:33 +00:00
kytv
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
kytv
29953ea5e4
Debian: confine daemon with apparmor (ticket #1061 )
2015-02-18 22:25:24 +00:00
kytv
bb9cef1e40
Add example apparmor profile (ticket #1092 )
2015-02-18 21:38:25 +00:00
kytv
ece2f1484c
refresh debian patch
2015-02-18 21:32:34 +00:00
kytv
a3c8a4363d
Pulling in translations from Transifex
2015-02-18 20:20:52 +00:00
kytv
2f90b5a201
refresh debian patch
2015-02-17 19:27:11 +00:00
dg2-new
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
dg2-new
f41df969b7
merge of '3e2231827648f614c5df325d9904e8d454e9a847'
...
and 'cddd2e9d2cf6f5c50a7d9948fbb2b3247d9768eb'
2015-02-16 08:07:54 +00:00
dg2-new
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
kytv
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
kytv
c52047e6cd
Remove reseed host by hoster's request
2015-02-15 19:10:48 +00:00
dg2-new
9163d41228
* I2PSnark, Jetty, SAM, crypto: findbugs resource leaks.
2015-02-10 21:57:27 +00:00
kytv
1be9bb29e8
disabling us.i2p2.no over http
2015-02-08 15:05:04 +00:00
kytv
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
str4d
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
meeh
d271411552
Added Dock fix for Mac OSX 10.10
2015-01-03 01:51:32 +00:00
kytv
31d98ac4a5
new reseed host
2014-12-30 02:18:30 +00:00
kytv
78f4cc8e30
Add two certs to deletelist (missed in last commit)
2014-12-22 16:27:58 +00:00
kytv
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
kytv
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
kytv
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
kytv
94a19171ed
reseed server and comment updates
2014-12-13 18:54:28 +00:00
kytv
8099591589
correct certificate line endings
2014-12-13 18:38:41 +00:00
kytv
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
kytv
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
kytv
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
kytv
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
kytv
7010d9b524
really bump
2014-11-28 20:43:42 +00:00
kytv
947a3a2181
bump build (-11-rc)
2014-11-28 20:42:33 +00:00
kytv
0ff87ef8cb
merge of '3e6cfe9a01136316f39f1bd294a515e6bc91ff8e'
...
and 'b4b595d294ace07f7fde583957d8e00e96af347c'
2014-11-28 20:39:57 +00:00
kytv
ec20150ffd
geoip updates (2014-11-05)
2014-11-28 19:29:16 +00:00
kytv
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
str4d
49b8a65ad9
Integer.compare() is 1.7 syntax
2014-11-21 22:52:19 +00:00
str4d
9781cb72ac
Bump version
2014-11-21 13:11:47 +00:00
str4d
f7e83fb839
Require at least one update in a release
2014-11-21 13:09:58 +00:00
str4d
ce2a2cf684
Only need one torrent magnet; tighten update type spec
2014-11-21 13:02:57 +00:00
str4d
c88fa70f82
Cleanups
2014-11-21 12:52:24 +00:00
str4d
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
str4d
7f72830ec8
JavaDoc fixes
2014-11-14 22:00:51 +00:00
str4d
2caaad95ec
Comment out not yet implemented tests
2014-11-14 21:52:47 +00:00
str4d
09b995aca6
BigIntegerFieldElement.isNonZero() tests
2014-11-14 21:51:53 +00:00
str4d
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
kytv
0773a30578
add hamcrest-all to classpaths and minor formatting fixes
2014-11-12 17:42:50 +00:00
kytv
962f5efe6b
merge of '1e0d390eeacce432f968251f1bbbe03ef031a116'
...
and 'f61d617d9bfd5759366102b0b5ff45effde08e84'
2014-11-12 14:52:52 +00:00
kytv
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
str4d
fd7e549915
Added EdDSA tests
...
Source:
https://github.com/str4d/ed25519-java
Git commit:
58e4efadf972f4dc4f67c05152f82b49fb22bac6
2014-11-12 10:21:46 +00:00
str4d
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
str4d
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
2284c963af
drop dummy crypto stubs
2014-11-01 15:52:02 +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
eae277fb77
dont add whitespace to XHTML output
2014-10-24 14:11:40 +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
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
str4d
a83c88e886
propagate from branch 'i2p.i2p' (head 4b264686657ff54a00224313e00de68d37edbd31)
...
to branch 'i2p.i2p.unittests' (head 63cf9916eca4b38ab0707cd781c308312e27d75f)
2014-01-14 05:09:31 +00:00
str4d
bcfc7630d1
propagate from branch 'i2p.i2p' (head 166cedda170ef76decb2d53129cfbbf8eba0b7b9)
...
to branch 'i2p.i2p.unittests' (head 70175d5dae110f7d3efee256c9169e68f4a83d9f)
2013-07-03 10:54:18 +00:00
str4d
3b7daafad7
Fill in basic datastructure length tests
2013-06-09 12:21:35 +00:00