Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agent will now fall back to p2p methods if c2 comms fail 3x in a row #262

Closed
wants to merge 11 commits into from

Conversation

uruwhy
Copy link
Contributor

@uruwhy uruwhy commented Mar 3, 2020

Also fixed capitalization in the listenP2P flag for the sandcat agent command line arg, and you can now also set listenP2P server-side using the HTTP header "listenP2P" with value "true".

Agent will try available c2 comms to server - if it fails 3 times in a row, it'll start round-robin through the available p2p hosts and p2p methods

Server will dynamically include available p2p hostnames at build-time for agent to use, if HTTP header "fetchPeers" is included

@uruwhy uruwhy requested a review from a user March 3, 2020 18:12
@uruwhy uruwhy closed this Mar 9, 2020
@uruwhy
Copy link
Contributor Author

uruwhy commented Mar 9, 2020

Closing to split up into multiple PRs

@elegantmoose elegantmoose deleted the p2p-fallback branch February 24, 2023 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant