Gproxy 1.6
This document covers the configuration language as implemented in the version specified above. It does not provide any hint, example or advice. For such documentation, please refer to the Reference Manual or the Architecture Manual. The summary below is meant to help you search sections by name and navigate through the document.
Note to documentation contributors: This document is formatted with 80 columns per line, with even number of spaces for indentation and without tabs. Please follow these rules strictly so that it remains easily printable everywhere. If a line needs to be printed verbatim and does not fit, please end each line with a backslash (' ') and continue on next line, indented by two characters. It is also sometimes useful to prefix all output lines (logs, console outs) with 3 closing angle brackets (') in order to help get the difference between inputs and outputs when it can become ambiguous. If you add sections, please update the summary below for easier searching. The HTTP protocol is transaction-driven.
This means that each request will lead to one and only one response. Traditionally, a TCP connection is established from the client to the server, a request is sent by the client on the connection, the server responds and the connection is closed.
A new request will involve a new connection: CON1 REQ1. RESP1 CLO1 CON2 REQ2. RESP2 CLO2. In this mode, called the 'HTTP close' mode, there are as many connection establishments as there are HTTP transactions. Since the connection is closed by the server after the response, the client does not need to know the content length.
Note to documentation contributors: This document is formatted with 80 columns per line, with even number of spaces for indentation and without tabs.
Due to the transactional nature of the protocol, it was possible to improve it to avoid closing a connection between two subsequent transactions. In this mode however, it is mandatory that the server indicates the content length for each response so that the client does not wait indefinitely. For this, a special header is used: 'Content-length'. This mode is called the 'keep-alive' mode: CON REQ1. RESP1 REQ2. RESP2 CLO. Its advantages are a reduced latency between transactions, and less processing power required on the server side.
It is generally better than the close mode, but not always because the clients often limit their concurrent connections to a smaller value. A last improvement in the communications is the pipelining mode. It still uses keep-alive, but the client does not wait for the first response to send the second request.
This is useful for fetching large number of images composing a page: CON REQ1 REQ2. RESP1 RESP2 CLO. This can obviously have a tremendous benefit on performance because the network latency is eliminated between subsequent requests.
Many HTTP agents do not correctly support pipelining since there is no way to associate a response with the corresponding request in HTTP. For this reason, it is mandatory for the server to reply in the exact same order as the requests were received. By default HAProxy operates in keep-alive mode with regards to persistent connections: for each connection it processes each request and response, and leaves the connection idle on both sides between the end of a response and the start of a new request.
HAProxy supports 5 connection modes: - keep alive: all requests and responses are processed (default) - tunnel: only the first request and response are processed, everything else is forwarded with no analysis. passive close: tunnel with 'Connection: close' added in both directions.
server close: the server-facing connection is closed after the response. forced close: the connection is actively closed after end of response. HTTP request. Line 1 is the 'request line'. It is always composed of 3 fields: - a METHOD: GET - a URI: /serv/login.php?lang=en&profile=2 - a version tag: HTTP/1.1 All of them are delimited by what the standard calls LWS (linear white spaces), which are commonly spaces, but can also be tabs or line feeds/carriage returns followed by spaces/tabs. The method itself cannot contain any colon (':') and is limited to alphabetic letters. All those various combinations make it desirable that HAProxy performs the splitting itself rather than leaving it to the user to write a complex or inaccurate regular expression.
The URI itself can have several forms: - A 'relative URI': /serv/login.php?lang=en&profile=2 It is a complete URL without the host part. This is generally what is received by servers, reverse proxies and transparent proxies. An 'absolute URI', also called a 'URL': It is composed of a 'scheme' (the protocol name followed by '://'), a host name or address, optionally a colon (':') followed by a port number, then a relative URI beginning at the first slash ('/') after the address part. This is generally what proxies receive, but a server supporting HTTP/1.1 must accept this form too.
a star ('.' ): this form is only accepted in association with the OPTIONS method and is not relayable. It is used to inquiry a next hop's capabilities. an address:port combination: 192.168.0.12:80 This is used with the CONNECT method, which is used to establish TCP tunnels through HTTP proxies, generally for HTTPS, but sometimes for other protocols too. In a relative URI, two sub-parts are identified. The part before the question mark is called the '.
It is typically the relative path to static objects on the server. The part after the question mark is called the 'query string'.
It is mostly used with GET requests sent to dynamic scripts and is very specific to the language, framework or application in use. The request headers.
The headers start at the second line. They are composed of a name at the beginning of the line, immediately followed by a colon (':'). Traditionally, an LWS is added after the colon but that's not required. Then come the values. Multiple identical headers may be folded into one single line, delimiting the values with commas, provided that their order is respected. This is commonly encountered in the 'Cookie:' field. A header may span over multiple lines if the subsequent lines begin with an LWS.
In the example in 1.2, lines 4 and 5 define a total of 3 values for the 'Accept:' header. Contrary to a common mis-conception, header names are not case-sensitive, and their values are not either if they refer to other header names (such as the 'Connection:' header). The end of the headers is indicated by the first empty line. People often say that it's a double line feed, which is not exact, even if a double line feed is one valid form of empty line. Fortunately, HAProxy takes care of all these complex combinations when indexing headers, checking values and counting them, so there is no reason to worry about the way they could be written, but it is important not to accuse an application of being buggy if it does unusual, valid things. Important note: As suggested by RFC2616, HAProxy normalizes headers by replacing line breaks in the middle of headers by LWS in order to join multi-line headers. This is necessary for proper analysis and helps less capable HTTP parsers to work correctly and not to be fooled by such complex constructs.
HTTP response. An HTTP response looks very much like an HTTP request. Both are called HTTP messages. Let's consider this HTTP response: Line Contents number 1 HTTP/1.1 200 OK 2 Content-length: 350 3 Content-Type: text/html As a special case, HTTP supports so called 'Informational responses' as status codes 1xx. These messages are special in that they don't convey any part of the response, they're just used as sort of a signaling message to ask a client to continue to post its request for instance. In the case of a status 100 response the requested information will be carried by the next non-100 response message following the informational one.
This implies that multiple responses may be sent to a single request, and that this only works when keep-alive is enabled (1xx messages are HTTP/1.1 only). HAProxy handles these messages and is able to correctly forward and skip them, and only process the next non-100 response. As such, these messages are neither logged nor transformed, unless explicitly state otherwise. Status 101 messages indicate that the protocol is changing over the same connection and that haproxy must switch to tunnel mode, just as if a CONNECT had occurred. Then the Upgrade header would contain additional information about the type of protocol the connection is switching to. The Response line. Line 1 is the 'response line'.
It is always composed of 3 fields: - a version tag: HTTP/1.1 - a status code: 200 - a reason: OK The status code is always 3-digit. The first digit indicates a general status: - 1xx = informational message to be skipped (eg: 100, 101) - 2xx = OK, content is following (eg: 200, 206) - 3xx = OK, no content following (eg: 302, 304) - 4xx = error caused by the client (eg: 401, 403, 404) - 5xx = error caused by the server (eg: 500, 502, 503) Please refer to RFC2616 for the detailed meaning of all such codes. The 'reason' field is just a hint, but is not parsed by clients.
Anything can be found there, but it's a common practice to respect the well-established messages. It can be composed of one or multiple words, such as 'OK', 'Found', or 'Authentication Required'. HAProxy's configuration introduces a quoting and escaping system similar to many programming languages.
The configuration file supports 3 types: escaping with a backslash, weak quoting with double quotes, and strong quoting with single quotes. If spaces have to be entered in strings, then they must be escaped by preceding them by a backslash (' ') or by quoting them.
Backslashes also have to be escaped by doubling or strong quoting them. Escaping is achieved by preceding a special character by a backslash (' '): to mark a space and differentiate it from a delimiter # to mark a hash and differentiate it from a comment to use a backslash ' to use a single quote and differentiate it from strong quoting ' to use a double quote and differentiate it from weak quoting Weak quoting is achieved by using double quotes (').
Weak quoting prevents the interpretation of: space as a parameter separator ' single quote as a strong quoting delimiter # hash as a comment start Weak quoting permits the interpretation of variables, if you want to use a non -interpreted dollar within a double quoted string, you should escape it with a backslash (' $'), it does not work outside weak quoting. Interpretation of escaping and special characters are not prevented by weak quoting. Strong quoting is achieved by using single quotes ('). Inside single quotes, nothing is interpreted, it's the efficient way to quote regexes. Quoted and escaped strings are replaced in memory by their interpreted equivalent, it allows you to perform concatenation. Some parameters involve values representing time, such as timeouts. These values are generally expressed in milliseconds (unless explicitly stated otherwise) but may be expressed in any other unit by suffixing the unit to the numeric value.
It is important to consider this because it will not be repeated for every keyword. Supported units are: - us: microseconds. 1 microsecond = 1/1000000 second - ms: milliseconds. 1 millisecond = 1/1000 second.
This is the default. s: seconds. 1s = 1000ms - m: minutes.
1m = 60s = 60000ms - h: hours. 1h = 60m = 3600s = 3600000ms - d: days. 1d = 24h = 1440m = 86400s = 86400000ms Examples. # Simple configuration for an HTTP proxy listening on port 80 on all # interfaces and forwarding requests to a single backend 'servers' with a # single server 'server1' listening on 127.0.0.1:8000 global daemon maxconn 256 defaults mode http timeout connect 5000ms timeout client 50000ms timeout server 50000ms frontend http-in bind.:80 defaultbackend servers backend servers server server1 127.0.0.1:8000 maxconn 32 # The same configuration defined with a single listen block.
Shorter but # less expressive, especially in HTTP mode. Global daemon maxconn 256 defaults mode http timeout connect 5000ms timeout client 50000ms timeout server 50000ms listen http-in bind.:80 server server1 127.0.0.1:8000 maxconn 32 Assuming haproxy is in $PATH, test these configurations in a shell with: $ sudo haproxy -f configuration.conf -c. Parameters in the 'global' section are process-wide and often OS-specific. They are generally set once for all and do not need being changed once correct. Some of them have command-line equivalents.
The following keywords are supported in the 'global' section:. Process management and security -. Performance tuning -. Debugging -Process management and security. On Linux 2.6 and above, it is possible to bind a process to a specific CPU set. This means that the process will never run on other CPUs.
The ' directive specifies CPU sets for process sets. The first argument is the process number to bind. This process must have a number between 1 and 32 or 64, depending on the machine's word size, and any process IDs above nbproc are ignored. It is possible to specify all processes at once using 'all', only odd numbers using ' or even numbers using ', just like with the ' directive.
The second and forthcoming arguments are CPU sets. Each CPU set is either a unique number between 0 and 31 or 63 or a range with two such numbers delimited by a dash ('-'). Multiple CPU numbers or ranges may be specified, and the processes will be allowed to bind to all of them. Obviously, multiple ' directives may be specified. Each ' directive will replace the previous ones when they overlap. Changes the process' group ID to.
It is recommended that the group ID is dedicated to HAProxy or to a small set of similar daemons. HAProxy must be started with a user belonging to this group, or with superuser privileges. Note that if haproxy is started from a user having supplementary groups, it will only be able to drop these groups if started with superuser privileges.
See also '. This keyword is available in sections:.
Cs 1.6 Download
' and '. This keyword is available in sections:. '.
len format max level min level Adds a global syslog server. Up to two global servers can be defined. They will receive logs for startups and exits, as well as all logs from proxies configured with '. Can be one of: - An IPv4 address optionally followed by a colon and a UDP port. If no port is specified, 514 is used by default (the standard syslog port).
An IPv6 address followed by a colon and optionally a UDP port. If no port is specified, 514 is used by default (the standard syslog port). A filesystem path to a UNIX domain socket, keeping in mind considerations for chroot (be sure the path is accessible inside the chroot) and uid/gid (be sure the path is appropriately writeable). You may want to reference some environment variables in the address parameter, see about environment variables. Is an optional maximum line length. Log lines larger than this value will be truncated before being sent.
The reason is that syslog servers act differently on log line length. All servers support the default value of 1024, but some servers simply drop larger lines while others do log them. If a server supports long lines, it may make sense to set this value here in order to avoid truncating long lines. Similarly, if a server drops long lines, it is preferable to truncate them before sending them.
Accepted values are 80 to 65535 inclusive. The default value of 1024 is generally fine for all standard usages. Some specific cases of long captures or JSON-formated logs may require larger values. Is the log format used when generating syslog messages. It may be one of the following: rfc3164 The RFC3164 syslog message format. This is the default.
(rfc5424 The RFC5424 syslog message format. ( must be one of the 24 standard syslog facilities: kern user mail daemon auth syslog lpr news uucp cron auth2 ftp ntp audit alert cron2 local0 local1 local2 local3 local4 local5 local6 local7 An optional level can be specified to filter outgoing messages. By default, all messages are sent.
If a maximum level is specified, only messages with a severity at least as important as this level will be sent. An optional minimum level can be specified. If it is set, logs emitted with a more severe level than this one will be capped to this level.
This is used to avoid sending 'emerg' messages on all terminals on some default syslog configurations. Eight levels are known: emerg alert crit err warning notice info debug. all odd even -. Limits the stats socket to a certain set of processes numbers.
By default the stats socket is bound to all processes, causing a warning to be emitted when nbproc is greater than 1 because there is no way to select the target process when connecting. However, by using this setting, it becomes possible to pin the stats socket to a specific set of processes, typically the first one. The warning will automatically be disabled when this setting is used, whatever the number of processes used. The maximum process ID depends on the machine's word size (32 or 64). A better option consists in using the ' setting of the ' line to force the process on each line. Specifies the path to the file containing state of servers. If the path starts with a slash ('/'), it is considered absolute, otherwise it is considered relative to the directory specified using ' (if set) or to the current directory.
Before reloading HAProxy, it is possible to save the servers' current state using the stats command 'show servers state'. The output of this command must be written in the file pointed. When starting up, before handling traffic, HAProxy will read, load and apply state for each server found in the file and available in its current running configuration. See also ' and 'show servers state', ' and '. This setting is only available when support for OpenSSL was built in.
It sets the default DH parameters that are used during the SSL/TLS handshake when ephemeral Diffie-Hellman (DHE) key exchange is used, for all ' lines which do not explicitely define theirs. It will be overridden by custom DH parameters found in a bind certificate file if any. If custom DH parameters are not specified either by using ssl-dh-param-file or by setting them directly in the certificate file, pre-generated DH parameters of the size specified by tune.ssl.default-dh-param will be used.
Custom parameters are known to be more secure and therefore their use is recommended. Custom DH parameters may be generated by using the OpenSSL command 'openssl dhparam ', where size should be at least 2048, as 1024-bit DH parameters should not be considered secure anymore.
prefix mode user uid group gid Fixes common settings to UNIX listening sockets declared in ' statements. This is mainly used to simplify declaration of those UNIX sockets and reduce the risk of errors, since those settings are most commonly required but are also process-specific.
The setting can be used to force all socket path to be relative to that directory. This might be needed to access another component's chroot. Note that those paths are resolved before haproxy chroots itself, so they are absolute. The, and all have the same meaning as their homonyms used by the ' statement. If both are specified, the ' statement has priority, meaning that the ' settings may be seen as process-wide default settings.
By default, haproxy tries to spread the start of health checks across the smallest health check interval of all the servers in a farm. The principle is to avoid hammering services running on the same server. But when using large check intervals (10 seconds or more), the last servers in the farm take some time before starting to be tested, which can be a problem. This parameter is used to enforce an upper bound on delay between the first and the last check, even if the servers' check intervals are larger.
When servers run with shorter intervals, their intervals will be respected though. Sets the maximum per-process number of concurrent connections to. It is equivalent to the command-line argument '-n'. Proxies will stop accepting connections when this limit is reached. The ' parameter is automatically adjusted according to this value. Note: the 'select' poller cannot reliably use more than 1024 file descriptors on some platforms.
If your platform only supports select and reports 'select FAILED' on startup, you need to reduce maxconn until it works (slightly below 500 in general). If this value is not set, it will default to the value set in DEFAULTMAXCONN at build time (reported in haproxy -vv) if no memory limit is enforced, or will be computed based on the memory limit, the buffer size, memory allocated to compression, SSL cache size, and use or not of SSL and the associated maxsslconn (which can also be automatic). Sets the maximum per-process number of connections per second to. Proxies will stop accepting connections when this limit is reached. It can be used to limit the global capacity regardless of each frontend capacity. It is important to note that this can only be used as a service protection measure, as there will not necessarily be a fair share between frontends when the limit is reached, so it's a good idea to also limit each frontend to some value close to its expected share.
Also, lowering tune.maxaccept can improve fairness. Sets the maximum CPU usage HAProxy can reach before stopping the compression for new requests or decreasing the compression level of current requests. It works like 'maxcomprate' but measures CPU usage instead of incoming data bandwidth.
The value is expressed in percent of the CPU used by haproxy. In case of multiple processes (nbproc 1), each process manages its individual usage. A value of 100 disable the limit. The default value is 100.
Setting a lower value will prevent the compression work from slowing the whole process down and from introducing high latencies. Sets the maximum per-process number of sessions per second to. Proxies will stop accepting connections when this limit is reached. It can be used to limit the global capacity regardless of each frontend capacity. It is important to note that this can only be used as a service protection measure, as there will not necessarily be a fair share between frontends when the limit is reached, so it's a good idea to also limit each frontend to some value close to its expected share. Also, lowering tune.maxaccept can improve fairness.
Sets the maximum per-process number of concurrent SSL connections to. By default there is no SSL-specific limit, which means that the global maxconn setting will apply to all connections.
Setting this limit avoids having openssl use too much memory and crash when malloc returns NULL (since it unfortunately does not reliably check for such conditions). Note that the limit applies both to incoming and outgoing connections, so one connection which is deciphered then ciphered accounts for 2 SSL connections. If this value is not set, but a memory limit is enforced, this value will be automatically computed based on the memory limit, maxconn, the buffer size, memory allocated to compression, SSL cache size, and use of SSL in either frontends, backends or both. If neither maxconn nor maxsslconn are specified when there is a memory limit, haproxy will automatically adjust these values so that 100% of the connections can be made over SSL with no risk, and will consider the sides where it is enabled (frontend, backend, both). Sets the maximum per-process number of SSL sessions per second to. SSL listeners will stop accepting connections when this limit is reached.
It can be used to limit the global SSL CPU usage regardless of each frontend capacity. It is important to note that this can only be used as a service protection measure, as there will not necessarily be a fair share between frontends when the limit is reached, so it's a good idea to also limit each frontend to some value close to its expected share. It is also important to note that the sessions are accounted before they enter the SSL stack and not after, which also protects the stack against bad handshakes. Also, lowering tune.maxaccept can improve fairness.
Sets a hard limit on the number of buffers which may be allocated per process. The default value is zero which means unlimited. The minimum non-zero value will always be greater than ' and should ideally always be about twice as large. Forcing this value can be particularly useful to limit the amount of memory a process may take, while retaining a sane behaviour.
When this limit is reached, sessions which need a buffer wait for another one to be released by another session. Since buffers are dynamically allocated and released, the waiting time is very short and not perceptible provided that limits remain reasonable. In fact sometimes reducing the limit may even increase performance by increasing the CPU cache's efficiency. Tests have shown good results on average HTTP traffic with a limit to 1/10 of the expected global maxconn setting, which also significantly reduces memory usage. The memory savings come from the fact that a number of connections will not allocate 2.tune.bufsize. It is best not to touch this value unless advised to do so by an haproxy core developer.
Sets the buffer size to this size (in bytes). Lower values allow more sessions to coexist in the same amount of RAM, and higher values allow some applications with very large cookies to work. The default value is 16384 and can be changed at build time. It is strongly recommended not to change this from the default value, as very low values will break some services such as statistics, and values larger than default size will increase memory usage, possibly causing the system to run out of memory. At least the global maxconn parameter should be decreased by the same factor as this one is increased. If HTTP request is larger than (tune.bufsize - tune.maxrewrite), haproxy will return HTTP 400 (Bad Request) error.
Similarly if an HTTP response is larger than this size, haproxy will return HTTP 502 (Bad Gateway). Sets the maximum length of captured cookies. This is the maximum value that the 'capture cookie xxx len yyy' will be allowed to take, and any upper value will automatically be truncated to this one. It is important not to set too high a value because all cookie captures still allocate this size whatever their configured value (they share a same pool).
This value is per request per response, so the memory allocated is twice this value per connection. When not specified, the limit is set to 63 characters. It is recommended not to change this value. Sets the maximum number of headers in a request. When a request comes with a number of headers greater than this value (including the first line), it is rejected with a '400 Bad Request' status code.
Similarly, too large responses are blocked with '502 Bad Gateway'. The default value is 101, which is enough for all usages, considering that the widely deployed Apache server uses the same limit. It can be useful to push this limit further to temporarily allow a buggy application to work by the time it gets fixed. Keep in mind that each new header consumes 32bits of memory for each session, so don't push this limit too high. Sets the duration after which haproxy will consider that an empty buffer is probably associated with an idle stream. This is used to optimally adjust some packet sizes while forwarding large and small data alternatively.
The decision to use splice or to send large buffers in SSL is modulated by this parameter. The value is in milliseconds between 0 and 65535. A value of zero means that haproxy will not try to detect idle streams. The default is 1000, which seems to correctly detect end user pauses (eg: read a page before clicking). There should be not reason for changing this value.
Please check tune.ssl.maxrecord below. This directive forces the Lua engine to execute a yield each of instructions executed. This permits interruptng a long script and allows the HAProxy scheduler to process other tasks like accepting connections or forwarding traffic. The default value is 10000 instructions. If HAProxy often executes some Lua code but more reactivity is required, this value can be lowered. If the Lua code is quite long and its result is absolutely required to process the data, the can be increased.
Sets the maximum number of consecutive connections a process may accept in a row before switching to other work. In single process mode, higher numbers give better performance at high connection rates. However in multi-process modes, keeping a bit of fairness between processes generally is better to increase performance. This value applies individually to each listener, so that the number of processes a listener is bound to is taken into account.
Cs 1.6 Servers
This value defaults to 64. In multi-process mode, it is divided by twice the number of processes the listener is bound to. Setting this value to -1 completely disables the limitation. It should normally not be needed to tweak this value. Sets the reserved buffer space to this size in bytes. The reserved space is used for header rewriting or appending.
The first reads on sockets will never fill more than bufsize-maxrewrite. Historically it has defaulted to half of bufsize, though that does not make much sense since there are rarely large numbers of headers to add. Setting it too high prevents processing of large requests or responses. Setting it too low prevents addition of new headers to already large requests or to POST requests.
It is generally wise to set it to about 1024. It is automatically readjusted to half of bufsize if it is larger than that. This means you don't have to worry about it when changing bufsize. Sets the size of the pattern lookup cache to entries.
This is an LRU cache which reminds previous lookups and their results. It is used by ACLs and maps on slow pattern lookups, namely the ones using the ', 'reg', 'dir', 'dom', 'end', ' match methods as well as the case-insensitive strings. It applies to pattern expressions which means that it will be able to memorize the result of a lookup among all the patterns specified on a configuration line (including all those loaded from files). It automatically invalidates entries which are updated using HTTP actions or on the CLI.
The default cache size is set to 10000 entries, which limits its footprint to about 5 MB on 32-bit systems and 8 MB on 64-bit systems. There is a very low risk of collision in this cache, which is in the order of the size of the cache divided by 2^64. Typically, at 10000 requests per second with the default cache size of 10000 entries, there's 1% chance that a brute force attack could cause a single collision after 60 years, or 0.1% after 6 years. This is considered much lower than the risk of a memory corruption caused by aging components.
If this is not acceptable, the cache can be disabled by setting this parameter to 0. Forces the kernel socket receive buffer size on the client or the server side to the specified value in bytes. This value applies to all TCP/HTTP frontends and backends. It should normally never be set, and the default size (0) lets the kernel autotune this value depending on the amount of available memory. However it can sometimes help to set it to very low values (eg: 4096) in order to save kernel memory by preventing it from buffering too large amounts of received data.
Lower values will significantly increase CPU usage though. Forces the kernel socket send buffer size on the client or the server side to the specified value in bytes. This value applies to all TCP/HTTP frontends and backends.
It should normally never be set, and the default size (0) lets the kernel autotune this value depending on the amount of available memory. However it can sometimes help to set it to very low values (eg: 4096) in order to save kernel memory by preventing it from buffering too large amounts of received data. Lower values will significantly increase CPU usage though. Another use case is to prevent write timeouts with extremely slow clients due to the kernel waiting for a large part of the buffer to be read before notifying haproxy again. Sets the size of the global SSL session cache, in a number of blocks.
A block is large enough to contain an encoded session without peer certificate. An encoded session with peer certificate is stored in multiple blocks depending on the size of the peer certificate. A block uses approximately 200 bytes of memory. The default value may be forced at build time, otherwise defaults to 20000. When the cache is full, the most idle entries are purged and reassigned. Higher values reduce the occurrence of such a purge, hence the number of CPU-intensive SSL handshakes by ensuring that all users keep their session as long as possible.
All entries are pre-allocated upon startup and are shared between all processes if '. This keyword is available in sections:. ' is greater than 1. Setting this value to 0 disables the SSL session cache. Sets the maximum amount of bytes passed to SSLwrite at a time. Default value 0 means there is no limit.
Over SSL/TLS, the client can decipher the data only once it has received a full record. With large records, it means that clients might have to download up to 16kB of data before starting to process them. Limiting the value can improve page load times on browsers located over high latency or low bandwidth networks.
It is suggested to find optimal values which fit into 1 or 2 TCP segments (generally 1448 bytes over Ethernet with TCP timestamps enabled, or 1460 when timestamps are disabled), keeping in mind that SSL/TLS add some overhead. Typical values of 1419 and 2859 gave good results during tests. Use 'strace -e trace=write' to find the best value. Haproxy will automatically switch to this setting after an idle stream has been detected (see tune.idletimer above). Sets the maximum size of the Diffie-Hellman parameters used for generating the ephemeral/temporary Diffie-Hellman key in case of DHE key exchange.
The final size will try to match the size of the server's RSA (or DSA) key (e.g, a 2048 bits temporary DH key for a 2048 bits RSA key), but will not exceed this maximum value. Default value if 1024. Only 1024 or higher values are allowed. Higher values will increase the CPU load, and values greater than 1024 bits are not supported by Java 7 and earlier clients. This value is not used if static Diffie-Hellman parameters are supplied either directly in the certificate file or by using the ssl-dh-param-file parameter.
(65.01 KB) Gproxy 1 26 Custom By Xan Gregor Source title: Gproxy 1 7 3 (2.4 Mb) Mediafire Download (2.63 MB) BIOS Acer 1 26 A A Ad (2.37 MB) GProxy 1 7 3 Source title: Gproxy 1 7 3 (2.4 Mb) Mediafire Download (5.51 MB) (26 70 1) Shoara'a 191 220 (1.25 MB) a culfw 1 26 01 build 272 (84.25 MB) 26 A Verdade, Nada Mais Que a Verdade (216.26 KB) 26 1 26 (5.84 MB) A Tumba de Dracula v1 26 A Estatueta da Morte 31JAN10 Bau da Marvel (2.62 KB) 1 1 26 1 Base (4.46 MB) 1 1 26 1 dll file Also try:,.