Comment 20 for bug 1873368

Revision history for this message
Chris Johnston (cjohnston) wrote :

Prior to updating:

$ sshuttle -r sts-bastion 10.5.0.0/16
assembler.py:3: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
client: Connected.
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
client: fatal: server died with error code 1

Upgrading:

Preparing to unpack .../sshuttle_0.78.5-1ubuntu1_all.deb ...
Unpacking sshuttle (0.78.5-1ubuntu1) over (0.78.5-1) ...
Setting up sshuttle (0.78.5-1ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...

After upgrade:

$ sshuttle -r sts-bastion 10.5.0.0/16
assembler.py:3: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
client: Connected.
client: warning: closed channel 4 got cmd=TCP_DATA len=2048
client: warning: closed channel 4 got cmd=TCP_DATA len=1961
^Cclient:
client: Keyboard interrupt: exiting.

Works well here