Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GOST V3 SK5於安卓物理機(SK5 不設帳密驗證可用,設用戶認證則無法使用) #519

Open
starry1314 opened this issue Jun 30, 2024 · 10 comments

Comments

@starry1314
Copy link

PC端 = 可用
安卓模擬器 =可用
安卓物理機=不可用 (只有不設定用戶認證才可使用)
IOS物理機=可用

出错日志:
"handler":"socks5","kind":"service","level":"error","listener":"tcp","msg":"EOF","service":"service-0","time":"2024-06-29T08:33:15.373-04:00"}

@ginuerzh
Copy link
Member

ginuerzh commented Jul 3, 2024

客户端是什么?

@starry1314
Copy link
Author

V2rayng

客户端是什么?
以下都嘗試過無法使用
v2rayng
Kitsunebi
BifrostV_0.6.9_apkcombo.com
v2rayNG_1.8.16_x86_64

@ginuerzh
Copy link
Member

ginuerzh commented Jul 4, 2024

可能与v2fly/v2ray-core#1048 有关。

@starry1314
Copy link
Author

看了下 ~好像得是得指定客戶端,有辦法修復服務端來適配嗎?
只要安桌手機端任一種SK5代理軟件都不可用

@ginuerzh
Copy link
Member

ginuerzh commented Jul 4, 2024

最新版本中已做兼容,可以试试
https://github.com/go-gost/gost/releases/tag/v3.0.0-nightly.20240704

@starry1314
Copy link
Author

最新版本中已做兼容,可以试试 https://github.com/go-gost/gost/releases/tag/v3.0.0-nightly.20240704
感謝,測試後狀況如下

測試命令行方式安卓手機已可連線,配置文件的話失敗
services:

  • name: service-1
    addr: "10.30.3.1:1080"
    handler:
    type: socks5
    auther: auther-1
    metadata:
    udp: true
    listener:
    type: tcp
    log:
    output: none
    level: debug
    format: json
    authers:
  • name: auther-1
    reload: 10s
    file:
    path: /etc/gost.auth

@ginuerzh
Copy link
Member

ginuerzh commented Jul 5, 2024

报什么错?请检查gost.auth文件格式是否正确。

@starry1314
Copy link
Author

报什么错?请检查gost.auth文件格式是否正确。

文件格式是正確的,因為PC或是模擬器都可用

LOG:
Jul 5 11:00:01 iZj6c9pyh23ovs8h4avq3zZ systemd[1]: sysstat-collect.service: Succeeded. Jul 5 11:00:01 iZj6c9pyh23ovs8h4avq3zZ systemd[1]: Finished system activity accounting tool. Jul 5 11:10:10 iZj6c9pyh23ovs8h4avq3zZ systemd[1]: Starting system activity accounting tool... Jul 5 11:10:10 iZj6c9pyh23ovs8h4avq3zZ systemd[1]: sysstat-collect.service: Succeeded. Jul 5 11:10:10 iZj6c9pyh23ovs8h4avq3zZ systemd[1]: Finished system activity accounting tool. Jul 5 11:14:31 iZj6c9pyh23ovs8h4avq3zZ systemd[1]: Started Session 3827 of user root. Jul 5 11:14:31 iZj6c9pyh23ovs8h4avq3zZ systemd[1]: session-3827.scope: Succeeded. Jul 5 11:15:22 iZj6c9pyh23ovs8h4avq3zZ systemd[1]: Started Session 3829 of user root. Jul 5 11:15:22 iZj6c9pyh23ovs8h4avq3zZ systemd[1]: session-3829.scope: Succeeded. Jul 5 11:15:34 iZj6c9pyh23ovs8h4avq3zZ systemd[1]: Started Session 3830 of user root. Jul 5 11:15:34 iZj6c9pyh23ovs8h4avq3zZ systemd[1]: session-3830.scope: Succeeded. Jul 5 11:15:44 iZj6c9pyh23ovs8h4avq3zZ systemd[1]: Started Session 3831 of user root. Jul 5 11:15:44 iZj6c9pyh23ovs8h4avq3zZ systemd[1]: session-3831.scope: Succeeded. Jul 5 11:15:48 iZj6c9pyh23ovs8h4avq3zZ systemd[1]: Started Session 3832 of user root. Jul 5 11:15:55 iZj6c9pyh23ovs8h4avq3zZ systemd[1]: session-3832.scope: Succeeded. Jul 5 11:20:10 iZj6c9pyh23ovs8h4avq3zZ systemd[1]: Starting system activity accounting tool... Jul 5 11:20:10 iZj6c9pyh23ovs8h4avq3zZ systemd[1]: sysstat-collect.service: Succeeded. Jul 5 11:20:10 iZj6c9pyh23ovs8h4avq3zZ systemd[1]: Finished system activity accounting tool. Jul 5 11:30:10 iZj6c9pyh23ovs8h4avq3zZ systemd[1]: Starting system activity accounting tool...

@starry1314
Copy link
Author

报什么错?请检查gost.auth文件格式是否正确。

Log

Jul 5 03:08:49 debian gost[2542]: {"auther":"auther-0","caller":"auth/auth.go:148","kind":"auther","level":"debug","msg":"load items 13","time":"2024-07-05T03:08:49.065-04:00"}

@starry1314
Copy link
Author

請問這個命令行方式已經修復可用於安卓手機了,配置文件的方式需要怎麼調整或是還需要修復呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants