Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-2530

False positive detected for Multi-Hop cycle when using private IP

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.2.0
    • Core
    • None

    Description

      With hosts A and B running ATS where both hosts have private IPs (10.0.0.1 & 10.0.0.2) AND have a local loopback which have a public IP 27.1.1.1 we are getting HTTP/1.1 400 Multi-Hop Cycle Detected when host A forwards a request to host B.

      ATS searches the incoming Via header for its own ip address (Machine::instance()->ip_hex_string) to determine if the request has been forwarded back to itself.

      Cause: ATS is selecting the public IP address of the server to insert in the Via header (even if it's not on a routable interface).

      Attachments

        1. TS-2530.patch
          2 kB
          Ron Barber

        Activity

          People

            amc Alan M. Carroll
            rwbarber2 Ron Barber
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: