Package: sshuttle Version: 0.71-1 Severity: important Tags: patch ipv6 If IPv6 is disabled (or IPv4 is disabled) the program fails to start.
The attached patch solves the problem by setting the correspondig reference also in case of error. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386, armhf Kernel: Linux 4.3.3 (SMP w/8 CPU cores; PREEMPT) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages sshuttle depends on: ii iptables 1.4.21-2+b1 ii openssh-client [ssh-client] 1:7.1p1-4 ii python 2.7.11-1 pn python:any <none> Versions of packages sshuttle recommends: ii sudo 1.8.12-1 Versions of packages sshuttle suggests: pn autossh <none> -- no debconf information -- debsums errors found: debsums: changed file /usr/lib/sshuttle/client.py (from sshuttle package)
223,224c223,230 < self.v6 = socket.socket(socket.AF_INET6, type, proto) < self.v4 = socket.socket(socket.AF_INET, type, proto) --- > try: > self.v6 = socket.socket(socket.AF_INET6, type, proto) > except: > self.v6 = None > try: > self.v4 = socket.socket(socket.AF_INET, type, proto) > except: > self.v4 = None