This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| bigip-f5:irules:testirule [2026/02/13 16:25] – created admin | bigip-f5:irules:testirule [2026/02/13 16:27] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | < | + | asdf |
| + | |||
| + | < | ||
| when CLIENT_ACCEPTED { | when CLIENT_ACCEPTED { | ||
| set syslog_pool1 [HSL::open -proto UDP -pool pool_SyslogServer001] | set syslog_pool1 [HSL::open -proto UDP -pool pool_SyslogServer001] | ||
| Line 8: | 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 | ||
| } | } | ||
| </ | </ | ||