Commit Graph
22 Commits
Author SHA1 Message Date
eric 15777875c2 chore: update deps 2024-05-01 23:59:44 +08:00
eric 7757552bdc refactor: rename leaf-bin -> leaf-cli 2024-04-18 16:39:58 +08:00
eric 8fd4936b86 chore: update deps 2023-09-26 08:25:12 +08:00
eric 4e6117b376 Build Android and iOS/macOS libraries on CI 2023-03-31 06:56:22 +08:00
eric 2e17847b48 Update iOS build command 2023-03-04 12:53:12 +08:00
eric 5a6c4cec96 chore: strip was stabilized 2022-04-19 02:23:41 +08:00
eric 40e79fdb93 chore: convenient iOS build target for an optimized output 2021-09-16 08:41:29 +08:00
eric 2cbec8bcd3 refactor 2021-07-02 06:37:07 +08:00
eric 822eb83ee5 tun: refine tcp stream handling 2021-05-07 13:39:40 +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 a3c8eba006 ci: build ios lib with openssl by default 2021-04-07 18:58:52 +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 e365964d7d mobile: fix crate type and cbindgen 2021-04-03 08:41:01 +08:00
eric 6ef895a274 inbound/shadowsocks: new inbound 2021-02-26 23:01:01 +08:00
eric 1be23bc85d Make feature-specific dependencies optional 2020-11-14 08:27:20 +08:00
eric 2f70780b14 Use ring and rustls on iOS 2020-10-26 18:04:34 +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 8db8a7e78c fix tun2socks-bin 2020-10-19 08:27:59 +08:00
eric 761fdb2de4 add more targets 2020-10-17 23:06:13 +08:00
ghost 2e8b16a452 disable memory profiling on iOS 2020-10-10 19:23:51 +08:00
eric 897fc87ce8 initial commit 2020-10-07 22:14:06 +08:00