Commit Graph

74 Commits

Author SHA1 Message Date
naison
61349e778f refactor: add tun device name to hosts comment (#725) 2025-09-30 16:38:02 +08:00
naison
f6d23566d2 fix: deadlock (#723) 2025-09-30 16:29:20 +08:00
naison
4fe94cfd0c refactor: optimize code (#717)
* refactor: optimize code
2025-09-23 19:36:30 +08:00
naison
4e568fe9e3 hotfix: fix CVE (#669)
* hotfix: fix CVE

* feat: prefer use cmd rather than magic dns to set dns on linux

* feat: update go work sum

* feat: update ut
2025-07-10 10:35:48 +08:00
naison
f14d074417 hotfix: add cmd once for generate tls cert after helm installed (#657)
* hotfix: add cmd once for generate tls cert after helm installed

* hotfix: update scale

* hotfix: update scale

* hotfix: fix bugs

* hotfix: print

* feat: add role for get cidr

* feat: add --image options for cmd once

* feat: add role watch pod

* feat: filter api-server
2025-06-26 11:08:42 +08:00
naison
a750327d9e hotfix: ignore some known top dns server on macOS 2025-06-04 06:26:09 +00:00
naison
75c609211b refactor: use informer to list&watch pod&service ip for adding to route table (#610) 2025-05-23 10:09:06 +08:00
naison
208f607f03 hotfix: fix dns slow (#499) 2025-03-30 11:56:57 +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
naison
6908991461 refactor: optimize code (#472) 2025-03-14 21:12:11 +08:00
naison
05b76094f0 feat: support service type externalName (#464) 2025-03-12 00:26:00 +08:00
naison
fad55dce28 feat(log): log trace if panic (#405) 2024-12-18 20:50:47 +08:00
naison
81f62eab31 refactor: refactor print GRPC message (#386) 2024-12-06 19:29:11 +08:00
naison
24a97de5dc hotfix: add more resolver on macOS (#382) 2024-11-29 20:25:26 +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
d141ec869b fix: fix dns on linux (#336)
* fix: fix dns on linux

* feat: detect run in Github action or not to setup DNS
2024-10-09 19:17:50 +08:00
naison
0826f2e20c refactor: refactor log make it more formal (#314) 2024-08-03 15:01:16 +08:00
naison
bc7d205695 refactor: refactor DHCP logic (#298) 2024-07-19 22:07:35 +08:00
naison
993be34b70 hotfix: delete from hosts while service is be deleted (#290) 2024-07-05 22:01:43 +08:00
naison
deb4ec98f5 fix: disconnect if operation connect has cancelled (#279) 2024-06-29 11:56:21 +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
0e569fe1a4 hotfix: fix dns method genereateHostsEntry NPE (#226) 2024-04-24 17:32:18 +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
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
dc270ca846 fix: fix set hosts bug (#188)
Co-authored-by: wencaiwulue <895703375@qq.com>
2024-03-03 23:58:21 +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
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
0384de250a fix: add \n before append host entry (#139) 2024-01-29 23:08:50 +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
naison
cbf3cdff42 fix: add service clusterIP (#121) 2024-01-11 20:43:42 +08:00
naison
9f97a9202d feat: set dns searchList by LUID not powershell.exe (#117) 2024-01-10 20:16:50 +08:00
fengcaiwen
8650e4ecf9 hotfix: fix too many portforward and too many watch service 2024-01-09 16:01:43 +08:00
naison
c3c6864b47 fix: remove svc from hosts if svc deleted (#107) 2023-12-29 23:07:07 +08:00
naison
0ad6b103cb fix: add hosts only if not exists 2023-12-18 11:53:35 +00:00
fengcaiwen
8505c26830 fix: close file 2023-12-16 23:27:58 +08:00
fengcaiwen
c0da61cd4b fix: fix hosts bug 2023-12-16 22:52:49 +08:00
naison
51bb3b8700 fix: fix linux /etc/resolv.conf not restore bug (#103)
* fix: fix linux /etc/resolv.conf not restore bug

* fix: fix linux /etc/resolv.conf not restore bug
2023-12-10 18:53:07 +08:00
fengcaiwen
faf7c5eff3 feat: optimize dns logic 2023-10-28 18:15:19 +08:00
fengcaiwen
457fda89a0 feat: optimize code 2023-10-28 18:15:19 +08:00
fengcaiwen
2d44c9b00d feat: lite mode not add route diy cidr 2023-10-28 18:15:19 +08:00
fengcaiwen
b25849657d feat: add connect lite mode and optimize dns 2023-10-28 18:15:19 +08:00
fengcaiwen
4a10be295f feat: remove env EnvTunNameOrLUID 2023-10-28 18:15:19 +08:00
fengcaiwen
ab6b9ae2a2 feat: log more info 2023-10-02 13:44:23 +08:00
fengcaiwen
76f1b74076 feat: log more info 2023-10-02 13:44:23 +08:00
fengcaiwen
9641e29d6e feat: needs to test serve 2023-10-02 13:44:23 +08:00
fengcaiwen
ff2fcf939f feat: complete gvisor 2023-08-20 15:17:29 +08:00
fengcaiwen
b0ed57794f fix: fix cidr-domain not works bug 2023-07-17 16:25:11 +08:00
江鹏飞
1ab038d153 chore(build): build for mac and windows 2023-05-31 17:41:12 +08:00
江鹏飞
75c1b81786 feat(dns): support localdns to forward dns query 2023-05-31 17:31:16 +08:00