Commit Graph

18 Commits

Author SHA1 Message Date
naison
bb991fc1d7 refactor: use grpc stream send cancel operation (#629)
* refactor: use grpc stream send cancel operation

* refactor: ssh jump remove flags
2025-06-07 12:24:28 +08:00
fengcaiwen
ebaa4098f1 refactor: change temp kubeconfig to ~/.kubevpn/tmp 2025-04-29 21:39:45 +08:00
naison
9661a122bd refactor: optimize code (#561) 2025-04-25 19:37:03 +08:00
naison
28657e3832 refactor: remove deprecated options of config flags (#560) 2025-04-24 22:44:20 +08:00
naison
6a8a197f48 hotfix: close ssh client if ctx done (#559) 2025-04-24 22:41:24 +08:00
naison
1cae5d270b refactor: optimize ssh logic (#555) 2025-04-21 22:19:31 +08:00
naison
a3556a263d refactor: add additional [2]byte for packet length (#554) 2025-04-21 21:51:01 +08:00
naison
537b2940fe perf: route packet by each tcp conn (#548) 2025-04-19 19:14:39 +08:00
naison
b46f7a9877 refactor: divide log to session and backend (#487)
* refactor: divide log to session and backend
2025-03-23 13:59:10 +08:00
fengcaiwen
399bc4efe0 hotfix: not cancel context after handle new local connection of PortmapUtil, otherwise ssh.client stop channel also closed 2025-02-12 23:27:45 +08:00
naison
3ad0b5d1a3 hotfix: add platform for cmd ssh 2025-02-08 12:04:25 +00:00
naison
98c22ba9b7 refactor: refactor code (#373) 2024-11-22 22:00:50 +08:00
naison
65ae890842 feat: add APIServer ip to route table if ssh info is not empty (#361) 2024-10-25 21:25:42 +08:00
naison
aa881a589e hotfix: fix ssh and port-forward retry bug (#360)
Co-authored-by: fengcaiwen <fengcaiwen@bytedance.com>
2024-10-25 21:25:03 +08:00
naison
a64eaf66da hotfix: fix port forward and ssh (#357)
* hotfix(portfoward): fix port-forward bug and ssh reconnect bug

* hotfix: remove larger overlapping cidrs for adding routes

* feat: retry port-forward if get pod err is not forbidden

* hotfix: fix ssh and port-forward

* feat: add more log

* hotfix: set go default revolver perfergo options to true
2024-10-20 11:23:49 +08:00
naison
15103837a7 hotfix: fix ssh re-connect logic 2024-10-10 10:28:58 +08:00
naison
0826f2e20c refactor: refactor log make it more formal (#314) 2024-08-03 15:01:16 +08:00
naison
a3b8c1586d refactor: refactor ssh structure (#311) 2024-07-27 10:37:48 +08:00