diff --git a/embedded_spec.go b/embedded_spec.go index 8bf413e8..414d9cb5 100644 --- a/embedded_spec.go +++ b/embedded_spec.go @@ -20261,6 +20261,9 @@ func init() { "pattern": "^[^\\s]+$", "x-display-name": "Group" }, + "h1_accept_payload_with_any_method": { + "type": "boolean" + }, "h1_case_adjust": { "type": "array", "items": { @@ -20285,6 +20288,9 @@ func init() { "h1_case_adjust_file": { "type": "string" }, + "h1_do_not_close_on_insecure_transfer_encoding": { + "type": "boolean" + }, "h2_workaround_bogus_websocket_clients": { "type": "boolean" }, @@ -22759,6 +22765,18 @@ func init() { "x-display-name": "Return Error Code", "x-nullable": true }, + "rst_ttl": { + "type": "integer", + "x-dependency": { + "type": { + "required": true, + "value": [ + "silent-drop" + ] + } + }, + "x-display-name": "RST TTL" + }, "sc_expr": { "type": "string", "x-dependency": { @@ -23584,6 +23602,18 @@ func init() { "x-display-name": "Return Error Code", "x-nullable": true }, + "rst_ttl": { + "type": "integer", + "x-dependency": { + "type": { + "required": true, + "value": [ + "silent-drop" + ] + } + }, + "x-display-name": "RST TTL" + }, "sc_expr": { "type": "string", "x-dependency": { @@ -24872,6 +24902,13 @@ func init() { }, "x-nullable": true }, + "last_agt": { + "type": "string", + "x-dependency": { + "type": "server" + }, + "x-nullable": true + }, "last_chk": { "type": "string", "x-dependency": { @@ -28500,10 +28537,12 @@ func init() { "type": "string", "enum": [ "accept", + "attach-srv", "capture", "do-resolve", "expect-netscaler-cip", "expect-proxy", + "lua", "reject", "sc-add-gpc", "sc-inc-gpc", @@ -28511,27 +28550,31 @@ func init() { "sc-inc-gpc1", "sc-set-gpt0", "send-spoe-group", + "set-bandwidth-limit", + "set-bc-mark", + "set-bc-tos", "set-dst-port", "set-dst", - "set-priority", + "set-fc-mark", + "set-fc-tos", + "set-log-level", + "set-mark", + "set-nice", + "set-priority-class", + "set-priority-offset", "set-src", + "set-src-port", + "set-tos", "set-var", + "set-var-fmt", "silent-drop", + "switch-mode", "track-sc0", "track-sc1", "track-sc2", "track-sc", "unset-var", - "use-service", - "lua", - "set-bandwidth-limit", - "set-src-port", - "set-mark", - "set-tos", - "set-var-fmt", - "set-log-level", - "set-nice", - "switch-mode" + "use-service" ], "x-dependency": { "type": { @@ -28662,12 +28705,17 @@ func init() { "required": true, "value": [ "do-resolve", - "set-var", - "set-src", - "set-priority", + "set-bc-mark", + "set-bc-tos", "set-dst", "set-dst-port", - "set-src-port" + "set-fc-mark", + "set-fc-tos", + "set-priority-class", + "set-priority-offset", + "set-src", + "set-src-port", + "set-var" ] }, "type": { @@ -28790,24 +28838,6 @@ func init() { "x-display-name": "Nice Value", "x-nullable": false }, - "priority_type": { - "type": "string", - "enum": [ - "class", - "offset" - ], - "x-dependency": { - "action": { - "required": true, - "value": "set-priority" - }, - "type": { - "value": [ - "content" - ] - } - } - }, "resolve_protocol": { "type": "string", "enum": [ @@ -28860,6 +28890,18 @@ func init() { }, "x-display-name": "Variable name" }, + "rst_ttl": { + "type": "integer", + "x-dependency": { + "type": { + "required": true, + "value": [ + "silent-drop" + ] + } + }, + "x-display-name": "RST TTL" + }, "sc_idx": { "type": "string", "x-dependency": { @@ -29168,20 +29210,24 @@ func init() { "type": "string", "enum": [ "accept", - "reject", - "lua", - "set-bandwidth-limit", "close", + "lua", + "reject", "sc-add-gpc", "sc-inc-gpc", "sc-inc-gpc0", "sc-inc-gpc1", "sc-set-gpt0", "send-spoe-group", + "set-bandwidth-limit", + "set-fc-mark", + "set-fc-tos", "set-log-level", "set-mark", "set-nice", "set-tos", + "set-var", + "set-var-fmt", "silent-drop", "unset-var" ], @@ -29358,6 +29404,18 @@ func init() { "x-display-name": "Nice Value", "x-nullable": false }, + "rst_ttl": { + "type": "integer", + "x-dependency": { + "type": { + "required": true, + "value": [ + "silent-drop" + ] + } + }, + "x-display-name": "RST TTL" + }, "sc_expr": { "type": "string", "x-dependency": { @@ -29484,6 +29542,19 @@ func init() { ], "x-nullable": false }, + "var_format": { + "type": "string", + "x-dependency": { + "action": { + "required": true, + "value": "set-var-fmt" + }, + "type": { + "value": "content" + } + }, + "x-display-name": "Var Format" + }, "var_name": { "type": "string", "pattern": "^[^\\s]+$", @@ -58876,6 +58947,9 @@ func init() { "pattern": "^[^\\s]+$", "x-display-name": "Group" }, + "h1_accept_payload_with_any_method": { + "type": "boolean" + }, "h1_case_adjust": { "type": "array", "items": { @@ -58887,6 +58961,9 @@ func init() { "h1_case_adjust_file": { "type": "string" }, + "h1_do_not_close_on_insecure_transfer_encoding": { + "type": "boolean" + }, "h2_workaround_bogus_websocket_clients": { "type": "boolean" }, @@ -61229,6 +61306,18 @@ func init() { "x-display-name": "Return Error Code", "x-nullable": true }, + "rst_ttl": { + "type": "integer", + "x-dependency": { + "type": { + "required": true, + "value": [ + "silent-drop" + ] + } + }, + "x-display-name": "RST TTL" + }, "sc_expr": { "type": "string", "x-dependency": { @@ -62054,6 +62143,18 @@ func init() { "x-display-name": "Return Error Code", "x-nullable": true }, + "rst_ttl": { + "type": "integer", + "x-dependency": { + "type": { + "required": true, + "value": [ + "silent-drop" + ] + } + }, + "x-display-name": "RST TTL" + }, "sc_expr": { "type": "string", "x-dependency": { @@ -63343,6 +63444,13 @@ func init() { }, "x-nullable": true }, + "last_agt": { + "type": "string", + "x-dependency": { + "type": "server" + }, + "x-nullable": true + }, "last_chk": { "type": "string", "x-dependency": { @@ -66865,10 +66973,12 @@ func init() { "type": "string", "enum": [ "accept", + "attach-srv", "capture", "do-resolve", "expect-netscaler-cip", "expect-proxy", + "lua", "reject", "sc-add-gpc", "sc-inc-gpc", @@ -66876,27 +66986,31 @@ func init() { "sc-inc-gpc1", "sc-set-gpt0", "send-spoe-group", + "set-bandwidth-limit", + "set-bc-mark", + "set-bc-tos", "set-dst-port", "set-dst", - "set-priority", + "set-fc-mark", + "set-fc-tos", + "set-log-level", + "set-mark", + "set-nice", + "set-priority-class", + "set-priority-offset", "set-src", + "set-src-port", + "set-tos", "set-var", + "set-var-fmt", "silent-drop", + "switch-mode", "track-sc0", "track-sc1", "track-sc2", "track-sc", "unset-var", - "use-service", - "lua", - "set-bandwidth-limit", - "set-src-port", - "set-mark", - "set-tos", - "set-var-fmt", - "set-log-level", - "set-nice", - "switch-mode" + "use-service" ], "x-dependency": { "type": { @@ -67027,12 +67141,17 @@ func init() { "required": true, "value": [ "do-resolve", - "set-var", - "set-src", - "set-priority", + "set-bc-mark", + "set-bc-tos", "set-dst", "set-dst-port", - "set-src-port" + "set-fc-mark", + "set-fc-tos", + "set-priority-class", + "set-priority-offset", + "set-src", + "set-src-port", + "set-var" ] }, "type": { @@ -67155,24 +67274,6 @@ func init() { "x-display-name": "Nice Value", "x-nullable": false }, - "priority_type": { - "type": "string", - "enum": [ - "class", - "offset" - ], - "x-dependency": { - "action": { - "required": true, - "value": "set-priority" - }, - "type": { - "value": [ - "content" - ] - } - } - }, "resolve_protocol": { "type": "string", "enum": [ @@ -67225,6 +67326,18 @@ func init() { }, "x-display-name": "Variable name" }, + "rst_ttl": { + "type": "integer", + "x-dependency": { + "type": { + "required": true, + "value": [ + "silent-drop" + ] + } + }, + "x-display-name": "RST TTL" + }, "sc_idx": { "type": "string", "x-dependency": { @@ -67533,20 +67646,24 @@ func init() { "type": "string", "enum": [ "accept", - "reject", - "lua", - "set-bandwidth-limit", "close", + "lua", + "reject", "sc-add-gpc", "sc-inc-gpc", "sc-inc-gpc0", "sc-inc-gpc1", "sc-set-gpt0", "send-spoe-group", + "set-bandwidth-limit", + "set-fc-mark", + "set-fc-tos", "set-log-level", "set-mark", "set-nice", "set-tos", + "set-var", + "set-var-fmt", "silent-drop", "unset-var" ], @@ -67723,6 +67840,18 @@ func init() { "x-display-name": "Nice Value", "x-nullable": false }, + "rst_ttl": { + "type": "integer", + "x-dependency": { + "type": { + "required": true, + "value": [ + "silent-drop" + ] + } + }, + "x-display-name": "RST TTL" + }, "sc_expr": { "type": "string", "x-dependency": { @@ -67849,6 +67978,19 @@ func init() { ], "x-nullable": false }, + "var_format": { + "type": "string", + "x-dependency": { + "action": { + "required": true, + "value": "set-var-fmt" + }, + "type": { + "value": "content" + } + }, + "x-display-name": "Var Format" + }, "var_name": { "type": "string", "pattern": "^[^\\s]+$", diff --git a/go.mod b/go.mod index fe3e36c6..7bced76d 100644 --- a/go.mod +++ b/go.mod @@ -22,8 +22,8 @@ require ( github.com/go-openapi/validate v0.24.0 github.com/google/renameio v1.0.1 github.com/google/uuid v1.6.0 - github.com/haproxytech/client-native/v5 v5.0.10 - github.com/haproxytech/config-parser/v5 v5.1.4 + github.com/haproxytech/client-native/v5 v5.0.12 + github.com/haproxytech/config-parser/v5 v5.1.6 github.com/jessevdk/go-flags v1.6.1 github.com/json-iterator/go v1.1.12 github.com/lestrrat-go/apache-logformat v0.0.0-20210106032603-24d066f940f8 @@ -34,7 +34,7 @@ require ( github.com/sirupsen/logrus v1.9.3 github.com/stretchr/testify v1.9.0 golang.org/x/net v0.26.0 - golang.org/x/sys v0.22.0 + golang.org/x/sys v0.25.0 gopkg.in/yaml.v2 v2.4.0 ) @@ -57,7 +57,7 @@ require ( github.com/go-openapi/analysis v0.23.0 // indirect github.com/go-openapi/jsonpointer v0.21.0 // indirect github.com/go-openapi/jsonreference v0.21.0 // indirect - github.com/gofrs/flock v0.12.0 // indirect + github.com/gofrs/flock v0.12.1 // indirect github.com/google/go-cmp v0.6.0 // indirect github.com/haproxytech/go-logger v1.1.0 // indirect github.com/invopop/yaml v0.3.1 // indirect @@ -78,7 +78,7 @@ require ( github.com/tklauser/go-sysconf v0.3.14 // indirect github.com/tklauser/numcpus v0.8.0 // indirect github.com/yusufpapurcu/wmi v1.2.4 // indirect - go.mongodb.org/mongo-driver v1.16.0 // indirect + go.mongodb.org/mongo-driver v1.16.1 // indirect golang.org/x/sync v0.7.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index 2681b80b..5a2f6252 100644 --- a/go.sum +++ b/go.sum @@ -72,8 +72,8 @@ github.com/go-openapi/validate v0.24.0 h1:LdfDKwNbpB6Vn40xhTdNZAnfLECL81w+VX3Bum github.com/go-openapi/validate v0.24.0/go.mod h1:iyeX1sEufmv3nPbBdX3ieNviWnOZaJ1+zquzJEf2BAQ= github.com/go-test/deep v1.0.8 h1:TDsG77qcSprGbC6vTN8OuXp5g+J+b5Pcguhf7Zt61VM= github.com/go-test/deep v1.0.8/go.mod h1:5C2ZWiW0ErCdrYzpqxLbTX7MG14M9iiw8DgHncVwcsE= -github.com/gofrs/flock v0.12.0 h1:xHW8t8GPAiGtqz7KxiSqfOEXwpOaqhpYZrTE2MQBgXY= -github.com/gofrs/flock v0.12.0/go.mod h1:FirDy1Ing0mI2+kB6wk+vyyAH+e6xiE+EYA0jnzV9jc= +github.com/gofrs/flock v0.12.1 h1:MTLVXXHf8ekldpJk3AKicLij9MdwOWkZ+a/jHHZby9E= +github.com/gofrs/flock v0.12.1/go.mod h1:9zxTsyu5xtJ9DK+1tFZyibEV7y3uwDxPPfbxeeHCoD0= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= @@ -81,10 +81,10 @@ github.com/google/renameio v1.0.1 h1:Lh/jXZmvZxb0BBeSY5VKEfidcbcbenKjZFzM/q0fSeU github.com/google/renameio v1.0.1/go.mod h1:t/HQoYBZSsWSNK35C6CO/TpPLDVWvxOHboWUAweKUpk= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/haproxytech/client-native/v5 v5.0.10 h1:s2TdOTFkIlfHYXdXjctjEY4EhXAq0cgpr/BuCHfrUs4= -github.com/haproxytech/client-native/v5 v5.0.10/go.mod h1:p7jSrCliBRSf13jCIv/HMhxpcDQYxqQJgThOu4oKX8Y= -github.com/haproxytech/config-parser/v5 v5.1.4 h1:TArFSuRpYlmTanZjt3nVe7lNcPw+pXmth8tLW72ENeM= -github.com/haproxytech/config-parser/v5 v5.1.4/go.mod h1:16+1AbS+AvMZkDScIhergz2dqecQuEmjwV4Xt5ncS9s= +github.com/haproxytech/client-native/v5 v5.0.12 h1:JDB2VOvdsQeEOaF6zMwIG5MWS7xK46EkI2LfOqckPX8= +github.com/haproxytech/client-native/v5 v5.0.12/go.mod h1:zOUbyZvx+YdvyJVE8KSuRaDl95bR17JE/RkVAEVA9Ac= +github.com/haproxytech/config-parser/v5 v5.1.6 h1:64KHffpOGoyjFuMmq9dLOvcRCEzg/2GAnPwhmue1uVY= +github.com/haproxytech/config-parser/v5 v5.1.6/go.mod h1:16+1AbS+AvMZkDScIhergz2dqecQuEmjwV4Xt5ncS9s= github.com/haproxytech/go-logger v1.1.0 h1:HgGtYaI1ApkvbQdsm7f9AzQQoxTB7w37criTflh7IQE= github.com/haproxytech/go-logger v1.1.0/go.mod h1:OekUd8HCb7ubxMplzHUPBTHNxZmddOWfOjWclZsqIeM= github.com/invopop/yaml v0.3.1 h1:f0+ZpmhfBSS4MhG+4HYseMdJhoeeopbSKbq5Rpeelso= @@ -159,8 +159,8 @@ github.com/ugorji/go/codec v1.2.7 h1:YPXUKf7fYbp/y8xloBqZOw2qaVggbfwMlI8WM3wZUJ0 github.com/ugorji/go/codec v1.2.7/go.mod h1:WGN1fab3R1fzQlVQTkfxVtIBhWDRqOviHU95kRgeqEY= github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0= github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= -go.mongodb.org/mongo-driver v1.16.0 h1:tpRsfBJMROVHKpdGyc1BBEzzjDUWjItxbVSZ8Ls4BQ4= -go.mongodb.org/mongo-driver v1.16.0/go.mod h1:oB6AhJQvFQL4LEHyXi6aJzQJtBiTQHiAd83l0GdFaiw= +go.mongodb.org/mongo-driver v1.16.1 h1:rIVLL3q0IHM39dvE+z2ulZLp9ENZKThVfuvN/IiN4l8= +go.mongodb.org/mongo-driver v1.16.1/go.mod h1:oB6AhJQvFQL4LEHyXi6aJzQJtBiTQHiAd83l0GdFaiw= golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ= golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= @@ -168,8 +168,8 @@ golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI= -golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34= +golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=