Forum Discussion
NZ_David_20489
Oct 21, 2011Nimbostratus
Restricting connections per Virtual Server
I've tested the 'connection limit' on the Virtual Server, and this works fine. Connections are limited to the configured value. However I'm trying to deploy a similar solution using an iRule, but wi...
nitass
Oct 21, 2011Employee
when there are multiple requests in a connection, HTTP::request_num will accumulate.
[root@iris:Active] config b virtual bar list
virtual bar {
snat automap
pool foo
destination 172.28.17.33:http
ip protocol tcp
rules myrule2
profiles {
http {}
tcp {}
}
}
[root@iris:Active] config b rule myrule2 list
rule myrule2 {
when HTTP_REQUEST {
log local0. "client [IP::remote_addr]:[TCP::remote_port], uri [HTTP::uri], [HTTP::request_num]"
}
}
Oct 21 18:05:04 local/tmm info tmm[17220]: Rule myrule2 : client 192.168.206.102:49995, uri /, 1
Oct 21 18:05:04 local/tmm info tmm[17220]: Rule myrule2 : client 192.168.206.102:49995, uri /dog.gif, 2
Oct 21 18:05:04 local/tmm info tmm[17220]: Rule myrule2 : client 192.168.206.102:49995, uri /favicon.ico, 3
Oct 21 18:05:04 local/tmm info tmm[17220]: Rule myrule2 : client 192.168.206.102:49995, uri /favicon.ico, 4
Oct 21 18:05:10 local/tmm info tmm[17220]: Rule myrule2 : client 192.168.206.102:49995, uri /, 5
Oct 21 18:05:10 local/tmm info tmm[17220]: Rule myrule2 : client 192.168.206.102:49995, uri /dog.gif, 6
Oct 21 18:05:13 local/tmm info tmm[17220]: Rule myrule2 : client 192.168.206.102:49995, uri /, 7
Oct 21 18:05:13 local/tmm info tmm[17220]: Rule myrule2 : client 192.168.206.102:49995, uri /dog.gif, 8
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