Forum Discussion

Coredump66_1745's avatar
Coredump66_1745
Icon for Nimbostratus rankNimbostratus
Apr 15, 2010

Traffic Shaping

I am looking for an iRule that would let me do traffic shaping based on the user that's logging on.

 

ie. persona@someaddress.com logs on.

 

Anyone know of a iRule?

 

 

 

1 Reply

  • Hi,

     

     

    Is this an HTTP application? What kind of authentication does the application use? Is the username sent in the HTTP headers or payload? Here is an example iRule which parses the username from the Authorization header or payload using a stream profile:

     

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/parse_username_from_http_requests_rule.html

     

     

    And here is an example from Deb which shows a method for rate limiting POST requests by parsing the username from the Authorization header:

     

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/RateLimit_HTTPRequest.html

     

     

    Aaron