Commit Graph
9 Commits
Author SHA1 Message Date
zonyitoo 016d40cd29 better format of genipset 2021-05-19 23:56:28 +08:00
zonyitoo c9b81c3dbe add ip6tables config for redir 2021-05-16 22:22:03 +08:00
zonyitoo dee933e614 add ipset generataor 2021-04-06 09:12:10 +08:00
zonyitoo ac192d32e9 setting SO_MARK on redir send-back socket 2021-03-06 00:04:01 +08:00
zonyitoo a021cc4c1e check repeated salt after first successful decryption
fixes #442
2021-03-05 16:44:33 +08:00
ty 303f96c61f Upgrade to tokio 1.0 (#358)
* upgrade to tokio v1.0

- removed tokio::prelude
- upgrade hyper to v0.14, tokio-rustls to v0.22

still working on migrating trust-dns-* and tokio-native-tls

ref #354

* tokio v1.0 removed with_poll

fix #355, ref #354

* removed CTRL-BREAK signal handler

ref #354

* fixes compliation error, add missing return

fixes #355

* allow setting SO_SNDBUF and SO_RCVBUF for sockets

ref #352

* completely removed unix socket based DNS resolving

ref shadowsocks/shadowsocks-android#2622

* fix build issue on Windows

* fixed uds poll_write loop, fixed udp outbound loopback check

ref #355

* disable default trust-dns resolver for andorid, macos, ios

This commit also:

- Optimized resolve() logging with elapsed time
- updated tokio-native-tls

* local-dns removed from default features

* fix rustc version with rust-toolchain

* Bump bytes from 0.6.0 to 1.0.0

* add dependabot badge

* indirectly depend on trust_dns_proto via trust_dns_resolver

* auto reconnect if udp sendto failed

* recreate proxied socket if recv() returns failure

* increase score precision to 0.0001

* example of log4rs configuration

* PingBalancer instance shouldn't kill probing task when dropping

- Probing task should be controlled by the internal shared state

* switch to trust-dns main for latest tokio 1.0 support
2020-12-28 10:10:19 +08:00
zonyitoo 3a1054acc5 queries UDP & TCP simutaneously 2020-12-23 20:45:01 +08:00
zonyitoo e8292e5146 [#303] Hide client errors into debug level 2020-11-07 00:25:55 +08:00
Y. T. Chung 5462e5ba28 add sample configs 2016-10-21 01:20:21 +08:00