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

Bugfix: Allow serve url to be set without materializing #2894

Merged
merged 2 commits into from
Aug 16, 2023
Merged

Conversation

scudette
Copy link
Contributor

Some servers have locked down egress and can not materialize the tool themselves (to calculate the tool hash). This means that the user is not able to set an alternative serve url from these servers without triggering a materialize (which fails)

This PR does not require the server to materialize the tool when updating the serve url. This allows a user to manually upload a tool (thereby calculating its hash) then change the serve url, preserving the hash - all without the server fetching the tool from the internet.

Some servers have locked down egress and can not materialize the tool
themselves (to calculate the tool hash). This means that the user is
not able to set an alternative serve url from these servers without
triggering a materialize (which fails)

This PR does not require the server to materialize the tool when
updating the serve url. This allows a user to manually upload a
tool (thereby calculating its hash) then change the serve url,
preserving the hash - all without the server fetching the tool from
the internet.
@scudette scudette merged commit c7d4cfb into master Aug 16, 2023
1 check passed
@scudette scudette deleted the tool_egress branch August 16, 2023 06:18
scudette added a commit to scudette/velociraptor that referenced this pull request Aug 28, 2023
Some servers have locked down egress and can not materialize the tool
themselves (to calculate the tool hash). This means that the user is not
able to set an alternative serve url from these servers without
triggering a materialize (which fails)

This PR does not require the server to materialize the tool when
updating the serve url. This allows a user to manually upload a tool
(thereby calculating its hash) then change the serve url, preserving the
hash - all without the server fetching the tool from the internet.
scudette added a commit that referenced this pull request Aug 28, 2023
Some servers have locked down egress and can not materialize the tool
themselves (to calculate the tool hash). This means that the user is not
able to set an alternative serve url from these servers without
triggering a materialize (which fails)

This PR does not require the server to materialize the tool when
updating the serve url. This allows a user to manually upload a tool
(thereby calculating its hash) then change the serve url, preserving the
hash - all without the server fetching the tool from the internet.
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