frostfs-http-gw/tests/fuzzing/dict.txt
Roman Ognev 8f416c9716
Some checks failed
/ DCO (pull_request) Failing after 59s
/ Builds (1.22) (pull_request) Successful in 1m26s
/ Builds (1.23) (pull_request) Successful in 1m23s
/ Vulncheck (pull_request) Successful in 1m37s
/ Lint (pull_request) Successful in 2m53s
/ Tests (1.22) (pull_request) Successful in 1m40s
/ Tests (1.23) (pull_request) Successful in 1m40s
[OBJECT-8668] Add fuzzing tests for handlers
Signed-off-by: Roman Ognev <r.ognev@yadro.com>
2024-08-30 09:27:29 +00:00

709 lines
16 KiB
Text

" "
"()<>@,;:\\\\\\"
"-"
"--"
"."
"/"
"\\"
"_"
".0."
":0"
"0"
"0.0.0.0:8080"
".0.address"
".0.priority"
".0.weight"
"100"
"101"
"102"
"103"
"1.2.7"
"1.3.0"
"1d"
"1dd37fba80fec4e6a6f13fd708d8dcb3b29def768017052f6c930fa1c5d90bbb"
"24h"
"-5h"
"abc"
"access denied"
"Access Denied"
"actual"
"add attribute to result object"
"added path /get_by_attribute/{cid}/{attr_key}/{attr_val:*}"
"added path /get/{cid}/{oid}"
"added path /upload/{cid}"
"added path /zip/{cid}/{prefix}"
"added storage peer"
".address"
"address"
"addresses to listen"
"add server"
"aio"
"aio container started"
"all nodes represent a secondary object"
"allocs"
"application/json; charset=UTF-8"
"application/zip"
"app_name"
"archive/zip"
"attachment"
"attachment; filename=\\"
"attr_key"
"attr_val"
"Authorization"
"Average request duration (in milliseconds) for specific method on node in pool"
"avg_request_duration"
"bad base64 cookie"
"bad base64 header"
"bad cookie, but good header"
"bad header and cookie"
"bad header, but good cookie"
"Bar"
"bare"
"Bearer "
"Bearer"
"block"
"both deprecated and new system attributes formats are used, please use only one"
"--boundary"
"--boundary--"
"boundary"
"bucket"
"bucket cid"
"bucket name"
"bucketname"
"bufio"
"build zap logger instance: %v"
"b.yadro.com/obj/go-118-fuzz-build/testing"
"bytes"
"cache.buckets.lifetime"
"cache.buckets.size"
"cannot load TLS key pair from certFile '%s' and keyFile '%s': %w"
"can't base64-decode bearer token"
"can't base64-decode bearer token: %w"
"can't gracefully shut down service, force stop"
"can't shut down service"
"can't unmarshal bearer token"
"can't unmarshal bearer token: %w"
"CERTIFICATE"
"cert.pem"
"cert provider: disabled"
"cid"
"close temporary multipart/form file"
"close zip writer"
"commandline"
"config"
"config-dir"
"config dir path"
"config paths"
"connect_timeout"
"console"
"constant_labels,omitempty"
"container_id"
"container not found %s"
"container resolver will be disabled because of resolvers 'resolver_order' is empty"
"Content-Disposition"
"content of file"
"content of file1"
"content of file2"
"Content-Transfer-Encoding"
"Content-Transfer-Encoding: quoted-printable"
"Content-Type"
"context"
"__context_bearer_token_key"
"cookie token unmarshal error"
"copy object payload to zip file: %v"
"could not detect Content-Type from payload"
"could not detect Content-Type from payload: "
"could not dial nns: %w"
"could not encode response"
"could not fetch and store bearer token"
"could not fetch and store bearer token: "
"could not fetch bearer token"
"could not get bucket"
"could not get bucket: "
"could not load FrostFS private key"
"could not parse client time"
"could not prepare expiration header"
"could not prepare expiration header: "
"could not prepare listener: %w"
"could not process headers"
"could not receive multipart/form"
"could not receive multipart/form: "
"could not receive object"
"could not search for objects"
"could not search for objects: "
"could not store file in frostfs"
"could not unescape attr_key: "
"could not unescape attr_val: "
"could not unescape prefix: "
"couldn't decrypt account: %w"
"couldn't find wallet account for %s"
"couldn't get epoch durations from network info: %w"
"couldn't get namespace from context"
"couldn't parse creation date"
"couldn't parse value %s of header %s"
"couldn't put bucket info into cache"
"couldn't read password"
"couldn't resolve container '%s' as '%s': %w"
"couldn't resolve container '%s': %w"
"create_session"
"crypto/rand"
"crypto/rsa"
"crypto/sha256"
"crypto/tls"
"crypto/x509"
"crypto/x509/pkix"
"current_errors"
"Current HTTP gateway state"
"custom"
"data"
"data to return"
"Date header"
"debug"
"/debug/pprof/"
"/debug/pprof/cmdline"
"/debug/pprof/profile"
"/debug/pprof/symbol"
"/debug/pprof/trace"
"default"
"Default environments:"
"delete_container"
"delete_object"
"dev"
"dGVzdAo="
"dns"
"download"
"duplicate address"
"duplicate keys error"
"duplicate system keys error"
"elapsed"
"empty"
"enable pprof"
"enable prometheus"
"encoding/base64"
"encoding/hex"
"encoding/json"
"encoding/pem"
"endpoint"
"endpoint_info"
"Enter password > "
"EpochDuration is empty"
"error_detail"
"errors"
"expected"
"EXPIRATION_DURATION"
"EXPIRATION_EPOCH"
"expiration epoch '%d' must be greater than current epoch '%d'"
"EXPIRATION_RFC3339"
"EXPIRATION_TIMESTAMP"
"failed to add object to archive"
"failed to add server"
"failed to create connection pool"
"failed to create resolver"
"failed to create tree pool"
"failed to dial connection pool"
"failed to dial tree pool"
"failed to initialize tracing"
"failed to reconnect server"
"failed to reload config"
"failed to reload config because it's missed"
"failed to reload server parameters"
"failed to shutdown tracing"
"failed to unescape query"
"failed to update cert (listener close: %v): %w"
"failed to update resolvers"
"failed to update tls certs: %w"
"file"
"; filename="
"filename"
"FileName"
"File to export http gateway metrics to."
"first-value"
"first_value"
"flag"
"flag 'out' must be provided to dump metrics description"
"flush zip writer: %v"
"fmt"
"--foo"
"Foo"
"--foobar"
"foo-bar"
"Foo-Bar"
"foo.txt"
"form"
"form-data"
"found empty bearer token"
"friendly"
"FrostFS"
"frostfs.buffer_max_size_for_put"
"frostfs.client_cut"
"FrostFS HTTP Gateway\\nVersion: %s\\nGoVersion: %s\\n"
"FrostFS HTTP Gateway %s\\n"
"frostfs-http-gw"
"frostfs_http_gw"
"FrostFS nodes"
"frostfs.tree_pool_max_attempts"
"frost-http-gw"
"gateway timeout"
"/get/"
"get"
"GET"
"get_balance"
"/get_by_attribute/"
"get by attribute "
"get by attribute"
"/get_by_attribute/{cid}/{attr_key}/{attr_val:*}"
"/get/{cid}/{oid:*}"
"get_container"
"get_container_eacl"
"get frostfs container '%s': %w"
"get FrostFS object: %v"
"get latest object version"
"get_object"
"get zip "
"git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/container"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/internal/api"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/internal/api/layer"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/internal/cache"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/internal/data"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/internal/frostfs"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/internal/frostfs/services"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/internal/handler"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/internal/handler/middleware"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/internal/handler/multipart"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/internal/logs"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/metrics"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/resolver"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/response"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/tokens"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/tree"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/utils"
"git.frostfs.info/TrueCloudLab/frostfs-observability/tracing"
"git.frostfs.info/TrueCloudLab/frostfs-observability/tracing/grpc"
"git.frostfs.info/TrueCloudLab/frostfs-s3-gw/api"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/bearer"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/checksum"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/client/status"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/acl"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id/test"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/eacl"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/netmap"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/ns"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/pool"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/pool/tree"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/pool/tree/service"
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/user"
"git.frostfs.info/TrueCloudLab/zapjournald"
"github.com/bluele/gcache"
"github.com/fasthttp/router"
"github.com/nspcc-dev/neo-go/cli/flags"
"github.com/nspcc-dev/neo-go/cli/input"
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
"github.com/nspcc-dev/neo-go/pkg/util"
"github.com/nspcc-dev/neo-go/pkg/wallet"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
"github.com/prometheus/client_model/go"
"github.com/spf13/pflag"
"github.com/spf13/viper"
"github.com/ssgreg/journald"
"github.com/stretchr/testify/require"
"github.com/testcontainers/testcontainers-go"
"github.com/testcontainers/testcontainers-go/wait"
"github.com/trailofbits/go-fuzz-utils"
"github.com/valyala/fasthttp"
"golang.org/x/exp/slices"
"golang.org/x/net/http2"
"GOMEMLIMIT"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/codes"
"go.opentelemetry.io/otel/semconv/v1.17.0"
"go.opentelemetry.io/otel/trace"
"goroutine"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"
"gRPC connection rebalance timer"
"gRPC connect timeout"
"gRPC individual message timeout"
"gRPC request timeout"
"h"
"h2"
"head"
"head by attribute"
"header token unmarshal error"
"head_object"
"health"
"heap"
"hello"
"help"
"host"
"http://"
"http.client_address"
"HTTP_GW"
"http://localhost:30333"
"http.path"
"http.query"
"HTTP Server endpoint health"
"https://localhost:%d"
"id"
"ignore part, empty filename"
"ignore part, empty form name"
"incorrect logger level configuration %s (%v), "
"init full object reading via connection pool"
"init full payload range reading via connection pool"
"init object search via connection pool"
"init payload range reading via connection pool"
"inline"
"invalid address"
"invalid cache entry type"
"invalid cache size, using default value"
"invalid duration"
"invalid duration negative"
"invalid filepath '%s'"
"invalid lifetime, using default value (in seconds)"
"invalid metric type"
"invalid rfc3339"
"invalid rfc3339 zero"
"invalid servers configuration: no known server found"
"invalid timestamp sec"
"invalid timestamp sec zero"
"invalid token"
"invalid-token"
"invalid tree node: %w"
"io"
"IsDeleteMarker"
"iterating over selected objects failed"
"journald"
"key"
"key duplication error: "
"key duplication error: %s"
"key.pem"
"less than 512b"
"list_container"
"listen_address"
"listen and serve"
"localhost"
"localhost:8080"
"localhost:8082"
"localhost:8083"
"localhost:8084"
"logger.destination"
"logger.level"
"log level won't be updated"
"math"
"math/big"
"method"
"Method Not Allowed"
"metrics"
"metrics are disabled"
"mime"
"mime/multipart"
"mime/quotedprintable"
"more than 512b"
"multipart: boundary is empty"
"multipart: expecting a new Part; got line %q"
"multipart: NextPart: %v"
"multipart: unexpected line in Next(): %q"
"mutex"
"MyAttribute"
"myFile"
"\\n"
"name"
"namespace"
"\\n--boundary"
"neofs-"
"Neofs-"
"__NEOFS__"
"NEOFS-"
"Neofs-Expiration-Epoch"
"__NEOFS__EXPIRATION_EPOCH"
"Neofs-Random-Attr"
"__NEOFS__RANDOM_ATTR"
"net"
"net/http"
"net/http/pprof"
"net/textproto"
"net/url"
"network_info"
"newFile.txt"
"new_value"
"nil context"
"nns"
"node"
"no healthy servers"
"no resolvers"
"normal"
"not found"
"Not found"
"Not Found"
"no wallet path specified, creating ephemeral key automatically for this run"
".ns"
"Number of errors on current connections that will be reset after the threshold"
"object body close error: %w"
"object deleted"
"object_id"
"object not found"
"objects not found"
"object was deleted"
"object wasn't found"
"oid"
"OID"
"oid1"
"oid2"
"ok for cookie"
"ok for header"
"old_value"
"one node of the object version"
"one node of the object version and one node of the secondary object"
"os"
"os/signal"
"out"
"overall_errors"
"overall_node_errors"
"overall_node_requests"
"p"
"parameter"
"parse expiration epoch '%s': %w"
"path"
"peers"
"Peers preset:"
"pool"
"pool_error_threshold"
"pool must not be nil for DNS resolver"
"pprof"
"Pprof"
"pprof.address"
"pprof.enabled"
"prefix"
".priority"
"priority"
"Prometheus"
"prometheus.address"
"prometheus.enabled"
"put_container"
"put_object"
"put with bearer token in cookie"
"put with bearer token in header"
"put with duplicate keys "
"query"
"quoted-printable"
"range_object"
"read container via connection pool"
"read full object payload"
"read network info via client"
"read network info via client: %w"
"read object header via connection pool"
"read object list failed"
"read object list failed: "
"read payload"
"read system DNS parameter of the FrostFS: %w"
"rebalance_timer"
"reconnecting server..."
"reconnect_interval"
"remote"
"REP 1"
"request"
"REQUEST"
"request_timeout"
"resolve_bucket.default_namespaces"
"resolve_bucket.namespace_header"
"resolve_order"
"resolver nns won't be used since rpc_endpoint isn't provided"
"resolver settings must not be nil for DNS resolver"
"resolver settings must not be nil for NNS resolver"
"\\r\\n"
"\\r\\n--"
"\\r\\n--boundary"
"root"
"root2"
"rpc address must not be empty for NNS resolver"
"rpc_endpoint"
"RSA PRIVATE KEY"
"runtime"
"runtime/debug"
"runtime.soft_memory_limit"
"s3-client-cut"
"save object via connection pool"
"second-value"
"second_value"
"server"
"server.0.address"
"server reconnected successfully"
"service"
"service couldn't start on configured port"
"service hasn't started since it's disabled"
"service is running"
"set_container_eacl"
"set container name resolve order"
"several nodes of different types and with different timestamp"
"show help"
"show version"
"shutting down service"
"shutting down web server"
"SIGHUP config reload completed"
"SIGHUP config reload started"
"simple get "
"simple put "
"soft runtime memory defined with GOMEMLIMIT environment variable, config value skipped"
"soft runtime memory limit value updated"
"some-attr"
"some-get-by-attr-value"
"some-get-value"
"Some txt content. Content-Type must be detected properly by detector."
"sort"
"%s_%s_[N]_ADDRESS = string\\n"
"%s_%s_[N]_WEIGHT = float\\n"
"%s_%s = %s\\n"
"%s/%s/%s/%s"
"starting application"
"starting server"
"state"
"stdout"
"strconv"
"stream_timeout"
"strings"
"%s: %v"
"%s: %v: %s"
"%s: %w"
"%s: %w: %s"
"sync"
"syscall"
"system"
"system-"
"System-"
"__SYSTEM__"
"SYSTEM-"
"SystemDNS"
"system DNS parameter not found or empty"
"System-Expiration-Epoch"
"__SYSTEM__EXPIRATION_EPOCH"
"__SYSTEM__EXPIRATION_EPOCH1"
"__SYSTEM__EXPIRATION_EPOCH2"
"__SYSTEM__EXPIRATION_EPOCH3"
"System-Random-Attr"
"__SYSTEM__RANDOM_ATTR"
"\\t"
"%T"
"tcp"
"testing"
"test namespaces "
"test_resolver"
"text/plain; charset=utf-8"
"threadcreate"
"time"
"timeout"
"tls cert"
"tls.cert_file"
"TLS certificate path"
"tls disabled"
"tls enabled"
"tls.enabled"
"tls key"
"tls.key_file"
"TLS key path"
"token"
"TOKEN"
"token is missing in the context"
"token without payload"
"token without the bearer prefix"
"Total number of errors for connection in pool"
"Total number of errors in pool"
"Total number of requests to specific node in pool"
"tracing config updated"
"tracing.enabled"
"tracing.endpoint"
"tracing.exporter"
"true"
"truecloudlab/frostfs-aio:"
"type"
"unicode"
"unicode/utf8"
"unknown resolver: %s"
"/upload/"
"/upload/{cid}"
"upload_header.use_default_timestamp"
"User-Attribute"
"user value"
"using credentials"
"usupported filters"
"v"
"val"
"valid duration"
"valid epoch"
"valid epoch, valid duration"
"valid epoch, valid rfc3339"
"valid epoch, valid timestamp milli"
"valid epoch, valid timestamp nano"
"valid epoch, valid timestamp sec"
"valid max uint 64"
"valid rfc3339"
"valid timestamp sec"
"value"
"value in config"
"value should be one of %v"
"value %s of header %s must be in the future"
"value %s of header %s must be positive"
"variable_labels,omitempty"
"version"
"version_info"
"Version of current FrostFS HTTP Gate instance"
"w"
"wallet"
"wallet.address"
"wallet.passphrase"
"wallet.path"
"web.max_request_body_size"
"web.read_buffer_size"
"web.read_timeout"
"web.stream_request_body"
"web.write_buffer_size"
"web.write_timeout"
".weight"
"weight"
"WRONG BASE64"
"wrong destination for logger: %s"
"wrong object id"
"%w: %s"
"X-Attribute-"
"X-Attribute-DupKey"
"X-Attribute-FileName"
"X-Attribute-FROSTFS"
"X-Attribute-MyAttribute"
"X-Attribute-neofs"
"X-Attribute-System-"
"X-Attribute-SYSTEM"
"X-Attribute-System-DupKey"
"X-Attribute-System-Expiration-Duration"
"X-Attribute-System-Expiration-Epoch"
"X-Attribute-System-Expiration-Epoch1"
"X-Attribute-SYSTEM-Expiration-Epoch2"
"X-Attribute-system-Expiration-Epoch3"
"X-Attribute-System-Expiration-RFC3339"
"X-Attribute-System-Expiration-Timestamp"
"X-Attribute-Timestamp"
"X-Attribute-User-Attribute"
"x-container-id"
"X-Container-Id"
"X-Frostfs-Namespace"
"x-object-id"
"X-Object-Id"
"X-Owner-Id"
".yaml"
"yaml"
".yml"
"/zip/"
"zip"
"/zip/{cid}/{prefix:*}"
"zip.compression"
"zip create header: %v"
"/zipfolder"
"/zipfolder/dir"
"zipfolder/dir/name1.txt"
"zipfolder/name2.txt"