[Bug]: Predefined traffic sets default route on macOS
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
- 52/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ệ
- rust
- Lĩnh vực
- networking
Hướng nghiên cứu
Start by tracing how the macOS client configures routes when connecting with predefined traffic; the issue identifies netstat -rn as the way to observe the result but names no source files or tests. Compare the routes before and after connecting and investigate why a default route appears. Done when predefined traffic installs only the location’s configured routes and leaves the default route unchanged.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
When choosing predefined traffic and connecting to the VPN, a default route is set (visible via netstat -rn).
We assumed that predefined traffic only routes the subnets defined in our location. A customer who relies on Defguard can't work properly, because his other active WireGuard tunnels can't function while Defguard hijacks the traffic.
Steps to reproduce
- Check routes via
netstat -rn(especially default routes). - Connect via predefined traffic.
- Check routes via
netstat -rnagain. - There is now a default route on the Defguard interface.
Expected behavior
No default route is set, only the routes defined in the location for predefined traffic.
Workaround by a customer: Create a VM on macOS, install the Defguard client in it and use the VM as a router. Only allow the routes that are required for using Defguard.
Actual behavior
A default route is set, which prevents customers and potentially colleagues from using multiple VPNs at the same time as Defguard.
Defguard version
All version on the latest 2.1 stable build
Environment details
macOS (any tested version after 2024)
Deployment / install method
Docker / Docker Compose
Relevant logs / output
Relevant configuration (redacted)
- Ngôn ngữ chính
- Rust
- Star
- 373
- Fork
- 42
- Merge trung bình
- 20 giờ 54 phút
- Pull request đã merge (30 ngày)
- 51
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DefGuard/client
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Maintainer thường phản hồi trong vòng 1 ngày
-
macOS: Inform user that Network Extension is not enabledCó thể đã có người làm @moubctez đã nhận hôm nay. Đang mởenhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
DefGuard/client#1327 · 4 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 51/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của DefGuard/client
Issue tương tự
-
binding:python bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
coollabsio/orbit#72 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
bug order-flow studies ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
userFRM/egui-charts#2417 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 2 ngày