Forum Discussion
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
- Kevin_Davies_40
Nacreous
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.
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
Nacreous
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@
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com