Commit Graph

1029 Commits

Author SHA1 Message Date
zzz
a6e3621c06 Util: Consolidate and standardize date/time formatting (ticket #2016) 2019-08-30 18:38:12 +00:00
6789a735e3 fix typo 2019-08-18 19:12:06 +00:00
65eb9b17db fix checks for config parameters in TunnelControllerGroup constructor 2019-08-18 19:08:27 +00:00
zzz
08be6a4f4a i2ptunnel: Add failsafe timeouts for local sockets (ticket #2568) 2019-08-05 15:55:43 +00:00
zzz
7f015c4794 i2ptunnel: Add configs to override user agent
Not particularly helpful yet, because we don't have a way to
quote or escape spaces in the custom options field.
2019-08-05 15:34:46 +00:00
zzz
165beb3fbd TCG: split config log tweaks and cleanups
Fix warning about no tunnels loaded
Add notes in config default files
2019-07-27 11:32:38 +00:00
zzz
617294b7fa propagate from branch 'i2p.i2p.zzz.confsplit' (head 324249e53469a81e66f9d1c1989d9f53817868f4)
to branch 'i2p.i2p' (head cf6476e03a43a35fea6697b29f9ff43f77875100)
2019-07-26 12:53:03 +00:00
zzz
72ef065ab7 log tweak 2019-07-23 15:57:30 +00:00
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
7d4229acab use for(Properties props: tunnels) to migrate tunnels 2019-07-18 17:04:36 +00:00
41128f1457 remove redundant functions 2019-07-17 14:34:41 +00:00
61f45b3a3a Remove un-needed imports 2019-07-17 02:25:07 +00:00
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
9c2dc47a8a use .equals instead of == 2019-07-15 19:31:04 +00:00
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
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
ff379c36cb NPE fix 2019-07-13 08:10:24 +00:00
d5970f17de more consistency fixes 2019-07-13 07:18:25 +00:00
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
zzz
ebe95fc575 i2ptunnel: Improve logging when no outproxy configured (ticket #2338) 2019-06-18 13:24:48 +00:00
2918d6006f fix un-migrated and monolithic config saving 2019-06-09 02:20:23 +00:00
357feca7b1 fix bug when configs are un-migrated 2019-06-08 07:26:24 +00:00
920a83ddab tiny formatting fix 2019-06-08 04:11:18 +00:00
42e3406529 re-name inConfig to reflect new purpose 2019-06-08 04:04:53 +00:00
7336f64c26 fix saving config files from ui 2019-06-08 04:03:31 +00:00
c1731f68fa when deleting configs, move them to a backup location 2019-06-08 00:51:59 +00:00
e4892c6d5c fix removeConfig so it backs up and removes the files 2019-06-07 18:12:44 +00:00
zzz
c4ebc7357d TCG: Add new getInstance() method for Android
so instance with stale context is not returned.
Return null in Android for old method.
2019-06-02 11:08:38 +00:00
38f135ceb9 That took me entirely too long to figure out 2019-06-01 18:42:22 +00:00
0a1a2ed82a unwrap some loops, get rid of configFiles(), fix loadConfig 2019-06-01 16:20:53 +00:00
zzz
0a774c6c58 remove cryptic logging 2019-06-01 14:12:48 +00:00
zzz
6b3896c1f8 increase default max conns per minute 2019-05-30 12:16:12 +00:00
zzz
4d29bfefde i2ptunnel: Fix double-b64 of default client name
Add new default client if all are revoked
2019-05-30 11:39:42 +00:00
zzz
a3fe7467c3 store ls secret as b64 2019-05-29 11:53:55 +00:00
zzz
973aab8f53 Blinding:
- Blinding only throws IAE
- Remove context arg from encode()
- Hook in new form args on /configkeyring
- Show b33 on /configkeyring
- Remove support for appended secret in b33
- Persist cache immediately when storing secret or privkey
- Fix i2ptunnel for std. ls2
- Add auth/secret required flags to BlindData
more to do
2019-05-28 15:12:20 +00:00
4fdcd25671 add some logging while I fix stuff 2019-05-25 17:35:57 +00:00
zzz
2abd59e6d4 i2ptunnel: Per-client auth config
Hide encryption key for per-client auth
User-select: all for dest and reg fields
2019-05-24 17:42:11 +00:00
65481ad61e improve config saving code, never use deprecated config function 2019-05-23 16:59:27 +00:00
zzz
47c64c2eef i2ptunnel: Rework server encryption key UI in prep for blinded keys
Remove generate button, automatically generate when required
Refactor auto configuration
2019-05-23 13:22:29 +00:00
zzz
7858dbe757 i2ptunnel: Add LS2 option, change to select box 2019-05-23 10:41:34 +00:00
8466cdc675 saveConfig for multi-configuration 2019-05-23 00:29:06 +00:00
zzz
ea5ddfcf36 i2ptunnel: Shared key is PSK 2019-05-22 18:27:34 +00:00
zzz
332898351c i2ptunnel: Per-client auth options (WIP) 2019-05-22 18:12:49 +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
e967b26f5a update javadoc 2019-04-16 02:30:56 +00:00
e5540d051f proper fix for memory bug 2019-04-16 00:37:29 +00:00
7ce81db9a8 forget the known destinations when reloading 2019-04-15 23:40:02 +00:00