Would this work too? I setup a DataGroup in the Data Editor under STRING - and put in the individual domains in the STRING column, is this OK?
Here is the iRule I setup:
when HTTP_REQUEST {
if { [class match [HTTP::host] equals bad-domains] } {
reject
}
}
also, my VIP does not have HTTP PROFILE setup, so it rejected the iRule until I turned on 'http' under HTTP PROFILE - I have never
used any HTTP PROFILES, so I am concerned that this might cause a latency issue or slow-down by turning this profile on...
What do I need to setup for just 'http' profile so that I do not see a performance hit when enabling HTTP Profile: http
Right now my http is set to: 32768 bytes for Maximum Header Size, Pipeling Enabled, LWS Maximum Columns 80
Compression: Disabled, URI Compression Not configured, Include Text:
text/
application/(xml|x-javascript}
Preferred Method: Gzip
Minimum Content Length: 1024 bytes
Compression Buffer Size: 4096 bytes
gzip Memory Level: 8 kilobytes
gzip Window size: 16 kilobytes
CPU Saver: ENABLED
CPU Saver High Threshold: 90%
CPU Saver Low Threshold: 75%
RAM CACHE: Disabled
Maximum Cache Size: 100 megabytes
Maximum Entries: 10000
Maximum Age: 3600 seconds
Minimum Object Size: 500 bytes
Maximum Object Size: 50000 bytes
URI Caching: Not Configured
Ignore Headers: ALL
Insert Age Header: Enabled
Aging Rate: 9