Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up typos #272

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/doc/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ ulimit -n 51200

### Step 2, Tune the kernel parameters

The priciples of tuning parameters for shadowsocks are
The principles of tuning parameters for shadowsocks are

1. Reuse ports and conections as soon as possible.
1. Reuse ports and connections as soon as possible.
2. Enlarge the queues and buffers as large as possible.
3. Choose the TCP congestion algorithm for large latency and high throughput.

Expand Down
4 changes: 2 additions & 2 deletions docs/doc/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Stream_encrypt is a function that takes a secret key, an initialization vector,
Stream_encrypt(key, IV, message) => ciphertext
```

Stream_decrypt is a function that takes a secret key, an initializaiton vector, a ciphertext, and produces the original message.
Stream_decrypt is a function that takes a secret key, an initialization vector, a ciphertext, and produces the original message.

```
Stream_decrypt(key, IV, ciphertext) => message
Expand All @@ -22,7 +22,7 @@ The key can be input directly from user or generated from a password. The key de

## TCP

A stream cipher encrypted TCP stream starts with a randomly generated initializaiton vector, followed by encrypted payload data.
A stream cipher encrypted TCP stream starts with a randomly generated initialization vector, followed by encrypted payload data.

```
[IV][encrypted payload]
Expand Down