nadoo
affa00a871
doc: add info for tproxy
2021-07-18 00:31:28 +08:00
nadoo
9af5ca9baf
config: added config logflags
2021-07-17 23:43:22 +08:00
nadoo
56277acb7d
proxy: added tproxy module (only udp now)
2021-07-17 22:36:42 +08:00
nadoo
15f9e74e39
wss: added a new scheme wss
for convenience
2021-07-09 19:17:16 +08:00
nadoo
a62674838e
ssh: handle error in init conn ( #264 )
2021-07-07 19:05:26 +08:00
nadoo
879e736f01
ws: use default port if not specified
2021-07-06 20:31:39 +08:00
nadoo
53fe94251f
direct: optimize codes
2021-07-02 19:09:01 +08:00
nadoo
7f85f664e3
general: fixed a bug which leads to panic when the specified interface not exists
2021-07-02 01:06:11 +08:00
nadoo
72e57ab6e3
proxy: added a new scheme direct
so we can use it as a failover forwarder
2021-06-29 19:55:05 +08:00
nadoo
ceb8b82df8
proxy: support chain more than 2 protocols in server mode
2021-05-05 18:41:48 +08:00
nadoo
70cf30b5e6
smux: return os.ErrDeadlineExceeded when timeout
2021-05-01 00:32:55 +08:00
nadoo
e9e4515e67
smux: improve smux server
2021-04-28 00:53:41 +08:00
nadoo
dbd2e04521
proxy: added smux support
2021-04-21 00:29:17 +08:00
nadoo
34a053b875
ssh: close unused connection ( #251 )
2021-04-20 20:55:40 +08:00
nadoo
ddfcaae49c
ssh: reuse underlying connection ( #251 )
2021-04-20 15:28:52 +08:00
nadoo
2a7eed7667
ci: added freebsd version
2021-04-19 10:39:40 +08:00
nadoo
2d16870803
tls,trojan: optimize the default port handling
2021-03-21 00:08:00 +08:00
nadoo
93728c6378
socks5: fixed a bug in target getting
2021-03-19 15:57:16 +08:00
nadoo
8bca9cb3e4
ws: avoid pannic when addr not set( #229 )
2021-02-14 11:01:52 +08:00
nadoo
fbf694f5cd
socks5: fix an issue in udp handling with auth ( #219 )
2021-02-12 22:11:07 +08:00
mzz
d2268b623f
fix(socks5): should not dial returned bind addr directly ( #212 )
...
* fix(socks5): should not dial returned bind addr directly
When server returns an any ip (0.0.0.0 or [::0]), we should use conventional ip to replace the any ip given (0.0.0.0 or [::0]).
This behaviour adapts to most situations.
See v2fly/v2ray-core#523
* fix: splithostport
2021-02-07 11:04:58 +08:00
nadoo
40aadf3e24
ci: use go1.16rc1
2021-02-06 00:26:58 +08:00
mzz
068281cafa
feat: support socks4a ( #206 )
...
* feat: support socks4a
* fix: the ip should be 'To4'
* fix: align length
2020-12-19 13:19:16 +08:00
nadoo
226dd97d7d
ss: change the conn close behavior ( fixed #180 )
2020-12-15 19:26:25 +08:00
nadoo
e6631aaf84
chore: document update
2020-12-04 12:41:38 +08:00
nadoo
10b7f2d5e6
unix, udp: fixed nat issue ( #194 )
2020-12-03 23:47:26 +08:00
mzz
539f604e37
vmess(security-auto): choose security automaticly rather than using obsolete format ( #200 )
2020-12-03 17:12:16 +08:00
mzz
1b484cca8f
feat(vmess): support forward/udp ( #199 )
2020-12-03 15:27:52 +08:00
nadoo
2db84bb7aa
chore: document works and code optimizations
2020-12-02 19:00:39 +08:00
nadoo
142865535e
unix: support udp forwarding ( #194 )
2020-12-01 20:04:47 +08:00
nadoo
63112a1509
kcp: support set mode ( #197 )
2020-11-30 20:28:09 +08:00
nadoo
e077cb86b4
proxy: support tunnel mode inkcp
tls
ws
2020-11-29 23:13:19 +08:00
nadoo
87f1f44912
unix: support tunnel mode ( #194 )
2020-11-29 21:59:20 +08:00
nadoo
c9f3c20bc1
proxy: drop tcptun
and udptun
, use tcp
and udp
instead
2020-11-29 15:09:44 +08:00
mzz
adfb2fb9b4
fix: udp packet unpacking failure ( #198 )
2020-11-29 14:47:54 +08:00
nadoo
98ce20b295
check: stop checking when protocol not supported
2020-11-26 19:21:27 +08:00
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