Uploaded image for project: 'Openfire'
  1. Openfire
  2. OF-512

Configurable host/IP for file transfers (streamhost / port 7777)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.7.1, 3.9.1
    • Fix Version/s: 4.1.0
    • Component/s: Core
    • Labels:
      None
    • Environment:
      Openfire in LAN with private IP, clients connecting via NAT / public IP

      Description

      Openfire uses its (internal) IP address when sending a streamhost host. This does not work when NAT is used and public clients are connected. They can not connect to 192.168.0.0/24 or 10.0.0.0/8 IP addresses.

      Openfire should still use the private IP address to open the listen socket but in the xmpp packets it should use the host name or a configured IP address.

      Using the DNS name may be problematic as we can not guarantee that the public DNS entry uses an A/AAAA record. Likely Openfire can not verify this as it connects to an internal DNS server. (http://xmpp.org/extensions/xep-0065.html - Note: If the value of the 'host' attribute is a DNS domain name, it MUST be resolvable to the IP address on which the Proxy (or an instance thereof) is hosted using an A or AAAA lookup.)

      ==>
      Keep using the private IP address but add an option to enter a custom value (IP address or host name) and add the XEP documentation (A lookup) to the Openfire file transfer page.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                guus Guus der Kinderen
                Reporter:
                it2000 LG
              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: