Commit Graph

150 Commits

Author SHA1 Message Date
yuyicai
db09cbbb6e feat: update tun cidr for kubevpn-traffic-manager
Signed-off-by: yuyicai <yuyicai@hotmail.com>
2025-03-05 23:14:57 +08:00
naison
7051f24313 hotfix: fix upgrade deploy image 2025-02-25 14:22:55 +00:00
naison
caee039ffd feat: add image pull secret name 2025-01-24 06:51:34 +00:00
fengcaiwen
7d028fc950 feat: proxy mode support proxy multiple workloads 2025-01-18 11:13:09 +08:00
fengcaiwen
12920650ba feat: aws fargate mode works 2025-01-18 11:10:20 +08:00
fengcaiwen
b6cfba7db9 feat: fargate mode works basic 2025-01-18 10:52:51 +08:00
Constantin Revenko
51166477c2 Fix panic when removing CIDRs containing API server IP addresses (#403)
* add func removeCIDRsContainingIPs

* remove comments

---------

Co-authored-by: Константин Ревенко <konstantin.revenko@mediascope.net>
2024-12-17 10:10:16 +08:00
naison
f046e474af hotfix: return error if resolve extra-domain ip is empty (#397) 2024-12-13 18:26:14 +08:00
naison
062c69de0e hotfix: add traffic-manager pod ip to route table (#396) 2024-12-13 18:21:01 +08:00
naison
24a97de5dc hotfix: add more resolver on macOS (#382) 2024-11-29 20:25:26 +08:00
naison
98c22ba9b7 refactor: refactor code (#373) 2024-11-22 22:00:50 +08:00
naison
d9a9000d7b hotfix: fix can not ping itself tun IP on windows 2024-11-18 10:43:59 +00:00
naison
2aa7812cb1 feat: use gvisor parse network packet in pod (#369) 2024-11-15 20:56:10 +08:00
naison
a243842052 hotfix: fix port-forward retry bug (#366) 2024-10-30 10:30:48 +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
c4fb3c5ca0 refactor: remove useless heartbeats (#316) 2024-08-03 15:14:43 +08:00
naison
0826f2e20c refactor: refactor log make it more formal (#314) 2024-08-03 15:01:16 +08:00
naison
9f62e02f96 hotfix: use pod ip as dns server if service ip is unreachable (#313) 2024-08-02 12:07:10 +08:00
naison
bc7d205695 refactor: refactor DHCP logic (#298) 2024-07-19 22:07:35 +08:00
naison
0e2a8f1ce6 feat: exec and port-forward using websocket if available (#295) 2024-07-12 22:09:50 +08:00
naison
8093cb125a hotfix: fix list and watch pod/service to add route bug (#289) 2024-07-05 22:00:59 +08:00
naison
e9327ec572 fix: fix watch pod/svc resource version too old (#280) 2024-06-29 11:56:31 +08:00
naison
331423c308 feat: not set ipv6 if ipv6 is not enable on linux (#248)
* feat: not set ipv6 if ipv6 is not enable on linux
2024-05-14 14:17:34 +08:00
naison
3e51bf0f4d hotfix: close chan (#245) 2024-05-13 19:58:56 +08:00
naison
e7f00f5899 hotfix: cleanup in time when connect lite mode (#243) 2024-05-13 10:14:54 +08:00
naison
70d5723e97 refactor: refactor daemon process (#242)
* refactor: refactor daemon process

* hotfix: add fsnotify to watch pid file
2024-05-10 21:39:14 +08:00
naison
ca18dab08f refactor: refactor cmd status (#236)
Co-authored-by: wencaiwulue <895703375@qq.com>
2024-04-30 22:02:48 +08:00
naison
9df4efb98b refactor: refactor cmd alias status and disconnect (#233)
* refactor: refactor cmd alias status and disconnect

---------

Co-authored-by: wencaiwulue <895703375@qq.com>
2024-04-27 18:22:34 +08:00
naison
6f6d338656 hotfix: fix not add route bug (#228) 2024-04-27 09:58:54 +08:00
naison
fe7be90d0b hotfix: fix tun device no buffer space available (#225) 2024-04-24 17:32:04 +08:00
naison
31d7e4debb refactor: refactor dns (#218)
* refactor: refactor dns

* refactor: optimize forward dns server

* refactor: add short domain test

* refactor: fix remove nameserver from resolver bug

---------

Co-authored-by: wencaiwulue <895703375@qq.com>
2024-04-13 16:39:26 +08:00
naison
45491f185d hotfix: fix ping bug (#213)
Co-authored-by: wencaiwulue <895703375@qq.com>
2024-04-06 13:16:13 +08:00
naison
4eeecd5255 refactor: refactor get cidr logic (#211)
Co-authored-by: wencaiwulue <895703375@qq.com>
2024-04-05 11:03:52 +08:00
naison
87166494c0 refactor: update go mod library (#210)
refactor: update go mod library and refactor dev logic

Co-authored-by: wencaiwulue <895703375@qq.com>
2024-04-04 12:04:02 +08:00
naison
e5438b297a fix: fix proxy mode bug (#205) 2024-04-02 12:43:40 +08:00
naison
fadfd00927 hotfix: fix cpu usage high cause by in loop to call <-time.Tick(xxx) (#201)
Co-authored-by: wencaiwulue <895703375@qq.com>
2024-03-31 11:05:34 +08:00
naison
0d64dc7b10 refactor: optimize dns code (#186)
Co-authored-by: wencaiwulue <895703375@qq.com>
2024-03-03 17:31:52 +08:00
naison
0730cb12b7 refactor: move ssh jump to util (#184)
Co-authored-by: wencaiwulue <895703375@qq.com>
2024-03-03 11:49:44 +08:00
naison
e232bf902e refactor: optimize ssh and set dns server logic (#183)
Co-authored-by: wencaiwulue <895703375@qq.com>
2024-03-03 00:57:47 +08:00
naison
a8826b3334 feat: add extra node ip to route table (#179)
* feat: add extra node ip to route table
2024-02-27 18:00:52 +08:00
naison
2fdfc1d88d feat: proxy mode add portmap option (#176)
Co-authored-by: wencaiwulue <895703375@qq.com>
2024-02-23 21:17:24 +08:00
naison
01e3456ad3 fix: ssh portmap redo ssh dial (#170) 2024-02-17 19:25:35 +08:00
naison
3ad6127132 feat: optimize code (#149)
Co-authored-by: wencaiwulue <895703375@qq.com>
2024-02-15 11:38:14 +08:00
naison
4abc5f004a fix: fix some bug and optimize ssh logic (#147) 2024-02-07 20:36:10 +08:00
naison
847c2c8cc1 feat: update go mod to v2 (#127)
* feat: update go mod to v2

* feat: typo
2024-01-14 18:00:12 +08:00
fengcaiwen
8650e4ecf9 hotfix: fix too many portforward and too many watch service 2024-01-09 16:01:43 +08:00
fengcaiwen
c0da61cd4b fix: fix hosts bug 2023-12-16 22:52:49 +08:00
naison
c80f610fc1 feat: ssh support auth gssapi (#97)
* feat: support ssh auth GSSAPI

* feat: support ssh auth GSSAPI
2023-11-26 17:21:12 +08:00
fengcaiwen
36d953141a feat: set port-forward retry sleep duration 2023-11-07 17:34:50 +08:00