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

Attachments

2

Activity

Show:

Henning Staib August 15, 2010 at 12:13 PM

done in revision 11821

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created March 4, 2010 at 3:42 AM
Updated October 7, 2013 at 2:35 AM
Resolved November 24, 2010 at 3:05 AM