Forum Discussion
George_San_Pedr
Altostratus
Aug 04, 2005rate limiting per user/IP
Hi,
I am trying to rate limit my tcp connections based on client source/destination IPs so that a given user is limited to 15k/sec. Any suggestion on how to achieve this based on irules and rate shaping?
Thanks,
George
- Ken_Wong_48678Historic F5 AccountHi Colin,
- No need to loop. If you want to mask off an entire Class C subnet, you can use the slash notation in the comparison. Try this:
when CLIENT_ACCEPTED { if {[IP::addr "[IP::client_addr]/24" equals "aaa.bbb.ccc.0/24"]} { log local0. "[IP::client_addr] being sent to rateclass class1" rateclass class1 } }
- Ken_Wong_48678Historic F5 AccountHi Joe,
- Ken_Wong_48678Historic F5 AccountHi Colin,
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects