Commit Graph

1009 Commits

Author SHA1 Message Date
zzz
3bfbb6aef6 i2ptunnel:
Store configFile path in controller so it doesn't change
Simplify assureConfigFile()
Sanitize tunnel name when creating config file name
Sort config when saving
Don't copy config when saving
Make shouldMigrate() private
Javadocs
2019-07-20 18:05:17 +00:00
hankhill19580
7d4229acab use for(Properties props: tunnels) to migrate tunnels 2019-07-18 17:04:36 +00:00
hankhill19580
41128f1457 remove redundant functions 2019-07-17 14:34:41 +00:00
hankhill19580
61f45b3a3a Remove un-needed imports 2019-07-17 02:25:07 +00:00
hankhill19580
aaacb2e558 Fix the configFile property so that removeControllers can work, fix cross-platform/un-migrated platform bugs, override equals so the list of controllers can remove a controller by passing the object 2019-07-17 02:22:07 +00:00
hankhill19580
9c2dc47a8a use .equals instead of == 2019-07-15 19:31:04 +00:00
hankhill19580
2db0a65425 Save tunnel configs on tunnel creation, only save one config at a time. 2019-07-15 19:05:03 +00:00
zzz
fd781f4894 TCG:
private/public method tweaks and revert API breakage
remove loadSplitConfig()
don't create empty file in assureConfigFile()
throw exception on empty config
locking fixes
formatting cleanups
@since fixes
log tweaks
2019-07-15 16:22:51 +00:00
hankhill19580
4a099854f7 Make sure listFiles returns i2ptunnel.config on un-migrated platforms, don't loop over loadControllers in startup() 2019-07-13 08:34:54 +00:00
hankhill19580
ff379c36cb NPE fix 2019-07-13 08:10:24 +00:00
hankhill19580
d5970f17de more consistency fixes 2019-07-13 07:18:25 +00:00
hankhill19580
595e43b8a4 fix the bug where it tries to migrate an already migrated config file, pass around files instead of strings, use the FileSuffixFilter, eliminate irrelevant code 2019-07-13 06:10:30 +00:00
hankhill19580
2918d6006f fix un-migrated and monolithic config saving 2019-06-09 02:20:23 +00:00
hankhill19580
357feca7b1 fix bug when configs are un-migrated 2019-06-08 07:26:24 +00:00
hankhill19580
920a83ddab tiny formatting fix 2019-06-08 04:11:18 +00:00
hankhill19580
42e3406529 re-name inConfig to reflect new purpose 2019-06-08 04:04:53 +00:00
hankhill19580
7336f64c26 fix saving config files from ui 2019-06-08 04:03:31 +00:00
hankhill19580
c1731f68fa when deleting configs, move them to a backup location 2019-06-08 00:51:59 +00:00
hankhill19580
e4892c6d5c fix removeConfig so it backs up and removes the files 2019-06-07 18:12:44 +00:00
hankhill19580
38f135ceb9 That took me entirely too long to figure out 2019-06-01 18:42:22 +00:00
hankhill19580
0a1a2ed82a unwrap some loops, get rid of configFiles(), fix loadConfig 2019-06-01 16:20:53 +00:00
hankhill19580
4fdcd25671 add some logging while I fix stuff 2019-05-25 17:35:57 +00:00
hankhill19580
65481ad61e improve config saving code, never use deprecated config function 2019-05-23 16:59:27 +00:00
hankhill19580
8466cdc675 saveConfig for multi-configuration 2019-05-23 00:29:06 +00:00
zzz
63b2f29633 Begin i2p.i2p.zzz.confsplit branch
Code from Jan. 2018, never checked in, probably untested,
definitely incomplete.
2019-05-10 14:58:41 +00:00
zzz
ffbf3d2023 javadocs after review 2019-05-07 11:42:31 +00:00
zzz
981737f8ed i2ptunnel: Force connect delay and bulk profile for most
client tunnel types, and hide from UI
Reduce delay
Set IRC to bulk
2019-04-25 16:16:32 +00:00
zab2
e967b26f5a update javadoc 2019-04-16 02:30:56 +00:00
zab2
e5540d051f proper fix for memory bug 2019-04-16 00:37:29 +00:00
zab2
7ce81db9a8 forget the known destinations when reloading 2019-04-15 23:40:02 +00:00
zzz
0dbc809111 i2ptunnel: Fix saving encrypted LS config
Disable registration authentication when encrypted
2019-04-13 19:02:35 +00:00
zzz
f4d7a6d0d4 i2ptunnel: Disallow encrypted LS for offline keys 2019-04-11 15:38:03 +00:00
zzz
b5a4f1626f whitespace 2019-04-11 15:13:58 +00:00
zzz
73790e2353 i2ptunnel: Fix NPE creating server tunnel
Add Red25519 sigtype option for servers
Fix if clause in editClient
2019-04-11 14:33:38 +00:00
zzz
9a72c4b2d1 encrypt mode checks 2019-04-10 19:56:59 +00:00
zzz
7d4acb62d0 i2ptunnel: Display encrypted b32
Blinding: Allow secret flag without attached secret
2019-04-10 19:52:03 +00:00
zzz
cde53537af i2ptunnel: Config UI for encrypted ls2 2019-04-08 20:37:58 +00:00
zab2
4774cf6c37 Order recorded destinations pt2 2019-04-08 15:46:23 +00:00
zab2
6aeb89ccd0 Order recorded destinations 2019-04-08 08:48:40 +00:00
zab2
904bf2a90b Only inspect the last threshold.seconds when determining if there is a breach. Otherwise older breaches would be counted as current 2019-04-06 15:35:20 +00:00
zab2
8a001adf59 Move all disk i/o to a single thread to prevent very rare errors when running multiple tunnels 2019-04-06 15:25:37 +00:00
zab2
1c90985f93 recorder -> record 2019-04-04 09:29:54 +00:00
zab2
3498ab05f4 define thresholds in seconds, not minutes 2019-04-04 07:31:54 +00:00
zab2
d809b592c9 display filter definition parsing errors in the UI message box 2019-04-03 15:14:39 +00:00
zzz
d389b3b57c I2PTunnel: Start/stop POST throttle timer 2019-04-03 13:21:41 +00:00
zab2
491cd0aa46 propagate from branch 'i2p.i2p.zab.2464' (head 47c50de0eaf4a41d0c0b2df3505ff3b885163791)
to branch 'i2p.i2p' (head a34db176d9f6313db1b8fd16926c8c2ca7e12e09)
2019-04-02 17:32:39 +00:00
zab2
4790a14542 change UI to allow same filter definition to be used in multiple tunnels 2019-04-02 16:04:33 +00:00
zab2
e55702b219 stop the filter in destroy method 2019-03-30 15:08:28 +00:00
zab2
c0c95827ef add logic to start and stop filter timers 2019-03-29 16:27:10 +00:00
zab2
fc9ad32878 Make the config format consistent (threshold rule [target]) 2019-03-29 15:36:03 +00:00