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

New API for Outgoing Address

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.3.0
    • Fix Version/s: 5.3.0
    • Component/s: TS API
    • Labels:
      None

      Description

      There's currently no TS API to retrieve the source address used by the proxy in the outbound connections.

      I would like to add a new TS API that can provide this info - In addition to making it consistent with the API for inbound addresses (where we have TS API for both remote and local addresses), there may be other use cases that need this info (e.g. applying rate limiting on the inbound side based on the ephemeral ports).

      tsapi struct sockaddr const* TSHttpTxnOutgoingAddrGet(TSHttpTxn txnp);

        Attachments

          Activity

            People

            • Assignee:
              sudheerv Sudheer Vinukonda
              Reporter:
              sudheerv Sudheer Vinukonda
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: