614 Commits
Author SHA1 Message Date
ginuerzh 729d0e7000 v2.11.5 v2.11.5 2023-01-20 14:43:13 +08:00
koaiwuandginuerzh b7beb1729e toSocksAddr supports IPv6 2023-01-19 14:46:23 +08:00
koaiwuandginuerzh 847ee05fd4 parseIP supports IPv6 2023-01-19 14:46:23 +08:00
Anton Tolchanovandginuerzh c07cdeff92 Do not exit the server loop on obfs4 connection errors
obfs4Listener.Accept() returns an error when obfs4 handshake fails, which in
practice happens routinely when someone scans a machine that has an open
listening port.

Currently the accept loop in server.go exits on first such error, which makes
further connections to the same port impossible.

This change wraps obfs4 handshake errors into a custom error type that
satisfies net.Error and presents itself as temporary, which will prevent such
errors from aborting the server.
2023-01-19 14:43:10 +08:00
ginuerzh 005cff5888 #889: add http tunnel mode for HTTP handler 2022-11-16 15:21:01 +08:00
ginuerzh aa8312a902 fix issue #883 2022-11-16 14:30:42 +08:00
ginuerzh b0bb26fc95 v2.11.4 v2.11.4 2022-09-03 20:51:23 +08:00
ginuerzh 97dda762e0 fix #870 2022-08-31 17:52:52 +08:00
ginuerzh 81854a61e0 fix snapcraft 2022-08-19 22:30:16 +08:00
ginuerzh 910d58c8ab fix snap 2022-08-19 12:08:17 +08:00
ginuerzh ac554f670c add proxyAgent options for http/http2 handler v2.11.3 2022-08-18 20:03:03 +08:00
ginuerzh b9e61dca1a go1.19 2022-08-18 18:21:21 +08:00
Costin Manolacheandginuerzh 3322613d3c Wait for the second copy error 2022-08-18 15:32:51 +08:00
PPPPPandginuerzh 7485f9a753 Update go.sum 2022-08-18 13:10:09 +08:00
PPPPPandginuerzh 6129f5e940 Update go.mod 2022-08-18 13:10:09 +08:00
Kebin Liuandginuerzh a263a9f173 Add older style build comment
To compatible with older Go version on some cloud environment , such as Google App Engine using 1.16
2022-08-18 13:09:38 +08:00
ginuerzh 0247b941ac fix resolver fallback 2022-05-01 20:49:33 +08:00
ginuerzh 31aee78e79 fix issues #820 and #821 2022-05-01 20:15:57 +08:00
IndexDogeandginuerzh f94293b454 feat: add bind interface
fix: clone route without interface and mark config
2022-04-19 20:02:16 +08:00
ginuerzh 45340b2845 update kcp 2022-04-13 21:06:29 +08:00
ginuerzh 74659324c8 update snapcraft build 2022-04-13 17:09:01 +08:00
ginuerzh cc87118242 update README_en.md 2022-04-07 23:13:52 +08:00
ginuerzh 3df387579c update README.md v2.11.2 2022-04-07 22:51:42 +08:00
ginuerzh ca632e8909 fix SO_MARK on non-linux OS 2022-04-07 22:43:12 +08:00
ginuerzh bbeaafc897 update version 2022-04-07 22:28:32 +08:00
p_caiwfengandginuerzh ffecc464fe surround interface name with double quote in case of name have space 2022-04-07 22:08:00 +08:00
purerosefallenandginuerzh 11d4838804 remote dups 2022-04-07 22:07:20 +08:00
purerosefallenandginuerzh 79b086df90 add mark option 2022-04-07 22:07:20 +08:00
hulbandginuerzh 40ccfecb36 update quick-go dep to support golang-1.18 2022-04-05 17:49:36 +08:00
openwrt2223andginuerzh 937b27dd95 update:update package 2021-12-16 22:38:27 +08:00
sleshepandginuerzh 27dec2d2ac update: ugprade quic-go==v0.24.0 2021-11-23 07:45:12 -08:00
naisonandginuerzh 8f08304b75 ignore linux error: File exists while add same route twice 2021-08-22 22:57:00 +08:00
guqing637andginuerzh a4695ece2d Update go.mod and go.sum 2021-03-24 15:04:00 +08:00
guqing637andginuerzh fc971d7f2d Update dependency ! 2021-03-20 17:41:23 +08:00
Guangming Liandginuerzh 8dd4d8d9a1 fix obfs-tls with shadowsocks aead issue #695 2021-02-06 13:13:40 +08:00
Hubix9andginuerzh e16ac5a58a Add whitelist/blacklist support for relay 2021-02-06 13:10:58 +08:00
ginuerzhandGitHub 4712d6c9dd Merge pull request #689 from btwiuse/master
bump github.com/milosgajdos/tenus to v0.0.3
2021-02-06 13:09:14 +08:00
navigaid 5d69ecf203 bump github.com/milosgajdos/tenus to v0.0.3 2021-01-04 20:17:27 +08:00
Soffandginuerzh 1a56a878ac Add darwin-arm64 for Apple M1 devices 2020-12-07 07:42:31 +08:00
proxy666-devandginuerzh b5d8d44c19 fix issue https://github.com/ginuerzh/gost/issues/617 2020-12-06 18:22:53 +08:00
Yang.Liuandginuerzh 3ea5708819 Fix: relay udp forward 2020-11-18 21:43:50 +08:00
Meng Zhuoandginuerzh 1c32df37bb Close connection if authentication failed
libcurl and some proxy application will keep sending authentication in
same connection if auth failed which is not supported.

fixes #583
2020-11-18 21:42:38 +08:00
luyuhuangandginuerzh fd079dd066 certificate pinning for servers without domain 2020-11-18 21:40:14 +08:00
ginuerzhandGitHub f7995ab564 Merge pull request #655 from moonfruit/homebrew
Add installation instructions for Homebrew
2020-10-20 23:29:42 +08:00
MoonFruit b9a965f4c1 Add installation instructions for Homebrew 2020-10-20 14:43:15 +08:00
ginuerzh 2707a8f0a9 v2.11.1 v2.11.1 2020-05-23 21:26:33 +08:00
ginuerzh d11f824858 update go.mod 2020-05-23 21:19:29 +08:00
ginuerzh b285bcd6ce support mutual TLS authentication 2020-05-23 21:07:37 +08:00
ginuerzh 60d7e01164 update go.mod 2020-05-23 13:25:09 +08:00
ginuerzh de43d87af3 rm shadowstream used in tuntap 2020-05-23 11:19:22 +08:00