mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-07-04 00:30:35 +02:00
Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
c5dcc918db | |||
329b9cd0a0 | |||
5537a90338 | |||
636e0442e5 | |||
dc526747b1 | |||
73eb3b6479 | |||
1b50d364c6 |
10
CHANGES.rst
10
CHANGES.rst
@ -9,6 +9,16 @@ adheres to `Semantic Versioning`_.
|
|||||||
.. _`Semantic Versioning`: http://semver.org/
|
.. _`Semantic Versioning`: http://semver.org/
|
||||||
|
|
||||||
|
|
||||||
|
1.0.3 - 2020-07-12
|
||||||
|
------------------
|
||||||
|
|
||||||
|
Fixed
|
||||||
|
~~~~~
|
||||||
|
* Ask setuptools to require Python 3.5 and above.
|
||||||
|
* Add missing import.
|
||||||
|
* Fix formatting typos in usage docs
|
||||||
|
|
||||||
|
|
||||||
1.0.2 - 2020-06-18
|
1.0.2 - 2020-06-18
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ Forward all traffic::
|
|||||||
sshuttle -r username@sshserver 0/0
|
sshuttle -r username@sshserver 0/0
|
||||||
|
|
||||||
|
|
||||||
- For 'My VPN broke and need a temporary solution FAST to access local IPv4 addresses':
|
- For 'My VPN broke and need a temporary solution FAST to access local IPv4 addresses'::
|
||||||
|
|
||||||
sshuttle --dns -NHr username@sshserver 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
|
sshuttle --dns -NHr username@sshserver 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
|
||||||
|
|
||||||
@ -70,7 +70,7 @@ Sudoers File
|
|||||||
sshuttle can auto-generate the proper sudoers.d file using the current user
|
sshuttle can auto-generate the proper sudoers.d file using the current user
|
||||||
for Linux and OSX. Doing this will allow sshuttle to run without asking for
|
for Linux and OSX. Doing this will allow sshuttle to run without asking for
|
||||||
the local sudo password and to give users who do not have sudo access
|
the local sudo password and to give users who do not have sudo access
|
||||||
ability to run sshuttle.
|
ability to run sshuttle::
|
||||||
|
|
||||||
sshuttle --sudoers
|
sshuttle --sudoers
|
||||||
|
|
||||||
@ -82,14 +82,14 @@ option:`sshuttle --sudoers --sudoers-username {user_descriptor}` option. Valid
|
|||||||
values for this vary based on how your system is configured. Values such as
|
values for this vary based on how your system is configured. Values such as
|
||||||
usernames, groups pre-pended with `%` and sudoers user aliases will work. See
|
usernames, groups pre-pended with `%` and sudoers user aliases will work. See
|
||||||
the sudoers manual for more information on valid user specif actions.
|
the sudoers manual for more information on valid user specif actions.
|
||||||
The options must be used with `--sudoers`
|
The options must be used with `--sudoers`::
|
||||||
|
|
||||||
sshuttle --sudoers --sudoers-user mike
|
sshuttle --sudoers --sudoers-user mike
|
||||||
sshuttle --sudoers --sudoers-user %sudo
|
sshuttle --sudoers --sudoers-user %sudo
|
||||||
|
|
||||||
The name of the file to be added to sudoers.d can be configured as well. This
|
The name of the file to be added to sudoers.d can be configured as well. This
|
||||||
is mostly not necessary but can be useful for giving more than one user
|
is mostly not necessary but can be useful for giving more than one user
|
||||||
access to sshuttle. The default is `sshuttle_auto`
|
access to sshuttle. The default is `sshuttle_auto`::
|
||||||
|
|
||||||
sshuttle --sudoer --sudoers-filename sshuttle_auto_mike
|
sshuttle --sudoer --sudoers-filename sshuttle_auto_mike
|
||||||
sshuttle --sudoer --sudoers-filename sshuttle_auto_tommy
|
sshuttle --sudoer --sudoers-filename sshuttle_auto_tommy
|
||||||
@ -97,11 +97,11 @@ access to sshuttle. The default is `sshuttle_auto`
|
|||||||
You can also see what configuration will be added to your system without
|
You can also see what configuration will be added to your system without
|
||||||
modifying anything. This can be helpfull is the auto feature does not work, or
|
modifying anything. This can be helpfull is the auto feature does not work, or
|
||||||
you want more control. This option also works with `--sudoers-username`.
|
you want more control. This option also works with `--sudoers-username`.
|
||||||
`--sudoers-filename` has no effect with this option.
|
`--sudoers-filename` has no effect with this option::
|
||||||
|
|
||||||
sshuttle --sudoers-no-modify
|
sshuttle --sudoers-no-modify
|
||||||
|
|
||||||
This will simply sprint the generated configuration to STDOUT. Example
|
This will simply sprint the generated configuration to STDOUT. Example::
|
||||||
|
|
||||||
08:40 PM william$ sshuttle --sudoers-no-modify
|
08:40 PM william$ sshuttle --sudoers-no-modify
|
||||||
|
|
||||||
|
1
setup.py
1
setup.py
@ -61,6 +61,7 @@ setup(
|
|||||||
'sshuttle = sshuttle.cmdline:main',
|
'sshuttle = sshuttle.cmdline:main',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
python_requires='>=3.5',
|
||||||
tests_require=[
|
tests_require=[
|
||||||
'pytest',
|
'pytest',
|
||||||
'pytest-cov',
|
'pytest-cov',
|
||||||
|
@ -4,6 +4,7 @@ import re
|
|||||||
import socket
|
import socket
|
||||||
import zlib
|
import zlib
|
||||||
import importlib
|
import importlib
|
||||||
|
import importlib.util
|
||||||
import subprocess as ssubprocess
|
import subprocess as ssubprocess
|
||||||
import shlex
|
import shlex
|
||||||
from shlex import quote
|
from shlex import quote
|
||||||
|
Reference in New Issue
Block a user