nadoo
|
2d18e337e0
|
doc: add some info about udptun/uottun
|
2018-01-24 12:46:02 +08:00 |
|
nadoo
|
cc389e0cdf
|
doc: update README
|
2018-01-22 23:24:33 +08:00 |
|
nadoo
|
ad53a6f214
|
socks5: fixed a bug in dialudp
|
2018-01-22 22:40:38 +08:00 |
|
nadoo
|
13552a43ca
|
socks5: keep tcp control connection until udp connection closed
|
2018-01-22 01:10:47 +08:00 |
|
nadoo
|
bbf421615e
|
socks5: fixed a bug in ReadFrom
|
2018-01-22 00:51:28 +08:00 |
|
nadoo
|
9bf069dde0
|
socks5: support udp in client mode
|
2018-01-22 00:40:04 +08:00 |
|
nadoo
|
01aff05c8e
|
general: add comments
|
2018-01-21 00:31:10 +08:00 |
|
nadoo
|
236d566e3f
|
doc: add udp over tcp tunnel info
|
2018-01-20 23:31:36 +08:00 |
|
nadoo
|
50832981c4
|
doc: update README and help info
|
2018-01-20 23:27:22 +08:00 |
|
nadoo
|
bcf9583147
|
socks5: support udp in server mode
|
2018-01-20 22:13:04 +08:00 |
|
nadoo
|
d8b5084fa9
|
udptun: add nat map
|
2018-01-20 15:36:53 +08:00 |
|
nadoo
|
c63881d9d7
|
uottun: serve in goroutine
|
2018-01-20 15:23:56 +08:00 |
|
nadoo
|
3812ac7b94
|
ss: add nat map in ListenAndServeUDP
|
2018-01-20 15:08:23 +08:00 |
|
nadoo
|
3cdadcc4a2
|
ss: support udp forward chain
|
2018-01-18 18:12:17 +08:00 |
|
nadoo
|
f2e0a5dc6e
|
udptun: optimize code
|
2018-01-17 22:44:04 +08:00 |
|
nadoo
|
1497fc5ae2
|
ss: optimize dial and pktconn code
|
2018-01-17 00:42:24 +08:00 |
|
nadoo
|
ebbc50a0c9
|
udptun: add DialUDP to forwarders
|
2018-01-17 00:26:38 +08:00 |
|
nadoo
|
ecdd33f0ed
|
http: add param xsi for "X-Server-IP" header
|
2018-01-16 10:39:40 +08:00 |
|
nadoo
|
afb5f246ac
|
http: add 'X-Forwarded-For' in response header
|
2018-01-14 21:16:54 +08:00 |
|
nadoo
|
fa5aa87689
|
udptun: use net.Conn instead of net.PacketConn
|
2018-01-14 20:37:38 +08:00 |
|
nadoo
|
b094d296f3
|
udptun: support direct mode
|
2018-01-13 22:31:22 +08:00 |
|
nadoo
|
76a12aa8d1
|
strategy: optimize code
|
2018-01-13 20:08:49 +08:00 |
|
nadoo
|
77615f9f3d
|
http: fixed a bug in reqHeader.Get
|
2018-01-13 14:36:13 +08:00 |
|
nadoo
|
138c78697a
|
conn: change OutboundIP to return string
|
2018-01-13 14:34:49 +08:00 |
|
nadoo
|
84b47cbf1d
|
http: add param to send 'X-Forwarded-For' header. #18
|
2018-01-13 14:25:55 +08:00 |
|
nadoo
|
192cffc95c
|
conn: add the ability to get outbound ip
|
2018-01-13 13:20:15 +08:00 |
|
nadoo
|
31a6c94d75
|
udptun: add udp tunnel support
|
2018-01-12 20:11:21 +08:00 |
|
nadoo
|
775e3c05de
|
uottun: support local udp 2 udp forwarding when there are no remote forwarders
|
2018-01-11 23:14:09 +08:00 |
|
nadoo
|
4fb3718381
|
dns: change parseAnswers function to return error
|
2018-01-11 14:44:24 +08:00 |
|
nadoo
|
0e9f6721b4
|
ipset: avoid adding twice
|
2018-01-10 13:11:13 +08:00 |
|
nadoo
|
7c30f1001a
|
dns: fixed a bug in parseQuestion which may leads to a panic
|
2018-01-10 12:25:57 +08:00 |
|
nadoo
|
ed30f295d7
|
dns: add some comment
|
2018-01-09 23:43:56 +08:00 |
|
nadoo
|
8a1111d3b5
|
dns: move tcp and udp process to handleReqMsg function
|
2018-01-09 13:11:55 +08:00 |
|
nadoo
|
d2d49e7d2e
|
dns: add a parameter in dns struct to identify tunnel
|
2018-01-08 23:37:58 +08:00 |
|
nadoo
|
238702f159
|
dns: add tcp support
|
2018-01-08 22:28:11 +08:00 |
|
nadoo
|
6e3423588a
|
ss: support udp in server mode
|
2018-01-08 18:14:57 +08:00 |
|
nadoo
|
3c53bd9727
|
rule: optimized log format
|
2018-01-06 14:44:58 +08:00 |
|
nadoo
|
7d16530bae
|
dns: optimized the parse answer function
|
2018-01-06 13:33:09 +08:00 |
|
nadoo
|
52a1c35b01
|
dns: parse answers only when query type is A or AAAA
|
2018-01-05 12:29:06 +08:00 |
|
nadoo
|
8e8361bc42
|
conf: show help before error exit
|
2018-01-04 15:26:18 +08:00 |
|
nadoo
|
ff281721d0
|
doc: correct a mistake in example config file
|
2017-12-24 23:13:53 +08:00 |
|
nadoo
|
21319f13ef
|
dns: imporve dns client to be compatible with upstream dnsmasq servers
|
2017-12-21 10:10:56 +08:00 |
|
nadoo
|
36d8e0593b
|
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
|
a0972f535e
|
http: optimized proxy client
|
2017-12-17 14:46:24 +08:00 |
|
nadoo
|
a79cd87ae8
|
http: add header ending in http proxy client mode
|
2017-12-17 11:24:25 +08:00 |
|
nadoo
|
339a27f81f
|
http: Proxy-Authorization header
|
2017-12-17 01:01:11 +08:00 |
|
nadoo
|
4ac0847ea9
|
http: add basic auth in client mode
|
2017-12-17 00:36:53 +08:00 |
|
nadoo
|
4c16066b2f
|
Merge pull request #14 from nodarret/master
use sync.Map in status
|
2017-12-16 21:20:04 +08:00 |
|
nadoo
|
5893cf0d3a
|
Merge pull request #12 from ksafe/patch-1
Update glider.conf.example
|
2017-11-01 00:36:58 +08:00 |
|
nadoo
|
c880dfab43
|
log: optimize logs for redir and socks5
|
2017-10-18 21:47:32 +08:00 |
|
nadoo
|
1177c89102
|
ipset: add comments
|
2017-10-02 19:39:57 +08:00 |
|
nadoo
|
09e1b9342d
|
redir: avoid underscore in func name
|
2017-09-21 23:13:44 +08:00 |
|
nadoo
|
ee0637b950
|
rule: change receiver name
|
2017-09-21 23:07:04 +08:00 |
|
nadoo
|
72b24db91d
|
tproxy: use continue instead of return
|
2017-09-16 23:10:10 +08:00 |
|
nadoo
|
c293e58ac5
|
udptun: use routine to handle upstream connection
|
2017-09-11 15:02:59 +08:00 |
|
nadoo
|
21f9ab3bbe
|
doc: add go version badge
|
2017-09-11 00:42:28 +08:00 |
|
nadoo
|
cf650028b2
|
doc: update README
|
2017-09-11 00:28:40 +08:00 |
|
nadoo
|
4005387199
|
doc: add some badges
|
2017-09-11 00:25:57 +08:00 |
|
nadoo
|
4bd8bae2a5
|
general: add some comments to functions
|
2017-09-10 20:33:35 +08:00 |
|
nadoo
|
e28a2b4141
|
doc: add build status, go report card, licese icons
|
2017-09-10 19:48:53 +08:00 |
|
nadoo
|
da01361391
|
ci: add travis-ci config file
|
2017-09-10 19:42:26 +08:00 |
|
nadoo
|
997c495730
|
tproxy: add base udp tproxy listener codes
|
2017-09-09 15:06:44 +08:00 |
|
nadoo
|
c8e63f2dc2
|
ss: support proxy chain in udp over tcp mode
|
2017-09-08 15:25:10 +08:00 |
|
nadoo
|
adff6c5356
|
ss: remove unused codes
|
2017-09-08 12:35:49 +08:00 |
|
nadoo
|
70667b3f07
|
doc: update todo list
|
2017-09-08 12:10:22 +08:00 |
|
nadoo
|
42b9e0ef18
|
ss: add udp over tcp support
|
2017-09-08 12:09:57 +08:00 |
|
nadoo
|
67d32e0628
|
uottun: add udp over tcp local server support
|
2017-09-08 12:07:57 +08:00 |
|
nadoo
|
f3e1fa26d7
|
server: remove network parameter in server mode
|
2017-09-07 23:50:10 +08:00 |
|
nadoo
|
91beca61ae
|
ss: add udp support as server mode
|
2017-09-06 18:52:22 +08:00 |
|
nadoo
|
93aac48d73
|
mixed: remove ss from mixed proxy
|
2017-09-06 16:21:27 +08:00 |
|
nadoo
|
ec21d5325f
|
fix #10
|
2017-09-04 23:32:12 +08:00 |
|
nadoo
|
9d9374ded1
|
doc: add direct.rule.example
|
2017-09-04 00:43:47 +08:00 |
|
nadoo
|
4da3dec329
|
doc: update
|
2017-09-04 00:42:20 +08:00 |
|
nadoo
|
7b752becc5
|
doc: format
|
2017-09-04 00:21:12 +08:00 |
|
nadoo
|
3c39a7ba32
|
doc: correct mistakes in README file
|
2017-09-03 01:18:01 +08:00 |
|
nadoo
|
3e970bfdaa
|
doc: update README file
|
2017-09-03 01:05:56 +08:00 |
|
nadoo
|
3167df5bb6
|
Merge pull request #9 from soffchen/patch-1
Update office.list.example
|
2017-09-03 00:53:37 +08:00 |
|
nadoo
|
35dc609429
|
doc: update README files
|
2017-08-31 11:45:01 +08:00 |
|
nadoo
|
5296ebb825
|
examples: update doc for "9. Transparent Proxy without dnsmasq"
|
2017-08-31 11:30:27 +08:00 |
|
nadoo
|
04a2ddeb63
|
examples: add 9. Transparent Proxy without dnsmasq
|
2017-08-31 11:03:34 +08:00 |
|
nadoo
|
3127a501dc
|
examples: add link in README file
|
2017-08-31 01:23:26 +08:00 |
|
nadoo
|
abef0aa99f
|
examples: add example 7. Transparent Proxy with dnsmasq
|
2017-08-31 01:19:49 +08:00 |
|
nadoo
|
ee54f5cbcc
|
config: add new settings in examples for ver 0.4
|
2017-08-31 00:53:24 +08:00 |
|
nadoo
|
f5629189ad
|
doc: update documents for ver0.4
|
2017-08-31 00:08:22 +08:00 |
|
nadoo
|
4376565e6c
|
ipset: 1. ipset flush; 2. ipset in main config
|
2017-08-29 18:36:42 +08:00 |
|
nadoo
|
8951d1b442
|
examples: add order number
|
2017-08-29 10:05:06 +08:00 |
|
nadoo
|
3612700c0f
|
systemd: add CAP_NET_ADMIN capability for ipset
|
2017-08-28 23:14:52 +08:00 |
|
nadoo
|
684c17507d
|
ipset: do not create ipset when ipset name is ""
|
2017-08-28 23:14:02 +08:00 |
|
nadoo
|
ac1976d5d7
|
ipset: add ipset management. REQUIRE CAP_NET_ADMIN capability.
|
2017-08-28 19:23:32 +08:00 |
|
nadoo
|
f5eeae91a5
|
conf: support relative path in "rules-dir" config
|
2017-08-25 20:32:51 +08:00 |
|
nadoo
|
867bafaa78
|
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
|
11df26061b
|
README: update TODO list
|
2017-08-23 23:04:03 +08:00 |
|
nadoo
|
f76c83b6d4
|
README: add go version info
|
2017-08-23 21:19:09 +08:00 |
|
nadoo
|
e67a0755a2
|
rule: parse cidr once
|
2017-08-23 21:11:08 +08:00 |
|
nadoo
|
f687c0b7d0
|
rule: use new concurrent sync.Map instead of old map
|
2017-08-23 18:58:24 +08:00 |
|
nadoo
|
a902152ef1
|
log: add LogFunc so we can define a custom logger
|
2017-08-23 18:04:20 +08:00 |
|
nadoo
|
cfc8ee9b5e
|
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
|
1ca16dac79
|
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
|
825dea4f65
|
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
|
375e8f9f65
|
README: fixed rule file link
|
2017-08-20 21:51:54 +08:00 |
|