Commit Graph

8051 Commits (f5ccc6529596da63b5923252c4c47135c4a70c64)
 

Author SHA1 Message Date
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
Kyle Havlovitz b081c34255
Fix config tests
7 years ago
Kyle Havlovitz cce7f1cca1
Add tests for the built in CA's state store table
7 years ago
Kyle Havlovitz 15fbc2fd97
Add more tests for built-in provider
7 years ago
Kyle Havlovitz edcfdb37af
Fix some inconsistencies around the CA provider code
7 years ago
Paul Banks 1b197d934a
Don't allow connect watches in agent/cli yet
7 years ago
Paul Banks 946e872f2f
Fix tests and listeners to work with Config changes (splitting host and port fields)
7 years ago
Paul Banks e8c510332c
Support legacy watch.HandlerFunc type for backward compat reduces impact of change
7 years ago
Paul Banks ab3df3d4a6
Working proxy config reload tests
7 years ago
Paul Banks cd88b2a351
Basic `watch` support for connect proxy config and certificate endpoints.
7 years ago
Paul Banks 5310561c11
Refactor reloadableTLSConfig and verifyier shenanigans into simpler dynamicTLSConfig
7 years ago