25 Commits

Author SHA1 Message Date
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
3dfb62287b
report geoip separately (#87)
* report geoip separately

* default 30s
2024-11-22 22:36:50 +08:00
naiba
f0c2a7a766 refactor cmd arch & auth func 2024-10-20 22:54:48 +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
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
naiba
2083512607 improve: 提高单栈机器 IP 获取速度 2024-08-11 00:14:25 +08:00
naiba
f837a6fdc8 fix: ipv6 单栈机器上报位置 2024-07-29 10:10:43 +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
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
naiba
f220134e5b HTTP 内网穿透 2024-07-14 19:41:13 +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
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
fb86c89de7
fix: wrong IP value in some situations (#32) 2024-06-25 22:08:28 +08:00
Darc Z
4bfb17df46
feat: make ip update period modifiable (#13)
* feat: make ip update period modifiable

* doc: change text lead to misunderstand
2024-02-24 21:07:59 +08:00
naiba
25a730a4a8 enable api.myip.la 2023-09-06 09:59:09 +08:00
naiba
f7a6981a8c 🗑️ 移除失效 Geo IP API 2023-06-30 00:44:10 +08:00
naiba
7eab9d9ed0 update 2023-05-10 23:18:35 +08:00
naiba
fb83d0d303 init 2023-05-10 23:02:15 +08:00