Improve establishing of Socks5 bytestreams

Description

Improvements when establishing a Socks5 bytestream:

  • checks if target supports Socks5 feature (http://xmpp.org/extensions/xep-0065.html#proto-disco)

  • while searching for Socks5 proxies all non Socks5 proxies are blacklisted to not query them again in next negotiation

  • prioritizes last working stream host (if exists) under the assumption that it will also work best for further requests

  • configurable timeout for the response of target to the request (was a constant in old implementation)

  • uses specialized Socks5ClientForInitiator to connect to local or remote proxy and activate the stream

  • returns Socket for bidirectional use

Environment

None

Activity

Show:
Henning Staib
August 15, 2010, 12:13 PM

done in revision 11821

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Robin Collier

Reporter

Henning Staib