Coyote Point Systems Equalizer Spezifikationen Seite 328

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 594
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 327
Match Rules
Match
rules
are defined in the file
/var/eq/eq.conf
with the definition of the cluster to which the match rule applies.
A match rule as it appears in
eq.conf
looks like the following example:
match ma01 {
client_ip("10.0.0.19")
} then {
flags =!spoof;
srvpool = sv_01;
}
In this example (the match rule is named “ma01”), the match function, client_ip, has an argument that matches all
requests from IP address 10.0.0.19, which are all sent to server sv_01. Additionally, this rule disables the spoof
flag (that is, when the connection is made to the server, the server sees a connection to the Equalizer, not to the
client). This is displayed as follows:
The Expression field shows the expression that is evaluated against the incoming request. If the expression
evaluates to
true
, the Server Pool field specifies the "pool" of servers that will be used to satisfy the incoming
request, as well as the options that will be set for the request.
Refer to "Server Pools and Server Instances" on page 229
Match Rule Expression Examples
A match rule
expression
must be specified in double quotes, so any quotes used in a function to delineate strings
must be escaped with a backslash character (\), as in this example that matches all client requests with a source
IP on the 10.10.10/24 network:
expression “client_ip(\“10.10.10/24\”)
328
Copyright © 2013 Coyote Point Systems. A subsidiary of Fortinet, Inc.
Seitenansicht 327
1 2 ... 323 324 325 326 327 328 329 330 331 332 333 ... 593 594

Kommentare zu diesen Handbüchern

Keine Kommentare