52 Commits

Author SHA256 Message Date
a70671c41d Accepting request 1317299 from security
- update to 1.3.2:
  * improve broken pipe (EPIPE) error handling in socket
    operations
  * Updates sudoers config according to executable
  * switch to a network namespace on Linux
  * prevent UnicodeDecodeError parsing iptables rule with
    comments
  * remove temp build hack
  * support ':' sign in password
  * replace nix-env with nix-shell
  * update installation instructions

OBS-URL: https://build.opensuse.org/request/show/1317299
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=22
2025-11-12 20:15:18 +00:00
9c562490db - update to 1.3.2:
* improve broken pipe (EPIPE) error handling in socket
    operations
  * Updates sudoers config according to executable
  * switch to a network namespace on Linux
  * prevent UnicodeDecodeError parsing iptables rule with
    comments
  * remove temp build hack
  * support ':' sign in password
  * replace nix-env with nix-shell
  * update installation instructions

OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=47
2025-11-12 11:58:39 +00:00
cd75ca07e5 Accepting request 1245590 from security
- update to 1.2.0:
  * Add support for Python 3.11 and Python 3.11
  * bad file descriptor error in windows, fix pytest errors
  * drop Python 3.8 support
  * ensure poetry works for Python 3.9
  * fix broken workflow_dispatch CI rule
  * Remove more references to legacy Python versions
  * replace requirements.txt files with poetry
  * update nix flake to fix problems
  * use Python >= 3.10 for docs

OBS-URL: https://build.opensuse.org/request/show/1245590
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=21
2025-02-13 17:39:51 +00:00
8bf02ea081 - update to 1.2.0:
* Add support for Python 3.11 and Python 3.11
  * bad file descriptor error in windows, fix pytest errors
  * drop Python 3.8 support
  * ensure poetry works for Python 3.9
  * fix broken workflow_dispatch CI rule
  * Remove more references to legacy Python versions
  * replace requirements.txt files with poetry
  * update nix flake to fix problems
  * use Python >= 3.10 for docs

OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=45
2025-02-13 10:17:14 +00:00
dd58fcbd6b Accepting request 1217249 from security
- update to 1.1.2:
  * Removed a little bit of legacy code
  * logging priority to turn off noise
  * Add support for SSHUTTLE_ARGS environment variable
  * tproxy: Apply DNS rules first
  * Workaround when sudo prints text to standard out
  * Keep terminal in a sane state when sudo use_pty is used.
  * Allow flake8 to determine the version of pyflakes
- drop fix-pytest.patch: obsolete (added pytest-cov instead)

OBS-URL: https://build.opensuse.org/request/show/1217249
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=20
2024-10-23 19:11:14 +00:00
53edd068a6 - update to 1.1.2:
* Removed a little bit of legacy code
  * logging priority to turn off noise
  * Add support for SSHUTTLE_ARGS environment variable
  * tproxy: Apply DNS rules first
  * Workaround when sudo prints text to standard out
  * Keep terminal in a sane state when sudo use_pty is used.
  * Allow flake8 to determine the version of pyflakes
- drop fix-pytest.patch: obsolete (added pytest-cov instead)

OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=43
2024-10-23 08:46:43 +00:00
6c4ff0462b OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=19 2024-02-26 18:49:41 +00:00
OBS User buildservice-autocommit
af8fbace4b Updating link to change in openSUSE:Factory/sshuttle revision 19
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=f12842587abcabf67b2d41659b3145ee
2024-02-26 18:49:41 +00:00
OBS User buildservice-autocommit
4182336de4 Accepting request 1151828 from security
baserev update by copy to link target

OBS-URL: https://build.opensuse.org/request/show/1151828
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=42
2024-02-26 18:49:41 +00:00
4fe814b287 Accepting request 1151639 from home:dimstar:rpm4.20:s
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1151639
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=41
2024-02-26 16:03:02 +00:00
23fd5d4970 Accepting request 1112896 from security
- add sysusers-requires
- remove sle12 specific conditionals

  settings from service file as they imply NNP, which doesn't work
- switch to pep517 build for better shebangs
- depend on setuptools_scm also on older dists
- Sshuttle service should be started after firewalld
- only build for main python3 version, this is not a module
- moved upstream from apenwarr/sshuttle to (pip) sshuttle/sshuttle
- fixed outdated licence string

OBS-URL: https://build.opensuse.org/request/show/1112896
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=18
2023-09-22 19:47:29 +00:00
5ec2f6787c - add sysusers-requires
- remove sle12 specific conditionals
  settings from service file as they imply NNP, which doesn't work
- switch to pep517 build for better shebangs
- depend on setuptools_scm also on older dists
- Sshuttle service should be started after firewalld
- only build for main python3 version, this is not a module
- moved upstream from apenwarr/sshuttle to (pip) sshuttle/sshuttle
- fixed outdated licence string

OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=39
2023-09-21 18:45:21 +00:00
8523123407 Accepting request 1096793 from security
OBS-URL: https://build.opensuse.org/request/show/1096793
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=17
2023-07-04 13:23:14 +00:00
5158594da1 Accepting request 1096698 from home:jsegitz:branches:security
- Remove
  * PrivateDevices=true
  * ProtectHostname=true
  * ProtectClock=true
  * ProtectKernelTunables=true
  * ProtectKernelModules=true
  * ProtectKernelLogs=true
  * RestrictRealtime=true
  settings from service file as they imply NNP, which doesn't work 
  with the sudo setup sshuttle uses (bsc#1212949)

OBS-URL: https://build.opensuse.org/request/show/1096698
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=37
2023-07-04 12:02:28 +00:00
0e782871f5 Accepting request 1093841 from security
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1093841
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=16
2023-06-20 14:48:43 +00:00
ca48ad5b56 - switch to pep517 build for better shebangs
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=35
2023-06-12 22:29:33 +00:00
d04dc18a7f Accepting request 1039877 from security
- update to 1.1.1:
  * Make --sudoers option work properly, fix regression in v1.1.0
  * Clarify --disable-ipv6 in man page.
  * Improve message when bind fails with a IPv6 address
  * Add tests for host name resolution
  * Allows wildcard host names as subnets
  * Fix typo
  * Remove --sudoers, improve --sudoers-no-modify
  * avoid moving/renaming the hosts file - fix docker container issue
  * fixed some spelling mistakes
  * Fix incorrect permissions for /etc/hosts
  * This test broke in Python3.11
  * all elements are strings
  * Replace setuptools_scm with bump2version
- drop fix-shebang.patch (obsolete)

OBS-URL: https://build.opensuse.org/request/show/1039877
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=15
2022-12-04 13:58:37 +00:00
b7f1380fd1 OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=33 2022-12-03 20:58:59 +00:00
70e04aa100 - drop fix-shebang.patch (obsolete)
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=32
2022-12-03 20:58:54 +00:00
add41cc04a - update to 1.1.1:
* Make --sudoers option work properly, fix regression in v1.1.0
  * Clarify --disable-ipv6 in man page.
  * Improve message when bind fails with a IPv6 address
  * Add tests for host name resolution
  * Allows wildcard host names as subnets
  * Fix typo
  * Remove --sudoers, improve --sudoers-no-modify
  * avoid moving/renaming the hosts file - fix docker container issue
  * fixed some spelling mistakes
  * Fix incorrect permissions for /etc/hosts
  * This test broke in Python3.11
  * all elements are strings
  * Replace setuptools_scm with bump2version

OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=31
2022-12-03 20:58:34 +00:00
98d3fcf616 Accepting request 976480 from security
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/976480
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=14
2022-05-12 21:00:37 +00:00
6334d046a6 - depend on setuptools_scm also on older dists
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=29
2022-05-04 18:42:23 +00:00
dc11db0d3e Accepting request 972615 from security
OBS-URL: https://build.opensuse.org/request/show/972615
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=13
2022-04-25 21:36:04 +00:00
a6c80d2e7d Accepting request 972552 from home:pgajdos:python
- version update to 1.1.0
  * Support the sudo use_pty option which is now the default in some operating systems. See #712.
  * Support doas as well as sudo. See #708.
  * for more details see
    https://github.com/sshuttle/sshuttle/releases/
- modified patches
  % fix-shebang.patch (refreshed)
- python-mock is not required for build

OBS-URL: https://build.opensuse.org/request/show/972552
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=27
2022-04-25 13:28:27 +00:00
85f2891d77 Accepting request 936347 from security
OBS-URL: https://build.opensuse.org/request/show/936347
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=12
2021-12-07 23:00:12 +00:00
9b750984f5 Accepting request 936298 from home:pgajdos:python
- do not require pytest-runner for build, it is not needed

OBS-URL: https://build.opensuse.org/request/show/936298
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=26
2021-12-07 19:05:53 +00:00
8392c5afb2 Accepting request 934420 from security
OBS-URL: https://build.opensuse.org/request/show/934420
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=11
2021-11-28 20:30:26 +00:00
9c27c1236a Accepting request 934048 from home:jsegitz:branches:systemdhardening:security
- Added hardening to systemd service(s) (bsc#1181400). Modified:
  * sshuttle.service

OBS-URL: https://build.opensuse.org/request/show/934048
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=25
2021-11-28 19:15:30 +00:00
90a1e27413 Accepting request 901279 from security
OBS-URL: https://build.opensuse.org/request/show/901279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=10
2021-06-22 18:45:04 +00:00
fd6200c5a9 Accepting request 900768 from home:ldevulder:branches:security
- Sshuttle service should be started after firewalld 
- Fix fix-shebang.patch to use /bin/bash and /bin/sh, as older
  distributions don't have /usr/bin/bash
- Add support for a systemd service, this is useful if we want to
  start sshuttle VPN at boot time.

OBS-URL: https://build.opensuse.org/request/show/900768
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=23
2021-06-22 06:37:45 +00:00
ee91850534 Accepting request 873583 from security
- only build for main python3 version, this is not a module

OBS-URL: https://build.opensuse.org/request/show/873583
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=9
2021-02-19 22:44:18 +00:00
8a8f1e6cda - only build for main python3 version, this is not a module
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=21
2021-02-19 00:09:47 +00:00
cc4f9092c3 Accepting request 860196 from security
OBS-URL: https://build.opensuse.org/request/show/860196
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=8
2021-01-04 18:09:44 +00:00
94ab98f569 Accepting request 860095 from home:polslinux:branches:security
- Update to 1.0.5:
  + Added
    * IPv6 support in nft method.
    * Intercept DNS requests sent by systemd-resolved.
    * Set default tmark.
    * Fix python2 server compatibility.
    * Python 3.9 support.
  + Fixed
    * Fix #494 sshuttle caught in infinite select() loop.
    * Include sshuttle version in verbose output.
    * Add psutil as dependency in setup.py
    * When subnets and excludes are specified with hostnames, use all IPs.
    * Update/document client's handling of IPv4 and IPv6.
    * Update sdnotify.py documentation.
    * Allow no remote to work.
    * Make prefixes in verbose output more consistent.
    * Make nat and nft rules consistent; improve rule ordering.
    * Make server and client handle resolv.conf differently.
    * Fix handling OSError in FirewallClient#__init__
    * Refactor automatic method selection.

OBS-URL: https://build.opensuse.org/request/show/860095
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=19
2021-01-04 13:10:18 +00:00
5a289f99de Accepting request 845613 from security
OBS-URL: https://build.opensuse.org/request/show/845613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=7
2020-11-10 12:39:55 +00:00
edd2324118 Accepting request 844525 from home:stroeder:branches:security
Update to 1.0.4

OBS-URL: https://build.opensuse.org/request/show/844525
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=17
2020-11-03 08:14:26 +00:00
a133eb6ede Accepting request 825272 from security
OBS-URL: https://build.opensuse.org/request/show/825272
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=6
2020-08-10 13:03:35 +00:00
9d6c975964 Accepting request 823283 from home:mrey:branches:security
- Update to 1.0.3:
  * Fixed:
    - Ask setuptools to require Python 3.5 and above.
    - Add missing import.
    - Fix formatting typos in usage docs
- Add fix-shebang.patch to fix env-script-interpreter rpmlint error

OBS-URL: https://build.opensuse.org/request/show/823283
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=15
2020-08-10 08:04:04 +00:00
57db86ba5e Accepting request 816894 from security
- Update to 1.0.2:
  + Added:
    * Python 3.8 support.
    * sshpass support.
    * Auto sudoers file (#269).
    * option for latency control buffer size.
  + Removed:
    * Python 2.6 support.
    * Python 2.7 support.
  + Fixed:
    * Leave use of default port to ssh command.
    * Remove unwanted references to Python 2.7 in docs.
    * Replace usage of deprecated imp.
    * Fix connection with @ sign in username.
    * Remove debug message for getpeername failure.
    * Fix crash triggered by port scans closing socket.
    * Added "Running as a service" to docs.
    * Systemd integration.
    * Trap UnicodeError to handle cases where hostnames returned by DNS are invalid.
    * Formatting error in CHANGES.rst
    * Various errors in documentation.
    * Nftables based method.
    * Make hostwatch locale-independent (#379).
    * Add tproxy udp port mark filter that was missed in #144, fixes #367.
    * Capturing of local DNS servers.
    * Crashing on ECONNABORTED.
    * Size of pf_rule, which grew in OpenBSD 6.4.
    * Use prompt for sudo, not needed for doas.
    * Arch linux installation instructions.
    * tests for existing PR-312 (#337).

OBS-URL: https://build.opensuse.org/request/show/816894
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=5
2020-06-25 13:07:50 +00:00
9250cfabd1 - add fix-pytest.patch
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=13
2020-06-24 21:11:37 +00:00
9c5f5f4c0a Accepting request 816589 from home:polslinux:branches:security
- Update to 1.0.2:
  + Added:
    * Python 3.8 support.
    * sshpass support.
    * Auto sudoers file (#269).
    * option for latency control buffer size.
  + Removed:
    * Python 2.6 support.
    * Python 2.7 support.
  + Fixed:
    * Leave use of default port to ssh command.
    * Remove unwanted references to Python 2.7 in docs.
    * Replace usage of deprecated imp.
    * Fix connection with @ sign in username.
    * Remove debug message for getpeername failure.
    * Fix crash triggered by port scans closing socket.
    * Added "Running as a service" to docs.
    * Systemd integration.
    * Trap UnicodeError to handle cases where hostnames returned by DNS are invalid.
    * Formatting error in CHANGES.rst
    * Various errors in documentation.
    * Nftables based method.
    * Make hostwatch locale-independent (#379).
    * Add tproxy udp port mark filter that was missed in #144, fixes #367.
    * Capturing of local DNS servers.
    * Crashing on ECONNABORTED.
    * Size of pf_rule, which grew in OpenBSD 6.4.
    * Use prompt for sudo, not needed for doas.
    * Arch linux installation instructions.
    * tests for existing PR-312 (#337).
    * Hyphen in hostname.
    * Assembler import (#319)

OBS-URL: https://build.opensuse.org/request/show/816589
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=12
2020-06-24 21:04:59 +00:00
f10cc2f3c2 Accepting request 697853 from security
OBS-URL: https://build.opensuse.org/request/show/697853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=4
2019-04-28 18:11:16 +00:00
b89d9b3320 Accepting request 692406 from home:cgiboudeaux:branches:security
Fix the Factory build.

OBS-URL: https://build.opensuse.org/request/show/692406
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=10
2019-04-25 13:13:30 +00:00
828880538e Accepting request 646811 from security
OBS-URL: https://build.opensuse.org/request/show/646811
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=3
2018-11-08 08:49:32 +00:00
390e3f5906 Accepting request 646767 from home:dirkmueller:branches:security
- update to 0.78.4:
  * Work around non tabular headers in BSD netstat.
  * Fix UDP and DNS support on Python 2.7 with tproxy method.
  * Fixed tests after adding support for iproute2.
  * Small refactoring of netstat/iproute parsing.
  * Set started_by_sshuttle False after disabling pf.
  * Fix punctuation and explain Type=notify.
  * Move pytest-runner to tests_require.
  * Fix warning: closed channel got=STOP_SENDING.
  * Support sdnotify for better systemd integration.
  * Fix #117 to allow for no subnets via file (-s).
  * Fix argument splitting for multi-word arguments.
  * requirements.rst: Fix mistakes.
  * Fix typo, space not required here.
  * Update installation instructions.
  * Support using run from different directory.
  * Ensure we update sshuttle/version.py in run.
  * Don't print python version in run.
  * Add CWD to PYTHONPATH in run
  * Fix case where there is no --dns.
  * [pf] Avoid port forwarding from loopback address.
  * Use getaddrinfo to obtain a correct sockaddr.
  * Skip empty lines on incoming routes data.
  * Just skip empty lines of routes data instead of stopping processing.
  * [pf] Load pf kernel module when enabling pf.
  * [pf] Test double restore (ipv4, ipv6) disables only once; test kldload.
  * Fixes UDP and DNS proxies binding to the same socket address.
  * Mock socket bind to avoid depending on local IPs being available in test box.
  * Fix no value passed for argument auto_hosts in hw_main call.
  * Fixed incorrect license information in setup.py.

OBS-URL: https://build.opensuse.org/request/show/646767
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=8
2018-11-07 07:21:36 +00:00
4ddc213527 Accepting request 509959 from security
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/509959
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=2
2017-07-17 07:09:45 +00:00
c8318b6e98 Accepting request 497001 from security
Transparent proxy server that works as a poor man's VPN. Forwards over ssh.
Doesn't require admin. Works with Linux and MacOS. Supports DNS tunneling.

OBS-URL: https://build.opensuse.org/request/show/497001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=1
2017-07-05 21:56:41 +00:00
Alexander Naumov
fd75791605 Accepting request 498230 from home:jengelh:branches:security
- Ensure neutrality of description.

OBS-URL: https://build.opensuse.org/request/show/498230
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=5
2017-05-27 21:40:51 +00:00
Alexander Naumov
73f0ec9926 Accepting request 493938 from home:elimat:branches:security
- Change license to correct (LGPL-2.1)
- Remove patch sshuttle-remove_python2.patch file not needed.

OBS-URL: https://build.opensuse.org/request/show/493938
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=4
2017-05-17 10:51:02 +00:00
dd76d4127d Accepting request 440734 from home:bmanojlovic:branches:security
fixed all building issues please disregard old submit request

OBS-URL: https://build.opensuse.org/request/show/440734
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=3
2016-11-22 10:41:15 +00:00