UUBulb
ea6f119e72
feat: read config from env ( #104 )
...
* feat: read config from env
* ci: skip some tests
2024-11-30 11:40:48 +08:00
UUBulb
bc31032ca8
feat: custom ip api ( #100 )
...
* feat: custom ip api
feat: add switch for nat and query
Co-authored-by: ChrisKim <1515748548@qq.com>
* remove dash.cloudflare
---------
Co-authored-by: ChrisKim <1515748548@qq.com>
Co-authored-by: naiba <hi@nai.ba>
2024-11-26 21:29:00 +08:00
UUBulb
b7bba7ed3f
modularize logger ( #94 )
2024-11-24 16:50:03 +08:00
UUBulb
88efe2d1d5
improve: use IndexByte to find the colon of ip address ( #92 )
2024-11-24 01:02:40 +08:00
UUBulb
ee37e35eb2
avoid fetching ip continuously ( #89 )
2024-11-23 22:00:14 +08:00
naiba
7d04e739e9
improve: use stream reduce auth check
2024-11-23 12:41:25 +08:00
UUBulb
3dfb62287b
report geoip separately ( #87 )
...
* report geoip separately
* default 30s
2024-11-22 22:36:50 +08:00
UUBulb
32481e2b6f
fix potential race ( #86 )
2024-11-18 20:51:15 +08:00
UUBulb
af41e4d843
modularize monitor, reduce init usage ( #81 )
...
* kill process tree using syscall on windows & cleanup (#80 )
* kill process tree using syscall on windows & cleanup
* use job api
* add error check for cmd.Start
* modularize monitor, reduce init usage
* replace slices with sort
* update gopsutil & other dependencies
2024-11-03 21:53:09 +08:00
UUBulb
20db2c9cb2
feat: manage multiple service based on configuration ( #78 )
2024-10-24 13:00:40 +08:00
UUBulb
0a890a2021
make edit and service flag subcommands ( #77 )
...
* make edit and service argument subcommands
* generate uuid if non-exist, use default report_delay or ip_report_period value if not specified
2024-10-23 22:34:59 +08:00
naiba
fbf099e437
fix connect to dev dashboard
2024-10-22 23:45:10 +08:00
naiba
f0c2a7a766
refactor cmd arch & auth func
2024-10-20 22:54:48 +08:00
葉鲜森(KEVI_)
134c8c5acb
优化 TCPPing 延迟统计精度 ( #76 )
2024-10-20 10:42:08 +08:00
naiba
765f7d9c34
默认使用 passthrough resolver close #75
...
Co-authored-by: NewbieOrange <7200314+NewbieOrange@users.noreply.github.com>
2024-10-19 15:37:12 +08:00
UUBulb
404260187c
grpc: update deprecated method ( #74 )
...
* grpc: update deprecated method
* grpc: add connection timeout
* remove cf-ns.com
* prolong connection timeout to 10s
* remove connection timeout
2024-10-18 15:08:51 +08:00
UUBulb
d212b98177
change tcping behavior, update icmp-ping library ( #73 )
...
* change tcping behavior, update icmp-ping library
* fix ci
2024-10-08 11:37:36 +08:00
UUBulb
c8134a8b86
replace cloudflare-bpc with utls ( #58 )
...
* replace cloudflare-bpc with utls
* fix test
* ci: skip utls test
2024-08-28 23:21:25 +08:00
UUBulb
73a727d435
feat: add file transfer support ( #55 )
...
* feat: add file transfer support
* 1MB buffer
2024-08-20 22:24:03 +08:00
naiba
47adcf103c
fix: tszrz 不需要对 tunnel 进行 filter
2024-08-13 13:40:46 +08:00
naiba
f20bea757b
fix: WebSSH 无法退出,关闭后 CPU 100%
2024-08-13 09:53:01 +08:00
naiba
f4d9db28a2
feat: WebSSH 上传下载文件 (by trzsz)
2024-08-13 00:30:18 +08:00
naiba
9cdd941a97
refactor: code style
2024-08-09 23:04:16 +08:00
UUBulb
ac1a34e33e
feat: add option to disable syslog logging ( #53 )
...
* feat: add option to disable syslog logging
* missing comments
* service flags
* initialize util.Logger
2024-08-09 22:03:41 +08:00
naiba
1f7706201b
feat: 在面板重启后及时更新host信息
2024-08-02 22:02:11 +08:00
naiba
5e6e7e251e
chore: fix status code in delete_gitee_releases
2024-07-28 23:31:23 +08:00
naiba
fa0cc9bb7a
fix: tcp-ping
2024-07-28 18:48:44 +08:00
naiba
c50a21c5b1
fix: 避免 agent 与 dashboard 更新不同步情况
2024-07-28 15:44:06 +08:00
naiba
80ef923a38
feat: tcp/icmp ping 提前取 IP
2024-07-28 15:05:30 +08:00
UUBulb
7ad3094cee
feat: use embed geoip database ( #46 )
2024-07-28 14:02:27 +08:00
UUBulb
3204095d63
chore: missing return ( #45 )
2024-07-24 23:17:39 +08:00
UUBulb
c0288971d8
chore: code style ( #44 )
...
* some code refactor
* service
* chore: code style
---------
Co-authored-by: naiba <hi@nai.ba>
2024-07-23 23:20:55 +08:00
UUBulb
0a6adea9ab
fix: add recovery option for windows service ( #41 )
2024-07-20 19:01:11 +08:00
naiba
f220134e5b
✨ HTTP 内网穿透
2024-07-14 19:41:13 +08:00
naiba
427c9b42fb
Merge branch 'main' of github.com:nezhahq/agent
2024-07-14 12:48:17 +08:00
naiba
52f6cf5fdf
feat: 去除 WebTerminal 的 websocket 依赖
2024-07-14 12:48:10 +08:00
UUBulb
1344fc3dd8
feat: self-updating using gitee ( #39 )
...
* feat: self-updating using gitee
* chore: rename
---------
Co-authored-by: naiba <hi@nai.ba>
2024-07-14 11:19:59 +08:00
UUBulb
fda3a52533
use --debug to replace --silent ( #37 )
...
* add --silent to service command
* ?
* use --debug to toggle the logging
2024-07-13 12:47:22 +08:00
UUBulb
3bf3f97767
feat: make logging and temperature monitoring optional ( #35 )
...
* feat: make logging and temperature monitoring optional
* chore: improve code style
* fix: import
---------
Co-authored-by: naiba <hi@nai.ba>
2024-07-10 23:58:19 +08:00
xykt
1bf702cfaa
Add --ipv6-countrycode runtime parameter to set the region flag using IPv6 by default ( #36 )
...
* Update main.go
Add --ipv6-countrycode runtime parameter to set the region flag using IPv6 by default.
* Update service.go
Add --ipv6-countrycode runtime parameter to set the region flag using IPv6 by default.
* Update myip.go
Add --ipv6-countrycode runtime parameter to set the region flag using IPv6 by default.
* chore: rename
---------
Co-authored-by: naiba <hi@nai.ba>
2024-07-10 23:29:35 +08:00
UUBulb
fb7b45527b
service: logging to syslog ( #33 )
...
* service: logging to syslog
* chore: update gopsutil to v4
* chore: move println() to the util package
* gpu: only return 0 on failure
2024-07-05 22:31:56 +08:00
UUBulb
532bca8867
Fix CPU counts error on Windows ( #31 )
2024-06-25 22:10:32 +08:00
UUBulb
338f0dabbe
feat: Add GPU inspection/monitoring support ( #28 )
2024-06-23 10:27:18 +08:00
UUBulb
611ad8be20
Support more flags in the service command ( #23 )
...
fix for darwin
2024-05-31 21:38:45 +08:00
UUBulb
f882ca3498
Switch to ConPty on Windows 10 & support windows arm64 platform ( #20 )
2024-05-21 18:40:08 +08:00
UUBulb
060d13a759
Replace pflag with cobra, add service command ( #17 )
...
* Replace pflag with cobra, add service command
moved '-c' option to 'edit' command
* Restart after installation & add some friendly outputs
* Attempt to fix ci
* Update dependencies & revert gosec to 2.19.0
gosec 2.19.0 is the last version supports Go 1.20
* Remove gosec checks
2024-05-18 22:38:39 +08:00