Layer7 API Management

 View Only

  • 1.  End a TCP Session in Policy

    Posted 5 hours ago

    Is there a way I can kill a TCP connection without sending a response within a policy?

    The scenario is I want to do some request filtering (along the lines of IP filtering) and instead of sending a 4xx response, I'd like to just end the TCP connection. Ideally it would be done at a firewall, but that's not possible in our particular scenario.

    Psuedo code for what I'm looking for:

    At Least One
       All Assertions
          - Filtering Criteria
       All
          - Kill TCP Connection
          - End Processing of Service Call



    -------------------------------------------


  • 2.  RE: End a TCP Session in Policy

    Broadcom Employee
    Posted 4 hours ago

    Ryan,

    I don't believe there is any way to intentionally suppress a response to the requestor and terminate the TCP connection at the gateway.  The gateway doesn't provide much control over what is happening at the transport layer.

    Being able to do so would open up some interesting, though unconventional, use cases.  I would recommend submitting an idea if this is something you would like product management to consider for the future.


    -------------------------------------------