Skip to content

客户端如何看到连接信息 #1399

Description

@maxchendt

/usr/local/bin/brook client -s [2607:f:0:1::7]:12347 -p xxxxxpppp --socks5 127.0.0.1:4080

希望能看到连接信息,例如 ss-libev 的信息如下

2026-09-15 11:52:35 INFO: remote: 0.0.0.0:8964
2026-09-15 11:52:36 INFO: connection from 127.0.0.1:33476
2026-09-15 11:52:36 INFO: connect to www.google.com:443
2026-09-15 11:52:36 INFO: remote: 0.0.0.0:8964
2026-09-15 11:52:36 INFO: connection from 127.0.0.1:33484
2026-09-15 11:52:36 INFO: connect to thumb.wikimedia.org:443

或者像 naive proxy

[0915/114551.605564:INFO:277] Connection 18861 to avatars.githubusercontent.com:443
[0915/114552.143243:INFO:185] Connection 18859 closed: OK
[0915/114552.146186:INFO:185] Connection 18861 closed: OK
[0915/114557.132305:INFO:277] Connection 18863 to waa-pa.clients6.google.com:443
[0915/114558.501189:INFO:277] Connection 18865 to discourse.julialang.org:443

很早的版本 有 debug 选项, 不过输出的内容太多太快。 当前的版本有 --log, 但好像 client 下不支持

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions