Commit Graph

8111 Commits (6a82e78cb46824b8c21aa871b045a110287f0e14)
 

Author SHA1 Message Date
Mitchell Hashimoto 965a902474
agent/structs: validate service definitions, port required for proxy
7 years ago
Mitchell Hashimoto 9a62bce03b
agent/config: default connect enabled in dev mode
7 years ago
Paul Banks d13be6b952
Make CSR work with jank domain
7 years ago
Mitchell Hashimoto de3f49a880
agent/proxy: delete pid file on Stop
7 years ago
Mitchell Hashimoto aaca1fbcf5
agent: increase timer for blocking cache endpoints
7 years ago
Mitchell Hashimoto b4ba31c61b
agent/proxy: address PR feedback
7 years ago
Mitchell Hashimoto f5e7993249
agent: clarify why we Kill still
7 years ago
Mitchell Hashimoto e9b8e5d265
lib/file: add tests for WriteAtomic
7 years ago
Mitchell Hashimoto 2809203408
agent: restore proxy snapshot but still Kill proxies
7 years ago
Mitchell Hashimoto 718aabe35f
agent/proxy: check if process is alive in addition to Wait
7 years ago
Mitchell Hashimoto f5ccc65295
agent: only set the proxy manager data dir if its set
7 years ago
Mitchell Hashimoto 1a32435a4d
agent/proxy: improve comments on snapshotting
7 years ago
Mitchell Hashimoto e0bbe66427
agent/proxy: implement periodic snapshotting in the manager
7 years ago
Mitchell Hashimoto 13ff115436
agent/proxy: check if process is alive
7 years ago
Mitchell Hashimoto 0e8c0b7b48
agent/proxy: implement snapshotting for daemons
7 years ago
Mitchell Hashimoto b7580f4fad
agent/proxy: manager configures the daemon pid path to write pids
7 years ago
Mitchell Hashimoto 1e7f253b53
agent/proxy: write pid file whenever the daemon process changes
7 years ago
Mitchell Hashimoto 09dcb0be98
agent/proxy: change LogDir to DataDir to reuse for other things
7 years ago
Mitchell Hashimoto 5e6bd8291c
agent/proxy: make the logs test a bit more robust by waiting for file
7 years ago
Mitchell Hashimoto d00ff7cb58
agent/proxy: don't create the directory in newProxy
7 years ago
Mitchell Hashimoto 6cdacd1fd9
agent/proxy: send logs to the correct location for daemon proxies
7 years ago
Mitchell Hashimoto ba00fa3548
agent: add additional tests for defaulting in AddProxy
7 years ago
Mitchell Hashimoto 171bf8d599
agent: clean up defaulting of proxy configuration
7 years ago
Mitchell Hashimoto 6031c58ef9
Remove temporary hacks from Makefile
7 years ago
Mitchell Hashimoto 3d3eee2f6e
agent: resolve some conflicts and fix tests
7 years ago
Mitchell Hashimoto d9bd4ffebd
agent/local: clarify the non-risk of a full buffer
7 years ago
Mitchell Hashimoto 437689e83c
agent/local: remove outdated comment
7 years ago
Mitchell Hashimoto 6ae95d754c
agent: use os.Executable
7 years ago
Mitchell Hashimoto 39974df52a
agent/proxy: local state event coalescing
7 years ago
Mitchell Hashimoto b0f377b519
agent/proxy: implement force kill of unresponsive proxy process
7 years ago
Mitchell Hashimoto 6539280f2a
agent: fix crash that could happen if proxy was nil on load
7 years ago
Mitchell Hashimoto 420edc4c1e
agent/proxy: pull exit status extraction to constrained file
7 years ago
Mitchell Hashimoto 1a2b28602c
agent: start proxy manager
7 years ago
Mitchell Hashimoto 7879e1d2ef
agent/proxy: detect config change to stop/start proxies
7 years ago
Mitchell Hashimoto 2d60684a8b
agent/proxy: test removing proxies and stopping them
7 years ago
Mitchell Hashimoto fcd2ab2338
agent/proxy: manager and basic tests, not great coverage yet coming soon
7 years ago
Mitchell Hashimoto 2bd39a84a6
agent/local: add Notify mechanism for proxy changes
7 years ago
Mitchell Hashimoto 476ea7b04a
agent: start/stop proxies
7 years ago
Mitchell Hashimoto fbfc6fce66
agent/proxy: clean up usage, can't be restarted
7 years ago
Mitchell Hashimoto aaa2431350
agent: change connect command paths to be slices, not strings
7 years ago
Mitchell Hashimoto 7355a614fe
agent/local: store proxy on local state, wip, not working yet
7 years ago
Mitchell Hashimoto ffd284de36
agent/proxy: exponential backoff on restarts
7 years ago
Mitchell Hashimoto aa08a4cb46
agent/proxy: Daemon works, tests cover it too
7 years ago
Mitchell Hashimoto e14fa850d8
wip
7 years ago
Paul Banks e0e12e165b
TLS watching integrated into Service with some basic tests.
7 years ago
Paul Banks 90c574ebaa
Wire up agent leaf endpoint to cache framework to support blocking.
7 years ago
Paul Banks d1f4ad3d8a
Fix build error introduced in bad merge of TLS stuff
7 years ago
Paul Banks 67af5c740b
Add TODO for false-sharing
7 years ago
Paul Banks e112386426
Add support for measuring tx/rx packets through proxied connections.
7 years ago
Kyle Havlovitz a4d18f0eaa
Fill out connect CA rpc endpoint tests
7 years ago