29 Commits

Author SHA256 Message Date
b988226895 - 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
37ab7d09a2 - 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
97d6f0796d - 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
OBS User buildservice-autocommit
5aa46b00e1 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
402f61b256 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
62c182dcf5 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
8fe6501a84 - 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
6057a105c8 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
3c5411b6c8 - 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
d143f44d55 - 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
033b454d16 - 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
5f9a1bdcbf - 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
9bf32883b2 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
870295a032 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
0fe6fad584 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
c50712a532 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
6ea910c2e5 - 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
78f7d7caeb 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
e2c65cd30e 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
2e3faf651f 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
e450a7316e - 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
ad37f67e7f 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
1228e11e2c 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
f636a6ea83 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
Alexander Naumov
1e4db9e3f8 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
1fc30ba44d 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
f90659dc67 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
a8172664ec Accepting request 294001 from home:Aikhjarto:branches:security
- upgrade to 0.6.1
- added building the man page
- fixed outdated licence string

OBS-URL: https://build.opensuse.org/request/show/294001
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=2
2015-04-09 08:02:59 +00:00
Pascal Bleser
6549d28af9 0.20110503
OBS-URL: https://build.opensuse.org/package/show/security/sshuttle?expand=0&rev=1
2011-05-04 20:48:21 +00:00