nadoo
|
6820644073
|
proxy: added new scheme udp as replacement of udptun
|
2020-11-24 19:30:08 +08:00 |
|
nadoo
|
38f84a625d
|
proxy: added new scheme tcp as replacement of tcptun
|
2020-11-17 23:58:42 +08:00 |
|
nadoo
|
453fe925b3
|
docker: added scripts to publish docker image
|
2020-11-12 22:08:02 +08:00 |
|
nadoo
|
4887089a4b
|
ws: allow to set Origin header and default to nil
|
2020-11-07 19:20:35 +08:00 |
|
nadoo
|
8a2e95b17e
|
chore: add comments to export functions
|
2020-11-06 22:47:33 +08:00 |
|
nadoo
|
417ac556f7
|
pool: added bufio.Reader pool
|
2020-11-03 22:52:50 +08:00 |
|
nadoo
|
c15c55fe05
|
ssr: move 3rd party ssr pkg to internal
|
2020-10-29 22:47:57 +08:00 |
|
nadoo
|
7c92aca331
|
ssr: a little modification to use buffer pool
|
2020-10-27 22:32:04 +08:00 |
|
nadoo
|
b3940e4b77
|
ss: export the cipher package
|
2020-10-27 13:11:40 +08:00 |
|
nadoo
|
dad45afb17
|
ss: use internal pkg instead
|
2020-10-26 21:43:56 +08:00 |
|
nadoo
|
32990ebf77
|
proxy: optimize Copy for network connection
|
2020-10-24 18:55:47 +08:00 |
|
nadoo
|
e9f6f15290
|
general: try to reduce tcp fragment
|
2020-10-23 22:29:12 +08:00 |
|
nadoo
|
aefb9cd7ae
|
proxy: enable splice in relay when using proxy.Conn
|
2020-10-22 19:42:42 +08:00 |
|
nadoo
|
904757052d
|
conn: change TCPBufSize to 32K as the golang standard lib did
|
2020-10-21 20:00:43 +08:00 |
|
nadoo
|
cd78995cd4
|
ws: optimized the frame implementation
|
2020-10-20 20:28:35 +08:00 |
|
nadoo
|
beec9d205f
|
ws: support websocket server mode
|
2020-10-19 20:45:57 +08:00 |
|
nadoo
|
13babd9305
|
vless: fixed a bug in fallback processing
|
2020-10-15 19:34:00 +08:00 |
|
nadoo
|
d510ea45b0
|
udp: remove uottun and optimize udp implementation
|
2020-10-15 00:19:05 +08:00 |
|
nadoo
|
78e03d7fbf
|
check: add checktolerance config for lha mode
|
2020-10-12 19:07:54 +08:00 |
|
nadoo
|
a1ff92201c
|
trojan: support fallback
|
2020-10-11 19:53:38 +08:00 |
|
nadoo
|
6fff126e4b
|
proxy: optimize NewConn, avoid loop
|
2020-10-11 18:46:15 +08:00 |
|
nadoo
|
40ddd1be3a
|
trojan: add new scheme trojanc (trojan cleartext)
|
2020-10-11 01:15:28 +08:00 |
|
nadoo
|
175ef16a5c
|
trojan: support listen as trojan server
|
2020-10-10 19:04:33 +08:00 |
|
nadoo
|
6eda2b79c8
|
dns: update cache when an item expired
|
2020-10-09 22:02:19 +08:00 |
|
nadoo
|
6d64ee4c0e
|
dns: change cache to lrucache
|
2020-10-08 18:48:23 +08:00 |
|
nadoo
|
8495f16a76
|
tls, trojan: use 443 as default port if not specified
|
2020-10-07 21:06:49 +08:00 |
|
nadoo
|
e7ebcbcde5
|
vless: disable fallback by default
|
2020-10-04 23:32:21 +08:00 |
|
nadoo
|
829a0d7f80
|
vless: support fallback to a http server
|
2020-10-04 18:26:44 +08:00 |
|
nadoo
|
422869b37a
|
vless: support udp in server mode
|
2020-10-04 00:10:24 +08:00 |
|
nadoo
|
cd42337169
|
chore: update doc for info and restructure codes
|
2020-10-03 22:42:34 +08:00 |
|
nadoo
|
8b6739f12c
|
vless: spport server mode
|
2020-10-03 20:51:27 +08:00 |
|
nadoo
|
b323a62ce6
|
vless: added udp support
|
2020-10-02 19:09:12 +08:00 |
|
nadoo
|
bc68535dcd
|
doc: add info for customize building
|
2020-10-02 00:03:49 +08:00 |
|
nadoo
|
edfca215c5
|
general: restructure package, move socks to proxy
|
2020-10-01 22:49:14 +08:00 |
|
nadoo
|
bd358e4ae6
|
proxy: move conn to proxy package
|
2020-10-01 22:38:34 +08:00 |
|
nadoo
|
47e20cf7f4
|
conn: add CopyN function
|
2020-10-01 21:33:59 +08:00 |
|
nadoo
|
c01c2d1839
|
vless: added vless support
|
2020-10-01 20:59:45 +08:00 |
|
nadoo
|
de8c08c7b2
|
dhcpd: assign random ip
|
2020-09-29 00:38:35 +08:00 |
|
nadoo
|
4e966cc319
|
service: add service module
|
2020-09-27 19:50:21 +08:00 |
|
nadoo
|
04c65fb444
|
rule: optimized codes
|
2020-09-24 18:50:04 +08:00 |
|
nadoo
|
84b00d6db6
|
general: use builtin dns when it enabled. (#184)
|
2020-09-23 22:14:18 +08:00 |
|
nadoo
|
89114e678b
|
proxy: record failures of remote connection only
|
2020-09-14 20:56:37 +08:00 |
|
nadoo
|
b3b11b4188
|
http: better logging
|
2020-09-13 23:28:01 +08:00 |
|
nadoo
|
851fc46104
|
conn: optimize relay operation
|
2020-09-03 00:12:00 +08:00 |
|
nadoo
|
31f7c50cbc
|
general: optimize memory allocations
|
2020-08-26 19:21:35 +08:00 |
|
nadoo
|
167e6e5d29
|
general: several optimizations
|
2020-08-25 22:14:08 +08:00 |
|
nadoo
|
a42d3a68d0
|
dns: check length in UnmarshalDomain to avoid panic
|
2020-08-21 23:54:18 +08:00 |
|
nadoo
|
a118ec5837
|
general: optimize domain parts operations
|
2020-08-16 12:00:46 +08:00 |
|
nadoo
|
3a6fd63bc0
|
ssr: update version to fix checksum issue(#176)
|
2020-08-14 12:56:59 +08:00 |
|
nadoo
|
8f661a67a4
|
general: optimize codes
|
2020-08-10 18:43:41 +08:00 |
|
nadoo
|
c43bf0bbbb
|
ssr: update due to 3rd party package change
|
2020-07-23 21:12:48 +08:00 |
|
nadoo
|
e23a29f057
|
tls: support customization of serverName (#169)
|
2020-07-14 18:35:48 +08:00 |
|
nadoo
|
92a43608f3
|
ssr: update due to upstream lib change
|
2020-07-13 10:30:40 +08:00 |
|
nadoo
|
ab6a448d00
|
dns: optimize code
|
2020-05-06 20:10:18 +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
|
b99a730968
|
general: suport results feedback in more protocols
|
2020-05-01 20:54:23 +08:00 |
|
nadoo
|
c5881a6db3
|
general: update due to the previous interface change
|
2020-04-29 18:45:58 +08:00 |
|
wuudjac
|
22e0576b53
|
redir, dns: IncFailures on non-timeout errors (#133)
|
2020-04-28 15:18:19 +08:00 |
|
nadoo
|
76fddcc29c
|
dns: use pool buffer if possible
|
2020-04-22 19:37:10 +08:00 |
|
nadoo
|
b74880ae7a
|
pool: added a function to init bufPools
|
2020-04-21 12:17:14 +08:00 |
|
nadoo
|
149824cc20
|
dns: marshal to io.writer instead of byte slice
|
2020-04-20 12:41:53 +08:00 |
|
nadoo
|
a0542a028e
|
pool: return specified size of buffer
|
2020-04-19 23:20:15 +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
|
fa3a7da859
|
socks4: fix compile problem
|
2020-04-13 12:26:21 +08:00 |
|
mr.The
|
f14c4c7797
|
socks4: add support for socks4 proxy (#114)
|
2020-04-13 12:22:03 +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
|
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
|
a4346d2b03
|
general: minor changes in github actions and codes
|
2020-04-06 23:33:23 +08:00 |
|
nadoo
|
855907c46b
|
ws: support set a different host header #157
|
2020-04-05 11:55:48 +08:00 |
|
nadoo
|
666c76f921
|
general: tidy code
|
2020-04-04 22:57:29 +08:00 |
|
nadoo
|
9c3f2f600a
|
socks5: fix #148
|
2020-04-04 18:00:31 +08:00 |
|
nadoo
|
fda05d5d3d
|
strategy: try fwrdrs 1 by 1 when len(avail)==0
|
2020-04-04 00:03:47 +08:00 |
|
nadoo
|
1789d97f00
|
ssr: change 3rd party module #139
|
2020-04-03 19:57:31 +08:00 |
|
nadoo
|
bd0d14159c
|
http: fix #155
|
2020-04-03 12:42:57 +08:00 |
|
nadoo
|
ef2d3cd07f
|
http: remove debug info
|
2019-10-21 15:51:38 +08:00 |
|
nadoo
|
393a334705
|
http: fix #127
|
2019-10-21 15:44:50 +08:00 |
|
nadoo
|
ca88797df4
|
http: fixed #128
|
2019-10-21 14:58:18 +08:00 |
|
nadoo
|
39cd60c50b
|
http: close remote conn after relay
|
2019-10-21 14:16:49 +08:00 |
|
nadoo
|
486c455236
|
log: show caller's info in verbose mode
|
2019-10-20 17:52:25 +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
|
d9189e6212
|
http: add Host header in CONNECT request
|
2019-10-13 21:42:16 +08:00 |
|
nadoo
|
0c719d7098
|
ssr: fix #115
|
2019-10-11 19:05:05 +08:00 |
|
nadoo
|
6604bfe8a7
|
tls: fixed a bug in tls which may lose proxy addr
|
2019-09-20 13:58:53 +08:00 |
|
nadoo
|
4cb9ea2bdc
|
ss/socks5: fixed a bug in udp mode
|
2019-09-19 22:42:06 +08:00 |
|
nadoo
|
d6d706b5ee
|
log: show proxy info in log, via PROXY
|
2019-09-18 22:08:48 +08:00 |
|
nadoo
|
edcb21236a
|
proxy: add a new interface proxy to distinguish client and server
|
2019-09-18 19:40:14 +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 |
|
nadoo
|
d36b8fa394
|
general: optimize code
|
2019-09-07 20:25:00 +08:00 |
|
nadoo
|
0ef3d72e2e
|
mod: update go modules
|
2019-03-19 20:05:29 +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
|
2e44d79db8
|
reject: add a virtual proxy reject
|
2019-03-07 23:34:29 +08:00 |
|
nadoo
|
8c922db612
|
compiler: use go 1.12
|
2019-03-05 22:30:22 +08:00 |
|
nadoo
|
19acda9ee0
|
redir: avoid local loop request
|
2019-03-04 19:19:00 +08:00 |
|
nadoo
|
9bcc18a29b
|
ci: update to go 1.12
|
2019-03-01 00:59:55 +08:00 |
|
nadoo
|
c89d6018cf
|
dns: set ttl to minttl config for custom dns recordings
|
2019-01-06 20:38:15 +08:00 |
|
nadoo
|
d5a9d680a9
|
forwarder: set to disabled by default
|
2018-12-19 23:33:58 +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
|
c6a879dded
|
kcp: add some default settings to kcp conn (to improve the speed)
|
2018-12-13 00:22:34 +08:00 |
|
nadoo
|
750862abdb
|
obfs: added simple-obfs support. #79
|
2018-12-12 21:40:31 +08:00 |
|
Kurt Schwarz
|
54a75d6972
|
adds HTTP PATCH support to the mixed proxy
|
2018-11-30 15:19:55 -05:00 |
|
nadoo
|
b44fd344f4
|
kcp: added kcp support #63
|
2018-11-30 19:01:25 +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
|
dadaf35cb2
|
unix: add unix domain socket support. #59
|
2018-11-25 17:56:59 +08:00 |
|
nadoo
|
25c9721b00
|
tls: optimized code
|
2018-11-25 15:41:47 +08:00 |
|
nadoo
|
d37c2e2a35
|
server: changed interface definition and implementation
|
2018-11-25 13:18:15 +08:00 |
|
nadoo
|
2813e80a98
|
http: fix #76
|
2018-11-21 20:28:46 +08:00 |
|
nadoo
|
266578d67d
|
Merge pull request #71 from changx/master
add tls:// transport layer for listeners
|
2018-10-29 23:02:07 +08:00 |
|
changx
|
88e33cab7e
|
downgrade to tls12
|
2018-10-29 16:26:37 +08:00 |
|
changx
|
e27601f648
|
listener with tls transport layer
|
2018-10-29 16:18:51 +08:00 |
|
nadoo
|
14b072832d
|
dns: SetDeadline for all remote connection
|
2018-10-20 21:24:11 +08:00 |
|
changx
|
5383ac4fc0
|
tls listener
|
2018-10-14 13:56:04 +08:00 |
|
nadoo
|
515a5dffa5
|
redir: fixed a typo
|
2018-09-17 19:22:36 +08:00 |
|
nadoo
|
15b98359b1
|
http: fixed a compatibility issue with some http proxy server. #62
|
2018-09-17 19:16:17 +08:00 |
|
nadoo
|
70a88f4789
|
redir: added redir6 proxy
|
2018-09-04 20:26:40 +08:00 |
|
nadoo
|
4e5ee78df9
|
ss, socks5: print udp log only when a nat map is created
|
2018-09-02 22:30:41 +08:00 |
|
nadoo
|
3c8a451d94
|
ss: added chacha20 and xchacha20-ietf-poly1305 support. #21 #30
|
2018-09-02 19:18:51 +08:00 |
|
nadoo
|
0170fd7c98
|
direct: avoid panic when an interface link is down
|
2018-08-30 07:35:37 +08:00 |
|
nadoo
|
529786acf6
|
dns: add dnsalwaystcp config. #49
|
2018-08-26 22:36:14 +08:00 |
|
nadoo
|
035e15df5c
|
strategy: optimized code
|
2018-08-26 01:25:22 +08:00 |
|
nadoo
|
bec2c1fd63
|
strategy: add the ability to handle forwarder status change events
|
2018-08-25 23:56:18 +08:00 |
|
nadoo
|
b9017ff70a
|
strategy: avoid data race
|
2018-08-23 00:01:31 +08:00 |
|
nadoo
|
0d1c4c5a47
|
direct: remove link-local ip from IFaceIPs func
|
2018-08-22 00:11:31 +08:00 |
|
nadoo
|
8daa7784b0
|
general: add global setting interface
|
2018-08-20 22:23:00 +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
|
39ccbc5adf
|
forwarder: add the ability to specify local ip. #48
|
2018-08-15 00:54:17 +08:00 |
|
nadoo
|
e82ea75cba
|
strategy: experimental latency based high availability mode supported
|
2018-08-14 19:33:18 +08:00 |
|
nadoo
|
f4eab4d1b2
|
ipset: move to separate package
|
2018-08-13 00:42:59 +08:00 |
|
nadoo
|
e0c07146dc
|
strategy: do not check forwarders whose priority less than current value
|
2018-08-12 22:00:12 +08:00 |
|
nadoo
|
b5b7f2998b
|
forwarder: set status to disabled when dialing fails MaxFailures times
|
2018-08-12 21:40:22 +08:00 |
|
nadoo
|
e1c318990b
|
strategy: support priority now (need to check)
|
2018-08-12 18:50:44 +08:00 |
|
nadoo
|
a46ab20901
|
forwarder: add the ability to get parameters like 'priority'
|
2018-08-12 12:37:25 +08:00 |
|
nadoo
|
e3888a6bd3
|
strategy: moved to a separate package
|
2018-08-11 11:46:10 +08:00 |
|
nadoo
|
0da05ecedd
|
general: add a forwarder struct and changed proxies to use it
|
2018-08-10 19:03:30 +08:00 |
|