Forum Discussion

Jon_Strabala_46's avatar
Icon for Nimbostratus rankNimbostratus
Jul 31, 2012

How can I send UDP or TCP messages to a virtual server and inspect and drop every packet

How can I send 20 (or 300) UDP or TCP messages a second into to a dedicated virtual server and have iRULES inspect and drop every packet.



Basically I have a stream of information like the follwoing:



















I want to jam it into the F5 efficiently (TCP or UDP) and then look at / inspect the data and update a global or session "table" data structure ( with the current state for use by other iRULES and virtual servers.




I don't need to connect to anything real on the other side of the F5 (just need to get information into the F5) what would the preferred method to set up something like this be.




I am on version 10.2.0 ( I am trying to upgrade to V 11.20 but that might be several weeks out)




I can write the stream in any fashion even in binary and I can send it to the F5 in any fashion TCP or UDP. But I do want to avoid HTTP.




Thanks in Advance


1 Reply

  • Hi Jon,



    You could use a UDP VS with a custom UDP profile that has Datagram LB enabled. Every packet that is sent to the virtual server should then trigger CLIENT_ACCEPTED where you can access the payload using UDP::payload. Here are a couple of related links: