6 Commits

Author SHA1 Message Date
eric
2cbec8bcd3 refactor 2021-07-02 06:37:07 +08:00
eric
0d7953f55b bin: re-organize features 2021-02-17 00:14:51 +08:00
eric
807ad5ab5e Added several inbounds
* Added WebSocket inbound
* Added trojan inbound
* Added chain inbound

Similar to the chain outbound, chain inbound can be used to chain
multiple inbounds. The Nginx/CDN (TLS) + WebSocket + trojan setup is tested.

There are also breaking changes to the JSON config format.

Fake DNS now can operate in either Include or Exclude mode.

SOCKS inbound settings no longer has the `bind` option, the local_addr of
the TCP socket is used as the UDP relay address.
2020-12-18 13:08:50 +08:00
eric
1be23bc85d Make feature-specific dependencies optional 2020-11-14 08:27:20 +08:00
eric
ce5366ebc4 Add OpenSSL and support more targets
* Added OpenSSL AEAD support
* Added OpenSSL TLS support
* Added mips/mipsel support

OpenSSL features can be conditinally compiled, targets not supported
by ring should use OpenSSL, e.g. mips/mipsel, while other targets
should use ring and rustls for crypto and TLS for better performance.

Crypto functions from Shadowsocks and VMess are unified in common/crypto.
2020-10-24 11:08:51 +08:00
eric
897fc87ce8 initial commit 2020-10-07 22:14:06 +08:00