Skip to content

Commit

Permalink
Merge pull request #7 from 3andne/prepare-v1
Browse files Browse the repository at this point in the history
chores: CD & readme
  • Loading branch information
3andne authored Mar 6, 2023
2 parents e43a17e + 49797c5 commit 46703d2
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 18 deletions.
35 changes: 22 additions & 13 deletions .github/workflows/rust-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,37 @@ on:

env:
CARGO_TERM_COLOR: always
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse

jobs:
test:
build-cross:
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: full
strategy:
matrix:
target:
- aarch64-unknown-linux-gnu
- x86_64-unknown-linux-gnu
- arm-unknown-linux-gnueabi
- armv7-unknown-linux-gnueabihf
runs-on: ubuntu-latest
- x86_64-unknown-linux-musl
- aarch64-unknown-linux-musl
- armv7-unknown-linux-musleabihf
- arm-unknown-linux-musleabi
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v2
- name: Install Rust
run: rustup update stable
- name: Install cross-compilation tools
uses: taiki-e/setup-cross-toolchain-action@v1
uses: actions-rs/toolchain@v1
with:
profile: minimal
target: ${{ matrix.target }}
- run: |
cargo build --release &&
mv ./target/${{ matrix.target }}/release/restls ./target/${{ matrix.target }}/release/restls-${{ matrix.target }}
toolchain: nightly
default: true
override: true
- name: Install cross
run: cargo install cross
- name: Build ${{ matrix.target }}
timeout-minutes: 120
run: |
cross build --release --target ${{ matrix.target }} &&
mv target/${{ matrix.target }}/release/restls target/${{ matrix.target }}/release/restls-${{ matrix.target }}
- name: Upload Github Assets
uses: softprops/action-gh-release@v1
env:
Expand Down
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
# Restls

A protocol to disguise your proxy traffic as normal TLS traffic.
A protocol that can disguise your proxy traffic as regular TLS traffic:

For more details regarding how restls parrots any tls site:
[Restls: A Perfect Impersonation of TLS Handshake](./Restls%3A%20A%20Perfect%20Impersonation%20of%20TLS.md)
* Disguise your proxy server [as any TLS server](./Restls%3A%20A%20Perfect%20Impersonation%20of%20TLS.md), such as `microsoft.com`.
* Developed based on [utls](https://github.com/refraction-networking/utls), Disguise your [proxy client](https://github.com/3andne/Clash.Meta#restls) as a normal browser.
* Use the `Restls-Script` protocol to conceal your proxy behavior and break characteristics such as "TLS in TLS".

如果你想知道Restls是如何伪装成任何一个TLS网站的,请阅读:
[Restls: 对TLS的完美伪装](./Restls%3A%20%E5%AF%B9TLS%E7%9A%84%E5%AE%8C%E7%BE%8E%E4%BC%AA%E8%A3%85.md)
---

一个可以把你的代理流量伪装成普通TLS流量的协议:

* 把你的代理服务器[伪装成任何一个TLS服务器](./Restls%3A%20%E5%AF%B9TLS%E7%9A%84%E5%AE%8C%E7%BE%8E%E4%BC%AA%E8%A3%85.md),例如`microsoft.com`
* 基于[utls](https://github.com/refraction-networking/utls)开发,把你的[代理客户端](https://github.com/3andne/Clash.Meta#restls)伪装成一个普通的浏览器。
* 使用Restls「剧本」协议,隐藏你的代理行为,破坏"TLS in TLS"等特征。

## Hide Your Proxy Traffic Behavior

Expand Down

0 comments on commit 46703d2

Please sign in to comment.