Forum Discussion
midhun_108442
Jan 21, 2012Nimbostratus
Help need to create a irule for limit Client Connection
Hi,
Can anyone help us to create a irule to limit number of client connection hitting to Virtual server , I got the same irule scenario in Dev central site for (iRule.Limit Connection from C...
midhun_108442
Jan 26, 2012Nimbostratus
Hi Aaron,
I have applied the rule and run the test , below are the logs message ,it shows Allowed maximum connection for the client is "1" and thats why its blocking my request randomly.
but i have allowed 10 connection for the client in Data Group list, but the script not taking that value, attached the screenshot of Datagroup list configuration FYI.
Thu Jan 26 23:59:38 AST 2012 info local/tmm1 tmm1[5126] Rule limt-test4 : 192.168.249.14: $limit: 1
Thu Jan 26 23:59:38 AST 2012 info local/tmm1 tmm1[5126] Rule limt-test4 : 192.168.249.14: getCount=0
Thu Jan 26 23:59:39 AST 2012 info local/tmm1 tmm1[5126] Rule limt-test4 : 192.168.249.14: $limit: 1
Thu Jan 26 23:59:39 AST 2012 info local/tmm1 tmm1[5126] Rule limt-test4 : 192.168.249.14: getCount=1
Thu Jan 26 23:59:39 AST 2012 info local/tmm1 tmm1[5126] Rule limt-test4 : 192.168.249.14: exceeded the number of requests allowed. 1 / 1
Thu Jan 26 23:59:45 AST 2012 info local/tmm1 tmm1[5126] Rule limt-test4 : 192.168.249.14: getCount=0
Thu Jan 26 23:59:46 AST 2012 info local/tmm1 tmm1[5126] Rule limt-test4 : 192.168.249.14: $limit: 1
Thu Jan 26 23:59:46 AST 2012 info local/tmm1 tmm1[5126] Rule limt-test4 : 192.168.249.14: getCount=1
Thu Jan 26 23:59:46 AST 2012 info local/tmm1 tmm1[5126] Rule limt-test4 : 192.168.249.14: exceeded the number of requests allowed. 1 / 1
Thu Jan 26 23:59:48 AST 2012 info local/tmm1 tmm1[5126] Rule limt-test4 : 192.168.249.14: getCount=1
Thu Jan 26 23:59:48 AST 2012 info local/tmm1 tmm1[5126] Rule limt-test4 : 192.168.249.14: exceeded the number of requests allowed. 1 / 1
Thu Jan 26 23:59:50 AST 2012 info local/tmm1 tmm1[5126] Rule limt-test4 : 192.168.249.14: getCount=0
Thu Jan 26 23:59:50 AST 2012 info local/tmm tmm[5125] Rule limt-test4 : 192.168.249.14: $limit: 1
Thu Jan 26 23:59:50 AST 2012 info local/tmm tmm[5125] Rule limt-test4 : 192.168.249.14: getCount=1
Thu Jan 26 23:59:50 AST 2012 info local/tmm tmm[5125] Rule limt-test4 : 192.168.249.14: exceeded the number of requests allowed. 1 / 1
Thu Jan 26 23:59:51 AST 2012 info local/tmm tmm[5125] Rule limt-test4 : 192.168.249.14: getCount=1
Thu Jan 26 23:59:51 AST 2012 info local/tmm tmm[5125] Rule limt-test4 : 192.168.249.14: exceeded the number of requests allowed. 1 / 1
Thu Jan 26 23:59:53 AST 2012 info local/tmm tmm[5125] Rule limt-test4 : 192.168.249.14: getCount=1
Thu Jan 26 23:59:53 AST 2012 info local/tmm tmm[5125] Rule limt-test4 : 192.168.249.14: exceeded the number of requests allowed. 1 / 1
Thu Jan 26 23:59:54 AST 2012 info local/tmm tmm[5125] Rule limt-test4 : 192.168.249.14: getCount=0
Thu Jan 26 23:59:55 AST 2012 info local/tmm tmm[5125] Rule limt-test4 : 192.168.249.14: $limit: 1
Thu Jan 26 23:59:55 AST 2012 info local/tmm tmm[5125] Rule limt-test4 : 192.168.249.14: getCount=1
Thu Jan 26 23:59:55 AST 2012 info local/tmm tmm[5125] Rule limt-test4 : 192.168.249.14: exceeded the number of requests allowed. 1 / 1
Thu Jan 26 23:59:56 AST 2012 info local/tmm tmm[5125] Rule limt-test4 : 192.168.249.14: getCount=1
Thu Jan 26 23:59:56 AST 2012 info local/tmm tmm[5125] Rule limt-test4 : 192.168.249.14: exceeded the number of requests allowed. 1 / 1
Thu Jan 26 23:59:57 AST 2012 info local/tmm tmm[5125] Rule limt-test4 : 192.168.249.14: getCount=1
Thu Jan 26 23:59:57 AST 2012 info local/tmm tmm[5125] Rule limt-test4 : 192.168.249.14: exceeded the number of requests allowed. 1 / 1
Thu Jan 26 23:59:59 AST 2012 info local/tmm tmm[5125] Rule limt-test4 : 192.168.249.14: getCount=0
Fri Jan 27 00:00:00 AST 2012 info local/tmm tmm[5125] Rule limt-test4 : 192.168.249.14: $limit: 1
Fri Jan 27 00:00:00 AST 2012 info local/tmm tmm[5125] Rule limt-test4 : 192.168.249.14: getCount=1
Fri Jan 27 00:00:00 AST 2012 info local/tmm tmm[5125] Rule limt-test4 : 192.168.249.14: exceeded the number of requests allowed. 1 / 1
Fri Jan 27 00:00:01 AST 2012 info local/tmm tmm[5125] Rule limt-test4 : 192.168.249.14: getCount=1
Fri Jan 27 00:00:01 AST 2012 info local/tmm tmm[5125] Rule limt-test4 : 192.168.249.14: exceeded the number of requests allowed. 1 / 1
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