mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-28 11:43:50 +00:00
Remove deprecated PolarSSL sections from README.md
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
proxy for embedded devices and low-end boxes.
|
||||
|
||||
It is a port of [Shadowsocks](https://github.com/shadowsocks/shadowsocks)
|
||||
created by [@clowwindy](https://github.com/clowwindy), which is maintained by
|
||||
created by [@clowwindy](https://github.com/clowwindy), and maintained by
|
||||
[@madeye](https://github.com/madeye) and [@linusyang](https://github.com/linusyang).
|
||||
|
||||
Current version: 2.6.0 | [Changelog](debian/changelog)
|
||||
@@ -17,7 +17,7 @@ Travis CI: [ and
|
||||
[OpenSSL](http://www.openssl.org/) or [mbedTLS](https://tls.mbed.org/) or [PolarSSL](https://polarssl.org/).
|
||||
[OpenSSL](http://www.openssl.org/) or [mbedTLS](https://tls.mbed.org/).
|
||||
|
||||
In normal usage, the memory footprint is about 600KB and the CPU utilization is
|
||||
no more than 5% on a low-end router (Buffalo WHR-G300N V2 with a 400MHz MIPS CPU,
|
||||
@@ -61,7 +61,6 @@ There are three crypto libraries available:
|
||||
|
||||
- OpenSSL (**default**)
|
||||
- mbedTLS
|
||||
- PolarSSL (Deprecated)
|
||||
|
||||
##### mbedTLS
|
||||
To build against mbedTLS, specify `--with-crypto-library=mbedtls`
|
||||
@@ -70,15 +69,6 @@ and `--with-mbedtls=/path/to/mbedtls` when running `./configure`.
|
||||
Windows users will need extra work when compiling mbedTLS library,
|
||||
see [this issue](https://github.com/shadowsocks/shadowsocks-libev/issues/422) for detail info.
|
||||
|
||||
##### PolarSSL (Deprecated)
|
||||
|
||||
To build against PolarSSL, specify `--with-crypto-library=polarssl`
|
||||
and `--with-polarssl=/path/to/polarssl` when running `./configure`.
|
||||
|
||||
* PolarSSL __1.2.5 or newer__ is required. Currently, PolarSSL does __NOT__ support
|
||||
CAST5-CFB, DES-CFB, IDEA-CFB, RC2-CFB and SEED-CFB.
|
||||
* RC4 is only support by PolarSSL __1.3.0 or above__.
|
||||
|
||||
#### Using shared library from system
|
||||
|
||||
Please specify `--enable-system-shared-lib`. This will replace the bundled
|
||||
@@ -288,11 +278,9 @@ brew install shadowsocks-libev
|
||||
For Windows, use either MinGW (msys) or Cygwin to build.
|
||||
At the moment, only `ss-local` is supported to build against MinGW (msys).
|
||||
|
||||
If you are using MinGW (msys), please download OpenSSL or PolarSSL source tarball
|
||||
If you are using MinGW (msys), please download OpenSSL source tarball
|
||||
to the home directory of msys, and build it like this (may take a few minutes):
|
||||
|
||||
#### OpenSSL
|
||||
|
||||
```bash
|
||||
tar zxf openssl-1.0.1e.tar.gz
|
||||
cd openssl-1.0.1e
|
||||
@@ -300,32 +288,14 @@ cd openssl-1.0.1e
|
||||
make && make install
|
||||
```
|
||||
|
||||
#### PolarSSL
|
||||
|
||||
```bash
|
||||
tar zxf polarssl-1.3.2-gpl.tgz
|
||||
cd polarssl-1.3.2
|
||||
make lib WINDOWS=1
|
||||
make install DESTDIR="$HOME/prebuilt"
|
||||
```
|
||||
|
||||
Then, build the binary using the commands below, and all `.exe` files
|
||||
will be built at `$HOME/ss/bin`:
|
||||
|
||||
#### OpenSSL
|
||||
|
||||
```bash
|
||||
./configure --prefix="$HOME/ss" --with-openssl="$HOME/prebuilt"
|
||||
make && make install
|
||||
```
|
||||
|
||||
#### PolarSSL
|
||||
|
||||
```bash
|
||||
./configure --prefix="$HOME/ss" --with-crypto-library=polarssl --with-polarssl=$HOME/prebuilt
|
||||
make && make install
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
For a detailed and complete list of all supported arguments, you may refer to the
|
||||
|
||||
Reference in New Issue
Block a user