Ken_Wong_48678
Jun 14, 2006Historic F5 Account
insert http header in tcp payload
Hi,
For some reasons, I need to insert a http header before LTM start to inspect http header and content. So, I try to insert the header in client data.
I can insert a header at the 0 offset using below irule, but I do not know how to insert in the middle of the payload. Is there anyone know how to get the offset in the payload? Thanks in advanced
Regards,
Ken
when CLIENT_ACCEPTED {
TCP::collect
}
when CLIENT_DATA {
TCP::payload replace 0 0 "header: value "
set new_pl [TCP::payload]
log local0. "new_pl"
TCP::release
}