Commit Graph

151 Commits

Author SHA1 Message Date
zzz
a18646f3a9 add change log 2018-02-07 16:00:38 +00:00
zzz
2e34ffcedc Update SSL cert params
Version 0.12.0
i2pcontrol-0.12.0
2018-02-07 13:47:01 +00:00
zzz
cf0d59ab61 Password change form handling 2018-02-06 14:36:31 +00:00
zzz
c5d0562493 Start of a password change form 2018-02-06 14:01:45 +00:00
zzz
0085d47d16 Command line settings for host/port/http 2018-02-03 18:03:40 +00:00
zzz
7ec4f0c52e Fixup raw type warnings 2018-02-03 14:21:45 +00:00
zzz
e40bb3a2f4 Register with PortMapper 2018-02-03 14:12:19 +00:00
zzz
cb535188b2 Don't create keystore if webapp 2018-02-03 13:16:56 +00:00
zzz
273f91b3d4 Change config file name if webapp 2018-02-03 13:05:02 +00:00
zzz
de334aa52e i2pcontrol.py enhancements 2018-02-02 17:33:11 +00:00
zzz
72e8463717 Update jBCrypt to version 0.4 2015-01-30
From: http://www.mindrot.org/projects/jBCrypt/
Previous version not indicated in checkin comments,
but was probably 0.3 2010-02-01
Changes not clear because previous version was reformatted.
Moved back to original package.
Moved license file to top level
Deleted commented-out test class.
Bundle jBCrypt license in plugin.
Update README
2018-02-02 14:48:14 +00:00
zzz
7dad6999a7 Build: Fix update/install plugins to be actually different 2018-02-02 14:00:31 +00:00
zzz
55199e666a SecurityManager:
Convert Timer to SimpleTimer2
Synch Sweeper cleanup, make more efficient
Delay first Sweeper run until min expiration
Re-enable changing password
Synch fixes
Clear tokens on shutdown
2018-02-02 13:50:14 +00:00
zzz
d5c2f6b8e3 SecurityManager:
Remove hardcoded salt; generate if necessary
Constant-time password hash comparison
Comment out unused certificate methods
AuthToken: finals
2018-02-02 13:09:47 +00:00
zzz
e58129e46a ConfigurationManager:
Use DataHelper for load/store
Synch everything
Only save if something changed
Comment out unused methods

Implement destroy() for servlet
Fix allowedhosts config
2018-02-02 11:56:30 +00:00
zzz
6aff0344a5 Update jsonrpc2 libs.
All are licensed Apache 2.0.
Overview:
http://software.dzhuvinov.com/json-rpc-2.0-server.html
Previous versions unknown, no version in checkin comments,
but were checked in 2011-06-13.
Not clear how much actually changed because
the sources here were reformatted on 2016-01-20.
This reverts a previous change to JSONRPC2Error.java that made two fields protected.

Jars from maven central:
jsonrpc2-base-1.38.1-sources.jar  22-Oct-2017
jsonrpc2-server-1.11-sources.jar  16-Mar-2015

Smart Mini files (net.minidev.json) from:
https://github.com/netplex/json-smart-v1
commit 51e1641 on Oct 23, 2015
Maven jar is 1.0.8 but we need at least 1.0.9
Based on the @since lines, this is at least version 1.3.1
Removed as unneeded: JSONNavi.java, JSONStyleIdent.java
Previous version was org.json.simple

Fix up use of deprecated methods in our code
Remove duplicate method overrides in our JSONRPC2ExtendedError.java
2018-02-01 22:53:25 +00:00
zzz
22aad9836f Add rebinding protection 2018-02-01 18:15:17 +00:00
zzz
2c9042ef7d Add version to GET info 2018-02-01 17:38:22 +00:00
zzz
16a5e8b884 Pass ctx to SecurityManager
Use ctx sha256
Add / to request path so it will work with the war
2018-02-01 17:34:08 +00:00
zzz
9edc0ae53e - Build fix
- Add war target
- Add override.properties for compiler args
- Change GET message and mime type
2018-02-01 16:36:49 +00:00
zzz
37251cbcb3 - Fixes for Jetty 9
- Convert I2PControlController to RouterApp
- Remove all static references
- Don't stop all running threads on shutdown
- Set restrictive permissions on configuration file
- Disable changing host/port/password via RPC
- Use I2P lib for setting supported ciphers
- Update makeplugin.sh
- Change signer and update URLs in plugin.config
- Don't include license, readme, and clients.config in the update
- Bundle i2pcontrol.py test script
- Make constants static and final
- Comment out unused methods
- Remove tabs in build.xml
- Remove unused dependencies in build.xml
- Clean up imports
2018-02-01 15:14:03 +00:00
zzz
44263d9b26 TODO update 2018-01-22 17:25:48 +00:00
zzz
04ac5b0bef update javac arguments 2017-03-04 15:40:23 +00:00
dev
af5d980154 Formatted format.sh 2016-01-20 18:07:31 +00:00
dev
442fb6aef4 Formatted .java files. 2016-01-20 18:04:46 +00:00
dev
be523f5e35 Added formatting support ot ant script. 2016-01-20 18:04:18 +00:00
dev
2048781b8f Moved actions around between targets. 2016-01-20 17:26:56 +00:00
dev
08b125f5e4 Fixed #1524, check type of input parameter. 2016-01-18 21:10:26 +00:00
dev
df5a9a60a5 Added support for adding and deleting Advanced Config Settings. 2016-01-18 20:44:17 +00:00
dev
03bf21ee52 Fixed #1607, where i2pcontrol is unable to switch to a new port. 2016-01-18 17:28:55 +00:00
dev
82d294b3a7 Added 'local' target to build script for faster plugin development. 2016-01-18 17:12:15 +00:00
dev
26792beb5a Switched to using the KeyStoreUtil implementation of SSL certificate generation. 2015-09-22 01:29:50 +00:00
869d302b28 Upgraded to support su3 from scripts in i2p.scripts. 2015-07-31 00:41:02 +00:00
dev
f9b3dd8aa4 Fixed i2p router version dependency 2015-07-30 18:13:46 +00:00
dev
c93203b914 Prevent NPE while shutting down after failing to start. 2015-07-30 16:49:46 +00:00
dev
1810e89a45 Fixed Java >=1.8 compatability on Raspberry Pi JREs 2015-06-28 18:29:55 +00:00
dev
45bc108e94 Fix i2pcontrol.listen.port to send exception string on failure. 2015-06-23 03:31:10 +00:00
dev
27fa1b31b0 Fix i2pcontrol.listen.port to reset to failing new ports to the old port. 2015-06-23 03:24:48 +00:00
dev
b2f23cdaad Return IP-address, not byte[]. 2015-06-09 18:43:09 +00:00
dev
44973255d8 Fixed JSON-RPC return values. 2015-06-09 18:41:40 +00:00
dev
18da573825 Bumped version to 0.1.0. 2015-06-09 17:32:18 +00:00
dev
969f6328fb Use saveConfig() in an atomic manner. 2015-06-09 15:05:14 +00:00
dev
0b011eaa72 Fail gracefully if ClientAppManager or UpdateManager is missing. 2015-06-09 14:26:10 +00:00
dev
a2928361d9 Changed name of RouterManager.CheckUpdates to RouterManager.FindUpdates. 2015-06-09 04:25:20 +00:00
dev
fcd2a54754 Add support for RouterManager.CheckUpdates and RouterManager.Update. 2015-06-09 04:06:00 +00:00
dev
8a39b639b9 Moved away from deprecated functions. 2015-06-09 03:18:18 +00:00
dev
88837ef572 UDPTransport.DEFAULT_INTERNAL_PORT deprecated in I2P. 2015-06-09 03:15:13 +00:00
dev
b9f1e3f4df Moved away from deprecated functions. 2015-06-09 03:11:26 +00:00
dev
66d3ea28e0 lazygravy: Make i2p.router.net.ssu.detectedip return actual ip 2015-04-14 03:06:41 +00:00
dev
eecdde0548 lazygravy: Verify that input is correctly formatted 2015-04-14 02:57:42 +00:00