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

Amitai_263958's avatar
Amitai_263958
Icon for Nimbostratus rankNimbostratus
May 26, 2016

Sending HTTP request headers via TCP or HTTP to another machine

Hi, I'm trying to catch HTTP requests from a virtual server, and send the HTTP headers to a separate machine. I looked into iRules but didn't find the way. Is it possible? Is there a better way than iRules?

 

10 Replies

  • Hi,

    You can use sideband connections. Here you can find an example :

    https://devcentral.f5.com/wiki/irules.sideband.ashx
    https://devcentral.f5.com/codeshare?sid=686
    
    • Yann_Desmarest_'s avatar
      Yann_Desmarest_
      Icon for Nacreous rankNacreous
      Sideband connections allow you to send a request to a specific destination.
  • Hi,

    You can use sideband connections. Here you can find an example :

    https://devcentral.f5.com/wiki/irules.sideband.ashx
    https://devcentral.f5.com/codeshare?sid=686
    
    • Yann_Desmarest's avatar
      Yann_Desmarest
      Icon for Cirrus rankCirrus
      Sideband connections allow you to send a request to a specific destination.
  • Hi,

     

    You can also use the clone pool feature to clone requests on the virtual server.

     

    • Amitai_263958's avatar
      Amitai_263958
      Icon for Nimbostratus rankNimbostratus
      Thanks, but I'm actually trying to edit the request before it arrives to the server and then send it to the server,and edit the response as well, before it arrives to the client, and send it to the clinet. all the editing needs to happen on a diffrent machine that runs C++ written filters.
    • Amitai_263958's avatar
      Amitai_263958
      Icon for Nimbostratus rankNimbostratus
      Thanks, but I'm actually trying to edit the request before it arrives to the server and then send it to the server,and edit the response as well, before it arrives to the client, and send it to the clinet. all the editing needs to happen on a diffrent machine that runs C++ written filters.