Forum Discussion

Devlin_T_149357's avatar
Apr 16, 2017

Stream Profile - Source Setting

Hi all

 

Can someone provide a real-world example of where we might use the 'Source' setting in the Stream Profile (the GUI, not an iRule)?

 

The F5 documentation is rather lacking in this field and from what I have observed testing the 'Target' field is where all the good stuff happens.

 

I've seen some examples of translating from HTTP to HTTPS but would like to understand how it can be/has been used it for other purposes.

 

Thank you

 

3 Replies

  • Here you go,

    Source: Trump
    Target: Clown
    
    If only it was that easy.
    

    It is purely for simple two way substitution. By far the biggest use case is offloading SSL. What it sees in the source is replaced with the target on the way to the server. What it sees in the target is replaced with the source on the way back from the server.

    • Devlin_T_149357's avatar
      Devlin_T_149357

      Hi Kevin

       

      First off, thanks for your humorous, yet accurate reply. My mistake here was that on the GUI profile settings I was still using the @ delimiter for both Source & Target fields. Soon as I removed this I could see clearly that whatever I added into the source was indeed modified as it went through the LTM to the back end server.

       

      Interestingly you seem to be able to achieve the same thing by just using the target field. For example, if I were to use @trump@clown@, it would do the same thing.

       

      Anyway, thank you again.

       

    • Kevin_Davies_40's avatar
      Kevin_Davies_40
      Icon for Nacreous rankNacreous

      You are correct, the target field format should be used when you have more than a single substitution. In that case you leave the source blank.

       @trump@clown@@USA@United States@