Forum Discussion
Manipulates SSL payload for 2 Packets inside same session
Hi,
i've a problem with a creation of an iRule.
I have a session TCP and i need to manipulate the first two packets of the session. The packets NOT contain a Layer 7(HTTP,DNS,Ecc..) payload but only simple binary payload(a sequence of ASCII code).
My problem is that after the first packet, which can be manipulated with event CLIENT_ACCEPTED and CLIENT_DATA (and the method TCP::collect), i can't find a event that allows me to modify the next TCP payload packet.
if you can help I have set the HTTP profile. So the only events Layer 7 can be used are those HTTP.
There is an event that satisfies my request?
Thanks in advance for any response.
Kind Regards,
Fabio.
- hooleylistCirrostratusHi Fabio,
- Fabio_Sozzi_308NimbostratusThanks. I hope that you respond quicky.
- Fabio_Sozzi_308NimbostratusThanks. I hope that you respond quicky.
- Fabio_Sozzi_308NimbostratusThanks. I hope that you respond quicky.
- Fabio_Sozzi_308NimbostratusAny News???
- spark_86682Historic F5 AccountSorry for taking so long to get back to this, but I've only just now been able to set this up to make sure that this works as I expected.
when CLIENTSSL_HANDSHAKE { log local0. "Collecting..." SSL::collect set flag 0 } when CLIENTSSL_DATA { log local0. "Got [SSL::payload length] bytes plaintext" Release first set of data to connect to server SSL::release if { $flag == 0 } { Collect second set of data SSL::collect set flag 1 } } when SERVER_CONNECTED { log local0. "Connected to server" }
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