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 |
|