Commit Graph
23 Commits
Author SHA1 Message Date
eric 65a4d18412 bin: added test-outbound-timeout option 2022-04-22 06:33:51 +08:00
eric 499c5f2c1f Refactor 2022-04-21 20:46:27 +08:00
eric c88af08409 tun: netstack got a new API 2022-04-12 21:57:19 +08:00
eric 31145ab726 bin: boundif option 2021-12-29 10:21:07 +08:00
eric 2cbec8bcd3 refactor 2021-07-02 06:37:07 +08:00
eric 9b2eeca00d bin: clap -> argh 2021-04-21 12:36:09 +08:00
eric 7a892236e7 Exposes more runtime management APIs
* Added "api" config to JSON format
* Added "api-interface" and "api-port" options to Conf format
* Added "--auto-reload" flag to the command line program
* Added "--test" flag to the command line program
* Added FFIs leaf_run(), leaf_reload(), leaf_shutdown(), leaf_test_config()
* Removed FFI run_leaf()
* Added Web APIs:
  * POST /api/v1/runtime/reload
  * POST /api/v1/runtime/shutdown
2021-04-12 23:05:35 +08:00
eric a2dadff60d outbound/select: new outbound 2021-04-07 18:49:48 +08:00
eric 021391608c refactor 2021-04-05 22:35:35 +08:00
eric ea3454f0b2 ffi: allows building as static library for all targets 2021-04-05 18:21:19 +08:00
eric f17c2ca3d9 Upgrade tokio to v1.x 2021-03-16 13:24:41 +08:00
eric 7aea2686af bin: 24k stack size is overstrict for complex outbound combinations 2021-03-09 19:55:18 +08:00
eric fe2f23c4a5 bin: larger stack size for debugging 2021-03-08 09:09:53 +08:00
eric fdce9425e3 bin: smaller default thread stack size 2021-03-08 07:51:42 +08:00
eric 6ef895a274 inbound/shadowsocks: new inbound 2021-02-26 23:01:01 +08:00
eric 833d3f30cb bin: custom stack size 2021-02-25 18:39:41 +08:00
eric fc3cea4e67 bin: allow specifying the number of runtime worker threads 2021-02-25 14:13:44 +08:00
eric 134b2a83a8 bin: shorthand for specifying outbound tag name 2021-02-16 10:28:54 +08:00
eric 269250f144 bin: include information of the latest commit in the version string 2021-02-05 21:35:30 +08:00
eric 639a2a7740 bin: allow building multi-threaded binary by feature 2021-02-05 10:20:07 +08:00
eric 71c0144e76 Added ability to test outbound availability 2020-10-26 10:30:33 +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