123 Commits

Author SHA1 Message Date
naiba
21b795732c refactor: type check style 2024-11-23 12:44:47 +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
0cba96bae1
gpu: support read usage of multiple cards on linux (#79) 2024-10-24 20:43:17 +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
naiba
c6eb90708e fix: go build cache 2024-10-08 16:37:05 +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
dd7e4132f9
fix: memory leak on Windows when calling SwapMemory (#72)
* fix: memory leak on Windows when calling SwapMemory

* update
2024-10-05 18:52:50 +08:00
naiba
e7613a8d01 chore: update contributors 2024-10-02 10:13:51 +08:00
UUBulb
b3211b9c40
improve: sort sensor names & add an ignore list for sensors (#71)
* improve: sort sensor names

* add an ignore list for sensors
2024-10-01 19:09:32 +08:00
UUBulb
62a5c7869d
ci: use matrix to reduce build time (#70)
* ci: use matrix to reduce build time

* chore: update gopsutil to v4.24.9
2024-10-01 14:25:02 +08:00
UUBulb
aad063f7dd
downgrade some dependencies to the compatible version (#69) 2024-09-25 11:15:56 +08:00
dependabot[bot]
22630bb665
chore(deps): bump github.com/ebitengine/purego from 0.7.1 to 0.8.0 (#68)
Bumps [github.com/ebitengine/purego](https://github.com/ebitengine/purego) from 0.7.1 to 0.8.0.
- [Release notes](https://github.com/ebitengine/purego/releases)
- [Commits](https://github.com/ebitengine/purego/compare/v0.7.1...v0.8.0)

---
updated-dependencies:
- dependency-name: github.com/ebitengine/purego
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-24 20:13:24 +08:00
dependabot[bot]
a16fe8c2fb
chore(deps): bump github.com/jaypipes/ghw from 0.12.0 to 0.13.0 (#65)
Bumps [github.com/jaypipes/ghw](https://github.com/jaypipes/ghw) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/jaypipes/ghw/releases)
- [Commits](https://github.com/jaypipes/ghw/compare/v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: github.com/jaypipes/ghw
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-16 20:52:44 +08:00
dependabot[bot]
1b02926c05
chore(deps): bump github.com/creack/pty from 1.1.21 to 1.1.23 (#66)
Bumps [github.com/creack/pty](https://github.com/creack/pty) from 1.1.21 to 1.1.23.
- [Release notes](https://github.com/creack/pty/releases)
- [Commits](https://github.com/creack/pty/compare/v1.1.21...v1.1.23)

---
updated-dependencies:
- dependency-name: github.com/creack/pty
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-16 20:52:33 +08:00
dependabot[bot]
45766ea0b3
chore(deps): bump golang.org/x/net from 0.26.0 to 0.29.0 (#63)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.26.0 to 0.29.0.
- [Commits](https://github.com/golang/net/compare/v0.26.0...v0.29.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-16 20:52:14 +08:00
dependabot[bot]
0b30233960
chore(deps): bump github.com/refraction-networking/utls (#62)
Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls) from 1.6.1 to 1.6.7.
- [Release notes](https://github.com/refraction-networking/utls/releases)
- [Commits](https://github.com/refraction-networking/utls/compare/v1.6.1...v1.6.7)

---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-16 20:52:00 +08:00
AEnjoy
0179b2b4ab
feat: add a dependency robot for automatic updating of dependencies (#61)
* Create dependabot

* update contributors[no ci]

* Rename dependabot to dependabot.yml

* update contributors[no ci]

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-16 20:27:39 +08:00
UUBulb
20316996f4
gpu(darwin): format the string & fix behaviors on intel (#60)
* gpu(darwin): format the string

* gpu(darwin): fix behaviors on intel

* return string directly
2024-09-06 08:31:19 +08:00
UUBulb
439be0ddf3
fix(gpu): memory leak on windows (#59) 2024-09-05 06:39:17 +08:00
naiba
64ff1e741d chore: update readme 2024-08-28 23:22:29 +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
42187f2bf2
gpu/darwin: pure go implemention (#57) 2024-08-26 22:57:07 +08:00
UUBulb
f03671686f
chore: rename println to printf (#56) 2024-08-21 22:22:06 +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
UUBulb
093275bc80
ci增加重传机制 (#54) 2024-08-18 08:56:32 +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
2083512607 improve: 提高单栈机器 IP 获取速度 2024-08-11 00:14:25 +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
f837a6fdc8 fix: ipv6 单栈机器上报位置 2024-07-29 10:10:43 +08:00
naiba
5e6e7e251e chore: fix status code in delete_gitee_releases 2024-07-28 23:31:23 +08:00
UUBulb
4a6f1bd947
chore: wrong name (#49) 2024-07-28 23:17:07 +08:00
UUBulb
284bc5655f
ci: only keep the latest release (#48) 2024-07-28 23:08:00 +08:00
naiba
3989ee87c8 fix: 双栈位置上报 2024-07-28 22:22:47 +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