Raylan
8c96d7a5f5
Add the argument --namespace-pid
...
The argument '--namespace-pid' allows sshuttle to attach to the same net
namespace used by a running process.
2025-01-23 14:54:32 -03:00
Raylan
eb5f5d4474
Add support to run inside Linux namespace
...
**Motivation:**
In a specific use case, we use sshuttle to provide access to private
networks from multiple sites to a specific host. The sites may contain
networks that overlap each other, so each site is accessed inside a
different namespace that provides process-level network isolation and
prevents network overlap.
**Objective:**
This commit just adds a convenient way of spawning multiple sshuttle
instances inside different namespaces from a single process, by passing
the namespace's name though the variable --namespace. The result is the
same as calling `ip netns exec $NAMESPACE sshuttle ...`
2025-01-23 13:13:15 -03:00
dependabot[bot]
b346e976eb
Bump twine from 6.0.1 to 6.1.0
...
Bumps [twine](https://github.com/pypa/twine ) from 6.0.1 to 6.1.0.
- [Release notes](https://github.com/pypa/twine/releases )
- [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst )
- [Commits](https://github.com/pypa/twine/compare/6.0.1...6.1.0 )
---
updated-dependencies:
- dependency-name: twine
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-23 07:54:18 +11:00
dependabot[bot]
7c2b3cd30e
Bump pytest from 8.3.3 to 8.3.4
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 8.3.3 to 8.3.4.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.3...8.3.4 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-04 07:16:31 +11:00
dependabot[bot]
012fbcb587
Bump twine from 5.1.1 to 6.0.1
...
Bumps [twine](https://github.com/pypa/twine ) from 5.1.1 to 6.0.1.
- [Release notes](https://github.com/pypa/twine/releases )
- [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst )
- [Commits](https://github.com/pypa/twine/compare/v5.1.1...6.0.1 )
---
updated-dependencies:
- dependency-name: twine
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-03 15:17:45 +11:00
dependabot[bot]
4a1fe0fefe
Bump pytest from 8.3.3 to 8.3.4
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 8.3.3 to 8.3.4.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.3...8.3.4 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-03 15:17:33 +11:00
dependabot[bot]
6abda35fce
Bump pytest-cov from 5.0.0 to 6.0.0
...
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov ) from 5.0.0 to 6.0.0.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v5.0.0...v6.0.0 )
---
updated-dependencies:
- dependency-name: pytest-cov
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-31 07:48:56 +11:00
dependabot[bot]
2f3171670c
Bump pytest from 8.3.2 to 8.3.3
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 8.3.2 to 8.3.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.2...8.3.3 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-13 08:39:35 +10:00
dependabot[bot]
304aaa5e46
Bump cryptography from 42.0.3 to 43.0.1
...
Bumps [cryptography](https://github.com/pyca/cryptography ) from 42.0.3 to 43.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/42.0.3...43.0.1 )
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-12 08:17:09 +10:00
dependabot[bot]
f05d6531f2
Bump pytest from 8.3.2 to 8.3.3
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 8.3.2 to 8.3.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.2...8.3.3 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-12 08:16:55 +10:00
Brian May
e6074ed52d
Revert "Suppress error P is not recognized as an internal or external command,operable program or batch file."
...
This reverts commit 6272a0212c
.
2024-08-20 16:32:50 +10:00
Brian May
ac36a8a20e
Revert "add next error log"
...
This reverts commit dc2287ccf8
.
2024-08-20 16:32:50 +10:00
Brian May
09c3324978
Revert "restore single quote then it looks working"
...
This reverts commit d1dbed04a0
.
2024-08-20 16:32:50 +10:00
Brian May
81532b29a9
Revert "remove unnecessary log file"
...
This reverts commit eaf55ed296
.
2024-08-20 16:32:50 +10:00
o2
eaf55ed296
remove unnecessary log file
2024-08-16 08:46:04 +10:00
o2
d1dbed04a0
restore single quote then it looks working
2024-08-16 08:46:04 +10:00
o2
dc2287ccf8
add next error log
2024-08-16 08:46:04 +10:00
o2
6272a0212c
Suppress error P is not recognized as an internal or external command,operable program or batch file.
2024-08-16 08:46:04 +10:00
nicole trinity
8364fd96e8
remove unused imports
2024-08-08 10:35:47 +10:00
Nico T
8da94c39ea
transfer work from PR #837
2024-08-08 10:35:47 +10:00
dependabot[bot]
60ee5b910b
Bump flake8 from 7.1.0 to 7.1.1
...
Bumps [flake8](https://github.com/pycqa/flake8 ) from 7.1.0 to 7.1.1.
- [Commits](https://github.com/pycqa/flake8/compare/7.1.0...7.1.1 )
---
updated-dependencies:
- dependency-name: flake8
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-07 09:10:42 +10:00
dependabot[bot]
b9e7a80715
Bump furo from 2024.7.18 to 2024.8.6
...
Bumps [furo](https://github.com/pradyunsg/furo ) from 2024.7.18 to 2024.8.6.
- [Release notes](https://github.com/pradyunsg/furo/releases )
- [Changelog](https://github.com/pradyunsg/furo/blob/main/docs/changelog.md )
- [Commits](https://github.com/pradyunsg/furo/compare/2024.07.18...2024.08.06 )
---
updated-dependencies:
- dependency-name: furo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-07 09:10:25 +10:00
nom3ad
bac2a6b0c7
windows: add --remote-shell option to select cmd/powershell
2024-08-06 08:38:24 +10:00
nom3ad
dff6950c4c
windows: update docs
2024-08-06 08:38:24 +10:00
nom3ad
df9625bbfd
windows: ignore netstat output encoding errors
2024-08-06 08:38:24 +10:00
nom3ad
554b8e3ae5
windows: improve ssnet/try_connect() logic
2024-08-06 08:38:24 +10:00
nom3ad
b826ae6b91
windows: support automatic nameserver detection for --dns option
2024-08-06 08:38:24 +10:00
nom3ad
51287dc4db
support server on Windows
2024-08-06 08:38:24 +10:00
nom3ad
ace8642950
add SocketRWShim helper
2024-08-06 08:38:24 +10:00
nom3ad
c4255a23f0
update exec-sshuttle script
2024-08-06 08:38:24 +10:00
nom3ad
6b8e402367
make sure that existing python2 compatibility is not broken by this feature
2024-08-06 08:38:24 +10:00
nom3ad
7a92183f59
windows: better connection tracker
2024-08-06 08:38:24 +10:00
nom3ad
81a598a4cc
suppport --auto-hosts in Windows
2024-08-06 08:38:24 +10:00
nom3ad
89a94ff150
support port ranges and exclude subnets
2024-08-06 08:38:24 +10:00
nom3ad
72060abbef
code cleanup and small refactoring
2024-08-06 08:38:24 +10:00
nom3ad
de8a19ce69
rename hacks to scripts
2024-08-06 08:38:24 +10:00
nom3ad
32fceefa76
!fix: windows installed script execution
2024-08-06 08:38:24 +10:00
nom3ad
b0799f8752
Fix benchmarking script to use correct node parameter
2024-08-06 08:38:24 +10:00
nom3ad
cd2d69ac08
Bump version to 1.2.0
2024-08-06 08:38:24 +10:00
nom3ad
1885974f52
refactor for future ipv6 support
2024-08-06 08:38:24 +10:00
nom3ad
dadfba488b
better windivert filters
2024-08-06 08:38:24 +10:00
nom3ad
8fa15c3ca8
support windivert > 2.0
2024-08-06 08:38:24 +10:00
nom3ad
e19fc01324
!improved windrivert throughput
2024-08-06 08:38:24 +10:00
nom3ad
371258991f
Update exec-sshuttle script and related files
2024-08-06 08:38:24 +10:00
nom3ad
db9ec36fac
better test-bed scripts
2024-08-06 08:38:24 +10:00
nom3ad
d4d0fa945d
fix: bad file descriptor error in windows, fix pytest errors
2024-08-06 08:38:24 +10:00
nom3ad
4a84ad3be6
fix windows CRLF issue on stdin/stdout
2024-08-06 08:38:24 +10:00
nom3ad
900acc3ac7
refactoring to make it better structured
2024-08-06 08:38:24 +10:00
nom3ad
49f46cd528
Add containers based testbed setup
2024-08-06 08:38:24 +10:00
nom3ad
7b8f140870
ensure non loopback address for windivert method
2024-08-06 08:38:24 +10:00