Tailcat ls and adb tunneling on Android (possibly specific to Firestick)

Đang mở
#136 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, go
Lĩnh vực
cli, mobile-dev, networking

Hướng nghiên cứu

Reproduce the reported commands with tailcat on the Firestick: tailcat ls TC_ID, tailcat serve 5555, tailcat forward TC_ID 15555:5555, and adb connect 127.0.0.1:15555. Compare the hanging ls and refused ADB connection with a direct LAN ADB connection. Done means the relevant tunneling behavior is understood and corrected, with both commands responding as expected.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

@bradfitz Thank you for the latest patch you made regarding the Android NS error message and for bumping the go module (I don't really understand what this is but I saw the commit!). I was able to successfully compile and start tailcat on the Firestick via adb shell and it generated a tailcat ID.

I tried a ping using tailcat ping tc_id (where tc_id is the actual id) and pong was displayed (great!!)
I then proceeded to try to ls using the command tailcat ls tc_id but it just hung (waited indefnitely but no response) - this is not a critical need for me but just thought you might have an idea on this.

What I really wanted to try to get going was to be able to serve adb (port 5555) using a forward but I could not get this to work, it just said adb refused to connect when I tried to adb connect 127.0.0.1:15555

The following were my steps, if you have any ideas (I use tailscale at the moment which creates a VPN to be able to access port 5555 but my hope was to use tailcat to avoid the limitations of controlling tailscale from another app).

Commands I have tried:
ON FS: tailcat serve 5555 (I then receive the TC_ID)
ON Windows machine: tailcat forward TC_ID 15555:5555
ON Windows machine: adb connect 127.0.0.1:15555
Response: unable to connect

I can confirm I can make a direct ADB connection to the FS using the internal LAN IP and Port 5555 without the adb popup appearing so I know adb is authorized correctly

Am I perhaps missing something in terms of the possibility of tunneling to get to ADB?

Sorry for the long message and thank you so far for the legendary fixes thus far!

Ngôn ngữ chính
Go
Star
8.8k
Fork
404
Merge trung bình
3 giờ 48 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của tailscale/tailcat

Tất cả issue của tailscale/tailcat

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.