273 Commits

Author SHA1 Message Date
eric
fd749c8741 net: uses dual-stack sockets & don't bind outbound UDP sockets to the loopback 2021-09-16 08:41:29 +08:00
eric
40e79fdb93 chore: convenient iOS build target for an optimized output 2021-09-16 08:41:29 +08:00
eric
7397c70b1b fakedns: HTTPS type is identified in newer trust-dns versions 2021-09-16 08:41:29 +08:00
eric
930f2b2ac7 outbound/failover: make sure health check requests are initiated within a second 2021-09-16 08:41:29 +08:00
eric
8e7c0b4bb8 router, conf: support INBOUND-TAG rule 2021-09-16 08:41:29 +08:00
eric
d5da5035b0 conf: support redirect outbound 2021-09-16 05:51:13 +08:00
eric
028f294982 conf: support NETWORK rule 2021-09-16 05:51:13 +08:00
eycorsican
135df3d44e Update README.md 2021-09-08 14:27:51 +08:00
eric
55ed9a420f outbound/ws: optionally sets the user agent from env var 2021-09-04 10:10:33 +08:00
eric
63e9e835b0 docs: added play store link 2021-09-01 13:49:56 +08:00
eric
9363e8e603 tun: fix a segment fault in closing netstack tcp listener 2021-09-01 13:37:09 +08:00
eric
517172d2b1 android: in favor of a TCP service when protecting sockets 2021-08-31 13:28:56 +08:00
eric
3773a029e8 test: tests start/shutdown 2021-08-27 10:24:41 +08:00
eric
9dcbc6e50a android: sets socket protect path from env var 2021-08-27 08:37:22 +08:00
eric
8f8ecc6469 conf: support specifying a TLS cert 2021-08-16 15:11:08 +08:00
eric
fbe3a5a01e inbound/tls: new inbound 2021-08-16 15:11:08 +08:00
bdbai
b077910792 net: bind loopback addr 2021-08-09 00:08:00 +08:00
eric
979815a530 tun: sets outbound interface explicitly 2021-08-06 06:48:10 +08:00
eric
cfaf9736f4 chore: notify -> 5.0.0-pre.11 2021-08-06 06:06:21 +08:00
eric
9d201ff6e0 refactor: additional abstraction over handler input and output 2021-07-06 22:48:53 +08:00
eric
abb5565d3e refactor: auto trait impl 2021-07-05 21:36:29 +08:00
eric
d35e649e62 Experimental plugin system 2021-07-04 10:11:32 +08:00
eric
2cbec8bcd3 refactor 2021-07-02 06:37:07 +08:00
eric
2b042bed83 inbound/quic: fix an NAT issue caused by missing source address and stream ID 2021-06-25 15:00:12 +08:00
eric
489d80f738 outbound/rr: new outbound to dispatch requests in a round-robin manner 2021-06-25 12:36:47 +08:00
eric
4cb47f5561 inbound, udp: distinguish proxy errors from network errors 2021-05-23 18:57:58 +08:00
eric
23dc682e34 Revert "inbound, udp: ignore proxy layer errors"
This reverts commit 019e394eb5.
2021-05-23 18:01:17 +08:00
eric
ef9fb38878 bin: include UDP availability test 2021-05-23 17:14:12 +08:00
eric
019e394eb5 inbound, udp: ignore proxy layer errors 2021-05-23 17:00:44 +08:00
eric
8bbe5ba84c dns: apply TTL to cached entries 2021-05-23 07:02:34 +08:00
eric
6b1855f6bd net: make OUTBOUND_INTERFACE available on all platforms 2021-05-23 06:55:15 +08:00
包布丁
500563bc56 Bind IPv6 addresses with scope ID (#181) 2021-05-23 06:43:27 +08:00
eric
c5277f4354 net: enable TCP keepalive 2021-05-20 12:48:35 +08:00
包布丁
8c7e442f07 router: log errors while reading mmdb files (#176) 2021-05-15 23:59:07 +08:00
eric
9afcc27fc2 v0.3.1
Some checks failed
ci / test (macos-latest) (push) Has been cancelled
ci / test (ubuntu-latest) (push) Has been cancelled
ci / test (windows-latest) (push) Has been cancelled
releases / build-bin-cross (aarch64-unknown-linux-musl) (push) Has been cancelled
releases / build-bin-cross (arm-unknown-linux-musleabi) (push) Has been cancelled
releases / build-bin-cross (armv7-unknown-linux-musleabihf) (push) Has been cancelled
releases / build-bin-cross (i686-unknown-linux-musl) (push) Has been cancelled
releases / build-bin-cross (mips-unknown-linux-musl) (push) Has been cancelled
releases / build-bin-cross (mipsel-unknown-linux-musl) (push) Has been cancelled
releases / build-bin-cross (x86_64-pc-windows-gnu) (push) Has been cancelled
releases / build-bin-cross (x86_64-unknown-linux-musl) (push) Has been cancelled
releases / build-bin-local (macos-latest, x86_64-apple-darwin) (push) Has been cancelled
releases / build-lib-ios (push) Has been cancelled
ci / build-bin-cross (aarch64-unknown-linux-musl) (push) Has been cancelled
ci / build-bin-cross (arm-unknown-linux-musleabi) (push) Has been cancelled
ci / build-bin-cross (armv7-unknown-linux-musleabihf) (push) Has been cancelled
ci / build-bin-cross (i686-unknown-linux-musl) (push) Has been cancelled
ci / build-bin-cross (mips-unknown-linux-musl) (push) Has been cancelled
ci / build-bin-cross (mipsel-unknown-linux-musl) (push) Has been cancelled
ci / build-bin-cross (x86_64-pc-windows-gnu) (push) Has been cancelled
ci / build-bin-cross (x86_64-unknown-linux-musl) (push) Has been cancelled
ci / build-bin-local (macos-latest, x86_64-apple-darwin) (push) Has been cancelled
ci / build-lib-ios (push) Has been cancelled
releases / create-release (push) Has been cancelled
releases / release-bin (aarch64-unknown-linux-musl) (push) Has been cancelled
releases / release-bin (arm-unknown-linux-musleabi) (push) Has been cancelled
releases / release-bin (armv7-unknown-linux-musleabihf) (push) Has been cancelled
releases / release-bin (i686-unknown-linux-musl) (push) Has been cancelled
releases / release-bin (mips-unknown-linux-musl) (push) Has been cancelled
releases / release-bin (mipsel-unknown-linux-musl) (push) Has been cancelled
releases / release-bin (x86_64-apple-darwin) (push) Has been cancelled
releases / release-bin (x86_64-pc-windows-gnu) (push) Has been cancelled
releases / release-bin (x86_64-unknown-linux-musl) (push) Has been cancelled
releases / release-lib (push) Has been cancelled
v0.3.1
2021-05-07 17:55:14 +08:00
eric
bea70ae4a1 shadowsocks: report non-EOF error 2021-05-07 17:39:10 +08:00
eric
ecccc94255 shadowsocks, trojan: send header and first payload separately
This is not the best handling but at least would not cause issues
on connections where first-payload is coming from the server side.
2021-05-07 13:39:40 +08:00
eric
30b7323866 shadowsocks: properly handle the EOF signal 2021-05-07 13:39:40 +08:00
eric
8c35e59d95 tun: tweak memory options 2021-05-07 13:39:40 +08:00
eric
822eb83ee5 tun: refine tcp stream handling 2021-05-07 13:39:40 +08:00
eric
7f8821860a outbound: apply a default 4s timeout to outbound TCP dials 2021-05-07 13:28:28 +08:00
eric
dc40de0cf0 optimize: reduce object copies in DNS lookup 2021-05-07 13:28:28 +08:00
eric
07eac7e465 chore: cleanup 2021-05-07 13:28:28 +08:00
eric
a46e3007ae ffi: fix shutdown issues 2021-05-04 21:32:03 +08:00
Perqin
de4de722b1 build: remove wrong cfg condition in build.rs (#170) 2021-05-03 17:27:45 +08:00
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