Chris_Phillips
Jun 15, 2007Nimbostratus
converting UDP connections to TCP
I'm going out on a limb in the way i'm asking this... but how can I convert UDP packet payloads into TCP connections on the server side?
i'm aware this is normally a really stupid thoughtless question showing i don't understand TCP/IP any more than my cat. but my situation is that i have a bunch of Cisco Catalyst switches which only send syslog data as UDP packets. these packets are (to my knowledge) only ever one packet long, and just hit the remote syslog server and get logged. i'm wanting to put a virtual server infront of my syslog servers, to provide a better architecture, and would really like to be able to somehow craft an irule to take the UDP payload content and convert it to a TCP connection to whichever backend server i'm currently connected to. this should then be able to provide a more scalable and reliable architecture for otherwise unreliable traffic. any clues which way iRules would do this?
As i can take a UDP::payload or TCP::payload and do whatever i want with that raw data in an iRule i'm trusting you guys and girls can tell me how to put that payload into TCP onwards...
Thanks
Chris