f8a54bde19
0.9.9
2013-12-07 15:30:29 +00:00
d87d4eb232
I2CP: Disconnect client on attempt to publish invalid leaseset
2013-12-05 16:14:51 +00:00
88ea451f81
propagate from branch 'i2p.i2p' (head 2634e424f06e58231c47f1ec318e9ae21c94a8b3)
...
to branch 'i2p.i2p.zzz.test2' (head 68ca880caf69a06c0fd01fc70675df795aef1de2)
2013-12-05 16:07:32 +00:00
7fe8573df4
i2psnark ConnectionAcceptor:
...
- Fix ConnectionAcceptor not restarting after tunnel
restart, preventing incoming connections
- locking tweaks
- cleaner reschedule tweaks
- don't store server socket locally
- constructor tweaks / finals
- Stop acceptor when tunnel disconnects
- javadocs
2013-12-04 14:17:38 +00:00
c180292358
Style fix: leave brackets around for() one-liners
2013-12-04 03:51:02 +00:00
445e4301d5
bump for review
2013-12-01 21:27:43 +00:00
0ff423fc57
I2PTunnel: Don't send 'X-Forwarded-For' on HTTP server tunnels for anonymity reasons (reported by 'trixie' on IRC).
2013-11-28 21:03:19 +00:00
efe3bd2c05
Use for each when Iterator not needed
2013-11-28 11:56:54 +00:00
f112baac48
propagate from branch 'i2p.i2p' (head cbfe85d22c4d0b05c901db3fa751b57889d9b2d6)
...
to branch 'i2p.i2p.str4d.cleanup' (head 94fe1764f50b459da18222434034ad46d604c7a1)
2013-11-28 11:12:41 +00:00
707f616498
Changes from -rc diff review
2013-11-28 11:10:57 +00:00
97a9a6090a
Use copy constructor instead of clone()
2013-11-27 01:55:29 +00:00
8b8e2c88c1
type argument
2013-11-27 01:55:14 +00:00
8fd2f9090e
propagate from branch 'i2p.i2p' (head 7903431c2a396fceb1e0428b2be3dde03ba24635)
...
to branch 'i2p.i2p.str4d.cleanup' (head cfbae7380c3fa106f578d5de399701cfb72d5747)
2013-11-27 00:57:19 +00:00
434b9fa0d1
GeoIP: Thread the periodic lookup so it doesn't clog the timer queue
2013-11-26 16:28:24 +00:00
56116ad8c2
PeerManager: Thread the periodic reorg so it doesn't clog the timer queue
2013-11-26 15:51:00 +00:00
c0ef19a281
i2psnark: Fix mixed public/private tracker detection
...
(thx str4d)
2013-11-26 03:07:21 +00:00
e77409e57a
Close resources
2013-11-25 23:14:09 +00:00
615ba94559
propagate from branch 'i2p.i2p' (head d12a1fd746cd9314de5de5e1000c02cf4c59100d)
...
to branch 'i2p.i2p.str4d.cleanup' (head e20c143dd50a9c802999068a95e12198b07e4c36)
2013-11-25 22:36:27 +00:00
ce0596d5b1
Reseed: Listen to "Require SSL" config option
2013-11-25 21:11:56 +00:00
35b6926e4f
Ticket #1047 : Do not adjust window on receiving dups.
2013-11-25 19:21:27 +00:00
60aa8c57a4
I2PTunnel: Fix a shared client configured with i2cp.newDestOnResume
...
not restarting correctly, caused by previous checkin
2013-11-24 23:42:53 +00:00
c6f2d4948b
Class generics
2013-11-24 23:41:06 +00:00
796a231f54
NetDB:
...
- Move net.i2p.kademlia package from i2psnark to core, and convert
netdb to use it.
- Delete old implementation in netdb
- Fixups in netdb for generics
- Add debug output to /debug
This is the next step in the development plan, in which we previously:
- Copied the code from netdb to the i2p.zzz.kademlia branch, fixed it,
and made it generic for hash size (June 2012);
- Moved it from the i2p.zzz.kademlia branch to the i2p.i2p.zzz.dhtsnark
branch, and implemented KRPC with it (June 2012);
- Propped it from i2p.i2p.zzz.dhtsnark to trunk for 0.9.2 (July-Sept. 2012);
- Proved it out in 0.9.2 - 0.9.9 (Oct. 2012 - Nov. 2013)
The plan was to maintain the KBucketSet public methods throughout the development
so we could drop the new version back into netdb, so here we drop it in.
Setting of K=16, B=3 is just an initial guess, to be reviewed.
This moves about 18 KB from i2psnark.jar to i2p.jar and removes about 12 KB from router.jar.
Unit test fixup: todo.
2013-11-24 16:38:51 +00:00
e1fcad686c
propagate from branch 'i2p.i2p' (head 72c44737466e553fec443a79fffa7636894fe383)
...
to branch 'i2p.i2p.str4d.cleanup' (head 5a2425d7523b732840e55039f88cea5699f1aa83)
2013-11-24 01:20:11 +00:00
ffa03f2b83
IterativeSearchJob:
...
- Recheck completion status just before sending out a wrapped message
- log tweaks
2013-11-23 17:56:40 +00:00
f42ac71fe0
UDP PeerState findbugs volatile/atomic/synch
2013-11-23 14:37:33 +00:00
143a0dfc47
Transport: Reduce target connections from 60% to 45% of limit.
...
This will improve network capacity.
Apparent problems with lower limits were actually due to
unrelated bugs that were fixed by 0.9.8.1-22.
This can go lower still; I've been testing 33% without issues.
2013-11-23 14:29:23 +00:00
9e4d5c0e61
propagate from branch 'i2p.i2p' (head da40262a8b7685de3877c1d7d6d16a155caa9e7c)
...
to branch 'i2p.i2p.zzz.test2' (head 6263bb149b8301059d0471bcc1d47caeca660f4e)
2013-11-22 17:29:45 +00:00
9b8d3eb688
Startup:
...
Wait a while and recheck if a recent ping file is there,
so that a crashed router doesn't prevent a restart (ticket #633 )
2013-11-22 17:27:49 +00:00
e853d9a40b
Router: more type arguments, for each
2013-11-22 10:16:34 +00:00
0454639db8
bump -30-rc
2013-11-21 23:02:21 +00:00
c97d07e10a
org.cybergarage.*: more type arguments
2013-11-21 06:08:41 +00:00
567c328331
org.cybergarage.*: type arguments, unused imports
2013-11-21 05:58:54 +00:00
3aa982529e
org.xlattice.crypto.*: type arguments
2013-11-21 05:56:14 +00:00
0c07f9ff96
More type arguments in UDPTransport
2013-11-21 05:23:35 +00:00
f0055ccbfe
Made type argument for Transport.getClockSkews() consistent
2013-11-21 02:27:53 +00:00
693cc828c2
Type arguments in OutNetMessage
2013-11-21 02:27:03 +00:00
4910266d9b
merge of '63ea1d70b3fd3886a050d7b196cd7ae261844164'
...
and '6a57f7039fe5697b9770d642ac1d4653e4b9878c'
2013-11-20 23:10:52 +00:00
abe1dc676e
Dead code, type arguments
2013-11-20 22:05:37 +00:00
9de57a5d5a
log tweak; bump -29-rc
2013-11-20 21:16:13 +00:00
2cc742c3ed
Fixed stupid pasting bug
2013-11-20 19:54:10 +00:00
6dc6ca7713
avoid <? extends Object> generics
2013-11-20 15:11:35 +00:00
796dbc5d2e
Fixed bug hidden by Set<RouterInfo> -> Set -> Set<Hash> unchecked conversion
2013-11-20 04:18:15 +00:00
c86845078c
Reverted change in net.i2p.router.Router
2013-11-20 04:06:59 +00:00
bacce17990
Router: type arguments, unused imports
2013-11-20 02:46:24 +00:00
244209d3b7
Translation updates, addition of Japanese language
...
-28
2013-11-19 23:59:46 +00:00
7e3e08532f
more static atomics
2013-11-17 15:03:10 +00:00
1d4190734d
Findbugs all over
...
- volatile -> atomic
- unused code and fields
- closing streams
- hashCode / equals
- known non-null
- Number.valueOf
- new String
Still avoiding SAM, BOB, SusiMail
2013-11-16 13:22:05 +00:00
ea7b42810f
* InboundMessageDistributor:
...
- Put garlicked DSM messages in the InNetMessagePool instead of handling directly,
so the IterativeSearchJob will see the response and declare success.
Only affected LS lookups as we do not request encrypted replies for RI lookups.
Similar to the fix for verifies 6dc5bed94321ae2b290cfe351511d18465e08f91
This bug was causing initial lookups to fail but subsequent ones to succeed.
Broken since 0.9.7 when encrypted replies was introduced.
Ticket #1125
2013-11-14 17:39:31 +00:00
19022baa27
log tweaks, final
2013-11-14 17:36:57 +00:00