fix: require -r/--remote#502
Merged
brianmay merged 3 commits intosshuttle:masterfrom Aug 11, 2020
joshuarli:ref/require-remote
Merged
fix: require -r/--remote#502brianmay merged 3 commits intosshuttle:masterfrom joshuarli:ref/require-remote
brianmay merged 3 commits intosshuttle:masterfrom
joshuarli:ref/require-remote
Conversation
Contributor
Author
|
Oh hold on, don't merge this yet. |
Contributor
Author
|
Ok, so we can't make it required at the argparse level because sshuttle calls out to itself in |
This reverts commit 5debf1f.
Contributor
Author
|
After: And now it works if you actually specify the argument. I could move this fatal up the call stack a bit. |
Contributor
Author
|
Ok, now it just fails outright with @brianmay Ready for your review. |
brianmay
approved these changes
Aug 11, 2020
Member
|
Thanks! |
skuhl
added a commit
to skuhl/sshuttle
that referenced
this pull request
Oct 19, 2020
Pull request sshuttle#502 made -r/--remote required. However, the documentation still indicates that using no remote is a valid way to test sshuttle (see Examples section of man page). I think this mode might be useful for testing performance local without ssh, local with ssh, and remote with ssh. This patch adds a warning when -r/--remote is missing but restores the previous behavior.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #455.
Before, as the issue describes:
This manifests much more horribly in versions before Python 2 support was removed btw. Just some fun trivia. Example
sshuttle==0.78.5with Python 3 interpreter:After: