Web OS 10.0 Application Guide
Chapter 7: Filtering
n
183
212777-A, February 2002
TCP Rate Limiting Filter Based on Virtual Server IP Address
This example defines a filter that limits clients to 100 TCP connections per second to a specific
destination (VIP 10.10.10.100). Once a client exceeds that limit, the client is not allowed to
make any new TCP connection request to that destination for 40 minutes.
shows
how to use this feature to limit client access to a specific destination.
Figure 7-6 Limiting User Access to Server
Configure the following on the switch:
Fastage
and
slowage
are set to 2 seconds and 8 minutes as follows:
time window =
timewin x fastage
= 1 x 2 seconds = 2 seconds
hold down time =
holddur x slowage
= 5 x 8 minutes = 40 minutes
max rate =
maxcon
/time window = 200 connections/2 seconds = 100 connections/second
>> # /cfg/slb/filt 100/ena
(Enable the filter)
>> Filter 100 # dip 10.10.10.100/dmask 255.255.255.0
(Specify the virtual server IP address)
>> Filter 100# adv/tcp
(Select the advanced filter menu)
>> TCP advanced# tcplim en
(Enable TCP rate limiting)
>> TCP advanced# maxconn 20
(Specify the maximum connections)
>> TCP advanced# /cfg/slb/adv
(Select the Layer 4 advanced menu)
>> Layer 4 Advanced # timewin 1
(Set the time window for the session)
>> Layer 4 Advanced # holddur 5
(Set the hold duration for the session)
/cfg/slb/adv/fastage 1
(Fastage is set to 2 seconds)
/cfg/slb/adv/slowage 2
(Slowage is set to 8 minutes)
Web Switch
Internet
Real servers
Clients
1
2
3
4
Client 1, 2, 3, and 4 are limited
to 100 conn/sec to virtual IP address
Filter 100: 100 conn/sec
VIP: 10.10.10.100
S1
S2
Содержание Web OS 10.0
Страница 26: ...Web OS 10 0 Application Guide 26 n Basic Switching Routing 212777 A February 2002...
Страница 116: ...Web OS 10 0 Application Guide 116 n Web Switching Fundamentals 212777 A February 2002...
Страница 168: ...Web OS 10 0 Application Guide 168 n Chapter 6 Server Load Balancing 212777 A February 2002...
Страница 216: ...Web OS 10 0 Application Guide 216 n Chapter 8 Application Redirection 212777 A February 2002...
Страница 288: ...Web OS 10 0 Application Guide 288 n Advanced Web Switching 212777 A February 2002...
Страница 420: ...Web OS 10 0 Application Guide 420 n Chapter 15 Content Intelligent Switching 212777 A February 2002...
Страница 440: ...Web OS 10 0 Application Guide 440 n Chapter 16 Persistence 212777 A February 2002...
Страница 470: ...Web OS 10 0 Application Guide 470 n Chapter 17 Bandwidth Management 212777 A February 2002...
Страница 474: ...Web OS 10 0 Application Guide 474 n Glossary 212777 A February 2002...