Commit Graph

180 Commits

Author SHA1 Message Date
nadoo
5cbfcf815f ssh: added timeout parameter (optimize #289 @299) 2021-12-09 19:22:12 +08:00
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
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
aae2fc8256 vless,vmess: support string to uuid mapping standard 2021-08-08 00:05:47 +08:00
nadoo
926b364400 doc: update documents and help info 2021-08-05 23:52:31 +08:00
nadoo
7486373821 proxy: support server mode of PROXY protocol v1 2021-08-04 19:13:22 +08:00
nadoo
f3dc252967 udp,unix,tproxy: improve udp server 2021-07-29 20:05:20 +08:00
nadoo
650f1eed4e tproxy: use nativeEndian instead of LittleEndian 2021-07-18 01:09:37 +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
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
d92e7f6191 dhcpd: support static ip address for mac 2021-06-10 20:09:21 +08:00
nadoo
41fee381d0 dhcpd: support to handle DECLINE & RELEASE msg 2021-06-07 19:14:58 +08:00
nadoo
3092d857ff dns: added new config dnscachelog and default to false 2021-05-30 12:18: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
88f09b30bc action: do not check issues with lable bug and enhancement. 2021-03-08 12:05:01 +08:00
nadoo
8116b5994b chore: bump version to v0.13.1 2021-02-19 23:23:12 +08:00
nadoo
4fab9d7b4b ci: use stable version of go1.16 2021-02-17 11:42:03 +08:00
nadoo
40aadf3e24 ci: use go1.16rc1 2021-02-06 00:26:58 +08:00
nadoo
226dd97d7d ss: change the conn close behavior (fixed #180) 2020-12-15 19:26:25 +08:00
nadoo
42c15b9262 chore: document update 2020-12-04 18:42:16 +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
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
c9f3c20bc1 proxy: drop tcptun and udptun, use tcp and udp instead 2020-11-29 15:09:44 +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
eaaa6d5aa9 check: added script checker (#195) 2020-11-21 01:20:40 +08:00
nadoo
65d606d29c check: support full url check and expect resp setting(#195) 2020-11-20 18:11:25 +08:00
nadoo
38f84a625d proxy: added new scheme tcp as replacement of tcptun 2020-11-17 23:58:42 +08:00
nadoo
1173f533ec check: support tcp check, use checktype & checkaddr instead of checkwebsite 2020-11-17 20:46:55 +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
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
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
02220387e9 dpcpd: handle errors 2020-10-01 19:29:53 +08:00
nadoo
de8c08c7b2 dhcpd: assign random ip 2020-09-29 00:38:35 +08:00
nadoo
9ca06ee32f general: add features.go 2020-09-27 14:51:36 +08:00
nadoo
72a2782395 config: better naming and some minor optimizations 2020-09-26 23:34:26 +08:00
nadoo
93a7677a94 ipset: use github.com/nadoo/ipset package 2020-09-25 11:04:13 +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
0e89d1879f general: use builtin dns as resolver when dns enabled 2020-09-13 15:25:57 +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
f65a983da8 dns: optimize codes 2020-08-23 23:23:30 +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
997bf09c32 ci: update golang and action script version 2020-08-13 21:09:54 +08:00
nadoo
8f661a67a4 general: optimize codes 2020-08-10 18:43:41 +08:00
nadoo
2fee24995a pool: use binary search to find proper index 2020-08-07 12:07:30 +08:00
nadoo
382f9cc519 pool: fixed a bug in PutBuffer 2020-08-06 18:07:20 +08:00
nadoo
16eee62947 doc: add info to build from source code 2020-08-02 18:40:10 +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
061b3da42e ssh: support ssh forwarder 2020-05-04 13:53:59 +08:00