Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Request: Open FORWARD between the Systemcore's WiFi/USB subnets and eth0

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

Maintainer thường phản hồi trong vòng 1 ngày

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
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
linux
Lĩnh vực
networking

Hướng nghiên cứu

Start by locating the Systemcore firewall configuration that defines the FORWARD policy and interface rules. Review the tested iptables rules for wlan0, usb+, and eth0, including the POSTROUTING MASQUERADE rule. Done means WiFi and USB-connected devices can reach the robot network while established return traffic works as intended.

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

Mô tả

Desired Workflow:

  • Connect a laptop to the Systemcore WiFi and be able to interact with FRC Radio and attached coprocessors. (handy for in-shop use)
  • USB device (ex. USB-Ethernet adapter as tether for 1 more coprocessor on radio) connected to the Systemcore and be able to interact with the FRC Radio & attached coprocessors.

Blocker:

  • FORWARD policy is DROP with no rule between wlan0/usb+ and eth0 - nothing on the Systemcore's WiFi or USB ports can reach the robot network, only the Systemcore.

Request:

  • Open FORWARD between the Systemcore WiFi/USB subnets and eth0.

Tested:

iptables -N ROBOT-SEGMENT-FWD
iptables -A ROBOT-SEGMENT-FWD -i usb+ -o eth0 -j ACCEPT
iptables -A ROBOT-SEGMENT-FWD -i wlan0 -o eth0 -j ACCEPT
iptables -A ROBOT-SEGMENT-FWD -i eth0 -o usb+ -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -A ROBOT-SEGMENT-FWD -i eth0 -o wlan0 -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -I FORWARD -j ROBOT-SEGMENT-FWD

iptables -t nat -A POSTROUTING -o eth0 ! -s 172.17.0.0/16 -j MASQUERADE
Ngôn ngữ chính
Java
Star
190
Fork
25
Merge trung bình
6 giờ 7 phút
Pull request đã merge (30 ngày)
13

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 wpilibsuite/SystemcoreTesting

Tất cả issue của wpilibsuite/SystemcoreTesting

Issue tương tự

Thêm issue về Java

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.