Forum Discussion
Andy_McGrath
Feb 07, 2019Cumulonimbus
Just working on a similar project extracting user credentials from SMTPS requests.
First nothing in the FTP iRule commands that can do this for you so you need to read the TCP payload to locate and extract the data you need.
To do this you need to work out a flow where you enable collection of the next clientside and/or serverside payload using $1 (or $1 if you are using SSL offload) then identify the payload with the $1 details and do some manipulation with the $1TCP::release`.
Best is look at the following code share examples which you can hopefully use as a base: