This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| bigip-f5:irules:testirule [2026/02/13 16:26] – admin | bigip-f5:irules:testirule [2026/02/13 16:27] (current) – admin | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| HSL::send $syslog_pool2 [UDP:: | HSL::send $syslog_pool2 [UDP:: | ||
| + | } | ||
| + | |||
| + | |||
| + | when CLIENT_ACCEPTED { | ||
| + | |||
| + | # grab UDP payload | ||
| + | set data [UDP:: | ||
| + | | ||
| + | # create connection objects to both servers | ||
| + | set conn_id1 [connect -protocol UDP -myaddr 1.1.1.1 -timeout 100 -idle 30 10.10.10.1: | ||
| + | set conn_id2 [connect -protocol UDP -myaddr 1.1.1.1 -timeout 100 -idle 30 10.10.10.2: | ||
| + | | ||
| + | # send sideband request to server1 | ||
| + | send -timeout 1000 $conn_id1 $data | ||
| + | close $conn_id1 | ||
| + | # send sideband request to server1 | ||
| + | send -timeout 1000 $conn_id2 $data | ||
| + | close $conn_id2 | ||
| } | } | ||
| </ | </ | ||