Forum Discussion

Billy_chuang_16's avatar
Billy_chuang_16
Historic F5 Account
May 20, 2005

rate shaping for UDP session by iRules

Customer would like to rate shape UDP outgoing traffic per user session (UDP streaming protocal), I tested the following iRule but "CLIENT_ACCEPTED" event didn't work for UDP. Is there any "event" can trigger UDP session.

 

 

when CLIENT_ACCEPTED {

 

if { [IP::remote_addr] == "202.64.224.218" } {

 

log local0. "client from bad list hit rate filter - [IP::remote_addr]"

 

rateclass test1

 

}
  • drteeth_127330's avatar
    drteeth_127330
    Historic F5 Account
    CLIENT_ACCEPTED should be raised for UDP. Would you please try again? What version are you running? Do you have a UDP profile or FastL4?
  • Billy_chuang_16's avatar
    Billy_chuang_16
    Historic F5 Account
    Hi,

     

     

    I have turned on the UDP profile, iRule with "CLIENT_ACCEPTED" seems hit by VIP, but the Rateshaping didn'w shape the UDP traffic.

     

     

    Regards

     

    Billy

     

     

  • drteeth_127330's avatar
    drteeth_127330
    Historic F5 Account
    How did you determine that the rate shaping didn't work? How is the rate class configured? What does "bigpipe rate class show" display during the test? If this problem persists, you should open a case with F5 support.