Skip to content

sshuttle not properly handling unicode? #481

@jasonboukheir

Description

@jasonboukheir

When I use

sshuttle -r my-host -v 10.13.0.0/16

with version 1.0.2, I'm getting the follow error:

Starting sshuttle proxy.
firewall manager: Starting firewall with Python version 3.8.3
firewall manager: ready method name nat.
IPv6 enabled: None
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.3
c : connecting to server...
All keys already loaded
Warning: Permanently added the ECDSA host key for IP address '18.213.216.154' to the list of known hosts.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "assembler.py", line 18, in <module>
TypeError: module.__init__() argument 1 must be string, not unicode
c : fatal: server died with error code 1

I wasn't having this issue in version 0.78.5. Looking at that the history of assembler.py, that line was last changed in #449 . I wonder if something changed there that wasn't properly converting unicode to a string?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions