Commit Graph

230 Commits

Author SHA1 Message Date
nadoo
e23a29f057 tls: support customization of serverName (#169) 2020-07-14 18:35:48 +08:00
nadoo
e3c57ba369 dns: add length check to avoid panic 2020-05-05 01:30:57 +08:00
nadoo
665d722d2c direct: support dial timeout and relay timeout (#97) 2020-05-04 16:51:41 +08:00
nadoo
3392db41de check: stop current check process when timeout (#159) 2020-05-04 15:33:26 +08:00
nadoo
061b3da42e ssh: support ssh forwarder 2020-05-04 13:53:59 +08:00
nadoo
48e059db6c dns: switch upstream when dial error occurred 2020-05-03 20:02:11 +08:00
nadoo
c5881a6db3 general: update due to the previous interface change 2020-04-29 18:45:58 +08:00
nadoo
5326c0a901 pool: added buffer pool for conn 2020-04-19 17:03:39 +08:00
nadoo
8ccafa8fbd doc: update doc 2020-04-14 00:17:46 +08:00
nadoo
d8b9e00025 socks4: add doc info and fix bug 2020-04-13 12:33:44 +08:00
nadoo
8b43213c76 dns: code optimize 2020-04-13 00:55:11 +08:00
nadoo
ff461f615b doc: add some info for trojan 2020-04-12 17:48:04 +08:00
nadoo
792a47f0c0 doc: update doc for trojan 2020-04-12 17:24:34 +08:00
nadoo
bfcf9272dc trojan: added udp support 2020-04-12 15:27:20 +08:00
nadoo
2520a1c8b4 ss: handle unexpect situation to avoid panic #132 2020-04-11 21:08:10 +08:00
nadoo
4e1cb6ebf6 trojan: added trojan support 2020-04-08 01:09:51 +08:00
nadoo
855907c46b ws: support set a different host header #157 2020-04-05 11:55:48 +08:00
nadoo
ef8cdfa703 http: support auth in server mode. #84 2019-10-19 22:16:15 +08:00
nadoo
2560f6727f socks5: support auth in server mode. #84 2019-10-19 20:29:52 +08:00
nadoo
0c719d7098 ssr: fix #115 2019-10-11 19:05:05 +08:00
nadoo
2c4aa26055 general: bump version 2019-09-19 18:03:48 +08:00
nadoo
063dc1bc01 proxy: added the ability to log forwarder 2019-09-18 12:53:04 +08:00
nadoo
c2425e67de general: add github actions and remove travis 2019-09-15 20:50:52 +08:00
whoami
9595fcf0c0 typo: (#99) 2019-09-07 16:26:55 +08:00
nadoo
a22b1d9c86 strategy: add checktimeout config. (#89) 2019-03-18 23:37:01 +08:00
nadoo
47406ce4ce udptun: fixed a bug in nat mapping. #91 2019-03-12 23:32:23 +08:00
nadoo
4ece9ece25 dns: allow to resolve domain which in a reject rule 2019-03-08 00:14:37 +08:00
nadoo
9bcc18a29b ci: update to go 1.12 2019-03-01 00:59:55 +08:00
nadoo
47547bb08d config: change checkduration to checkinterval 2019-01-06 21:01:20 +08:00
nadoo
6ba9e1f5e8 obfs: compatible with some server implementation in tls mode 2018-12-16 13:28:24 +08:00
nadoo
51fedc8653 http: fix potential problem 2018-12-14 00:02:25 +08:00
nadoo
750862abdb obfs: added simple-obfs support. #79 2018-12-12 21:40:31 +08:00
nadoo
44c30df001 doc: update description for tls 2018-11-28 23:28:32 +08:00
nadoo
5a43cf873e ipset: only allow to set ipset in rule files #69 2018-11-27 23:25:20 +08:00
nadoo
86478d2c25 doc: update document for tls and unix proxy 2018-11-25 22:21:23 +08:00
nadoo
14b072832d dns: SetDeadline for all remote connection 2018-10-20 21:24:11 +08:00
nadoo
70a88f4789 redir: added redir6 proxy 2018-09-04 20:26:40 +08:00
nadoo
eae5bf118d general: add vendor folder 2018-09-02 22:16:24 +08:00
nadoo
3c8a451d94 ss: added chacha20 and xchacha20-ietf-poly1305 support. #21 #30 2018-09-02 19:18:51 +08:00
nadoo
ac94540ab8 general: update some doc or comment for new features. 2018-08-27 19:38:42 +08:00
nadoo
20616dfd10 doc: add info for dnsalwaystcp 2018-08-27 00:01:09 +08:00
nadoo
2f239d60f1 doc: add info for dh mode 2018-08-26 01:43:28 +08:00
nadoo
0d1c4c5a47 direct: remove link-local ip from IFaceIPs func 2018-08-22 00:11:31 +08:00
nadoo
1d5ef167ec doc: add info for setting interface 2018-08-21 07:57:21 +08:00
nadoo
edd5964a1e direct: optimized local ip logic 2018-08-20 00:17:16 +08:00
nadoo
c9e9ebd287 forwarder: support curl like interface parameter 2018-08-19 01:49:52 +08:00
nadoo
c21a7d8c4d forawrder: change localip to interface 2018-08-18 23:59:21 +08:00
nadoo
59e7b17200 doc: add local ip info for forwarder 2018-08-17 23:53:27 +08:00
nadoo
88ff8997b5 strategy: avoid returning nil dialer in lha.nextDialer 2018-08-16 00:01:59 +08:00
nadoo
4967f0bd36 doc: add info for forwarder option: priority 2018-08-14 19:52:32 +08:00
nadoo
2fcef7b00c ws: fixed a bug when ws used as a middle layer protocol(tls,ws,vmess) 2018-08-08 00:03:32 +08:00
nadoo
a26e437b5d dns: add settings dnstimeout/dnsmaxttl/dnsminttl 2018-08-07 19:43:52 +08:00
nadoo
8d20331096 doc: update README file format 2018-08-01 00:47:43 +08:00
nadoo
04c6f74343 doc: update for custom dnsrecord 2018-08-01 00:36:11 +08:00
nadoo
40f3315007 dnstun: remove dustun proxy, use dns and dnsserver settings instead 2018-07-30 01:13:44 +08:00
nadoo
21923af1cd doc: update some descriptions 2018-07-25 08:23:58 +08:00
nadoo
49021f167c doc: update help msg for ws 2018-07-24 00:54:38 +08:00
nadoo
88eee75aa7 ws: add support for security key check 2018-07-24 00:45:41 +08:00
nadoo
068e4df8fc doc: add some info for websocket 2018-07-22 20:02:50 +08:00
nadoo
c8c4d5c75c doc: drop support for go1.9 2018-07-16 15:08:43 +08:00
nadoo
7a7b25f173 doc: update for vmess security settings 2018-07-12 11:22:21 +08:00
nadoo
3c3cb8e3fd doc: update for vmess and tls 2018-07-11 08:34:15 +08:00
nadoo
049c5b1458 vmess: changed sechme to vmess://[security:]uuid@host:port?alterID=num 2018-07-06 11:13:25 +08:00
nadoo
43a66b4d48 doc: add vmess config in config example file 2018-07-05 20:56:05 +08:00
nadoo
922462ffe8 vmess: add docs for vmess 2018-07-05 20:44:19 +08:00
nadoo
385f5d7790 vmess: worked in SecTypeNone mode 2018-07-03 00:31:43 +08:00
nadoo
f3db1980cf general: tidy code 2018-06-28 09:49:23 +08:00
nadoo
3e09aa9ce0 doc: update spell mistakes 2018-06-03 13:54:16 +08:00
nadoo
dcd02cebd9 ssr: check obfs and protocol type 2018-05-22 12:19:57 +08:00
nadoo
a25cc5cfe3 doc: update ssr info 2018-05-20 16:59:48 +08:00
nadoo
113a96fd18 doc: add some info for ssr 2018-05-17 10:16:00 +08:00
nadoo
6e32720c1c version: bump to v0.5.1 2018-03-20 18:50:41 +08:00
nadoo
34bbb6a57b doc: correct spell mistake 2018-02-25 12:31:48 +08:00
nadoo
24f5c98ca9 doc: update README 2018-01-22 23:24:33 +08:00
nadoo
0d9f588e1f socks5: support udp in client mode 2018-01-22 00:40:04 +08:00
nadoo
61f7131d53 doc: add udp over tcp tunnel info 2018-01-20 23:31:36 +08:00
nadoo
124e1a3013 doc: update README and help info 2018-01-20 23:27:22 +08:00
nadoo
6b4d2582ca socks5: support udp in server mode 2018-01-20 22:13:04 +08:00
nadoo
1368cf7770 uottun: support local udp 2 udp forwarding when there are no remote forwarders 2018-01-11 23:14:09 +08:00
nadoo
632f45448b http: add basic auth in client mode 2017-12-17 00:36:53 +08:00
nadoo
54e3f2ac6b tproxy: use continue instead of return 2017-09-16 23:10:10 +08:00
nadoo
4b0388a47d udptun: use routine to handle upstream connection 2017-09-11 15:02:59 +08:00
nadoo
3dc02c246b doc: add go version badge 2017-09-11 00:42:28 +08:00
nadoo
c27ccc1473 doc: update README 2017-09-11 00:28:40 +08:00
nadoo
1cf0c48982 doc: add some badges 2017-09-11 00:25:57 +08:00
nadoo
53466d8183 doc: add build status, go report card, licese icons 2017-09-10 19:48:53 +08:00
nadoo
fdbb9a5034 tproxy: add base udp tproxy listener codes 2017-09-09 15:06:44 +08:00
nadoo
aab127d901 doc: update todo list 2017-09-08 12:10:22 +08:00
nadoo
aeb0acab33 ss: add udp over tcp support 2017-09-08 12:09:57 +08:00
nadoo
8bc8ee3876 mixed: remove ss from mixed proxy 2017-09-06 16:21:27 +08:00
nadoo
0234995814 doc: format 2017-09-04 00:21:12 +08:00
nadoo
efb1029793 doc: correct mistakes in README file 2017-09-03 01:18:01 +08:00
nadoo
e34b787ea5 doc: update README file 2017-09-03 01:05:56 +08:00
nadoo
9110354b23 doc: update README files 2017-08-31 11:45:01 +08:00
nadoo
73f0987b96 examples: add 9. Transparent Proxy without dnsmasq 2017-08-31 11:03:34 +08:00
nadoo
a839f8d195 config: add new settings in examples for ver 0.4 2017-08-31 00:53:24 +08:00
nadoo
ee6eec0b52 doc: update documents for ver0.4 2017-08-31 00:08:22 +08:00
nadoo
e7dd21289f ipset: 1. ipset flush; 2. ipset in main config 2017-08-29 18:36:42 +08:00
nadoo
4729fc57f3 ipset: do not create ipset when ipset name is "" 2017-08-28 23:14:02 +08:00
nadoo
1a941cd095 systemd: add CapabilityBoundingSet settings in service file so that glider can listen on port below 1024 with none-root user 2017-08-24 11:58:32 +08:00
nadoo
4e4e778f1d README: update TODO list 2017-08-23 23:04:03 +08:00
nadoo
0f2e490001 README: add go version info 2017-08-23 21:19:09 +08:00
nadoo
652d49182a 1. general: restructured codes;
2. rule: add dnsserver to ip rule map;
3. dns: add DNSAnswerHandler so we can define a custom handler when a domain resolved
2017-08-23 16:35:39 +08:00
nadoo
dbc9fc7b5c README: fixed rule file link 2017-08-20 21:51:54 +08:00
nadoo
8cb0672df0 doc: update 2017-08-01 20:58:34 +08:00
nadoo
b3b06cbfa5 README: change checkhost -> checkwebsite 2017-07-31 14:07:47 +08:00
nadoo
a06d56cce0 proxy chek: 1. improve check method: send a http get request and check the response, if the first 4 byte is "HTTP" then the proxy is avaliable. 2. if a proxy is disabled, increase the check duration. 3. update related docs. 2017-07-31 13:42:11 +08:00
nadoo
76fbaf2cec return strategy proxy if no rule file specified. 2017-07-30 12:38:41 +08:00
nadoo
16ed700fd1 add config examples link in README file 2017-07-30 11:53:16 +08:00
nadoo
cfce89e795 add some example configs 2017-07-30 11:44:34 +08:00
nadoo
d9bfd95216 add TODO list in README file. 2017-07-30 10:57:24 +08:00
nadoo
3d8c976bd0 1. add CIDR rule support; 2. update some docs; 3. optimize rule.go codes. 2017-07-30 10:35:11 +08:00
nadoo
1ba0f38c9e fixed all known bugs 2017-07-29 18:15:22 +08:00
nadoo
f6941b98d8 add features info in README file. 2017-07-27 01:22:56 +08:00
nadoo
0dc3ea651f parse domain in dns request playload. (prepare for the forward rule and ipset management features.) 2017-07-26 18:56:24 +08:00
nadoo
772eef1563 add systemd service file. 2017-07-24 17:16:40 +08:00
nadoo
f5052770c0 update doc 2017-07-23 01:57:05 +08:00
nadoo
92d99d923c added more info to config example 2017-07-23 01:46:06 +08:00
nadoo
a604f645f6 added install info for ArchLinux 2017-07-21 18:58:51 +08:00
nadoo
cc6f121764 update README: add "PermissionsStartOnly=true" in service file. 2017-07-18 22:16:30 +08:00
nadoo
97944e44e6 update readme file. 2017-07-18 19:45:35 +08:00
nadoo
e4ce0edc39 add config file support. 2017-07-18 19:25:54 +08:00
nadoo
e27e482272 Revert "add simple config file support."
This reverts commit e9ef64bf6745494d0a33560de6226f371d63c9be.
2017-07-18 19:01:42 +08:00
nadoo
cacde72e04 add simple config file support. 2017-07-18 17:49:44 +08:00
nadoo
0c5950e9e8 fixed a bug in upstream http proxy. 2017-07-16 20:13:01 +08:00
nadoo
0d01e8a4eb fixed a bug in strategy.go which may leads to infinite recursion in the condition of all remote proxy disabled. 2017-07-16 12:16:50 +08:00
nadoo
4772bfb7c6 remove some feature help msg which haven't been implemented yet. 2017-07-14 16:49:21 +08:00
nadoo
76afdacf13 add links in README.md 2017-07-14 11:20:02 +08:00
nadoo
668d5bc470 first commit 2017-07-13 21:55:41 +08:00
nadoo
78b7f8ead8 Initial commit 2017-07-13 21:53:15 +08:00