Commit Graph
178 Commits
Author SHA1 Message Date
eric 10e600d27d log: new env vars to control logging behavior
* LOG_NO_COLOR
* LOG_CONSOLE_OUT (macOS only)
2021-04-23 07:34:13 +08:00
eric af3d588a59 optimize: reduce memory overhead while loading config 2021-04-22 11:54:35 +08:00
eric 9b91a1a370 optimize: reduce protobuf generated code size 2021-04-22 11:47:53 +08:00
eric 9b2eeca00d bin: clap -> argh 2021-04-21 12:36:09 +08:00
eric 29824e85a7 option: exposes all as env vars 2021-04-21 11:22:19 +08:00
eric 1a19c155b9 refactor: remove unused code 2021-04-21 06:04:00 +08:00
eric b587ead1e2 tun: fix segmentation fault caused by netstack access after drop 2021-04-21 05:53:25 +08:00
eric 5562332063 outbound: fix interface binding for IPv6 sockets 2021-04-20 19:42:35 +08:00
eric c12c5d1688 outbound: allows binding sockets to a network interface 2021-04-20 07:03:23 +08:00
eric 1a5609bccf v0.3.0 v0.3.0 2021-04-19 22:13:58 +08:00
eric 5dfbcaa4c5 config, router: make doman-resolve option reloadable 2021-04-19 20:20:40 +08:00
eric 927f404ced outbound/tun: gateway mode 2021-04-19 02:11:17 +08:00
eric 3a3b2e7797 outbound/tun: filter out more non-global IPv6 addresses 2021-04-18 18:29:15 +08:00
ghost 3daf6b2fdc outbound/tun: specify interface/zone_id on link-local gateway route 2021-04-18 08:45:01 +08:00
eric a30e84b44c outbound/tun: improve route command output parsing 2021-04-16 22:40:36 +08:00
eric cce8b6ecd4 app/outbound/manager: rewrite outbounds loading logic
Fixes #134
2021-04-16 22:01:43 +08:00
Kevin a33fb8ab70 fixed get hostname gateway make IP parse error (#136) 2021-04-16 21:47:04 +08:00
eric c1d685205c outbound/tun: automate tun setup 2021-04-16 20:06:06 +08:00
eric 7324093730 app/outbound/manager: load compositional outbounds only once 2021-04-15 12:17:35 +08:00
eric 821c57532b api: added GET /api/v1/app/outbound/select 2021-04-15 00:42:13 +08:00
eric 9db8e743bf Support IPv6 2021-04-14 20:01:55 +08:00
eric b95dd33030 outbound/select: fix state loading 2021-04-14 19:17:42 +08:00
eric 148efbc494 outbound/select: ignore errors occur in an imperfect parsing 2021-04-14 06:58:02 +08:00
eric 78da1c8323 api: allows enabling api service by env var API_LISTEN 2021-04-13 22:01:42 +08:00
eric 7a7a2b8788 option: allows overriding cache location from env var CACHE_LOCATION 2021-04-13 21:50:30 +08:00
eric 47071b8f8a outbound/select: persists selector state 2021-04-13 21:33:03 +08:00
eric 2d9fee3c07 outbound/select: sets the first outbound as the default selected one 2021-04-13 19:12:38 +08:00
eric b2b26d58b9 config: allows overriding asset location from env var ASSET_LOCATION
fixes #115
2021-04-12 23:48:16 +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 f8163d1988 config/json, test: enable api on json config and fix tests 2021-04-07 20:38:37 +08:00
eric a3c8eba006 ci: build ios lib with openssl by default 2021-04-07 18:58:52 +08:00
eric a2dadff60d outbound/select: new outbound 2021-04-07 18:49:48 +08:00
eric 6c58a42652 reduce memory usage 2021-04-06 18:54:41 +08:00
eric 021391608c refactor 2021-04-05 22:35:35 +08:00
eric 0132b5ced1 ffi: fix build error 2021-04-05 18:53:44 +08:00
eric ea3454f0b2 ffi: allows building as static library for all targets 2021-04-05 18:21:19 +08:00
eric ac82506caf config/conf: add routing-domain-resolve option 2021-04-05 09:52:00 +08:00
eric 949b60c2bc test: fix 2021-04-05 08:33:27 +08:00
eric 857de598be router: allow a re-match for domain targets with a resolved IP address 2021-04-05 08:16:04 +08:00
eric d0b54d8d7c v0.2.14 v0.2.14 2021-04-04 09:21:01 +08:00
eycorsican ac8e7d4d4a Update README.md 2021-04-04 09:16:46 +08:00
eric f0027c2805 config/conf: support quic 2021-04-03 15:59:12 +08:00
eric e365964d7d mobile: fix crate type and cbindgen 2021-04-03 08:41:01 +08:00
eric 3b8a84d32d inbound/tun: ignore traffic targeting fake IPs 2021-04-03 06:45:35 +08:00
eric 8afb548063 refactor 2021-04-02 05:23:24 +08:00
eric 9ee9a2e4bb Add basic support for Android 2021-04-02 00:16:27 +08:00
eric 524cf6fba0 test: fixes 2021-03-27 02:29:05 +08:00
eric ae5f0f6d3e proxy/quic: a UDP-based multiplexed and secure transport 2021-03-27 01:58:47 +08:00
eric e24f807e32 inbound/chain, fix: stateful poll 2021-03-24 18:24:59 +08:00
eric cf1879301d amux: refactor 2021-03-22 23:17:28 +08:00