Uploaded image for project: 'Smack'
  1. Smack
  2. SMACK-319

Add common interfaces for SOCKS5 Bytestreams and In-Band Bytestreams

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.2.0
    • Component/s: Extensions
    • Labels:
      None

      Description

      This patch adds a interfaces for bytestreams and changes the SOCKS5 Bytestream and In-Band Bytestream implementation to implement these interfaces.
      With this interfaces clients can use the same code to establish bytestreams either via IBB or SOCKS5.
      The new interfaces are located in the package 'smackx.bytestreams'. Maybe the implementations of SOCKS5 and IBB should now be subpackages of the 'bytestreams' package. Any opinion?

      The patch also contains the latest bugfixes to the SOCKS5 and IBB implementations.

      • fixed bug which prevented the target to try out all given StreamHosts if a specific exception occurs while trying to connect to a SOCKS5 proxy
      • make connection failure threshold for blacklisting configurable for Socks5BytestreamRequest (0 means there is no blacklisting)
      • added option to disable prioritization of working SOCKS5 proxies (in case someone doesn't want this optimization)
      • fixed bug for blacklisting of proxies (now address + port is blacklisted, not the address only)
      • fixed bug when shutting down Socks5BytestreamManager that prevented stopping the local SOCKS5 proxy which could cause that the java vm didn't shutdown because a server socket was still listening

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rcollier Robin Collier
              Reporter:
              serevaris Henning Staib
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: