Commit Graph

102 Commits

Author SHA1 Message Date
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
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
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
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
dev
442fb6aef4 Formatted .java files. 2016-01-20 18:04:46 +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
26792beb5a Switched to using the KeyStoreUtil implementation of SSL certificate generation. 2015-09-22 01:29:50 +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
dev
1a25505425 Fix trac #606 2015-04-02 16:42:00 +00:00
dev
7936f753bc Removed legacy code. Incremented version number. 2014-09-26 19:15:48 +00:00
zzz
0cb0a307e6 Fixes for data structures moving in the router.
Set min-i2p-version=0.9.16
2014-09-23 15:25:13 +00:00
dev
b17dcc6198 Added support for the crypto API of Java 8 2014-06-15 12:43:44 +00:00
dev
9f2601d3ac Changed version number to 0.0.7
Changed version to 0.0.7
2013-11-13 02:19:43 +00:00
bf822dad13 Updated for changes in i2p.i2p 2013-11-05 02:51:04 +00:00
dev
90155bd60c Migrated to jetty7. Reflected changes in the I2P API. 2013-01-13 13:25:01 +00:00
c721c9ab48 Finished fixing inconsistent whitespace 2012-10-16 04:14:12 +00:00
8c2e870068 Fixed inconsistent whitespace 2012-10-16 03:52:09 +00:00
dev
1eb1769ef4 Added compability with 0.9.1 builds of I2P. 2012-08-28 18:59:58 +00:00
dev
9e2a8b0c1b Fixed typo. 2012-03-06 20:36:06 +00:00
dev
9673965345 Ported from Jetty5->6. Bumped version numbers. 2012-02-29 21:03:23 +00:00
dev
b043b4b589 Make the plugin shut down properly.
Moved SecurityManager from a static to a Singleton design.
2011-08-03 11:44:56 +00:00