Projects STRLCPY sing-box Commits e0d9f794
🤬
  • ■ ■ ■ ■ ■ ■
    test/go.mod
    skipped 9 lines
    10 10   github.com/docker/docker v20.10.18+incompatible
    11 11   github.com/docker/go-connections v0.4.0
    12 12   github.com/gofrs/uuid v4.4.0+incompatible
    13  - github.com/sagernet/sing v0.1.9-0.20230313033500-448948d26d1a
     13 + github.com/sagernet/sing v0.2.1-0.20230318083058-18cd006d266e
    14 14   github.com/sagernet/sing-shadowsocks v0.1.2-0.20230221080503-769c01d6bba9
    15 15   github.com/spyzhov/ajson v0.7.1
    16 16   github.com/stretchr/testify v1.8.2
    skipped 13 lines
    30 30   github.com/davecgh/go-spew v1.1.1 // indirect
    31 31   github.com/docker/distribution v2.8.1+incompatible // indirect
    32 32   github.com/docker/go-units v0.4.0 // indirect
     33 + github.com/dustin/go-humanize v1.0.1 // indirect
    33 34   github.com/fsnotify/fsnotify v1.6.0 // indirect
    34 35   github.com/go-chi/chi/v5 v5.0.8 // indirect
    35 36   github.com/go-chi/cors v1.2.1 // indirect
    skipped 16 lines
    52 53   github.com/moby/term v0.0.0-20221105221325-4eb28fa6025c // indirect
    53 54   github.com/morikuni/aec v1.0.0 // indirect
    54 55   github.com/onsi/ginkgo/v2 v2.2.0 // indirect
     56 + github.com/ooni/go-libtor v1.1.7 // indirect
    55 57   github.com/opencontainers/go-digest v1.0.0 // indirect
    56 58   github.com/opencontainers/image-spec v1.0.2 // indirect
    57 59   github.com/oschwald/maxminddb-golang v1.10.0 // indirect
    58 60   github.com/pierrec/lz4/v4 v4.1.14 // indirect
    59  - github.com/pires/go-proxyproto v0.6.2 // indirect
     61 + github.com/pires/go-proxyproto v0.7.0 // indirect
    60 62   github.com/pkg/errors v0.9.1 // indirect
    61 63   github.com/pmezard/go-difflib v1.0.0 // indirect
    62 64   github.com/quic-go/qpack v0.4.0 // indirect
    skipped 7 lines
    70 72   github.com/sagernet/reality v0.0.0-20230312150606-35ea9af0e0b8 // indirect
    71 73   github.com/sagernet/sing-dns v0.1.4 // indirect
    72 74   github.com/sagernet/sing-shadowtls v0.1.0 // indirect
    73  - github.com/sagernet/sing-tun v0.1.3-0.20230313113643-839f1792e46c // indirect
     75 + github.com/sagernet/sing-tun v0.1.3-0.20230315134716-fe89bbded22d // indirect
    74 76   github.com/sagernet/sing-vmess v0.1.3 // indirect
    75 77   github.com/sagernet/smux v0.0.0-20230312102458-337ec2a5af37 // indirect
    76 78   github.com/sagernet/tfo-go v0.0.0-20230303015439-ffcfd8c41cf9 // indirect
    skipped 9 lines
    86 88   go.uber.org/zap v1.24.0 // indirect
    87 89   go4.org/netipx v0.0.0-20230303233057-f1b76eb4bb35 // indirect
    88 90   golang.org/x/crypto v0.7.0 // indirect
    89  - golang.org/x/exp v0.0.0-20230314191032-db074128a8ec // indirect
     91 + golang.org/x/exp v0.0.0-20230315142452-642cacee5cc0 // indirect
    90 92   golang.org/x/mod v0.8.0 // indirect
    91 93   golang.org/x/sys v0.6.0 // indirect
    92 94   golang.org/x/text v0.8.0 // indirect
    skipped 1 lines
    94 96   golang.org/x/tools v0.6.0 // indirect
    95 97   google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f // indirect
    96 98   google.golang.org/grpc v1.53.0 // indirect
    97  - google.golang.org/protobuf v1.29.1 // indirect
     99 + google.golang.org/protobuf v1.30.0 // indirect
    98 100   gopkg.in/yaml.v3 v3.0.1 // indirect
    99 101   gotest.tools/v3 v3.4.0 // indirect
    100 102   gvisor.dev/gvisor v0.0.0-20220901235040-6ca97ef2ce1c // indirect
    skipped 5 lines
  • ■ ■ ■ ■ ■ ■
    test/go.sum
    skipped 30 lines
    31 31  github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec=
    32 32  github.com/docker/go-units v0.4.0 h1:3uh0PgVws3nIA0Q+MwDC8yjEPf9zjRfZZWXZYDct3Tw=
    33 33  github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
     34 +github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
     35 +github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
    34 36  github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY=
    35 37  github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw=
    36 38  github.com/go-chi/chi/v5 v5.0.8 h1:lD+NLqFcAi1ovnVZpsnObHGW4xb4J8lNmoYVfECH1Y0=
    skipped 51 lines
    88 90  github.com/onsi/ginkgo/v2 v2.2.0 h1:3ZNA3L1c5FYDFTTxbFeVGGD8jYvjYauHD30YgLxVsNI=
    89 91  github.com/onsi/ginkgo/v2 v2.2.0/go.mod h1:MEH45j8TBi6u9BMogfbp0stKC5cdGjumZj5Y7AG4VIk=
    90 92  github.com/onsi/gomega v1.20.1 h1:PA/3qinGoukvymdIDV8pii6tiZgC8kbmJO6Z5+b002Q=
     93 +github.com/ooni/go-libtor v1.1.7 h1:ooVcdEPBqDox5OfeXAfXIeQFCbqMLJVfIpO+Irr7N9A=
     94 +github.com/ooni/go-libtor v1.1.7/go.mod h1:q1YyLwRD9GeMyeerVvwc0vJ2YgwDLTp2bdVcrh/JXyI=
    91 95  github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
    92 96  github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
    93 97  github.com/opencontainers/image-spec v1.0.2 h1:9yCKha/T5XdGtO0q9Q9a6T5NUCsTn/DrBg0D7ufOcFM=
    skipped 2 lines
    96 100  github.com/oschwald/maxminddb-golang v1.10.0/go.mod h1:Y2ELenReaLAZ0b400URyGwvYxHV1dLIxBuyOsyYjHK0=
    97 101  github.com/pierrec/lz4/v4 v4.1.14 h1:+fL8AQEZtz/ijeNnpduH0bROTu0O3NZAlPjQxGn8LwE=
    98 102  github.com/pierrec/lz4/v4 v4.1.14/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4=
    99  -github.com/pires/go-proxyproto v0.6.2 h1:KAZ7UteSOt6urjme6ZldyFm4wDe/z0ZUP0Yv0Dos0d8=
    100  -github.com/pires/go-proxyproto v0.6.2/go.mod h1:Odh9VFOZJCf9G8cLW5o435Xf1J95Jw9Gw5rnCjcwzAY=
     103 +github.com/pires/go-proxyproto v0.7.0 h1:IukmRewDQFWC7kfnb66CSomk2q/seBuilHBYFwyq0Hs=
     104 +github.com/pires/go-proxyproto v0.7.0/go.mod h1:Vz/1JPY/OACxWGQNIRY2BeyDmpoaWmEP40O9LbuiFR4=
    101 105  github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
    102 106  github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
    103 107  github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
    skipped 18 lines
    122 126  github.com/sagernet/reality v0.0.0-20230312150606-35ea9af0e0b8/go.mod h1:B8lp4WkQ1PwNnrVMM6KyuFR20pU8jYBD+A4EhJovEXU=
    123 127  github.com/sagernet/sing v0.0.0-20220817130738-ce854cda8522/go.mod h1:QVsS5L/ZA2Q5UhQwLrn0Trw+msNd/NPGEhBKR/ioWiY=
    124 128  github.com/sagernet/sing v0.1.8/go.mod h1:jt1w2u7lJQFFSGLiRrRIs5YWmx4kAPfWuOejuDW9qMk=
    125  -github.com/sagernet/sing v0.1.9-0.20230313033500-448948d26d1a h1:JgPPxKLiqA95Z0oTp9FyYUfij8xsjS2rBWtpQ41zFTo=
    126  -github.com/sagernet/sing v0.1.9-0.20230313033500-448948d26d1a/go.mod h1:9uHswk2hITw8leDbiLS/xn0t9nzBcbePxzm9PJhwdlw=
     129 +github.com/sagernet/sing v0.2.1-0.20230318083058-18cd006d266e h1:KDaZ0GIlpdhCVn2vf7YL2r/8E5kSZiMMeMgn5CF7eJU=
     130 +github.com/sagernet/sing v0.2.1-0.20230318083058-18cd006d266e/go.mod h1:9uHswk2hITw8leDbiLS/xn0t9nzBcbePxzm9PJhwdlw=
    127 131  github.com/sagernet/sing-dns v0.1.4 h1:7VxgeoSCiiazDSaXXQVcvrTBxFpOePPq/4XdgnUDN+0=
    128 132  github.com/sagernet/sing-dns v0.1.4/go.mod h1:1+6pCa48B1AI78lD+/i/dLgpw4MwfnsSpZo0Ds8wzzk=
    129 133  github.com/sagernet/sing-shadowsocks v0.1.2-0.20230221080503-769c01d6bba9 h1:qS39eA4C7x+zhEkySbASrtmb6ebdy5v0y2M6mgkmSO0=
    130 134  github.com/sagernet/sing-shadowsocks v0.1.2-0.20230221080503-769c01d6bba9/go.mod h1:f3mHTy5shnVM9l8UocMlJgC/1G/zdj5FuEuVXhDinGU=
    131 135  github.com/sagernet/sing-shadowtls v0.1.0 h1:05MYce8aR5xfKIn+y7xRFsdKhKt44QZTSEQW+lG5IWQ=
    132 136  github.com/sagernet/sing-shadowtls v0.1.0/go.mod h1:Kn1VUIprdkwCgkS6SXYaLmIpKzQbqBIKJBMY+RvBhYc=
    133  -github.com/sagernet/sing-tun v0.1.3-0.20230313113643-839f1792e46c h1:k504OwD5yQHUb13tSsdRAB6GjtS2WjIygAThElAO6MY=
    134  -github.com/sagernet/sing-tun v0.1.3-0.20230313113643-839f1792e46c/go.mod h1:KnRkwaDHbb06zgeNPu0LQ8A+vA9myMxKEgHN1brCPHg=
     137 +github.com/sagernet/sing-tun v0.1.3-0.20230315134716-fe89bbded22d h1:1gt4Hu2fHCrmL2NZYCNJ3nCgeczuhK09oCMni9mZmZk=
     138 +github.com/sagernet/sing-tun v0.1.3-0.20230315134716-fe89bbded22d/go.mod h1:KnRkwaDHbb06zgeNPu0LQ8A+vA9myMxKEgHN1brCPHg=
    135 139  github.com/sagernet/sing-vmess v0.1.3 h1:q/+tsF46dvvapL6CpQBgPHJ6nQrDUZqEtLHCbsjO7iM=
    136 140  github.com/sagernet/sing-vmess v0.1.3/go.mod h1:GVXqAHwe9U21uS+Voh4YBIrADQyE4F9v0ayGSixSQAE=
    137 141  github.com/sagernet/smux v0.0.0-20230312102458-337ec2a5af37 h1:HuE6xSwco/Xed8ajZ+coeYLmioq0Qp1/Z2zczFaV8as=
    skipped 49 lines
    187 191  golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8=
    188 192  golang.org/x/crypto v0.7.0 h1:AvwMYaRytfdeVt3u6mLaxYtErKYjxA2OXjJ1HHq6t3A=
    189 193  golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
    190  -golang.org/x/exp v0.0.0-20230314191032-db074128a8ec h1:pAv+d8BM2JNnNctsLJ6nnZ6NqXT8N4+eauvZSb3P0I0=
    191  -golang.org/x/exp v0.0.0-20230314191032-db074128a8ec/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=
     194 +golang.org/x/exp v0.0.0-20230315142452-642cacee5cc0 h1:pVgRXcIictcr+lBQIFeiwuwtDIs4eL21OuM9nyAADmo=
     195 +golang.org/x/exp v0.0.0-20230315142452-642cacee5cc0/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=
    192 196  golang.org/x/lint v0.0.0-20190930215403-16217165b5de h1:5hukYrvBGR8/eNkX5mdUezrA6JiaEZDtJb9Ei+1LlBs=
    193 197  golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
    194 198  golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
    skipped 62 lines
    257 261  google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw=
    258 262  google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
    259 263  google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
    260  -google.golang.org/protobuf v1.29.1 h1:7QBf+IK2gx70Ap/hDsOmam3GE0v9HicjfEdAxE62UoM=
    261  -google.golang.org/protobuf v1.29.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
     264 +google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng=
     265 +google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
    262 266  gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
    263 267  gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU=
    264 268  gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
    skipped 10 lines
  • ■ ■ ■ ■ ■
    test/shadowsocks_test.go
    skipped 227 lines
    228 228   },
    229 229   Method: method,
    230 230   Password: password,
    231  - UoT: true,
     231 + UDPOverTCPOptions: &option.UDPOverTCPOptions{
     232 + Enabled: true,
     233 + },
    232 234   },
    233 235   },
    234 236   },
    skipped 21 lines
Please wait...
Page is in error, reload to recover