User Tools

Site Tools


.gz · Last modified: by admin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
bigip-f5:irules:testirule [2026/02/13 16:26] adminbigip-f5:irules:testirule [2026/02/13 16:27] (current) admin
Line 10: Line 10:
   HSL::send $syslog_pool2 [UDP::payload]    HSL::send $syslog_pool2 [UDP::payload] 
  
 +}
 +
 +
 +when CLIENT_ACCEPTED {
 +
 +  # grab UDP payload
 +  set data [UDP::payload]
 +  
 +  # 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:514]
 +  set conn_id2 [connect -protocol UDP -myaddr 1.1.1.1 -timeout 100 -idle 30 10.10.10.2:514]
 +  
 +  # 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
 } }
  
 </codeprism>  </codeprism> 
.gz · Last modified: by admin