[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #11558 [Obfsproxy]: obfsproxy breaks with old versions of twisted



#11558: obfsproxy breaks with old versions of twisted
---------------------------+--------------------------------------
     Reporter:  yawning    |      Owner:  asn
         Type:  defect     |     Status:  needs_review
     Priority:  normal     |  Milestone:
    Component:  Obfsproxy  |    Version:
   Resolution:             |   Keywords:  debian, twisted, ancient
Actual Points:             |  Parent ID:
       Points:             |
---------------------------+--------------------------------------

Comment (by yawning):

 Hmm even if you make txsocksx optional there still needs to be code for
 handling Twisted versions that don't have
 `twisted.internet.error.UnsupportedAddressFamily`.  Instead of in
 `__init__.py` this could be done in `socks5.py` since that's the only
 place that uses that exception.

 Since it's just error handling, we could also change the code to sending a
 SOCKS5 General Failure error for `EAFNOSUPPORT`, but that seems less
 optimal for people that do have recent versions of Twisted.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11558#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs