Files
shoes/THIRD_PARTY_NOTICES.md
cfal 1fac4c231c Add Xray-compatible Sudoku TCP masking (#246)
Adds an outermost sudoku_mask wrapper so TCP clients and servers can interoperate with Xray FinalMask, including configurable layouts and padding, stacked masks, and XHTTP carriers. Preserves explicit flush ownership and prevents Vision or raw TCP splice from bypassing the mask, with configuration validation and documentation for supported placements and limits. Native UDP/QUIC masking is not included.
2026-10-30 22:58:56 +08:00

5.4 KiB

Dependency Notices

Go math/rand Compatibility

src/sudoku_mask/go_rng/ contains the cooked state constants from Go 1.27.3 src/math/rand/rng.go. The accompanying Rust generator implements Go's legacy random-source and shuffle contract for Xray-compatible password permutations. Source: https://github.com/golang/go/blob/go1.27.3/src/math/rand/rng.go

Copyright 2009 The Go Authors.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

   * Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
   * Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
   * Neither the name of Google LLC nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Dependency Bundle

licenses/dependencies.txt reproduces the license texts and attributions for Shoes' production and build dependencies, including transitive dependencies across all target platforms. A given binary may link only a subset of them. The release tarballs include this bundle and the additional GotaTun and anytls-rs notices below. Applications embedding Shoes' native libraries must also distribute these notices and corresponding source information.

Regenerate the bundle after changing Cargo.lock, using cargo-about 0.9.3:

cargo install --locked --features cli cargo-about@0.9.3
python3 scripts/generate-release-notices.py
cargo fetch --locked
python3 scripts/test-release-notices.py

Generation requires network access for the checksummed upstream blake2b_simd license clarification. The generator rejects warnings, including failed clarifications, without replacing the existing bundle.

about.toml records the license choices and verified clarifications. CI checks that regeneration is clean and that every production/build dependency appears. scripts/check-release-notices.py <artifact> checks the exact notice bytes in a release tarball. The binary release workflow (.github/workflows/build.yml) invokes it before uploading tarballs. Do not remove the bundle when redistributing.

WireGuard Source

Unix builds, including Android and iOS libraries, link GotaTun 0.10.2, an implementation of the WireGuard protocol. GotaTun is copyright Mullvad VPN AB and incorporates work copyright Cloudflare, Inc. Its source files are covered by the Mozilla Public License 2.0 and the notices reproduced in licenses/MPL-2.0.txt and licenses/gotatun-CLOUDFLARE.txt.

The unmodified corresponding source is available at:

Recipients may obtain, modify, and redistribute the covered source under the MPL 2.0. Shoes does not modify GotaTun's source. Shoes' own source remains under its existing MIT license. Distributors of modified GotaTun builds must also provide the corresponding modified covered source and retain these notices. Embedding a Shoes static or dynamic library does not remove these obligations.

These source-availability details supplement the reproduced dependency licenses.

AnyTLS Source

Portions of the AnyTLS implementation in src/anytls/, including the padding scheme, frame definitions, settings map and stream tests, are derived from anytls-rs (https://github.com/jxo-me/anytls-rs), which is distributed under the following license:

MIT License

Copyright (c) 2024 Mickey and AnyTLS Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.