Commit Graph

4280 Commits

Author SHA1 Message Date
zzz
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
zzz
35739289cd Console: Fixed summary bar overflow (ticket #1739) 2016-01-07 14:16:14 +00:00
zzz
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
zzz
f85d03085b Build: Remove big geoip files from release again 2016-01-06 17:57:06 +00:00
zzz
2f09389ddd netdb minor cleanups 2015-12-23 10:59:53 +00:00
zzz
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
zzz
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
074c5aa16c merge of '22cebc21c21e3a101e03165f26a5e9fddc3648da'
and 'e210f94f3d17359b39a6b24f2a5e1221a86abfd0'
2015-12-20 21:07:16 +00:00
zzz
879b70617b Family: Discard old key property so the separator change will happen 2015-12-20 15:24:35 +00:00
zzz
cad0ab17dc SSU: Fix received msg count, broken in last checkin 2015-12-20 15:23:00 +00:00
zzz
4250f78ddf javadoc fix, bump 2015-12-20 14:33:24 +00:00
zzz
64f5c662fa synch 2015-12-20 14:20:28 +00:00
zzz
e9146ebc77 Family: change separator from ';' to ':' 2015-12-20 14:17:42 +00:00
zzz
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
2246e21340 Replaces instances of getBytes() in router classes 2015-12-20 01:26:33 +00:00
zzz
0b94d866f0 BuildHandler: Improve handling of null 'from' value
when not IBGW (ticket #1738)
2015-12-19 22:17:33 +00:00
zzz
d0eaf4d899 BuildHandler: Fix NPE (ticket #1738) 2015-12-18 15:44:11 +00:00
zzz
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
zzz
95946606ef log tweak, bump 2015-12-13 17:35:00 +00:00
zzz
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
zzz
db86850d15 Addresses: Catch a rare (Windows only? IPv6 only?) error
when enumerating network interfaces
2015-12-13 16:40:42 +00:00
zzz
97ae1e5034 Cleanup: Don't use DataHelper.writeLong() for a single byte 2015-12-13 16:38:06 +00:00
zzz
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
zzz
2c1b9c2d37 Javadoc fixes
Better OCMOSJ Javadocs
2015-12-12 14:31:52 +00:00
zzz
cddc1b362e Another deadlock fix: remove sync in Router.isHidden() 2015-12-12 13:21:29 +00:00
zzz
3a4e82f025 Family: Publish pubkey in RI; use it to verify if no cert available 2015-12-12 12:14:51 +00:00
zzz
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
zzz
00d6a49653 Router: Don't let context clock shifts affect calculated uptime 2015-12-11 17:11:16 +00:00
zzz
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
zzz
7680ecbdc4 Transport: More deadlock prevention (ticket #1722) 2015-12-11 15:28:39 +00:00
zzz
00a5d19534 Limit wait for NTP to 45 seconds (ticket #1725) 2015-12-11 15:16:16 +00:00
zzz
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
zzz
393b593785 Logs: Windows line ending fixes for event log and duplicate message in router log 2015-12-11 15:06:22 +00:00
zzz
32df925fa6 More Sybil tool tweaks 2015-12-10 13:09:33 +00:00
zzz
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
zzz
af8b8ecddd Startup: Increase rekey probability again 2015-12-06 17:35:31 +00:00
zzz
d45dc8d0f3 NetDb: Stub out a "family" indicator (ticket #1510) 2015-12-06 16:52:27 +00:00
zzz
826bb54984 minor cleanup 2015-12-06 16:30:46 +00:00
zzz
ff4d575196 Profiles:
- Change doubles to floats to save memory
  - Move fields to top
Sybil tool: Tweaks
2015-12-04 21:25:25 +00:00
zzz
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
zzz
cab69f6583 NetDb: Fix deadlock (ticket #1722) 2015-12-03 18:07:29 +00:00
zzz
5bd0041f8b Console: Add experimental Sybil analysis tool
requires routerconsole.advanced=true
2015-12-03 17:44:15 +00:00
zzz
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
zzz
72527f4d33 SSU: Allow IP and port in relay request if it matches the source 2015-12-01 20:11:07 +00:00
zzz
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
1c1511267d after extended downtime, disabling https://i2pseed.zarrenspry.info/ as a reseed host 2015-11-30 19:08:50 +00:00
zzz
68b4ad2238 declare 3.2 complete, bump -5 2015-11-28 21:45:36 +00:00
zzz
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
zzz
38c8e017a8 i2psnark: Increase max pieces to 32K 2015-11-28 13:01:00 +00:00
zzz
b1668bbc11 Fixup after prop, history, bump -3 2015-11-27 21:10:10 +00:00