No Description

0022-DOC-minor-fix-on-sc-src-_kbytes_-in-out.patch 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. From 911780c5f0e20760164cb0f9b92318185651237c Mon Sep 17 00:00:00 2001
  2. From: Willy Tarreau <w@1wt.eu>
  3. Date: Thu, 10 Jul 2014 15:29:24 +0200
  4. Subject: [PATCH 22/25] DOC: minor fix on {sc,src}_kbytes_{in,out}
  5. These ones report total amount of bytes, not byte rates.
  6. This fix should be backported into 1.5 which has the same error.
  7. (cherry picked from commit a01b974d5f5a067d99f288dcb3e05b78fe780a76)
  8. ---
  9. doc/configuration.txt | 35 ++++++++++++++++-------------------
  10. 1 file changed, 16 insertions(+), 19 deletions(-)
  11. diff --git a/doc/configuration.txt b/doc/configuration.txt
  12. index 8407500..b6d1b3b 100644
  13. --- a/doc/configuration.txt
  14. +++ b/doc/configuration.txt
  15. @@ -10386,19 +10386,17 @@ sc_kbytes_in(<ctr>[,<table>]) : integer
  16. sc0_kbytes_in([<table>]) : integer
  17. sc1_kbytes_in([<table>]) : integer
  18. sc2_kbytes_in([<table>]) : integer
  19. - Returns the amount of client-to-server data from the currently tracked
  20. - counters, measured in kilobytes over the period configured in the table. The
  21. - test is currently performed on 32-bit integers, which limits values to 4
  22. - terabytes. See also src_kbytes_in.
  23. + Returns the total amount of client-to-server data from the currently tracked
  24. + counters, measured in kilobytes. The test is currently performed on 32-bit
  25. + integers, which limits values to 4 terabytes. See also src_kbytes_in.
  26. sc_kbytes_out(<ctr>[,<table>]) : integer
  27. sc0_kbytes_out([<table>]) : integer
  28. sc1_kbytes_out([<table>]) : integer
  29. sc2_kbytes_out([<table>]) : integer
  30. - Returns the amount of server-to-client data from the currently tracked
  31. - counters, measured in kilobytes over the period configured in the table. The
  32. - test is currently performed on 32-bit integers, which limits values to 4
  33. - terabytes. See also src_kbytes_out.
  34. + Returns the total amount of server-to-client data from the currently tracked
  35. + counters, measured in kilobytes. The test is currently performed on 32-bit
  36. + integers, which limits values to 4 terabytes. See also src_kbytes_out.
  37. sc_sess_cnt(<ctr>[,<table>]) : integer
  38. sc0_sess_cnt([<table>]) : integer
  39. @@ -10562,19 +10560,18 @@ src_inc_gpc0([<table>]) : integer
  40. tcp-request connection reject if abuse kill
  41. src_kbytes_in([<table>]) : integer
  42. - Returns the amount of data received from the incoming connection's source
  43. - address in the current proxy's stick-table or in the designated stick-table,
  44. - measured in kilobytes over the period configured in the table. If the address
  45. - is not found, zero is returned. The test is currently performed on 32-bit
  46. - integers, which limits values to 4 terabytes. See also
  47. - sc/sc0/sc1/sc2_kbytes_in.
  48. + Returns the total amount of data received from the incoming connection's
  49. + source address in the current proxy's stick-table or in the designated
  50. + stick-table, measured in kilobytes. If the address is not found, zero is
  51. + returned. The test is currently performed on 32-bit integers, which limits
  52. + values to 4 terabytes. See also sc/sc0/sc1/sc2_kbytes_in.
  53. src_kbytes_out([<table>]) : integer
  54. - Returns the amount of data sent to the incoming connection's source address
  55. - in the current proxy's stick-table or in the designated stick-table, measured
  56. - in kilobytes over the period configured in the table. If the address is not
  57. - found, zero is returned. The test is currently performed on 32-bit integers,
  58. - which limits values to 4 terabytes. See also sc/sc0/sc1/sc2_kbytes_out.
  59. + Returns the total amount of data sent to the incoming connection's source
  60. + address in the current proxy's stick-table or in the designated stick-table,
  61. + measured in kilobytes. If the address is not found, zero is returned. The
  62. + test is currently performed on 32-bit integers, which limits values to 4
  63. + terabytes. See also sc/sc0/sc1/sc2_kbytes_out.
  64. src_port : integer
  65. Returns an integer value corresponding to the TCP source port of the
  66. --
  67. 1.8.5.5