Forum Discussion
HenryX_171845
Nimbostratus
Sep 29, 2014Problem of doing both TCP and HTTP editting
In my application (vs is TCP protocol with HTTP Profile), we'd like to -
1. insert metadata per each connection using TCP profile and it's access functions
2. We also want to preserve all existing HT...
HenryX_171845
Nimbostratus
Oct 03, 2014With following code, I found both TCP-INSERT and HTTP Header Insertion were successfully done (checked on receiving tcpdump).
when CLIENT_ACCEPTED {
TCP::payload replace 0 0 "TCP-INSERT"
TCP::release
}
when HTTP_REQUEST {
HTTP::header insert HDR "HTTP-HEADER-INSERT"
}
Unfortunately if I add a TCP insertion fired at SERVER_CONNECTED, it show an error.
I think a thorough understanding of the events and state machines internal may be very helpful to debug.
Thanks for your thought.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects