JGranieri_10614
Aug 21, 2014Nimbostratus
How to remove content from TCP Payload
Hello,
I have a scenario where I need to 1 extract a token between a start and end characters and then 2 remove this data from tcp payload so this never makes it to the server.
I have 1 taken care of and the irule will look like this, but from what I researched on devcentral it would appears I need to use a TCP::replace command and use a content of 0 to actually remove this same string from tcp payload??
when CLIENTSSL_DATA {
set payload [SSL::payload]
set token [findstr $payload "PW=" 3 "PW_END"]
would using TCP::payload replace 0 0 $token work?