nadoo
ff09c45fb6
ssh: init conn in Dial
2021-12-06 23:53:10 +08:00
nadoo
638adc63d6
ssh: try to fix #299
2021-12-05 19:03:57 +08:00
nadoo
346db3338e
wss: optimize server code
2021-11-29 00:00:22 +08:00
nadoo
63caac133d
Merge branch 'master' into dev
2021-11-28 23:17:10 +08:00
mzz
ca320d3c7f
fix(trojan): potential memory leaking ( #297 )
2021-11-28 23:14:27 +08:00
mzz
6006ec13c7
feat(vmess): add length mask (opt=4) ( #298 )
2021-11-28 23:02:46 +08:00
nadoo
807aebc678
tproxy: fix ipv6 support ( #290 )
2021-10-22 18:36:09 +08:00
nadoo
e5031ac8d5
smux: update to v1.5.16
2021-09-22 22:49:33 +08:00
nadoo
6bd77a0b2a
dns: support default port 53
in dnsserver
config
2021-09-10 23:36:25 +08:00
nadoo
c86cadb4be
tls,wss,trojan: support certificate pinning ( #275 )
2021-08-20 18:47:15 +08:00
nadoo
c055c33143
tls: added new param alpn
2021-08-17 09:39:24 +08:00
nadoo
8b29af3c0c
dhcpd: support macOS and freebsd(not tested)
2021-08-12 19:11:06 +08:00
nadoo
7c50915f20
ws: remove the Sec-WebSocket-Protocol
header
2021-08-08 23:30:29 +08:00
nadoo
aae2fc8256
vless,vmess: support string to uuid mapping standard
2021-08-08 00:05:47 +08:00
nadoo
8729908660
vmess: support aead auth
2021-08-05 23:32:53 +08:00
nadoo
7486373821
proxy: support server mode of PROXY protocol v1
2021-08-04 19:13:22 +08:00
nadoo
32e1c37cfe
socks5,ss: improve udp server
2021-07-31 21:49:58 +08:00
nadoo
f3dc252967
udp,unix,tproxy: improve udp server
2021-07-29 20:05:20 +08:00
nadoo
a08c939dac
trojan,vless: use proxy.RelayUDP to support ReadDeadline
2021-07-26 23:14:35 +08:00
nadoo
f66303b38d
tproxy: fix data race
2021-07-26 13:05:19 +08:00
nadoo
b38f8a8761
tproxy: use goroutine to serve sessions
2021-07-26 00:42:21 +08:00
nadoo
d615dc087e
config: added tcpbufsize
& udpbufsize
(default: 2048)
2021-07-24 23:45:53 +08:00
nadoo
41861ff48e
tproxy: optimize codes and now works properly
2021-07-19 23:06:28 +08:00
nadoo
650f1eed4e
tproxy: use nativeEndian instead of LittleEndian
2021-07-18 01:09:37 +08:00
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