Generate TCPdump from CLI

Đang mở
#45 1 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
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
cli

Hướng nghiên cứu

Start by tracing how the CLI commands such as permit receive packets and print their hex data; the issue does not name specific files or tests. The requested result is a CLI option that writes captured packets to a file in a format Wireshark can read, stopping when the command times out or is interrupted.

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

Mô tả

good first issue help wanted

As mentioned in an earlier issue by me, I think the ability to view the data frames that are sent and received by Bellows in Wireshark. @rcloran mentioned he was open to the idea. This is something that would come in useful e.g. in #43, where an unknown type is in the data frame that is received, which results in a crash.

Having only one antenna device, I can't debug with another device while using the first one as the controller. Thus, I would like to debug the packets that the CLI application is already dumping in hex format when in verbose mode, in Wireshark.

I want to try implementing this, but I would like opinions first. My current idea is a flag for the CLI commands like permit, with which you specify a filename for the dump. This file is written as long as the CLI command is running, either until timeout (e.g. by the time mentioned in permit), or when the command is interrupted.

Does this sound like a useful feature, and the correct way to use it?

Ngôn ngữ chính
Python
Star
221
Fork
104
Merge trung bình
5 ngày 15 giờ
Pull request đã merge (30 ngày)
4

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 zigpy/bellows

Tất cả issue của zigpy/bellows

Issue tương tự

Thêm issue về Python

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.