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.

Overview

sshuttle: where transparent proxy meets VPN meets ssh

As far as I know, sshuttle is the only program that solves the following common case:

  • Your client machine (or router) is Linux, FreeBSD, or MacOS.
  • You have access to a remote network via ssh.
  • You don't necessarily have admin access on the remote network.
  • The remote network has no VPN, or only stupid/complex VPN protocols (IPsec, PPTP, etc). Or maybe you are the admin and you just got frustrated with the awful state of VPN tools.
  • You don't want to create an ssh port forward for every single host/port on the remote network.
  • You hate openssh's port forwarding because it's randomly slow and/or stupid.
  • You can't use openssh's PermitTunnel feature because it's disabled by default on openssh servers; plus it does TCP-over-TCP, which has terrible performance.

Obtaining sshuttle

  • Ubuntu 16.04 or later:

    apt-get install sshuttle
    
  • Debian stretch or later:

    apt-get install sshuttle
    
  • Arch Linux:

    pacman -S sshuttle
    
  • Fedora:

    dnf install sshuttle
    
  • NixOS:

    nix-env -iA nixos.sshuttle
    
  • From PyPI:

    sudo pip install sshuttle
    
  • Clone:

    git clone https://github.com/sshuttle/sshuttle.git
    cd sshuttle
    sudo ./setup.py install
    
  • FreeBSD:

    # ports
    cd /usr/ports/net/py-sshuttle && make install clean
    # pkg
    pkg install py36-sshuttle
    
  • macOS, via MacPorts:

    sudo port selfupdate
    sudo port install sshuttle
    

It is also possible to install into a virtualenv as a non-root user.

  • From PyPI:

    virtualenv -p python3 /tmp/sshuttle
    . /tmp/sshuttle/bin/activate
    pip install sshuttle
    
  • Clone:

    virtualenv -p python3 /tmp/sshuttle
    . /tmp/sshuttle/bin/activate
    git clone https://github.com/sshuttle/sshuttle.git
    cd sshuttle
    ./setup.py install
    
  • Homebrew:

    brew install sshuttle
    
  • Nix:

    nix-env -iA nixpkgs.sshuttle
    

Documentation

The documentation for the stable version is available at: https://sshuttle.readthedocs.org/

The documentation for the latest development version is available at: https://sshuttle.readthedocs.org/en/latest/

Running as a service

Sshuttle can also be run as a service and configured using a config management system: https://medium.com/@mike.reider/using-sshuttle-as-a-service-bec2684a65fe

Comments
  • Ubuntu 16.04 Gnome - Shuttle Master UDP issues

    Ubuntu 16.04 Gnome - Shuttle Master UDP issues

    sshuttle-master is running fine for TCP. Output appears to indicate that with --method=tproxy it is accepting/sending UDP, but that doesn't seem to be the case. I find I am unable to ping anything and already open connections are shut down.

    sudo SSH_AUTH_SOCK="$SSH_AUTH_SOCK" su                                                                                                                   
    ip route add local default dev lo table 100
    ip rule add fwmark 1 lookup 100
    ./run --method=tproxy --disable-ipv6 -vvv --pidfile=/tmp/sshuttle.pid -r [email protected] 0/0 -x <server.ip>
    

    Output.

    I notice this line in the output: /proc/net/route: No such file or directory. It's odd because that file does exist.

    192.168.10.1 is the router, and 192.168.10.10 is my machine.

    help wanted 
    opened by DiagonalArg 40
  • Add compatibility with OSX 10.10 Yosemite

    Add compatibility with OSX 10.10 Yosemite

    User @jagheterfredrik forked apenwarr/sshuttle into jagheterfredrik/sshuttle and added support for OSX 10.10 Yosemite. I forked sshuttle/sshuttle and cherry-picked those commits into master. After which, there were still some compatibility issues with sshuttle/sshuttle to be resolved as apenwarr/sshuttle and sshuttle/sshuttle are divergent. This commit wraps up those changes.

    In addition, it's worth noting that the current homebrew (as of this commit) formula for sshuttle points to @apenwarr's fork. Once this 10.10 work is completed, the formula should be updated to point to sshuttle/sshuttle.

    • [x] Cherry pick jagheterfredrik/[email protected] & resolve conflicts.
    • [x] Cherry pick jagheterfredrik/[email protected] & resolve conflicts.
    • [x] Alter src/firewall.py based on new variables passed into do_ functions.
    • [x] Alter src/firewall.py based on new method = 'pf' way of determining which firewall tool to use.
    opened by pthrasher 35
  • sshutle -D  hangs when running via IPC/Perl

    sshutle -D hangs when running via IPC/Perl

    I am trying to run sshutle as external program and read it's STDOUT/STDERR , but it hangs. Here is small code on Perl. Probably other languages/IPC may have the same troubles, but I run sshutle via Perl

    
    $ cat test.pl 
    my $cmd = '/usr/local/bin/sshuttle -v -D -r  127.0.0.1 192.168.0.0/24';
    
    open(OUT, "$cmd 2>&1 |") || die "can't fork: $!";
    
    while (my $l = <OUT>) {
      print $l;
    }
    
    close OUT;
    
    print "done\n";
    [email protected]:~/projects/sshutle-issue$ perl test.pl 
    
    # it hangs here!!!
    

    Running ps uax|grep sshu in parallel terminal gives me this:

    $ ps uax | grep sshu | grep -v grep
    melezhik  3721  0.4  0.0      0     0 pts/13   Z+   14:29   0:00 [sshuttle] <defunct>
    melezhik  3722  0.0  0.0  12620   736 pts/13   S+   14:29   0:00 logger -p daemon.notice -t sshuttle
    root      3723  0.0  0.0  72468  2144 pts/13   S+   14:29   0:00 sudo -p [local sudo] Password:  PYTHONPATH=/usr/local/lib/python2.7/dist-packages -- /usr/bin/python /usr/local/bin/sshuttle -v --method auto --firewall --syslog
    root      3724  0.4  0.1  46108  9948 ?        Ss   14:29   0:00 /usr/bin/python /usr/local/bin/sshuttle -v --method auto --firewall --syslog
    root      3725  0.0  0.0  12616   736 ?        S    14:29   0:00 logger -p daemon.notice -t sshuttle
    melezhik  3786  0.0  0.0  46636  8072 ?        S    14:29   0:00 /usr/bin/python /usr/local/bin/sshuttle -v -D -r 127.0.0.1 192.168.0.0/24
    

    Probably this might be helpful

    help wanted 
    opened by melezhik 34
  • Mac OS X El Capitan (10.11.1): requests are not forwarded through a proxy

    Mac OS X El Capitan (10.11.1): requests are not forwarded through a proxy

    Hello,

    A tunnel via ssh -NC [email protected] -L 9999:10.150.135.166:1526 works just fine.

    When I run sshuttle my requests to 10.150.135.166 are not forwarded. This is how I run it:

    toyota$ sshuttle -r [email protected] XX.XXXX.135.166 -N  -vv
    Starting sshuttle proxy.
    [local sudo] Password: 
    firewall manager: Starting firewall with Python version 2.7.10
    firewall manager: ready method name pf.
    UDP enabled: False
    Binding redirector: 12300
    TCP redirector listening on ('127.0.0.1', 12300).
    TCP redirector listening with <socket._socketobject object at 0x10c2d7980>.
    Starting client with Python version 2.7.10
    c : connecting to server...
    c : executing: ['ssh', '[email protected]', '--', 'P=python3.5; $P -V 2>/dev/null || P=python; exec "$P" -c \'import sys; verbosity=2; exec(compile(sys.stdin.read(890), "assembler.py", "exec"))\'']
    [email protected]'s password: 
    c :  > channel=0 cmd=PING len=7 (fullness=0)
    server: assembling 'sshuttle' (8 bytes)
    server: assembling 'sshuttle.cmdline_options' (27 bytes)
    server: assembling 'sshuttle.helpers' (765 bytes)
    server: assembling 'sshuttle.ssnet' (5506 bytes)
    server: assembling 'sshuttle.hostwatch' (2307 bytes)
    server: assembling 'sshuttle.server' (3047 bytes)
    Starting server with Python version 2.6.6
     s: latency control setting = True
     s: available routes:
     s:   2/146.213.0.128/27
     s:   2/169.254.0.0/16
     s:  > channel=0 cmd=PING len=7 (fullness=0)
    c : Connected.
     s:  > channel=0 cmd=ROUTES len=36 (fullness=7)
    c : Waiting: 2 r=[8, 9] w=[9] x=[] (fullness=7/0)
    c :   Ready: 2 r=[] w=[9] x=[]
    c : mux wrote: 15/15
    c : Waiting: 2 r=[8, 9] w=[] x=[] (fullness=7/0)
     s: Waiting: 1 r=[4] w=[5] x=[] (fullness=43/0)
     s:   Ready: 1 r=[] w=[5] x=[]
     s: mux wrote: 15/15
     s: Waiting: 1 r=[4] w=[5] x=[] (fullness=43/0)
     s:   Ready: 1 r=[] w=[5] x=[]
     s: mux wrote: 44/44
     s: Waiting: 1 r=[4] w=[] x=[] (fullness=43/0)
    c :   Ready: 2 r=[9] w=[] x=[]
    c : <  channel=0 cmd=PING len=7
    c :  > channel=0 cmd=PONG len=7 (fullness=7)
    c : <  channel=0 cmd=ROUTES len=36
    firewall manager: Got subnets: [(2, 32, False, '10.150.135.166'), (2, 27, False, '146.213.0.128'), (2, 16, False, '169.254.0.0'), (2, 8, True, '127.0.0.0')]
    firewall manager: Got nslist: []
    firewall manager: Got ports: 0,12300,0,0
    firewall manager: Got udp: False
    firewall manager: setting up.
    firewall manager: setting up IPv4.
    >> pfctl -s all
    >> pfctl -a sshuttle -f /dev/stdin
    >> pfctl -E
     s:   Ready: 1 r=[4] w=[] x=[]
     s: <  channel=0 cmd=PING len=7
     s:  > channel=0 cmd=PONG len=7 (fullness=43)
     s: mux wrote: 15/15
     s: Waiting: 1 r=[4] w=[] x=[] (fullness=50/0)
    c : mux wrote: 15/15
    c : <  channel=0 cmd=PONG len=7
    c : received PING response
    c : Waiting: 2 r=[8, 9] w=[] x=[] (fullness=0/0)
     s:   Ready: 1 r=[4] w=[] x=[]
     s: <  channel=0 cmd=PONG len=7
     s: received PING response
     s: Waiting: 1 r=[4] w=[] x=[] (fullness=0/0)
    

    What can be an issue? NO errors reported.

    MacOSX 
    opened by valmol 34
  • Sshuttle not working over OpenVPN Tunnel

    Sshuttle not working over OpenVPN Tunnel

    My scenario: I'm running OSX El Capitan, and sometimes work remotely and need to connect to my company's OpenVPN server in order to hook into ACLs and firewalls set up by our customers - this connection is set up to route all traffic over the VPN. I also need to use sshuttle to connect to remote networks behind bastion hosts in our customers' infrastructure.

    When using sshuttle and OpenVPN individually, everything works as intended, however when using sshuttle after connecting to an OpenVPN tunnel, the firewall proxy rules don't take effect.

    I'm aware that this could be due to OpenVPN or sshuttle, however colleagues running Linux can connect with no problem, so I suspect this is due to sshuttle using pf rather than iptables on Mac.

    Can anyone help resolve this? Happy to provide more detail if necessary.

    MacOSX 
    opened by craigwatson 28
  • Yosemite support

    Yosemite support

    Apple drops the IPFW from OS X Yosemite.
    shuttle cannot work on OS X Yosemite for this reason. I forked the sshuttle/sshuttle and add support for the pf.

    opened by seanzxx 23
  • realpath not found on macOS 12.2

    realpath not found on macOS 12.2

    Running sshuttle --sudoers or sshuttle --sudoers --sudoers-user <username> throws the following error after updating to 1.1.0 using Homebrew, worked prior to updating. Tried complete reinstall as well, in case some legacy stuff was left from previous version, same thing though.

    $ sshuttle --sudoers
    # WARNING: When you allow a user to run sshuttle as root,
    # they can then use sshuttle's --ssh-cmd option to run any
    # command as root.
    Password:
    /usr/local/bin/sudoers-add: line 54: realpath: command not found
    Invalid sudoers filename: Final sudoers file location () does not begin with /etc/sudoers.d
    Failed updating sudoers file.
    
    opened by vikingtoby 21
  • Fails to connect to endpoints with Python 3.8

    Fails to connect to endpoints with Python 3.8

    Endpoints that have been updated with python 3.8 seem to cause issues with sshuttle.

    Starting sshuttle proxy.
    firewall manager: Starting firewall with Python version 3.8.0
    firewall manager: ready method name nat.
    IPv6 enabled: False
    UDP enabled: False
    DNS enabled: False
    User enabled: False
    TCP redirector listening on ('127.0.0.1', 12300).
    Starting client with Python version 3.8.0
    c : connecting to server...
    assembler.py:3: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    Starting server with Python version 3.8.0
     s: latency control setting = True
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "assembler.py", line 38, in <module>
      File "sshuttle.server", line 298, in main
      File "/usr/lib/python3.8/socket.py", line 544, in fromfd
        return socket(family, type, proto, nfd)
      File "/usr/lib/python3.8/socket.py", line 231, in __init__
        _socket.socket.__init__(self, family, type, proto, fileno)
    OSError: [Errno 88] Socket operation on non-socket
    c : Connected.
    c : fatal: server died with error code 1
    

    Older python endpoinds are fine:

    Starting sshuttle proxy.
    firewall manager: Starting firewall with Python version 3.8.0
    firewall manager: ready method name nat.
    IPv6 enabled: False
    UDP enabled: False
    DNS enabled: False
    User enabled: False
    TCP redirector listening on ('127.0.0.1', 12300).
    Starting client with Python version 3.8.0
    c : connecting to server...
    Starting server with Python version 2.6.6
     s: latency control setting = True
    c : Connected.
     s: auto-nets:False
    firewall manager: setting up.
    [...]
    
    opened by fredronnv 19
  • only forwarding dns for the remote subnet

    only forwarding dns for the remote subnet

    As I understand it, the --dns option forwards all DNS requests to the remote subnet's DNS servers, yes? If so, that only works as long as the remote DNS server(s) know about everything that is local to you also.

    If it doesn't however, and if I wanted to forward only DNS requests for the domain that is on the remote subnet I could adjust my current BIND configuration (my /etc/resolv.conf lists 127.0.0.1 as the DNS server to use) to add something like:

    zone "remote.domain.example.com" IN {
    	type forward;
    	forwarders port 12303 { 127.0.0.1; };
    };
    

    Where sshuttle is listening on port 12303 on the localhost for DNS requests to proxy to the remote subnet.

    Give that, is there was a way to start sshuttle so that it forwarded DNS requests received on a port but didn't capture all DNS requests so that DNS requests for the remote subnet/domain could be specifically directed by the local BIND daemon?

    opened by brianjmurrell 19
  • Auto sudoers file

    Auto sudoers file

    I have created a script and added it as a command line flag, sshuttle --sudoers. This is now documented and has been tested on Linux and OSX. If there is anything else needed to get this in, please let me know.

    opened by wmantly 18
  • fatal: ['pfctl', '-X', ''] returned 1

    fatal: ['pfctl', '-X', ''] returned 1

    I run sshuttle, but got the error below:

    Starting sshuttle proxy.
    [local sudo] Password:
    Starting firewall with Python version 3.5.0
    firewall manager ready method name pf.
    UDP enabled: False
    Binding redirector: 12300
    TCP redirector listening on ('127.0.0.1', 12300).
    TCP redirector listening with <socket.socket fd=8, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 12300)>.
    Starting client with Python version 3.5.0
    c : connecting to server...
    c : executing: ['ssh', '[email protected]', '--', 'P=python2; $P -V 2>/dev/null || P=python; exec "$P" -c \'import sys; verbosity=2; exec(compile(sys.stdin.read(890), "assembler.py", "exec"))\'']
    c :  > channel=0 cmd=PING len=7 (fullness=0)
    server: assembling 'sshuttle' (8 bytes)
    server: assembling 'sshuttle.cmdline_options' (27 bytes)
    server: assembling 'sshuttle.helpers' (765 bytes)
    server: assembling 'sshuttle.ssnet' (5506 bytes)
    server: assembling 'sshuttle.hostwatch' (2307 bytes)
    server: assembling 'sshuttle.server' (3016 bytes)
    Starting server with Python version 2.7.6
     s: latency control setting = True
     s: available routes:
     s:   2/10.12.0.0/16
     s:   2/10.134.0.0/16
     s:   2/159.203.240.0/20
     s:  > channel=0 cmd=PING len=7 (fullness=0)
     s:  > channel=0 cmd=ROUTES len=50 (fullness=7)
    c : connected.
    Connected.
    c : Waiting: 2 r=[8, 9] w=[9] x=[] (fullness=7/0)
    c :   Ready: 2 r=[] w=[9] x=[]
    c : mux wrote: 15/15
    c : Waiting: 2 r=[8, 9] w=[] x=[] (fullness=7/0)
     s: Waiting: 1 r=[4] w=[5] x=[] (fullness=57/0)
     s:   Ready: 1 r=[] w=[5] x=[]
     s: mux wrote: 15/15
     s: Waiting: 1 r=[4] w=[5] x=[] (fullness=57/0)
     s:   Ready: 1 r=[] w=[5] x=[]
     s: mux wrote: 58/58
     s: Waiting: 1 r=[4] w=[] x=[] (fullness=57/0)
    c :   Ready: 2 r=[9] w=[] x=[]
    c : <  channel=0 cmd=PING len=7
    c :  > channel=0 cmd=PONG len=7 (fullness=7)
    c : <  channel=0 cmd=ROUTES len=50
    Got subnets: [(2, 0, False, '0.0.0.0'), (2, 8, True, '127.0.0.0')]
    Got nslist: []
    Got ports: 0,12300,0,0
    Got udp: False
    firewall manager: starting transproxy.
    >> pfctl -s all
     s:   Ready: 1 r=[4] w=[] x=[]
     s: <  channel=0 cmd=PING len=7
     s:  > channel=0 cmd=PONG len=7 (fullness=57)
     s: mux wrote: 15/15
     s: Waiting: 1 r=[4] w=[] x=[] (fullness=64/0)
    firewall manager: undoing changes.
    >> pfctl -a sshuttle -F all
    >> pfctl -X
    fatal: ['pfctl', '-X', ''] returned 1
    c : fatal: cleanup: ['sudo', '-p', '[local sudo] Password: ', 'PYTHONPATH=/usr/local/lib/python3.5/site-packages/sshuttle-0.73-py3.5.egg', '--', '/usr/local/opt/python3/bin/python3.5', '/usr/local/bin/sshuttle', '-v', '-v', '--method', 'auto', '--firewall'] returned 99
    

    I run sshuttle with python 3.5.

    MacOSX 
    opened by d0u9 18
  • Failed to flush caches: Unit dbus-org.freedesktop.resolve1.service not found using sshuttle

    Failed to flush caches: Unit dbus-org.freedesktop.resolve1.service not found using sshuttle

    Hi I am using vbox kali linux and get the following error:

    c : Connected to server. Failed to flush caches: Unit dbus-org.freedesktop.resolve1.service not found. fw: Received non-zero return code 1 when flushing DNS resolver cache.

    I am unable to get any traffic even with the c: Connected to server listed

    opened by Warren3013 0
  • Terraform helm provider request failing with timeout

    Terraform helm provider request failing with timeout

    We have a k8s cluster setup with private load balancer in AWS. We are using sshutle to access the load balancer for k8s API access (for kubectl , helm and terraform).

    When trying to install a helm chart (prometheus operator) using terraform, the terraform apply fails with following error.

    create: failed to create: the server was unable to return a response in the time allotted, but may still be processing the request (post secrets)

    Here are the verbose logs for the sshuttle,

    Starting sshuttle proxy (version 1.1.1).
    c : Starting firewall manager with command: ['/usr/bin/sudo', '-p', '[local sudo] Password: ', '/usr/bin/env', 'PYTHONPATH=/usr/local/Cellar/sshuttle/1.1.1/libexec/lib/python3.11/site-packages', '/usr/local/Cellar/sshuttle/1.1.1/libexec/bin/python3.11', '/usr/local/bin/sshuttle', '-v', '--method', 'auto', '--firewall']
    [local sudo] Password:
    fw: Starting firewall with Python version 3.11.0
    fw: ready method name pf.
    c : IPv6 enabled: Using default IPv6 listen address ::1
    c : Method: pf
    c : IPv4: on
    c : IPv6: on
    c : UDP : off (not available with pf method)
    c : DNS : on
    c : User: off (not available with pf method)
    c : Subnets to forward through remote host (type, IP, cidr mask width, startPort, endPort):
    c :   (<AddressFamily.AF_INET: 2>, '172.16.102.0', 24, 0, 0)
    c : Subnets to exclude from forwarding:
    c :   (<AddressFamily.AF_INET: 2>, '127.0.0.1', 32, 0, 0)
    c :   (<AddressFamily.AF_INET6: 30>, '::1', 128, 0, 0)
    c : DNS requests normally directed at these servers will be redirected to remote:
    c :   (<AddressFamily.AF_INET: 2>, '8.8.8.8')
    c :   (<AddressFamily.AF_INET: 2>, '103.8.45.5')
    c :   (<AddressFamily.AF_INET: 2>, '103.8.46.5')
    c : TCP redirector listening on ('::1', 12300, 0, 0).
    c : TCP redirector listening on ('127.0.0.1', 12300).
    c : DNS listening on ('::1', 12299, 0, 0).
    c : DNS listening on ('127.0.0.1', 12299).
    c : Starting client with Python version 3.11.0
    c : Connecting to server...
     s: Running server on remote host with /usr/bin/python3 (version 3.7.10)
     s: latency control setting = True
     s: auto-nets:False
    c : Connected to server.
    fw: setting up.
    fw: >> pfctl -s Interfaces -i lo -v
    fw: >> pfctl -s all
    fw: >> pfctl -a sshuttle6-12300 -f /dev/stdin
    fw: >> pfctl -E
    fw: >> pfctl -s Interfaces -i lo -v
    fw: >> pfctl -s all
    fw: >> pfctl -a sshuttle-12300 -f /dev/stdin
    fw: >> pfctl -E
    c : DNS request from ('192.168.1.73', 52106): 40 bytes
    c : DNS request from ('192.168.1.73', 57108): 40 bytes
    c : DNS request from ('192.168.1.73', 63409): 57 bytes
    c : DNS request from ('192.168.1.73', 57048): 57 bytes
    c : DNS request from ('192.168.1.73', 59114): 109 bytes
    c : DNS request from ('192.168.1.73', 59844): 109 bytes
    c : Accept TCP: 192.168.1.73:49329 -> 172.16.102.5:443.
    c : DNS request from ('192.168.1.73', 64798): 57 bytes
    c : DNS request from ('192.168.1.73', 59981): 57 bytes
    c : DNS request from ('192.168.1.73', 49322): 68 bytes
    c : DNS request from ('192.168.1.73', 54626): 68 bytes
    c : DNS request from ('192.168.1.73', 54945): 48 bytes
    c : DNS request from ('192.168.1.73', 55200): 48 bytes
    c : DNS request from ('192.168.1.73', 53375): 28 bytes
    c : DNS request from ('192.168.1.73', 57985): 28 bytes
    c : DNS request from ('192.168.1.73', 51768): 47 bytes
    c : DNS request from ('192.168.1.73', 64589): 47 bytes
    c : DNS request from ('192.168.1.73', 63502): 57 bytes
    c : DNS request from ('192.168.1.73', 58325): 57 bytes
    c : DNS request from ('192.168.1.73', 50428): 57 bytes
    c : DNS request from ('192.168.1.73', 56129): 57 bytes
    c : DNS request from ('192.168.1.73', 57504): 48 bytes
    c : DNS request from ('192.168.1.73', 62979): 48 bytes
    c : DNS request from ('192.168.1.73', 58371): 28 bytes
    c : DNS request from ('192.168.1.73', 63581): 28 bytes
    c : DNS request from ('192.168.1.73', 61743): 47 bytes
    c : DNS request from ('192.168.1.73', 56517): 47 bytes
    c : DNS request from ('192.168.1.73', 56760): 48 bytes
    c : DNS request from ('192.168.1.73', 57073): 48 bytes
    c : DNS request from ('192.168.1.73', 53859): 28 bytes
    c : DNS request from ('192.168.1.73', 63881): 28 bytes
    c : DNS request from ('192.168.1.73', 62735): 47 bytes
    c : DNS request from ('192.168.1.73', 55605): 47 bytes
    c : DNS request from ('192.168.1.73', 53272): 98 bytes
    c : DNS request from ('192.168.1.73', 52973): 98 bytes
    c : Accept TCP: 192.168.1.73:49356 -> 172.16.102.93:443.
     s: SW#-1:172.16.102.5:443: deleting (3 remain)
     s: SW'unknown':Mux#7: deleting (2 remain)
    c : SW#10:192.168.1.73:49329: deleting (3 remain)
    c : SW#10:192.168.1.73:49329: error was: nowrite: [Errno 57] Socket is not connected
    c : SW'unknown':Mux#7: deleting (2 remain)
    c : DNS request from ('192.168.1.73', 56686): 28 bytes
    c : DNS request from ('192.168.1.73', 55989): 58 bytes
    c : DNS request from ('192.168.1.73', 55895): 23 bytes
    c : DNS request from ('192.168.1.73', 54610): 28 bytes
    

    I am using MacBook Pro with MacOS Ventura: Here is the output for uname -a command: Darwin 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct 9 20:14:54 PDT 2022; root:xnu-8792.41.9~2/RELEASE_X86_64 x86_64

    I believe the issues is around these lines (in the logs above):

    s: SW#-1:172.16.102.5:443: deleting (3 remain)
     s: SW'unknown':Mux#7: deleting (2 remain)
    c : SW#10:192.168.1.73:49329: deleting (3 remain)
    c : SW#10:192.168.1.73:49329: error was: nowrite: [Errno 57] Socket is not connected
    c : SW'unknown':Mux#7: deleting (2 remain)
    

    Please let me know if its my setup issue or some sshutle bug.

    opened by prashantkalkar 0
  • Bump pyflakes from 2.5.0 to 3.0.1

    Bump pyflakes from 2.5.0 to 3.0.1

    Bumps pyflakes from 2.5.0 to 3.0.1.

    Changelog

    Sourced from pyflakes's changelog.

    3.0.1 (2022-11-24)

    • Fix crash on augmented assign to print builtin

    3.0.0 (2022-11-23)

    • Detect undefined name in variable defined by an annotated assignment
    • Add a new error for names which are annotated but unused
    • Remove handling of python 2.x # type: comments. Use annotations instead
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 0
  • Bump flake8 from 5.0.4 to 6.0.0

    Bump flake8 from 5.0.4 to 6.0.0

    Bumps flake8 from 5.0.4 to 6.0.0.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 0
  • client_loop: send disconnect: Broken pipe

    client_loop: send disconnect: Broken pipe

    Hi all,

    I try to get sshuttle running, but after several reads through the man and issues, I can't find my mistake here. Could you please help me out here?

    ssh to [email protected] is working fine

    os: NAME="Ubuntu" VERSION="20.04.5 LTS (Focal Fossa)" but it is WSL2 on a Win 10 machine

    iptables v1.8.4 (legacy):

    sshuttle -vvv -e "ssh -i /home/q/.ssh/key-privatekey.txt" -r [email protected] 0/0 -x XXX.30.95.X:32
    Starting sshuttle proxy.
    firewall manager: Starting firewall with Python version 3.8.10
    firewall manager: ready method name nat.
    IPv6 enabled: False
    UDP enabled: False
    DNS enabled: False
    User enabled: False
    Binding redirector: 12300
    TCP redirector listening on ('127.0.0.1', 12300).
    TCP redirector listening with <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 12300)>.
    Starting client with Python version 3.8.10
    c : connecting to server...
    c : executing: ['ssh', '-i', '/home/q/.ssh/key-privatekey.txt', '[email protected]', '--', 'exec /bin/sh -c \'P=python3; $P -V 2>/dev/null || P=python; exec "$P" -c \'"\'"\'import sys, os; verbosity=3; sys.stdin = os.fdopen(0, "rb"); exec(compile(sys.stdin.read(1317), "assembler.py", "exec"))\'"\'"\'\'']
    c :  > channel=0 cmd=PING len=7 (fullness=0)
    [email protected]'s password:
    server: assembling 'sshuttle' (7 bytes)
    server: assembling 'sshuttle.cmdline_options' (66 bytes)
    server: assembling 'sshuttle.helpers' (944 bytes)
    server: assembling 'sshuttle.ssnet' (5776 bytes)
    server: assembling 'sshuttle.hostwatch' (2388 bytes)
    server: assembling 'sshuttle.server' (3787 bytes)
    Starting server with Python version 2.7.5
     s: latency control setting = True
     s:  > channel=0 cmd=PING len=7 (fullness=0)
     s: auto-nets:False
     s:  > channel=0 cmd=ROUTES len=0 (fullness=7)
     s: Waiting: 1 r=[0] w=[1] x=[] (fullness=7/0)
     s:   Ready: 1 r=[] w=[1] x=[]
     s: mux wrote: 15/15
     s: Waiting: 1 r=[0] w=[1] x=[] (fullness=7/0)
     s:   Ready: 1 r=[] w=[1] x=[]
     s: mux wrote: 8/8
     s: Waiting: 1 r=[0] w=[] x=[] (fullness=7/0)
    c : Connected.
    c : Waiting: 2 r=[5, 8] w=[8] x=[] (fullness=7/0)
    c :   Ready: 2 r=[8] w=[8] x=[]
    c : <  channel=0 cmd=PING len=7
    c :  > channel=0 cmd=PONG len=7 (fullness=7)
    c : <  channel=0 cmd=ROUTES len=0
    firewall manager: Got subnets: [(2, 0, False, '0.0.0.0', 0, 0), (2, 32, True, 'XXX.30.95.X', 32, 32), (2, 32, True, '127.0.0.1', 0, 0)]
    firewall manager: Got nslist: []
    firewall manager: Got ports: 0,12300,0,0
    firewall manager: Got udp: False, user: None
    firewall manager: setting up.
    firewall manager: setting up IPv4.
    >> iptables -t nat -N sshuttle-12300
    >> iptables -t nat -F sshuttle-12300
    >> iptables -t nat -I OUTPUT 1 -j sshuttle-12300
    >> iptables -t nat -I PREROUTING 1 -j sshuttle-12300
    >> iptables -t nat -A sshuttle-12300 -j RETURN --dest XXX.30.95.X/32 -p tcp --dport 32:32
    >> iptables -t nat -A sshuttle-12300 -j RETURN --dest 127.0.0.1/32 -p tcp
    >> iptables -t nat -A sshuttle-12300 -j REDIRECT --dest 0.0.0.0/0 -p tcp --to-ports 12300 -m ttl ! --ttl 42
    c : mux wrote: 15/15
    c : mux wrote: 15/15
    c : Waiting: 2 r=[5, 8] w=[] x=[] (fullness=14/0)
    client_loop: send disconnect: Broken pipe
    c :   Ready: 2 r=[8] w=[] x=[]
    firewall manager: undoing changes.
    firewall manager: undoing IPv4 changes.
    >> iptables -t nat -D OUTPUT -j sshuttle-12300
    >> iptables -t nat -D PREROUTING -j sshuttle-12300
    >> iptables -t nat -F sshuttle-12300
    >> iptables -t nat -X sshuttle-12300
    firewall manager: undoing /etc/hosts changes.
    c : fatal: server died with error code 255
    

    Thank you!

    opened by que-vector 2
Releases(v1.1.1)
  • v1.1.1(Sep 5, 2022)

    What's Changed

    • Make --sudoers option work properly, fix regression in v1.1.0 by @skuhl in https://github.com/sshuttle/sshuttle/pull/727
    • Clarify --disable-ipv6 in man page. by @skuhl in https://github.com/sshuttle/sshuttle/pull/729
    • Improve message when bind fails with a IPv6 address by @skuhl in https://github.com/sshuttle/sshuttle/pull/728
    • Bump actions/setup-python from 2.3.1 to 2.3.2 by @dependabot in https://github.com/sshuttle/sshuttle/pull/730
    • Bump pytest from 6.2.5 to 7.0.0 by @dependabot in https://github.com/sshuttle/sshuttle/pull/731
    • Add tests for host name resolution by @mangano-ito in https://github.com/sshuttle/sshuttle/pull/734
    • Allows wildcard host names as subnets by @mangano-ito in https://github.com/sshuttle/sshuttle/pull/735
    • Bump pytest from 7.0.0 to 7.0.1 by @dependabot in https://github.com/sshuttle/sshuttle/pull/737
    • Bump actions/setup-python from 2.3.2 to 3 by @dependabot in https://github.com/sshuttle/sshuttle/pull/741
    • Bump actions/checkout from 2.4.0 to 3 by @dependabot in https://github.com/sshuttle/sshuttle/pull/743
    • Fix typo by @lbausch in https://github.com/sshuttle/sshuttle/pull/739
    • Remove --sudoers, improve --sudoers-no-modify by @skuhl in https://github.com/sshuttle/sshuttle/pull/745
    • Bump pytest from 7.0.1 to 7.1.1 by @dependabot in https://github.com/sshuttle/sshuttle/pull/747
    • Bump sphinx from 4.3.2 to 4.5.0 by @dependabot in https://github.com/sshuttle/sshuttle/pull/749
    • Bump pytest from 7.1.1 to 7.1.2 by @dependabot in https://github.com/sshuttle/sshuttle/pull/753
    • Bump sphinx from 4.5.0 to 5.0.0 by @dependabot in https://github.com/sshuttle/sshuttle/pull/761
    • avoid moving/renaming the hosts file - fix docker container issue by @nikatlas in https://github.com/sshuttle/sshuttle/pull/759
    • Bump sphinx from 5.0.0 to 5.0.1 by @dependabot in https://github.com/sshuttle/sshuttle/pull/762
    • Bump actions/setup-python from 3 to 4 by @dependabot in https://github.com/sshuttle/sshuttle/pull/763
    • fixed some spelling mistakes by @venthur in https://github.com/sshuttle/sshuttle/pull/766
    • Bump sphinx from 5.0.1 to 5.0.2 by @dependabot in https://github.com/sshuttle/sshuttle/pull/768
    • Bump setuptools-scm from 6.4.2 to 7.0.1 by @dependabot in https://github.com/sshuttle/sshuttle/pull/770
    • Bump setuptools-scm from 7.0.1 to 7.0.2 by @dependabot in https://github.com/sshuttle/sshuttle/pull/771
    • Fix incorrect permissions for /etc/hosts by @skuhl in https://github.com/sshuttle/sshuttle/pull/772
    • Bump setuptools-scm from 7.0.2 to 7.0.3 by @dependabot in https://github.com/sshuttle/sshuttle/pull/773
    • Bump setuptools-scm from 7.0.3 to 7.0.4 by @dependabot in https://github.com/sshuttle/sshuttle/pull/775
    • Bump setuptools-scm from 7.0.4 to 7.0.5 by @dependabot in https://github.com/sshuttle/sshuttle/pull/776
    • Bump sphinx from 5.0.2 to 5.1.0 by @dependabot in https://github.com/sshuttle/sshuttle/pull/780
    • Bump sphinx from 5.1.0 to 5.1.1 by @dependabot in https://github.com/sshuttle/sshuttle/pull/783
    • This test broke in Python3.11 by @venthur in https://github.com/sshuttle/sshuttle/pull/791
    • all elements are strings by @venthur in https://github.com/sshuttle/sshuttle/pull/792
    • Replace setuptools_scm with bump2version by @venthur in https://github.com/sshuttle/sshuttle/pull/793
    • Bump pytest from 7.1.2 to 7.1.3 by @dependabot in https://github.com/sshuttle/sshuttle/pull/795

    New Contributors

    • @mangano-ito made their first contribution in https://github.com/sshuttle/sshuttle/pull/734
    • @lbausch made their first contribution in https://github.com/sshuttle/sshuttle/pull/739
    • @nikatlas made their first contribution in https://github.com/sshuttle/sshuttle/pull/759

    Full Changelog: https://github.com/sshuttle/sshuttle/compare/v1.1.0...v1.1.1

    Source code(tar.gz)
    Source code(zip)
  • v1.1.0(Jan 27, 2022)

    Major changes

    • 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.

    What's Changed

    • Readme: add instructions for installing via MacPorts by @herbygillot in https://github.com/sshuttle/sshuttle/pull/576
    • Ignore quotes in config file passed to sshuttle with @ by @skuhl in https://github.com/sshuttle/sshuttle/pull/579
    • Refactor debug, log and Fatal messages. by @skuhl in https://github.com/sshuttle/sshuttle/pull/581
    • Improve error messages related to sshuttle server. by @skuhl in https://github.com/sshuttle/sshuttle/pull/580
    • tproxy: Skip firewall chains if packets have local destination. by @skuhl in https://github.com/sshuttle/sshuttle/pull/578
    • remove py35 from tox.ini by @masahitojp in https://github.com/sshuttle/sshuttle/pull/584
    • feat: remove mock from test dependencies. by @masahitojp in https://github.com/sshuttle/sshuttle/pull/585
    • chore: remove attrs from requirements-test.txt by @masahitojp in https://github.com/sshuttle/sshuttle/pull/586
    • Bump pytest-cov from 2.10.1 to 2.11.0 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/588
    • Bump pytest-cov from 2.11.0 to 2.11.1 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/590
    • --latency-buffer-size now impacts server's buffer. by @skuhl in https://github.com/sshuttle/sshuttle/pull/587
    • Bump pytest from 6.2.1 to 6.2.2 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/592
    • Allow comments in configuration file by @khink in https://github.com/sshuttle/sshuttle/pull/602
    • firewall: Allow overriding the TTL by @vkareh in https://github.com/sshuttle/sshuttle/pull/606
    • Bump setuptools-scm from 5.0.1 to 5.0.2 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/608
    • Make exit code indicate a problem when pidfile is not writable. by @skuhl in https://github.com/sshuttle/sshuttle/pull/609
    • Bump pyflakes from 2.2.0 to 2.3.0, flake8 from 3.8.4 to 3.9.0 by @brianmay in https://github.com/sshuttle/sshuttle/pull/614
    • Bump setuptools-scm from 5.0.2 to 6.0.1 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/616
    • Fix firewall setup/teardown failure on xtable lock by @patrislav1 in https://github.com/sshuttle/sshuttle/pull/617
    • Fix DnsProxy by @patrislav1 in https://github.com/sshuttle/sshuttle/pull/618
    • Bump pyflakes from 2.3.0 to 2.3.1 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/620
    • Update README.rst by @necrose99 in https://github.com/sshuttle/sshuttle/pull/622
    • Bump pytest from 6.2.2 to 6.2.3 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/623
    • Create Dependabot config file by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/624
    • Bump flake8 from 3.9.0 to 3.9.1 by @dependabot in https://github.com/sshuttle/sshuttle/pull/627
    • README.rst: fix Gentoo entry syntax by @thesamesam in https://github.com/sshuttle/sshuttle/pull/630
    • Bump pytest from 6.2.3 to 6.2.4 by @dependabot in https://github.com/sshuttle/sshuttle/pull/633
    • Warn about adding sshuttle to sudoers. by @skuhl in https://github.com/sshuttle/sshuttle/pull/635
    • Bump flake8 from 3.9.1 to 3.9.2 by @dependabot in https://github.com/sshuttle/sshuttle/pull/636
    • Bump actions/checkout from 2 to 2.3.4 by @dependabot in https://github.com/sshuttle/sshuttle/pull/638
    • Bump actions/setup-python from 2 to 2.2.2 by @dependabot in https://github.com/sshuttle/sshuttle/pull/639
    • Bump pytest-cov from 2.11.1 to 2.12.0 by @dependabot in https://github.com/sshuttle/sshuttle/pull/640
    • Flush systemd DNS cache on startup and exit. by @skuhl in https://github.com/sshuttle/sshuttle/pull/634
    • Fix: Allow --to-ns and --ns-host without --dns. by @skuhl in https://github.com/sshuttle/sshuttle/pull/643
    • Fix --tmark option by @skuhl in https://github.com/sshuttle/sshuttle/pull/644
    • Remove dead code in hostwatch.py by @skuhl in https://github.com/sshuttle/sshuttle/pull/645
    • Update documentation by @skuhl in https://github.com/sshuttle/sshuttle/pull/647
    • Fix #637: sudoers-add should always write to /etc/sudoers.d/... by @skuhl in https://github.com/sshuttle/sshuttle/pull/648
    • Add IPv6 support to nat (iptables) method. by @skuhl in https://github.com/sshuttle/sshuttle/pull/646
    • Bump pytest-cov from 2.12.0 to 2.12.1 by @dependabot in https://github.com/sshuttle/sshuttle/pull/649
    • Improve hostwatch robustness and documentation by @skuhl in https://github.com/sshuttle/sshuttle/pull/650
    • replace psutil with os by @kylekyle in https://github.com/sshuttle/sshuttle/pull/656
    • Remove psutil from requirements.txt by @kylekyle in https://github.com/sshuttle/sshuttle/pull/657
    • Print pfctl error message when it returns non-zero. by @skuhl in https://github.com/sshuttle/sshuttle/pull/658
    • Remove ttl hack & require -r option. by @skuhl in https://github.com/sshuttle/sshuttle/pull/661
    • Print server's python version earlier by @skuhl in https://github.com/sshuttle/sshuttle/pull/667
    • Improve error message when sudo's use_pty option is enabled. by @skuhl in https://github.com/sshuttle/sshuttle/pull/668
    • Bump setuptools-scm from 6.0.1 to 6.1.1 by @dependabot in https://github.com/sshuttle/sshuttle/pull/672
    • Bump pytest from 6.2.4 to 6.2.5 by @dependabot in https://github.com/sshuttle/sshuttle/pull/674
    • Bump setuptools-scm from 6.1.1 to 6.3.1 by @dependabot in https://github.com/sshuttle/sshuttle/pull/675
    • add openSUSE install instructions by @balping in https://github.com/sshuttle/sshuttle/pull/676
    • Bump setuptools-scm from 6.3.1 to 6.3.2 by @dependabot in https://github.com/sshuttle/sshuttle/pull/678
    • Simple maintenance improvements by @a1346054 in https://github.com/sshuttle/sshuttle/pull/682
    • Bump pytest-cov from 2.12.1 to 3.0.0 by @dependabot in https://github.com/sshuttle/sshuttle/pull/683
    • Bump flake8 from 4.0.0 to 4.0.1 by @dependabot in https://github.com/sshuttle/sshuttle/pull/687
    • Bump actions/checkout from 2.3.4 to 2.3.5 by @dependabot in https://github.com/sshuttle/sshuttle/pull/689
    • pythonpackage.yml: Add Python 3.10 to the testing by @cclauss in https://github.com/sshuttle/sshuttle/pull/694
    • Bump actions/checkout from 2.3.5 to 2.4.0 by @dependabot in https://github.com/sshuttle/sshuttle/pull/695
    • Bump actions/setup-python from 2.2.2 to 2.3.0 by @dependabot in https://github.com/sshuttle/sshuttle/pull/700
    • Bump actions/setup-python from 2.3.0 to 2.3.1 by @dependabot in https://github.com/sshuttle/sshuttle/pull/702
    • Make ipfw method work by @JohnHay in https://github.com/sshuttle/sshuttle/pull/705
    • Minor improvement to tproxy documentation. by @skuhl in https://github.com/sshuttle/sshuttle/pull/709
    • Improve error message if tproxy method is used without running as root. by @skuhl in https://github.com/sshuttle/sshuttle/pull/710
    • Fix defunct process after flushing DNS cache. by @skuhl in https://github.com/sshuttle/sshuttle/pull/711
    • Fix sshuttle when using sudo's use_pty option. by @skuhl in https://github.com/sshuttle/sshuttle/pull/712
    • Allow use of sudo or doas. by @skuhl in https://github.com/sshuttle/sshuttle/pull/708
    • Bump setuptools-scm from 6.3.2 to 6.4.0 by @dependabot in https://github.com/sshuttle/sshuttle/pull/714
    • Bump setuptools-scm from 6.4.0 to 6.4.1 by @dependabot in https://github.com/sshuttle/sshuttle/pull/717
    • Bump setuptools-scm from 6.4.1 to 6.4.2 by @dependabot in https://github.com/sshuttle/sshuttle/pull/718
    • Bump sphinx from 4.3.2 to 4.4.0 by @dependabot in https://github.com/sshuttle/sshuttle/pull/713
    • Revert "Bump sphinx from 4.3.2 to 4.4.0" by @brianmay in https://github.com/sshuttle/sshuttle/pull/719

    New Contributors

    • @herbygillot made their first contribution in https://github.com/sshuttle/sshuttle/pull/576
    • @masahitojp made their first contribution in https://github.com/sshuttle/sshuttle/pull/584
    • @khink made their first contribution in https://github.com/sshuttle/sshuttle/pull/602
    • @vkareh made their first contribution in https://github.com/sshuttle/sshuttle/pull/606
    • @patrislav1 made their first contribution in https://github.com/sshuttle/sshuttle/pull/617
    • @necrose99 made their first contribution in https://github.com/sshuttle/sshuttle/pull/622
    • @dependabot made their first contribution in https://github.com/sshuttle/sshuttle/pull/627
    • @thesamesam made their first contribution in https://github.com/sshuttle/sshuttle/pull/630
    • @kylekyle made their first contribution in https://github.com/sshuttle/sshuttle/pull/656
    • @balping made their first contribution in https://github.com/sshuttle/sshuttle/pull/676
    • @a1346054 made their first contribution in https://github.com/sshuttle/sshuttle/pull/682
    • @JohnHay made their first contribution in https://github.com/sshuttle/sshuttle/pull/705

    Full Changelog: https://github.com/sshuttle/sshuttle/compare/v1.0.5...v1.1.0

    Source code(tar.gz)
    Source code(zip)
  • v1.0.5(Jan 27, 2022)

    What's Changed

    • Change license text to LGPL-2.1 by @Rylan12 in https://github.com/sshuttle/sshuttle/pull/511
    • Fixed typo. by @xoro in https://github.com/sshuttle/sshuttle/pull/512
    • Fix python2 server compatibility by @drjbarker in https://github.com/sshuttle/sshuttle/pull/513
    • Bump attrs from 20.1.0 to 20.2.0 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/519
    • Fix #494 sshuttle caught in infinite select() loop. by @skuhl in https://github.com/sshuttle/sshuttle/pull/520
    • Bump pytest from 6.0.1 to 6.0.2 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/522
    • Bump pytest from 6.0.2 to 6.1.0 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/529
    • Bump pytest from 6.1.0 to 6.1.1 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/533
    • Bump flake8 from 3.8.3 to 3.8.4 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/534
    • Add psutil as dependency in setup.py by @ed-velez in https://github.com/sshuttle/sshuttle/pull/536
    • Include sshuttle version in verbose output. by @skuhl in https://github.com/sshuttle/sshuttle/pull/537
    • sdnotify.py documentation by @skuhl in https://github.com/sshuttle/sshuttle/pull/543
    • Only write /etc/hosts when necessary. by @skuhl in https://github.com/sshuttle/sshuttle/pull/545
    • When subnets and excludes are specified with hostnames, use all IPs. by @skuhl in https://github.com/sshuttle/sshuttle/pull/541
    • Document -s/--subnets option in man page by @nickray in https://github.com/sshuttle/sshuttle/pull/547
    • Make prefixes in verbose output more consistent. by @skuhl in https://github.com/sshuttle/sshuttle/pull/548
    • Allow no remote to work. by @skuhl in https://github.com/sshuttle/sshuttle/pull/544
    • Make nat and nft rules consistent; improve rule ordering. by @skuhl in https://github.com/sshuttle/sshuttle/pull/549
    • IPv6 support in nft method. by @skuhl in https://github.com/sshuttle/sshuttle/pull/550
    • Bump pytest from 6.1.1 to 6.1.2 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/553
    • Improve consistency of PATH, environments, and which() by @skuhl in https://github.com/sshuttle/sshuttle/pull/551
    • Improve nft IPv6 support. by @skuhl in https://github.com/sshuttle/sshuttle/pull/557
    • Intercept DNS requests sent by systemd-resolved. by @skuhl in https://github.com/sshuttle/sshuttle/pull/552
    • Fix "DNS request from ... to None" messages. by @skuhl in https://github.com/sshuttle/sshuttle/pull/558
    • Bump attrs from 20.2.0 to 20.3.0 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/560
    • Fix handling OSError in FirewallClient#init by @Krout0n in https://github.com/sshuttle/sshuttle/pull/561
    • Bump setuptools-scm from 4.1.2 to 5.0.1 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/569
    • Bump pytest from 6.1.2 to 6.2.0 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/570
    • Bump pytest from 6.2.0 to 6.2.1 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/571
    • Bump mock from 2.0.0 to 4.0.3 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/568
    • Launch multiple sshuttle with different tproxy mark by @samuelbernardolip in https://github.com/sshuttle/sshuttle/pull/565
    • Refactor automatic method selection. by @skuhl in https://github.com/sshuttle/sshuttle/pull/575

    New Contributors

    • @Rylan12 made their first contribution in https://github.com/sshuttle/sshuttle/pull/511
    • @xoro made their first contribution in https://github.com/sshuttle/sshuttle/pull/512
    • @ed-velez made their first contribution in https://github.com/sshuttle/sshuttle/pull/536
    • @nickray made their first contribution in https://github.com/sshuttle/sshuttle/pull/547
    • @Krout0n made their first contribution in https://github.com/sshuttle/sshuttle/pull/561
    • @samuelbernardolip made their first contribution in https://github.com/sshuttle/sshuttle/pull/565

    Full Changelog: https://github.com/sshuttle/sshuttle/compare/v1.0.4...v1.0.5

    Source code(tar.gz)
    Source code(zip)
  • v1.0.4(Jan 27, 2022)

    What's Changed

    • Fix formatting in installation.rst by @brianmay in https://github.com/sshuttle/sshuttle/pull/487
    • Douglas Adams and Deep Thought was wrong, 42 is not the answer by @erikselin in https://github.com/sshuttle/sshuttle/pull/490
    • README: add Ubuntu by @AsciiWolf in https://github.com/sshuttle/sshuttle/pull/495
    • Bump pytest from 5.4.3 to 6.0.0 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/497
    • Bump pytest from 6.0.0 to 6.0.1 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/498
    • Fix doc about --listen option by @shimobayashi in https://github.com/sshuttle/sshuttle/pull/500
    • fix: require -r/--remote by @joshuarli in https://github.com/sshuttle/sshuttle/pull/502
    • Add missing package in OpenWRT documentation by @lnaundorf in https://github.com/sshuttle/sshuttle/pull/501
    • Fix parse_hostport to always return string for host by @brianmay in https://github.com/sshuttle/sshuttle/pull/506
    • Bump pytest-cov from 2.10.0 to 2.10.1 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/509
    • allow Mux() flush/fill to work with python < 3.5 by @ddstreet in https://github.com/sshuttle/sshuttle/pull/507
    • Bump attrs from 19.3.0 to 20.1.0 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/510

    New Contributors

    • @erikselin made their first contribution in https://github.com/sshuttle/sshuttle/pull/490
    • @AsciiWolf made their first contribution in https://github.com/sshuttle/sshuttle/pull/495
    • @shimobayashi made their first contribution in https://github.com/sshuttle/sshuttle/pull/500
    • @lnaundorf made their first contribution in https://github.com/sshuttle/sshuttle/pull/501
    • @ddstreet made their first contribution in https://github.com/sshuttle/sshuttle/pull/507

    Full Changelog: https://github.com/sshuttle/sshuttle/compare/v1.0.3...v1.0.4

    Source code(tar.gz)
    Source code(zip)
  • v1.0.3(Jan 27, 2022)

    What's Changed

    • Restrict setuptools from executing on Python2 by @wilsonehusin in https://github.com/sshuttle/sshuttle/pull/471
    • Add missing import by @brianmay in https://github.com/sshuttle/sshuttle/pull/476
    • Fix formatting typos in usage docs by @chrisburr in https://github.com/sshuttle/sshuttle/pull/483

    New Contributors

    • @wilsonehusin made their first contribution in https://github.com/sshuttle/sshuttle/pull/471
    • @chrisburr made their first contribution in https://github.com/sshuttle/sshuttle/pull/483

    Full Changelog: https://github.com/sshuttle/sshuttle/compare/v1.0.2...v1.0.3

    Source code(tar.gz)
    Source code(zip)
  • v1.0.2(Jan 27, 2022)

    What's Changed

    • Bump flake8 from 3.8.2 to 3.8.3 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/456
    • fix connection with @ sign in username by @alex0z1 in https://github.com/sshuttle/sshuttle/pull/460
    • ref: replace usage of deprecated imp by @joshuarli in https://github.com/sshuttle/sshuttle/pull/449
    • doc: py2 removal clean sweep by @joshuarli in https://github.com/sshuttle/sshuttle/pull/461
    • Bump pytest-cov from 2.9.0 to 2.10.0 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/465
    • leave use of default port to ssh command by @tokas in https://github.com/sshuttle/sshuttle/pull/468

    New Contributors

    • @alex0z1 made their first contribution in https://github.com/sshuttle/sshuttle/pull/460
    • @tokas made their first contribution in https://github.com/sshuttle/sshuttle/pull/468

    Full Changelog: https://github.com/sshuttle/sshuttle/compare/v1.0.1...v1.0.2

    Source code(tar.gz)
    Source code(zip)
  • v1.0.1(Jan 27, 2022)

  • v1.0.0(Jan 27, 2022)

    What's Changed

    • Fix/pep8 by @venthur in https://github.com/sshuttle/sshuttle/pull/277
    • assembler import fix by @crahan in https://github.com/sshuttle/sshuttle/pull/319
    • Hyphen in hostname fix by @crahan in https://github.com/sshuttle/sshuttle/pull/318
    • Add install instructions for Arch Linux by @ElijahLynn in https://github.com/sshuttle/sshuttle/pull/327
    • Add install instructions for Fedora by @jeremyeder in https://github.com/sshuttle/sshuttle/pull/341
    • Fix tests for existing PR-312 by @danjeffery in https://github.com/sshuttle/sshuttle/pull/337
    • update readme to correct flag for arch linux. by @JAugusto42 in https://github.com/sshuttle/sshuttle/pull/342
    • Fix Arch linux installation instructions by @cptpcrd in https://github.com/sshuttle/sshuttle/pull/346
    • Use prompt for sudo, not needed for doas by @twinshadow in https://github.com/sshuttle/sshuttle/pull/353
    • The size of pfioc_rule grew in OpenBSD 6.4 by @twinshadow in https://github.com/sshuttle/sshuttle/pull/354
    • Fix crashing on ECONNABORTED by @chemikadze in https://github.com/sshuttle/sshuttle/pull/359
    • docs: openwrt by @unl89 in https://github.com/sshuttle/sshuttle/pull/360
    • Fix capturing of local DNS servers by @chemikadze in https://github.com/sshuttle/sshuttle/pull/358
    • readme: add Nix by @unl89 in https://github.com/sshuttle/sshuttle/pull/364
    • Add tproxy udp port mark filter that was missed in #144, fixes #367. by @normanr in https://github.com/sshuttle/sshuttle/pull/368
    • README: add FreeBSD by @lwhsu in https://github.com/sshuttle/sshuttle/pull/373
    • Fix broken string substitution from a765aa32 by @drjbarker in https://github.com/sshuttle/sshuttle/pull/375
    • Add option for latency control buffer size by @drjbarker in https://github.com/sshuttle/sshuttle/pull/376
    • Make hostwatch locale-independent by @BenWiederhake in https://github.com/sshuttle/sshuttle/pull/379
    • Auto sudoers file by @wmantly in https://github.com/sshuttle/sshuttle/pull/269
    • Link Directly to TCP Over TCP Explanation by @naclander in https://github.com/sshuttle/sshuttle/pull/291
    • Handle when default chains already exists (#392) by @hloeung in https://github.com/sshuttle/sshuttle/pull/393
    • Simplify nftables based method by @juw in https://github.com/sshuttle/sshuttle/pull/389
    • Trap UnicodeError to handle cases where hostnames returned by DNS are invalid by @lordsutch in https://github.com/sshuttle/sshuttle/pull/408
    • Run all systemd notifications from main process by @rjharmon in https://github.com/sshuttle/sshuttle/pull/403
    • Add password in prompt cmd by @vBlackOut in https://github.com/sshuttle/sshuttle/pull/401
    • Fix 410 Issue Correcte syntax write for connect server by @vBlackOut in https://github.com/sshuttle/sshuttle/pull/411
    • Fix parsing of hostnames to allow ssh aliases defined in ssh configs) by @tobigrimm in https://github.com/sshuttle/sshuttle/pull/418
    • sshuttle as service link by @perfecto25 in https://github.com/sshuttle/sshuttle/pull/425
    • fix crash triggered by port scans closing socket by @mheiges in https://github.com/sshuttle/sshuttle/pull/424
    • Add 'My VPN broke and need a solution fast' to the docs. by @jtagcat in https://github.com/sshuttle/sshuttle/pull/430
    • Bump pytest-cov from 2.6.0 to 2.8.1 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/437
    • Bump pytest from 3.4.2 to 5.4.2 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/438
    • Create github workflow by @brianmay in https://github.com/sshuttle/sshuttle/pull/435
    • Bump attrs from 19.1.0 to 19.3.0 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/439
    • Bump setuptools-scm from 1.15.6 to 3.5.0 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/440
    • Bump flake8 from 3.6.0 to 3.8.1 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/441
    • Bump flake8 from 3.8.1 to 3.8.2 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/442
    • Bump pytest-cov from 2.8.1 to 2.9.0 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/443
    • Bump setuptools-scm from 3.5.0 to 4.0.0 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/444
    • Bump setuptools-scm from 4.0.0 to 4.1.0 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/445
    • Bump setuptools-scm from 4.1.0 to 4.1.1 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/446
    • Fix Python 3.8 file operations by @brianmay in https://github.com/sshuttle/sshuttle/pull/431
    • Bump setuptools-scm from 4.1.1 to 4.1.2 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/447
    • chore: remove branching related to python < 3.5 by @joshuarli in https://github.com/sshuttle/sshuttle/pull/450
    • Bump pytest from 5.4.2 to 5.4.3 by @dependabot-preview in https://github.com/sshuttle/sshuttle/pull/451

    New Contributors

    • @crahan made their first contribution in https://github.com/sshuttle/sshuttle/pull/319
    • @ElijahLynn made their first contribution in https://github.com/sshuttle/sshuttle/pull/327
    • @jeremyeder made their first contribution in https://github.com/sshuttle/sshuttle/pull/341
    • @danjeffery made their first contribution in https://github.com/sshuttle/sshuttle/pull/337
    • @JAugusto42 made their first contribution in https://github.com/sshuttle/sshuttle/pull/342
    • @cptpcrd made their first contribution in https://github.com/sshuttle/sshuttle/pull/346
    • @twinshadow made their first contribution in https://github.com/sshuttle/sshuttle/pull/353
    • @chemikadze made their first contribution in https://github.com/sshuttle/sshuttle/pull/359
    • @unl89 made their first contribution in https://github.com/sshuttle/sshuttle/pull/360
    • @normanr made their first contribution in https://github.com/sshuttle/sshuttle/pull/368
    • @lwhsu made their first contribution in https://github.com/sshuttle/sshuttle/pull/373
    • @BenWiederhake made their first contribution in https://github.com/sshuttle/sshuttle/pull/379
    • @wmantly made their first contribution in https://github.com/sshuttle/sshuttle/pull/269
    • @hloeung made their first contribution in https://github.com/sshuttle/sshuttle/pull/393
    • @lordsutch made their first contribution in https://github.com/sshuttle/sshuttle/pull/408
    • @rjharmon made their first contribution in https://github.com/sshuttle/sshuttle/pull/403
    • @vBlackOut made their first contribution in https://github.com/sshuttle/sshuttle/pull/401
    • @tobigrimm made their first contribution in https://github.com/sshuttle/sshuttle/pull/418
    • @perfecto25 made their first contribution in https://github.com/sshuttle/sshuttle/pull/425
    • @mheiges made their first contribution in https://github.com/sshuttle/sshuttle/pull/424
    • @jtagcat made their first contribution in https://github.com/sshuttle/sshuttle/pull/430

    Full Changelog: https://github.com/sshuttle/sshuttle/compare/v0.78.5...v1.0.0

    Source code(tar.gz)
    Source code(zip)
Malware Configuration And Payload Extraction

CAPEv2 (Python3) has now been released CAPEv2 With the imminent end-of-life for Python 2 (January 1 2020), CAPEv1 will be phased out. Please upgrade t

Context Information Security 701 Dec 27, 2022
OLOP: One-Line & Obfuscated Python

OLOP: One-Line & Obfuscated Python This repository contains useful python modules for one-line and obfuscated python. pip install olop-ShadowLugia650

1 Jan 09, 2022
Selamat Datang DiTools Crack-Old, Crack Old Adalah Sebuah Crack Tanpa Login Dan Crack Menggunakan Akun Facebook Tua/Old.

Selamat Datang DiTools Crack-Old, Crack Old Adalah Sebuah Crack Tanpa Login Dan Crack Menggunakan Akun Facebook Tua/Old. ([Welcome to Crack-Old Tools, Old Crack Is A Crack Without Login And Crack Usi

Risky [ Zero Tow ] 7 Dec 25, 2022
Fast python tool to test apache path traversal CVE-2021-41773 in a List of url

CVE-2021-41773 Fast python tool to test apache path traversal CVE-2021-41773 in a List of url Usage :- create a live urls file and use the flag "-l" p

Zahir Tariq 12 Nov 09, 2022
All in One CRACKER911181's Tool. This Tool For Hacking and Pentesting. 🎭

All in One CRACKER911181's Tool. This Tool For Hacking and Pentesting. 🎭

Cracker 331 Jan 01, 2023
😭 WSOB is a python tool created to exploit the new vulnerability on WSO2 assigned as CVE-2022-29464.

😭 WSOB (CVE-2022-29464) 😭 WSOB is a python tool created to exploit the new vulnerability on WSO2 assigned as CVE-2022-29464. CVE-2022-29464 details:

0p 25 Oct 14, 2022
聚合Github上已有的Poc或者Exp,CVE信息来自CVE官网。Auto Collect Poc Or CVE from Github by CVE ID.

PocOrExp in Github 聚合Github上已有的Poc或者Exp,CVE信息来自CVE官网 注意:只通过通用的CVE号聚合,因此对于MS17-010等Windows编号漏洞以及著名的有绰号的漏洞,还是自己检索一下比较好 Usage python3 exp.py -h usage: ex

567 Dec 30, 2022
Apache Solr SSRF(CVE-2021-27905)

Solr-SSRF Apache Solr SSRF #Use [-] Apache Solr SSRF漏洞 (CVE-2021-27905) [-] Options: -h or --help : 方法说明 -u or --url

Henry4E36 70 Nov 09, 2022
Tool ini berfungsi untuk membuat virus secara instan

vbug (ID) Tool ini berfungsi untuk membuat virus secara instan. Dengan begitu pengguna vbug maker dapat menggunakannya dengan mudah dan cepat. Di dala

OneTXz 3 Jun 05, 2022
Mass Shortlink Bypass Merupakan Tools Yang Akan Bypass Shortlink Ke Tujuan Asli, Dibuat Dengan Python 3

Shortlink-Bypass Mass Shortlink Bypass Merupakan Tools Yang Akan Bypass Shortlink Ke Tujuan Asli, Dibuat Dengan Python 3 Support Shortlink tii.ai/tei.

Wan Naz ID 6 Oct 24, 2022
Consolidating and extending hosts files from several well-curated sources. You can optionally pick extensions to block pornography, social media, and other categories.

Take Note! With the exception of issues and PRs regarding changes to hosts/data/StevenBlack/hosts, all other issues regarding the content of the produ

Steven Black 22.1k Jan 02, 2023
Update of uncaptcha2 from 2019

YouTube Video Proof of Concept I created a new YouTube Video with technical Explanation for breaking Google's Audio reCAPTCHAs: Click on the image bel

Nikolai Tschacher 153 Dec 20, 2022
Python exploit code for CVE-2021-4034 (pwnkit)

Python3 code to exploit CVE-2021-4034 (PWNKIT). This was an exercise in "can I make this work in Python?", and not meant as a robust exploit. It Works

Joe Ammond 92 Dec 29, 2022
A high-performance DNS stub resolver for bulk lookups and reconnaissance (subdomain enumeration)

MassDNS A high-performance DNS stub resolver MassDNS is a simple high-performance DNS stub resolver targeting those who seek to resolve a massive amou

B. Blechschmidt 2.5k Jan 07, 2023
Tools Crack Fb Terbaru

Tools Crack Fb Terbaru

Jeeck 12 Jan 06, 2022
POC for detecting the Log4Shell (Log4J RCE) vulnerability

Interactsh An OOB interaction gathering server and client library Features • Usage • Interactsh Client • Interactsh Server • Interactsh Integration •

ProjectDiscovery 2.1k Jan 08, 2023
Malware for Discord, designed to steal passwords, tokens, and inject discord folders for long-term use.

Vital What is Vital? Vital is malware primarily used to collect and extract information from the Discord desktop client. While it has other features (

HellSec 59 Dec 01, 2022
A tool to crack a wifi password with a help of wordlist

A tool to crack a wifi password with a help of wordlist. This may take long to crack a wifi depending upon number of passwords your wordlist contains. Also it is slower as compared to social media ac

Saad 144 Dec 29, 2022
Simple python script for generating custom high-secure passwords for securing your social-apps ❤️

Opensource Project Simple Python Password Generator This repository is just for peoples who want to generate strong-passwords for there social-account

K A R T H I K 15 Dec 01, 2022
Proof on Concept Exploit for CVE-2021-38647 (OMIGOD)

OMIGOD Proof on Concept Exploit for CVE-2021-38647 (OMIGOD) For background information and context, read the our blog post detailing this vulnerabilit

Horizon 3 AI Inc 231 Nov 12, 2022