nadoo
|
045531d68d
|
http: fixed a bug in reqHeader.Get
|
2018-01-13 14:36:13 +08:00 |
|
nadoo
|
21935fc6b9
|
conn: change OutboundIP to return string
|
2018-01-13 14:34:49 +08:00 |
|
nadoo
|
950ed2b426
|
http: add param to send 'X-Forwarded-For' header. #18
|
2018-01-13 14:25:55 +08:00 |
|
nadoo
|
4670c9931e
|
conn: add the ability to get outbound ip
|
2018-01-13 13:20:15 +08:00 |
|
nadoo
|
824c9b3788
|
udptun: add udp tunnel support
|
2018-01-12 20:11:21 +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
|
ff632f23a6
|
dns: change parseAnswers function to return error
|
2018-01-11 14:44:24 +08:00 |
|
nadoo
|
e91d4bcb6e
|
ipset: avoid adding twice
|
2018-01-10 13:11:13 +08:00 |
|
nadoo
|
bebfa0e48e
|
dns: fixed a bug in parseQuestion which may leads to a panic
|
2018-01-10 12:25:57 +08:00 |
|
nadoo
|
2e10672c3b
|
dns: add some comment
|
2018-01-09 23:43:56 +08:00 |
|
nadoo
|
969034fb97
|
dns: move tcp and udp process to handleReqMsg function
|
2018-01-09 13:11:55 +08:00 |
|
nadoo
|
a652f8db04
|
dns: add a parameter in dns struct to identify tunnel
|
2018-01-08 23:37:58 +08:00 |
|
nadoo
|
050489806c
|
dns: add tcp support
|
2018-01-08 22:28:11 +08:00 |
|
nadoo
|
99ad1eb762
|
ss: support udp in server mode
|
2018-01-08 18:14:57 +08:00 |
|
nadoo
|
5f661de379
|
rule: optimized log format
|
2018-01-06 14:44:58 +08:00 |
|
nadoo
|
9354caac5c
|
dns: optimized the parse answer function
|
2018-01-06 13:33:09 +08:00 |
|
nadoo
|
ee0da7cacb
|
dns: parse answers only when query type is A or AAAA
|
2018-01-05 12:29:06 +08:00 |
|
nadoo
|
ee9a8ceb3a
|
conf: show help before error exit
|
2018-01-04 15:26:18 +08:00 |
|
nadoo
|
13bc2d4a2e
|
doc: correct a mistake in example config file
|
2017-12-24 23:13:53 +08:00 |
|
nadoo
|
a560864ef1
|
dns: imporve dns client to be compatible with upstream dnsmasq servers
|
2017-12-21 10:10:56 +08:00 |
|
nadoo
|
47022d6d27
|
ss: fixed #17, bypass rule has no effect in the following situation: 1. has global forwarder; 2. has bypass rules; 3. use ss proxy server;
|
2017-12-20 15:13:45 +08:00 |
|
nadoo
|
a045e54504
|
http: optimized proxy client
|
2017-12-17 14:46:24 +08:00 |
|
nadoo
|
3b73599b7b
|
http: add header ending in http proxy client mode
|
2017-12-17 11:24:25 +08:00 |
|
nadoo
|
1889de7f7f
|
http: Proxy-Authorization header
|
2017-12-17 01:01:11 +08:00 |
|
nadoo
|
632f45448b
|
http: add basic auth in client mode
|
2017-12-17 00:36:53 +08:00 |
|
nadoo
|
7a9609771f
|
Merge pull request #14 from nodarret/master
use sync.Map in status
|
2017-12-16 21:20:04 +08:00 |
|
nadoo
|
8f9f10d4ee
|
Merge pull request #12 from ksafe/patch-1
Update glider.conf.example
|
2017-11-01 00:36:58 +08:00 |
|
nadoo
|
8ef2944f1a
|
log: optimize logs for redir and socks5
|
2017-10-18 21:47:32 +08:00 |
|
nadoo
|
ade87c9588
|
ipset: add comments
|
2017-10-02 19:39:57 +08:00 |
|
nadoo
|
97dda61483
|
redir: avoid underscore in func name
|
2017-09-21 23:13:44 +08:00 |
|
nadoo
|
65e3940bd6
|
rule: change receiver name
|
2017-09-21 23:07:04 +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
|
7ba0773fd7
|
general: add some comments to functions
|
2017-09-10 20:33:35 +08:00 |
|
nadoo
|
53466d8183
|
doc: add build status, go report card, licese icons
|
2017-09-10 19:48:53 +08:00 |
|
nadoo
|
061f64733c
|
ci: add travis-ci config file
|
2017-09-10 19:42:26 +08:00 |
|
nadoo
|
fdbb9a5034
|
tproxy: add base udp tproxy listener codes
|
2017-09-09 15:06:44 +08:00 |
|
nadoo
|
4fe5eb97bb
|
ss: support proxy chain in udp over tcp mode
|
2017-09-08 15:25:10 +08:00 |
|
nadoo
|
9fef98fd5b
|
ss: remove unused codes
|
2017-09-08 12:35:49 +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
|
0e8263ddfa
|
uottun: add udp over tcp local server support
|
2017-09-08 12:07:57 +08:00 |
|
nadoo
|
e32bf1a0f6
|
server: remove network parameter in server mode
|
2017-09-07 23:50:10 +08:00 |
|
nadoo
|
30f340dc86
|
ss: add udp support as server mode
|
2017-09-06 18:52:22 +08:00 |
|
nadoo
|
8bc8ee3876
|
mixed: remove ss from mixed proxy
|
2017-09-06 16:21:27 +08:00 |
|
nadoo
|
1088bb19bc
|
fix #10
|
2017-09-04 23:32:12 +08:00 |
|
nadoo
|
eb51142ebb
|
doc: add direct.rule.example
|
2017-09-04 00:43:47 +08:00 |
|
nadoo
|
6a9b2cb8c9
|
doc: update
|
2017-09-04 00:42:20 +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
|
9ada06a055
|
Merge pull request #9 from soffchen/patch-1
Update office.list.example
|
2017-09-03 00:53:37 +08:00 |
|
nadoo
|
9110354b23
|
doc: update README files
|
2017-08-31 11:45:01 +08:00 |
|
nadoo
|
95aa3fa38f
|
examples: update doc for "9. Transparent Proxy without dnsmasq"
|
2017-08-31 11:30:27 +08:00 |
|
nadoo
|
73f0987b96
|
examples: add 9. Transparent Proxy without dnsmasq
|
2017-08-31 11:03:34 +08:00 |
|
nadoo
|
5b9dc1563a
|
examples: add link in README file
|
2017-08-31 01:23:26 +08:00 |
|
nadoo
|
432dc9485b
|
examples: add example 7. Transparent Proxy with dnsmasq
|
2017-08-31 01:19:49 +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
|
45a03ff62d
|
examples: add order number
|
2017-08-29 10:05:06 +08:00 |
|
nadoo
|
9d9fe7bfd8
|
systemd: add CAP_NET_ADMIN capability for ipset
|
2017-08-28 23:14:52 +08:00 |
|
nadoo
|
4729fc57f3
|
ipset: do not create ipset when ipset name is ""
|
2017-08-28 23:14:02 +08:00 |
|
nadoo
|
ada5cdfcc3
|
ipset: add ipset management. REQUIRE CAP_NET_ADMIN capability.
|
2017-08-28 19:23:32 +08:00 |
|
nadoo
|
419fa05171
|
conf: support relative path in "rules-dir" config
|
2017-08-25 20:32:51 +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
|
6055efa537
|
rule: parse cidr once
|
2017-08-23 21:11:08 +08:00 |
|
nadoo
|
1b400d984e
|
rule: use new concurrent sync.Map instead of old map
|
2017-08-23 18:58:24 +08:00 |
|
nadoo
|
65f33beaa3
|
log: add LogFunc so we can define a custom logger
|
2017-08-23 18:04:20 +08:00 |
|
nadoo
|
cba2f36b08
|
forwarder: add NextDialer method so we can choose dialer by domain name (not dns server) in dns proxy
|
2017-08-23 17:45:57 +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
|
dd5ba37582
|
dns: add the ability to get resloved ip address of domain. (so we can add ip address to ipset later)
|
2017-08-21 23:57:49 +08:00 |
|
nadoo
|
dbc9fc7b5c
|
README: fixed rule file link
|
2017-08-20 21:51:54 +08:00 |
|
nadoo
|
0bff373a4e
|
rules: add rules.d folder
|
2017-08-20 21:49:21 +08:00 |
|
nadoo
|
989d3c9787
|
rules: add rules-dir folder config support
|
2017-08-20 21:44:18 +08:00 |
|
nadoo
|
b2b3a94798
|
redir: fixed a compile error on linux
|
2017-08-17 20:26:46 +08:00 |
|
nadoo
|
4574ab1c1a
|
general: optimize codes
|
2017-08-16 22:37:42 +08:00 |
|
nadoo
|
5fef071349
|
dns: add experimental codes to specify different remote dns server in rule file
|
2017-08-16 13:20:12 +08:00 |
|
nadoo
|
5c0c2e926d
|
doc: fixed link in systemd/README.md
|
2017-08-14 00:02:05 +08:00 |
|
nadoo
|
b29d972adc
|
dnstun: add the ability to support both udp and tcp dns request
|
2017-08-13 23:51:08 +08:00 |
|
nadoo
|
1a14762d84
|
general: change StringSlice to StringSliceUniq to remove duplicate flag values
|
2017-08-13 20:25:21 +08:00 |
|
nadoo
|
ed788fd1c7
|
general: use string slice instead of custom arrFlags type.
|
2017-08-12 12:20:25 +08:00 |
|
nadoo
|
085e6ba040
|
change version
|
2017-08-08 09:49:32 +08:00 |
|
nadoo
|
7a919ed124
|
dnstun: remove last dot in getDomain func
|
2017-08-07 15:06:26 +08:00 |
|
nadoo
|
8cb0672df0
|
doc: update
|
2017-08-01 20:58:34 +08:00 |
|
nadoo
|
f8f6308e92
|
strategy: fixed a bug in haproxy which actually act as a rrproxy.
|
2017-07-31 19:29:43 +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
|
8527d48190
|
remove addr in redir proxy which is not needed.
|
2017-07-30 13:37:33 +08:00 |
|
nadoo
|
83df90b8b2
|
fixed a bug in redir proxy.
|
2017-07-30 13:33:50 +08:00 |
|
nadoo
|
aa67e5df41
|
fixed a mistake in config example
|
2017-07-30 13:04:57 +08:00 |
|
nadoo
|
76fbaf2cec
|
return strategy proxy if no rule file specified.
|
2017-07-30 12:38:41 +08:00 |
|
nadoo
|
88c8eeff35
|
fixed a bug in redir proxy.
|
2017-07-30 12:03:19 +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 |
|