[Bug 1592853] Re: sshuttle doesn't autodetect python3 instead of 'python'

2020-10-12 Thread Launchpad Bug Tracker
This bug was fixed in the package sshuttle - 0.76-1ubuntu1.2

---
sshuttle (0.76-1ubuntu1.2) xenial; urgency=medium

  * d/p/lp1897987-Backward-compatibility-with-Python-2.4-server.patch:
- Fix compatibility with remote py3.4 (LP: #1897987)
  * d/p/lp1897961-Fix-shell-quoting.patch:
- Add missing import needed by previous commit backport
  (LP: #1897961)

sshuttle (0.76-1ubuntu1.1) xenial; urgency=medium

  [ Dan Streetman ]
  * d/p/lp1896299/0001-Add-support-for-iproute2.patch,
d/p/lp1896299/0002-Small-refactoring-of-netstat-iproute-parsing.patch,
d/p/lp1896299/0003-Backward-compatibility-with-Python-2.4-server.patch:
- allow connecting to remote without netstat (LP: #1896299)
  * d/p/lp1592853-Use-versions-of-python3-greater-than-3.5-when-availa.patch:
- detect if remote python is 'python' or 'python3' (LP: #1592853)
  * d/p/lp1873368/0001-Don-t-crash-if-we-can-t-look-up-peername.patch,
d/p/lp1873368/0002-allow-Mux-flush-fill-to-work-with-python-3.5.patch,
d/p/lp1873368/0003-Fix-python2-server-compatibility.patch:
- fix interoperability with remote py2 and/or py3
  (same bug as below)

  [ Felipe Reyes ]
  * d/p/0001-compatibility-with-python38.patch:
Backport patch to make sshuttle compatible
with python-3.8. (LP: #1873368). Closes: #953621.

 -- Dan Streetman   Wed, 30 Sep 2020 20:34:45
-0400

** Changed in: sshuttle (Ubuntu Xenial)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1592853

Title:
  sshuttle doesn't autodetect python3 instead of 'python'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sshuttle/+bug/1592853/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1592853] Re: sshuttle doesn't autodetect python3 instead of 'python'

2020-10-06 Thread Dan Streetman
root@sshuttle-x:~# dpkg -l | grep sshuttle
ii  sshuttle 0.76-1ubuntu1  
all  Transparent proxy server for VPN over SSH
root@sshuttle-x:~# sshuttle -r sshuttle-f.lxd 1.2.3.4/24
bash: line 0: exec: python: not found
client: fatal: server died with error code 127


root@sshuttle-x:~# dpkg -l | grep sshuttle
ii  sshuttle 0.76-1ubuntu1.2
all  Transparent proxy server for VPN over SSH
root@sshuttle-x:~# sshuttle -r sshuttle-f.lxd 1.2.3.4/24
assembler.py:3: DeprecationWarning: the imp module is deprecated in favour of 
importlib; see the module's documentation for alternative uses
client: Connected.


** Tags removed: verification-needed verification-needed-xenial
** Tags added: verification-done verification-done-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1592853

Title:
  sshuttle doesn't autodetect python3 instead of 'python'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sshuttle/+bug/1592853/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1592853] Re: sshuttle doesn't autodetect python3 instead of 'python'

2020-10-05 Thread Launchpad Bug Tracker
This bug was fixed in the package sshuttle - 0.78.3-1ubuntu1.1

---
sshuttle (0.78.3-1ubuntu1.1) bionic; urgency=medium

  [ Dan Streetman ]
  * d/p/lp1592853-Use-versions-of-python3-greater-than-3.5-when-availa.patch:
- detect if remote python is 'python' or 'python3' (LP: #1592853)
  * d/p/lp1873368/0001-Don-t-crash-if-we-can-t-look-up-peername.patch,
d/p/lp1873368/0002-allow-Mux-flush-fill-to-work-with-python-3.5.patch,
d/p/lp1873368/0003-Fix-python2-server-compatibility.patch,
- fix interoperability with other releases py2/py3
  (same LP bug as below)

  [ Felipe Reyes ]
  * d/p/0001-compatibility-with-python38.patch:
Backport patch to make sshuttle compatible
with python-3.8. (LP: #1873368). Closes: #953621.

 -- Felipe Reyes   Sat, 19 Sep 2020 13:54:06
-0400

** Changed in: sshuttle (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1592853

Title:
  sshuttle doesn't autodetect python3 instead of 'python'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sshuttle/+bug/1592853/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1592853] Re: sshuttle doesn't autodetect python3 instead of 'python'

2020-10-02 Thread Timo Aaltonen
Hello Eric, or anyone else affected,

Accepted sshuttle into xenial-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/sshuttle/0.76-1ubuntu1.2 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
xenial to verification-done-xenial. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-xenial. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Tags removed: verification-failed-xenial
** Tags added: verification-needed-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1592853

Title:
  sshuttle doesn't autodetect python3 instead of 'python'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sshuttle/+bug/1592853/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1592853] Re: sshuttle doesn't autodetect python3 instead of 'python'

2020-09-30 Thread Dan Streetman
The verification failure in Xenial is fixed by the version in the upload
queue via bug 1897987 and bug 1897961

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1592853

Title:
  sshuttle doesn't autodetect python3 instead of 'python'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sshuttle/+bug/1592853/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1592853] Re: sshuttle doesn't autodetect python3 instead of 'python'

2020-09-30 Thread Dan Streetman
root@lp1896299-b:~# dpkg -l|grep sshuttle
ii  sshuttle 0.78.3-1ubuntu1 all
  Transparent proxy server for VPN over SSH
root@lp1896299-b:~# sshuttle -r lp1896299-f.lxd 1.2.3.4/24
The authenticity of host 'lp1896299-f.lxd (10.202.51.43)' can't be established.
ECDSA key fingerprint is SHA256:PydUWn39X3KKq0obuNhd7vf7oll1BehZGAPynxDNIdI.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'lp1896299-f.lxd,10.202.51.43' (ECDSA) to the list 
of known hosts.
/bin/sh: 1: exec: python: not found
client: fatal: server died with error code 127


root@lp1896299-b:~# dpkg -l|grep sshuttle
ii  sshuttle 0.78.3-1ubuntu1.1   all
  Transparent proxy server for VPN over SSH
root@lp1896299-b:~# sshuttle -r lp1896299-f.lxd 1.2.3.4/24
assembler.py:3: DeprecationWarning: the imp module is deprecated in favour of 
importlib; see the module's documentation for alternative uses
client: Connected.


** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1592853

Title:
  sshuttle doesn't autodetect python3 instead of 'python'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sshuttle/+bug/1592853/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1592853] Re: sshuttle doesn't autodetect python3 instead of 'python'

2020-09-30 Thread Dan Streetman
unfortunately verification fails for x, so i opened bug 1897961


root@lp1896299-x:~# dpkg -l|grep sshuttle
ii  sshuttle 0.76-1ubuntu1  
all  Transparent proxy server for VPN over SSH

root@lp1896299-x:~# sshuttle -r lp1896299-f.lxd 1.2.3.4/24
bash: line 0: exec: python: not found
client: fatal: server died with error code 127


root@lp1896299-x:~# dpkg -l|grep sshuttle
ii  sshuttle 0.76-1ubuntu1.1
all  Transparent proxy server for VPN over SSH

root@lp1896299-x:~# sshuttle -r lp1896299-f.lxd 1.2.3.4/24
Traceback (most recent call last):
  File "/usr/bin/sshuttle", line 9, in 
load_entry_point('sshuttle==0.76', 'console_scripts', 'sshuttle')()
  File "/usr/lib/python3/dist-packages/sshuttle/cmdline.py", line 226, in main
opt.daemon, opt.pidfile)
  File "/usr/lib/python3/dist-packages/sshuttle/client.py", line 701, in main
seed_hosts, auto_nets, daemon)
  File "/usr/lib/python3/dist-packages/sshuttle/client.py", line 408, in _main
options=dict(latency_control=latency_control))
  File "/usr/lib/python3/dist-packages/sshuttle/ssh.py", line 112, in connect
"exec \"$P\" -c %s") % quote(pyscript)
NameError: name 'quote' is not defined


** Tags removed: verification-needed-xenial
** Tags added: verification-failed-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1592853

Title:
  sshuttle doesn't autodetect python3 instead of 'python'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sshuttle/+bug/1592853/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1592853] Re: sshuttle doesn't autodetect python3 instead of 'python'

2020-09-22 Thread Chris Halse Rogers
Hello Eric, or anyone else affected,

Accepted sshuttle into bionic-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/sshuttle/0.78.3-1ubuntu1.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
bionic to verification-done-bionic. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-bionic. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: sshuttle (Ubuntu Bionic)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-bionic

** Changed in: sshuttle (Ubuntu Xenial)
   Status: In Progress => Fix Committed

** Tags added: verification-needed-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1592853

Title:
  sshuttle doesn't autodetect python3 instead of 'python'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sshuttle/+bug/1592853/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1592853] Re: sshuttle doesn't autodetect python3 instead of 'python'

2020-09-18 Thread Dan Streetman
** Summary changed:

- sshuttle doesn't support python 3.5
+ sshuttle doesn't autodetect python3 instead of 'python'

** Description changed:

+ [impact]
+ 
+ connecting with sshuttle to a remote system where the only version of
+ python is python3 named 'python3' and no binary named 'python' fails
+ 
+ [test case]
+ 
+ from a x/b system, attempt to sshuttle to a remote system where only
+ 'python3' exists, and no 'python' binary exists
+ 
+ [regression potential]
+ 
+ any regression would likely cause problems with the initial sshuttle
+ connection; it's unlikely any issues would be caused after the
+ connection is successfully established.
+ 
+ [scope]
+ 
+ this is needed only in x/b.
+ 
+ this appears to be fixed upstream with commit
+ 9b7ce2811ec3ef35b9b7f7dfc157127bc46ece47 which is included starting in
+ v0.78.4, so this fixed already in focal and later.
+ 
+ [original description]
+ 
  sshuttle package implementation doesn't support Python 3.5 on remote
  host running Xenial and late from a machine <= Wily release.
  
  This cause the connection to fail if the connection is negotiated from a
  Precise, Trusty or Wily machine and if the remote host is running Xenial
  (16.04).
  
  Example took from "Wily" :
  
  $ sshuttle -r  /0 -vv
  
  Starting sshuttle proxy.
  UDP support requires tproxy; disabling UDP.
  Binding redirector: 12300 12299
  TCP redirector listening on ('127.0.0.1', 12299).
  firewall manager ready method nat.
  c : connecting to server...
  c : executing: ['ssh', '', '--', 'P=python2; $P -V 2>/dev/null 
|| P=python; exec "$P" -c \'import sys; skip_imports=1; verbosity=2; exec 
compile(sys.stdin.read(770), "assembler.py", "exec")\'']
  c :  > channel=0 cmd=PING len=7 (fullness=0)
  
  bash: line 0: exec: python: not found
  Read line ""c : fatal: server died with error code 127

** Also affects: sshuttle (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: sshuttle (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Changed in: sshuttle (Ubuntu Xenial)
   Status: New => In Progress

** Changed in: sshuttle (Ubuntu Bionic)
   Status: New => In Progress

** Changed in: sshuttle (Ubuntu Xenial)
   Importance: Undecided => Medium

** Changed in: sshuttle (Ubuntu Bionic)
   Importance: Undecided => Medium

** Changed in: sshuttle (Ubuntu Xenial)
 Assignee: (unassigned) => Dan Streetman (ddstreet)

** Changed in: sshuttle (Ubuntu Bionic)
 Assignee: (unassigned) => Dan Streetman (ddstreet)

** Changed in: sshuttle (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1592853

Title:
  sshuttle doesn't autodetect python3 instead of 'python'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sshuttle/+bug/1592853/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs