Skip to content

Commit

Permalink
chore: trivial changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gowee committed Sep 30, 2022
1 parent 3de1a3a commit 9be3857
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ The client would serve a SOCKS5/HTTP (adaptive) proxy at `listen_addr`.

`sni` should match `camouflage_addr` specified server-side.

**Or optionally specifying TLS fingerprint ([chrome](https://tlsfingerprint.io/id/e47eae8f8c4887b6)):**
**Or optionally specifying a TLS fingerprint ([chrome](https://tlsfingerprint.io/id/e47eae8f8c4887b6)):**
```sh
./noisy-shuttle client 127.0.0.1:1080 server.addr.example:443 www.example.com Teap0taa --tls-ja3 769,2570-4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53,2570-0-23-65281-10-11-35-16-5-13-18-51-45-43-27-17513-2570-21,2570-29-23-24,0 --tls-alpn h2,http/1.1 --tls-sigalgos 1027,2052,1025,1283,2053,1281,2054,1537 --tls-versions 2570,772,771 --tls-keyshare 2570
```
Expand Down
4 changes: 1 addition & 3 deletions tunnel/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ use std::mem;
use std::net::SocketAddr;
use std::sync::Mutex;

use super::common::{SnowyStream, NOISE_PARAMS, PSKLEN};

use crate::common::derive_psk;
use crate::common::{derive_psk, SnowyStream, NOISE_PARAMS, PSKLEN};
use crate::totp::Totp;
use crate::utils::{
get_client_tls_versions, get_server_tls_version, parse_tls_plain_message, read_tls_message,
Expand Down

0 comments on commit 9be3857

Please sign in to comment.