For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

IainThomson85_1's avatar
IainThomson85_1
Icon for Cumulonimbus rankCumulonimbus
Sep 13, 2016

HTTPS OPTIONS Request

Hopefully this is a simple one.

 

I'm wanting to create a HTTPS monitor which queries the server for HTTP OPTIONS,

 

Can't figure out a way to do this, (or even if its possible) any guidance appreciated.

 

2 Replies

  • It should essentially be the same format as a GET, but you'll want to specify the Request-URI to get options for a specific resource, otherwise you could do * to get general server options. Maybe the following for a Send string:

     

    OPTIONS /resource.api HTTP/1.1\r\nHost: www.example.com\r\nConnection: Close\r\n

     

    And the receive would be:

     

    WHATEVEROPTION(S)YOUCONSIDERSUCCESSFUL

     

    My formatting on the Send is probably a bit off, as well.

     

  • I've not built an OPTIONS monitor myself but I imagine you would build one similar to a GET request: (you may need to verify the syntax of the send request)

    ltm monitor http OPTIONS-MONITOR {
        defaults-from http
        destination *:*
        send "OPTIONS * HTTP/1.1\\r\\n"   
    }