Commit Graph

221 Commits

Author SHA1 Message Date
ginuerzh
b2784011d0 add service discovery for tunnel 2023-10-31 23:00:32 +08:00
ginuerzh
d4e00683c3 add tls options 2023-10-29 10:28:46 +08:00
ginuerzh
2898732c20 improve tunnel entrypoint 2023-10-27 22:15:53 +08:00
dependabot[bot]
bb0c0450e8 Bump google.golang.org/grpc from 1.58.1 to 1.58.3
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.58.1 to 1.58.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.58.1...v1.58.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 22:11:52 +08:00
ginuerzh
6bb7dfea8f fix #315 2023-10-25 23:13:39 +08:00
ginuerzh
e27d2bc593 set smux version to 1 2023-10-24 20:49:19 +08:00
ginuerzh
3144d61ecd generate random tunnel ID 2023-10-20 23:57:43 +08:00
ginuerzh
e4b68d385a fix race condition 2023-10-19 23:50:27 +08:00
ginuerzh
a91300d078 get real client ip for http forwarding 2023-10-18 21:23:38 +08:00
ginuerzh
b8785eb71e fix race condition when forwarding http 2023-10-18 19:20:43 +08:00
ginuerzh
67fcd929be fix http traffic forwarding 2023-10-18 14:33:38 +08:00
ginuerzh
48c262bf71 fix websocket for forward handler 2023-10-17 23:26:04 +08:00
ginuerzh
05c35005e9 fix websocket for forward handler 2023-10-17 23:06:02 +08:00
ginuerzh
f6112773a1 default to smux version 2 for tunnel 2023-10-17 22:16:28 +08:00
ginuerzh
61002b7c9c add mux config 2023-10-17 21:56:29 +08:00
ginuerzh
f8a19e0829 fix http handler for tunnel 2023-10-16 23:56:36 +08:00
ginuerzh
b1ace73943 update forward handler 2023-10-16 23:17:51 +08:00
ginuerzh
3d0e993498 fix compile error for serial 2023-10-15 23:57:49 +08:00
ginuerzh
9cbc875965 add tunnel handler and connector 2023-10-15 15:40:49 +08:00
dependabot[bot]
139b934fc6 Bump golang.org/x/net from 0.15.0 to 0.17.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.15.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.15.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-14 21:07:47 +08:00
ginuerzh
c1d9228eee add auther for metrics 2023-10-09 21:30:43 +08:00
ginuerzh
2ea7dc250a fix #239 2023-10-08 22:05:39 +08:00
ginuerzh
be33046c16 add proxy protocol support for relay tunnel and rtcp 2023-10-08 19:50:12 +08:00
ginuerzh
d85b8d487b fix socks5 connector 2023-10-04 16:37:10 +08:00
ginuerzh
ab8d77bb5e fix issue #280 2023-09-30 17:55:22 +08:00
ginuerzh
8a699e1906 add reload and plugin support for hop 2023-09-28 21:05:44 +08:00
ginuerzh
0d41f5edc8 update go.sum 2023-09-21 21:55:23 +08:00
ginuerzh
87364d2494 add client addr for auth plugin 2023-09-21 20:01:25 +08:00
ginuerzh
6982b8af63 add HTTP based plugin 2023-09-20 22:58:48 +08:00
ginuerzh
0b1540b23a add client ID for plugin service 2023-09-19 22:39:42 +08:00
ginuerzh
1bbeeb7e66 add unix/serial dialer and connector 2023-09-18 23:18:27 +08:00
ginuerzh
5d4db6e377 add recorder for serial handler 2023-09-18 21:13:52 +08:00
ginuerzh
05d06a2718 add recorder for serial handler 2023-09-18 09:43:44 +08:00
ginuerzh
3883a4493a add support for unix domain socket 2023-09-16 23:15:49 +08:00
ginuerzh
c73c98974c add support for serial(COM) port redirector 2023-09-16 21:50:54 +08:00
dependabot[bot]
6ee632cee2 Bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.9.0...v1.9.1)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-15 23:44:45 +08:00
ginuerzh
8e2060582e add timeout for sniffing 2023-05-21 15:54:57 +08:00
dependabot[bot]
410b4ddf53 Bump github.com/gin-gonic/gin from 1.8.2 to 1.9.0
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.8.2 to 1.9.0.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.8.2...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-10 17:17:53 +08:00
ginuerzh
0b6474d836 increase transport buffer size 2023-05-01 14:06:37 +08:00
ginuerzh
4b6d6e7e7c add token for plugin 2023-04-20 19:07:55 +08:00
ginuerzh
b2434dd05b add plugin system 2023-04-18 20:55:04 +08:00
ginuerzh
3d15dedab2 add async option for dns handler 2023-04-14 19:17:10 +08:00
ginuerzh
4847f9ee9f add support for windows service 2023-03-31 14:51:08 +08:00
ginuerzh
a88b44d01d fix #174: load default CA from ca.pem 2023-03-21 20:25:13 +08:00
ginuerzh
45f1cc2efc fix #188 2023-03-20 18:31:47 +08:00
ginuerzh
bfa1530ef6 fix grpc dialer 2023-03-08 00:01:36 +08:00
ginuerzh
f02c9810f2 update go.mod 2023-02-26 13:54:17 +08:00
ginuerzh
fda6214c12 fix #180: add default server name for tls client config 2023-02-26 13:48:42 +08:00
dependabot[bot]
acb8c5bd53 bump golang.org/x/net from 0.5.0 to 0.7.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.5.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-26 13:43:20 +08:00
ginuerzh
a379565412 fix relay connect handler 2023-02-14 18:57:06 +08:00
dependabot[bot]
69089b790f Bump github.com/pion/dtls/v2 from 2.1.5 to 2.2.4
Bumps [github.com/pion/dtls/v2](https://github.com/pion/dtls) from 2.1.5 to 2.2.4.
- [Release notes](https://github.com/pion/dtls/releases)
- [Commits](https://github.com/pion/dtls/compare/v2.1.5...v2.2.4)

---
updated-dependencies:
- dependency-name: github.com/pion/dtls/v2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 09:48:22 +08:00
ginuerzh
1c2d9b2a5b relay: fix routing for http traffic from entrypoint 2023-02-12 20:44:50 +08:00
ginuerzh
8d852b62cf relay: add direct routing for tunnel 2023-02-06 21:18:35 +08:00
ginuerzh
a80dec0dc1 go1.20 2023-02-04 18:48:20 +08:00
ginuerzh
62ca8ff2de add tunnel option for relay 2023-02-02 23:28:04 +08:00
ginuerzh
b8504f7f28 update go.mod 2023-02-02 20:00:12 +08:00
ginuerzh
95a2f0d649 add UDP support for reverse proxy tunnel 2023-02-02 19:20:22 +08:00
ginuerzh
3d01f74f7c fix nil route panic 2023-01-31 18:08:50 +08:00
ginuerzh
6b05bcb0ab add auth support for forwarder node 2023-01-31 14:07:20 +08:00
ginuerzh
799c95bfb4 forward non-HTTP traffic based on host 2023-01-30 21:10:59 +08:00
ginuerzh
de0a584175 fix http traffic forwarding 2023-01-30 14:40:40 +08:00
ginuerzh
381b1c9bf5 fix http traffic forwarding 2023-01-29 23:33:54 +08:00
ginuerzh
ed7d72bfd8 update go.mod 2023-01-29 20:53:33 +08:00
ginuerzh
98aef6ba90 forwarder: add http node settings 2023-01-29 20:33:58 +08:00
ginuerzh
dfde6efdeb relay: add private tunnel 2023-01-29 11:57:57 +08:00
ginuerzh
8858598cf0 update go.mod 2023-01-20 10:29:39 +08:00
ginuerzh
cf49a3ae46 add webapi for ingress 2023-01-15 17:46:24 +08:00
ginuerzh
fa47726c3d add tunnel feature for relay 2023-01-14 13:18:45 +08:00
ginuerzh
c351b849e6 case-insensitive metadata key 2023-01-11 22:28:43 +08:00
ginuerzh
44fca4e04c grpc: cancel stream when done 2022-12-30 19:38:51 +08:00
ginuerzh
a795923980 fix dtls 2022-12-23 18:58:24 +08:00
ginuerzh
d3283d6278 tun: support multiple IPs 2022-12-22 17:52:05 +08:00
ginuerzh
4b3e711adb update grpc 2022-12-21 18:21:23 +08:00
ginuerzh
258d9f5b26 fix traffic limiter 2022-12-19 19:38:38 +08:00
ginuerzh
2f0da6993b v3.0.0-rc.1 2022-12-02 17:58:32 +08:00
ginuerzh
39cb9c65d9 grpc.dialer: do not resolve server address 2022-12-01 19:24:52 +08:00
ginuerzh
df3533b4ef don't resolve server addr for tun handler 2022-11-25 18:17:11 +08:00
ginuerzh
2400e29fe0 add dtls tunnel 2022-11-18 18:27:25 +08:00
ginuerzh
41bb4cdbb0 add http3 reverse proxy 2022-11-12 17:16:43 +08:00
ginuerzh
4a192bc1b3 add wildcard supports for vhost 2022-11-12 13:45:27 +08:00
ginuerzh
f17b2d2e96 add vhost for port forwarding 2022-11-11 22:25:52 +08:00
ginuerzh
68c311a7d1 fix compile error 2022-11-05 16:39:11 +08:00
ginuerzh
1c9974340b fix traffic limiter 2022-11-05 16:29:57 +08:00
ginuerzh
09c12b013c add hooks for service 2022-11-03 21:32:12 +08:00
ginuerzh
b86d7ee06d add log rotation 2022-10-20 21:10:25 +08:00
ginuerzh
7f924fdeb6 fix proxy protocol 2022-09-28 11:53:25 +08:00
ginuerzh
5d797eac43 add hop 2022-09-22 18:59:56 +08:00
ginuerzh
e8071d9b65 update limiter 2022-09-14 20:06:14 +08:00
ginuerzh
50cf4edd1f add direct dialer and connector #63 2022-09-08 22:43:29 +08:00
ginuerzh
3d5f0f93fd added proxy protocol for listener 2022-09-08 21:33:19 +08:00
ginuerzh
aa754f8515 add rate limiter 2022-09-05 22:51:57 +08:00
ginuerzh
180214a124 update selector 2022-09-04 13:25:56 +08:00
ginuerzh
baa6f0cea0 fix bug #92 2022-09-03 17:34:12 +08:00
ginuerzh
ca0de58757 update selector 2022-09-02 21:55:25 +08:00
ginuerzh
5acccebe7b improve CIDR matcher 2022-08-31 20:22:44 +08:00
ginuerzh
850bb1379f fine-grained node bypass control 2022-08-25 21:38:13 +08:00
ginuerzh
9e404471a6 add list support for reference to auther, admission and bypass 2022-08-23 21:51:46 +08:00
ginuerzh
166317a7d0 add keepalive for tun 2022-08-22 22:15:32 +08:00
ginuerzh
77d9e3798c update tun handler 2022-08-21 13:56:53 +08:00
ginuerzh
5cbba69ae2 update go.mod 2022-08-20 21:43:21 +08:00