50 Commits

Author SHA1 Message Date
bd8b31845a Add github sync for i2p.plugins.orchid
Some checks failed
Sync Primary Repository to GitHub Mirror / sync (push) Has been cancelled
2025-05-10 18:48:47 -04:00
zzz
c7e0df48bb Release 1.2.2-0.6 2019-08-21 12:30:46 +00:00
zzz
29bdda5d0a Update dizum dirauth IP (tor ticket #31406)
log tweak
2019-08-21 12:19:53 +00:00
zzz
a7a9b2642a microdesc fixes part 3 2019-08-18 14:29:01 +00:00
zzz
cd53feb4a7 microdesc fix part 2 2019-08-18 12:05:26 +00:00
zzz
5350fcae7e fix for empty tooltip with microdescriptors 2019-08-17 23:01:56 +00:00
zzz
c4038916c4 Selected and modified portions of patch from drz3d:
- Overhaul front-end to use full html output and a default light theme
 - Enable GeoIP lookups for nodes to permit display of flags
 - Add country code lookups for nodes and display on tooltip
 - Mitigate logging output issues caused by html output
 - Set useMicroDescriptors to FALSE so additional node information can
   be presented in the UI, if enough memory available
 - Allow 2nd parameter in extra-info-digest when pulling full descriptors
 - Display platform, observed bandwidth and uptime on circuit node tooltips
 - Add hints and notes to config section, and include missing options
 - Change maxCircuitDirtiness to Tor default of 10 minutes

The modifications to the Orchid source code are released under the same license as the parent application.
--
dr|z3d - z3d@mail.i2p

Thanks to George Hodan for the orchid image
http://www.publicdomainpictures.net/view-image.php?image=35307
See LICENSE-FatCowIcons.txt & LICENSE-Fugue-Icons.txt in i2p/licenses/ for icon licences

Conversion from new MaxMind format to v.1 GeoIP.dat format courtesy of:
https://github.com/sherpya/geolite2legacy
Usage:
wget https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz
./geolite2legacy.py -i GeoLite2-Country-CSV.zip -f geoname2fips.csv -o GeoIP.dat
For GeoIP licensing information, See the MaxMind license in the I2P application directory:
i2p/licenses/LICENSE-GeoIP.txt
2019-08-17 14:35:17 +00:00
zzz
d0ef965cd9 set BSD license for i2p code 2019-08-16 18:38:56 +00:00
zzz
861f7e94ee 1.2.2-0.5
Reduce max descriptor age
Enforce max certificates file age
orchid-1.2.2-0.5
2019-06-24 15:38:10 +00:00
zzz
b701694222 Remove unused XMLRPC Transport and related libs
Shrinks su3 by 50KB
Remove unused things from build classpath
2019-01-17 16:39:09 +00:00
zzz
d8fee276f0 Remove restrictive SSL cipher list which caused nothing to work (ticket #2079)
Version 1.2.2-0.4
Use the I2P utility to blacklist weak ciphers, rather than specifying
a whitelist of 4 ciphers, for the V3 handshake.
orchid-1.2.2-0.4
2019-01-16 15:33:51 +00:00
zzz
9c88c24c84 1.2.2-0.3 orchid-1.2.2-0.3 2018-04-15 15:54:02 +00:00
zzz
6d3523ba32 Parse new cert types (see tor-spec 4.2) (ticket #2079)
from:
d216480ae0
also at:
56f602da50
2018-04-15 14:26:28 +00:00
zzz
78234aeba7 Cherry-pick fix for certificate types from github (ticket #2079) 2018-04-15 11:09:50 +00:00
zzz
25a1f4e710 Don't load a cached-microdesc from disk that is too old (ticket #1937) 2018-04-15 11:08:26 +00:00
zzz
9a3b7c12ca Update dirauths (ticket #2079) 2018-04-15 11:07:48 +00:00
zzz
1821a76194 Change exception to reduce spurious logs at shutdown (ticket #2079) 2017-11-24 15:54:55 +00:00
zzz
71b7b4b2a5 update script 2017-11-24 15:49:20 +00:00
zzz
da1198a45c fix build 2017-11-24 15:38:30 +00:00
zzz
e7befc9c45 Rename translation methods for Java 9
not used anyway
2017-11-24 15:34:20 +00:00
zzz
9419bfd337 reduce max consensus age 2017-04-17 12:39:30 +00:00
zzz
47a1372fbd add date 2017-02-21 14:54:36 +00:00
zzz
682a94fff6 Add Stream.isClosed()
Implement more methods in TorStreamSocket
orchid-1.2.2-0.2
2016-08-12 13:45:32 +00:00
zzz
78c674ea28 Escape HTML on status page
Fix HTML error on status page
2016-08-12 13:37:10 +00:00
zzz
d9b2aa77f0 add ticket numbers to changelog orchid-1.2.2-0.1 2016-08-05 15:32:32 +00:00
zzz
f2ada83acb Remove duplicate registration with the ClientAppManager;
wait until initialization complete
Debug logging on connect fail
2016-08-05 14:16:12 +00:00
zzz
8741e066d7 Fix for unable to reopen circuit to HS after the circuit is closed.
The circuit is stored in the HiddenService object,
so reset it to null after it's closed so a new one can be created.
Not sure if this fix is correct, but
don't think a circuit can be reopened after it's destroyed?
2016-08-04 23:07:43 +00:00
zzz
5cdb55a6c1 Move two more thread pools to use Threading so that name is set
Set name of ReadCells threads - todo use thread pool for them too?
2016-08-04 14:54:04 +00:00
zzz
cae24e352a HTTPConnection.getHost() fix
Plucked from subgraph develop branch
305b713f3c
2016-08-03 17:49:43 +00:00
zzz
3a1e800a00 Don't load a consensus from disk that is too old
Bump version to 1.2.2-0.1
2016-08-03 17:31:46 +00:00
zzz
ac18316253 Remove guava dependencies, including deadlock detection, in Threading.java.
Bump version to 1.2.1-0.1, to roughly track the bitcoinj maven version
at https://github.com/bitcoinj/bitcoinj/commits/master/orchid,
their history is:
 1.1   2014-11-17 Dirauth changes, deadlock fixes, config redesign
 1.2   2015-07-03 Guava 18.0, don't throw on socket options
 1.2.1 2016-05-18 Because "incomplete version 1.2 uploaded to maven central last year"
Briefly tested
2016-08-03 16:48:07 +00:00
zzz
c0c41a90a3 From a patch by thebland dated 2016-04-11, based on the
subgraph 'develop' branch rev c76d492560795d1b0482c2dfd24978e7bb032cd4 2015-05-02

Upstream changes are almost all as merged by Bruce Leidl
from the bitcoinj fork, and then merged to our fork by thebland, including:
- Move all thread creation to the new Threading class,
  using a thread factory
- Move all lock acquisition to a new Threading class,
  and use Google Guava classes for deadlock detection
- Converts most synchronization to use ReentrantLocks
  obtained from Threading
- Fix deadlocks in OrchidSocketImpl
- Socket improvements: Allow creation of unconnected sockets,
  avoid exceptions for unrecognized options
- Replace the configuration system, moving from TorConfigProxy
  (a reflection/proxy-based InvocationHandler with annotation dependencies)
  to TorConfigImpl which is more straightforward

Other changes by thebland:
- Update OrchidController config code to track changes above

This rev will not compile. Next checkin will remove guava dependencies,
including deadlock detection, in Threading.java.

Requires Java 7 for the switch on string in TorConfigParser
2016-08-03 16:09:19 +00:00
zzz
8ec0c3e6d2 Bump min java to 1.7 as required by next checkin
Pull compiler args (bootclasspath) from override.properties
Fix project name in src/build.xml
2016-08-03 16:04:48 +00:00
zzz
76b79e6952 su3 build fix orchid-0.5 2016-07-30 13:17:59 +00:00
zzz
e0d70176a1 Update makeplugin.sh script, add su3 plugin support (patch from thebland)
Update hardcoded dirauths (patch from thebland, and remove urras)
Add changelog
Bump to 0.5
2016-07-30 13:15:09 +00:00
zzz
9e44a54306 fix min i2p version orchid-0.4 2014-03-01 14:53:43 +00:00
zzz
7fb7ff61a0 Catch policy exception to correctly set failed state (ticket #1201)
Hopefully fix deadlock (ticket #1207) patch by zab
Change reference to i2p source branch
Bump to 0.4
2014-03-01 14:43:24 +00:00
zzz
3fa379881b update author and old license text 2014-01-26 14:11:36 +00:00
zzz
c369a9e944 bump to 0.3 orchid-0.3 2014-01-10 17:55:55 +00:00
zzz
7a5fe464db better logging of startup errors 2014-01-09 12:40:28 +00:00
zzz
a81fe028e9 add config file support 2014-01-08 17:59:46 +00:00
zzz
31c6a04113 add circuit status to servlet 2014-01-08 16:18:39 +00:00
zzz
c969aa658e sort config 2014-01-08 15:53:38 +00:00
zzz
8f8ff30baa Change from jsp to java servlet
Start controller from servlet, not clients.config, to avoid class loader issues
Fix webapps.config location
Fix console link
Fix classpath issues
Add status info using TorConfig
Requires RouterAppManager fix in i2p.i2p.zzz.outproxy
Bump to 0.2
orchid-0.2
2014-01-08 15:15:03 +00:00
zzz
3ee93bbd67 Change from context hook to ClientAppManager hook to match
changes in router.
Debug logs and javadocs
2014-01-06 14:00:04 +00:00
zzz
79d4ceb109 dont put xmlrpc jars in update xpi2p 2014-01-05 18:29:47 +00:00
zzz
3da524303e Set data directory inside plugin dir
Set log level
2014-01-05 16:50:31 +00:00
zzz
1669472425 divert orchid logging to router logs 2014-01-05 13:01:23 +00:00
zzz
4f36e3515e build fixes 2014-01-05 00:57:05 +00:00
zzz
7341a2a4e9 Orchid 1.0.0 from website:
http://www.subgraph.com/orchid.html ,
"Orchid is licensed under a three-clause BSD license."
No modifications.

Selected Apache XMLRPC 3.1.3 jars from:
http://ws.apache.org/xmlrpc/download.html
Apache 2.0 license

Todo:
https, socks
Set data directory
Logging to router logs?
jsp status/control
2014-01-05 00:33:59 +00:00