Commit Graph

1067 Commits

Author SHA1 Message Date
Dan Laine b3b477c7d9 don't require strong auth password if auth disabled 2020-07-01 10:03:12 -04:00
Dan Laine a4ed688533 factor out password strength checking and enfore password strength checking for auth token password 2020-06-30 10:54:17 -04:00
Dan Laine fe3e1a319e use hash of password rather than plaintext password 2020-06-30 09:37:36 -04:00
Dan Laine e144b1087e undo changes to initialization order in node; add check to make sure n.Net.Close isn't a nil pointer dereference 2020-06-29 16:11:17 -04:00
Dan Laine eeb5f97499 add test for revoked tokens 2020-06-29 15:53:24 -04:00
Dan Laine 4d5c58d82a init p2p networking before API server so n.Net.Close isn't a nil pointer dereference 2020-06-29 15:40:36 -04:00
Dan Laine ba299559e7 use clock in auth struct. add tests 2020-06-29 15:18:33 -04:00
Dan Laine 2640977cde authorize on a per-endpoint basis. Change name of CLIs 2020-06-29 12:54:43 -04:00
Dan Laine 0d7b224e5f move functionality from service to auth struct. Add revokeToken method and API. 2020-06-25 20:02:32 -04:00
Dan Laine 9b0981fe7b cleanup/formatting. Add logs and error handling. Make token lifespan reasonable length. 2020-06-25 18:19:53 -04:00
Dan Laine 7038641fd8 first pass at adding auth tokens 2020-06-25 17:20:11 -04:00
Dan Laine 369666a0f8 Merge branch 'master' of github.com:ava-labs/gecko-internal 2020-06-25 10:30:45 -04:00
Stephen Buttolph e30f00c0f2
Merge pull request #256 from StephenButtolph/version-bump-0.5.7
Version bump 0.5.7
2020-06-24 14:53:45 -04:00
Stephen Buttolph c6d3d6d68c
Merge pull request #123 from ava-labs/nat-errors
added error reporting to nat.Map
2020-06-24 12:39:37 -04:00
Stephen Buttolph 50b28ed7f3
Merge pull request #121 from ava-labs/lower-log-level
Lower log level
2020-06-24 12:05:44 -04:00
Stephen Buttolph 6791f3489e
Merge pull request #120 from ava-labs/bootstrap-comments
Add comments
2020-06-24 12:05:06 -04:00
StephenButtolph 481f3c41ec removed duplicated call 2020-06-24 12:01:45 -04:00
StephenButtolph eefaed4b1a added error reporting to nat.Map 2020-06-24 11:41:22 -04:00
Dan Laine 5c618d6c1b lower log level 2020-06-24 10:09:36 -04:00
Dan Laine c0629af46e add comments 2020-06-24 09:51:34 -04:00
StephenButtolph 63ea29064d Added some more numbers to interesting logs in bootstrapping 2020-06-23 21:07:35 -04:00
Stephen Buttolph 1f01d43102
Merge pull request #119 from ava-labs/restrict-version-logging
only log to info based on the beacons
2020-06-23 20:59:55 -04:00
StephenButtolph a61d1638a3 only log to info based on the beacons 2020-06-23 20:58:35 -04:00
StephenButtolph 6ba9d2264d version bump to 0.5.7 2020-06-23 20:29:03 -04:00
Stephen Buttolph 283824972d
Merge pull request #71 from ava-labs/upnp
NAT Traversal
2020-06-23 20:27:50 -04:00
StephenButtolph 2e218ea508 merged 2020-06-23 20:20:57 -04:00
Stephen Buttolph 49a5571758
Merge pull request #116 from ava-labs/c-chain-next
Some minor improvements for C-Chain.
2020-06-23 20:15:04 -04:00
StephenButtolph 0cb534031a Merge branch 'denali' into c-chain-next 2020-06-23 20:12:17 -04:00
Stephen Buttolph 5361fb796b
Merge pull request #99 from ava-labs/limit-outstanding-requests
Limit # outstanding GetAncestors to 8; reduce MaxTimeFetchingAncestors
2020-06-23 20:02:29 -04:00
StephenButtolph 26edbc5e6e cleaned up avalanche bootstrapping 2020-06-23 19:57:44 -04:00
StephenButtolph 16f006edc9 Removed no longer upheld invariant 2020-06-23 19:43:03 -04:00
StephenButtolph 8c7934515c removed mutually recursive functions for fetching 2020-06-23 19:41:22 -04:00
StephenButtolph 561e021e67 Merge branch 'denali' into limit-outstanding-requests 2020-06-23 19:19:19 -04:00
Stephen Buttolph f701b9769c
Merge pull request #118 from ava-labs/support-apt-plugins
added local path to plugin
2020-06-23 18:51:08 -04:00
Determinant d40fbe8f75 improve plugin logging 2020-06-23 18:33:57 -04:00
StephenButtolph 1d4c368462 added local path to plugin 2020-06-23 18:23:22 -04:00
Stephen Buttolph 3609a73073
Merge pull request #100 from ava-labs/backwards-compatible-api
Backwards compatible api
2020-06-23 17:48:36 -04:00
StephenButtolph 737430af26 merged 2020-06-23 17:48:02 -04:00
Stephen Buttolph f4bbaa09b4
Merge pull request #117 from ava-labs/enable-keystore
Enable keystore by default
2020-06-23 17:39:17 -04:00
Stephen Buttolph 18c8f949a7
Merge pull request #115 from ava-labs/memory-improvements
Memory improvements
2020-06-23 17:37:54 -04:00
Determinant 7591e93e08 remove go-plugin logging; use coreth 0.2.5 2020-06-23 17:36:20 -04:00
Dan Laine 3d374a73db enable keystore by default 2020-06-23 17:30:45 -04:00
Dan Laine fa11fecbb0 pre-allocate map capacity in consensus 2020-06-23 17:15:25 -04:00
Dan Laine 875b2d0cab remove errant newline 2020-06-23 16:54:25 -04:00
Dan Laine 8ce7bda92a cleanup 2020-06-23 16:54:03 -04:00
Dan Laine 6c6136d551 only downsize underlying arrays if they're much too large 2020-06-23 16:44:02 -04:00
Dan Laine 7f5693dfd3 reduce MaxTimeFetchingAncestors from 100ms to 50ms 2020-06-23 15:08:15 -04:00
Dan Laine 55079aa893 add CappedList for ids.Set and use it in fetchANeededVtx 2020-06-23 15:01:55 -04:00
Dan Laine 19a3f69e99 Merge branch 'duplicated-writes' into memory-improvements 2020-06-23 13:10:01 -04:00
Dan Laine f92fa88d24 commit db after parsing tx to avoid memory leak 2020-06-23 13:04:10 -04:00