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

Handle slow SMB transfer speeds #1

Open
cakekoa opened this issue Aug 1, 2024 · 0 comments
Open

Handle slow SMB transfer speeds #1

cakekoa opened this issue Aug 1, 2024 · 0 comments

Comments

@cakekoa
Copy link
Contributor

cakekoa commented Aug 1, 2024

Migrated from guardicore/monkey#1923

Is your feature request related to a problem? Please describe.

SMB servers have two security settings which force all traffic to be signed. They are RequireSecuritySignature and EnableSecuritySignature. When either of these settings is set to true (they are false by default), transfer rates slow to an absolute crawl. I have witnessed transfer speeds as low as 184KiB/sec. This could cause some SMB copy requests to time out prematurely.

Describe the solution you'd like
We need a way to speed up file transfer if these settings are enabled.

Describe alternatives you've considered

  1. Use winreg or similar library to disable these settings on the server, transfer our file, and then reenable the settings.
  2. Create a very small dropper in powershell or batch that downloads the larger agent binary over http. Use SMB to transfer and execute the dropper.
  3. Do nothing for now. When we rebuild everything to be pluggable, the agent should be a fraction of its current size. This effectively achieves 2.

This issue is a follow up to issue #1921.

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

No branches or pull requests

1 participant