[FEAT] Swag-dashboard Fail2ban return current not total bans
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- backend
Hướng nghiên cứu
Start by locating the Swag-Dashboard code that builds the Fail2ban table and API response. Check how it distinguishes active bans from expired bans; the issue names no files or tests, so first trace the dashboard and API entry points. Done means the dashboard reports currently banned IPs, with the API returning that count or exposing a separate current-bans value.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is this a new feature request?
- I have searched the existing issues
Name of mod
Swag-Dashboard
Wanted change
Have the dashboard, and API, return only currently banned IPs in the Fail2ban table instead of total bans (including expired bans). Alternatively, add a separate column and ability for the API to only return current bans.
Reason for change
The SWAG Dashboard's banned statistic can include IP addresses that were previously banned but are no longer actively banned. As a result, the dashboard can display a higher ban count than the number of IP addresses currently blocked by Fail2ban. This makes looking at the dashboard to assess whether any action is needed to potentially unban IPs inefficient and confusing.
Proposed code change
No response
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 1.5k
- Fork
- 330
- Merge trung bình
- 1 giờ 11 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọ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 linuxserver/docker-mods
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
linuxserver/docker-mods#1172 ·
Tất cả issue của linuxserver/docker-mods
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
hurttlocker/o8#6535 ·
-
area: backend bug priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 92/100
snapotter-hq/SnapOtter#4856 ·
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 83/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 64/100
-
vLLM metrics adapter tests start the adapter twice and race on its request countersCó thể đã có người làm @bhargavchintam đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
llm-d/llm-d-inference-sim#933 ·
Maintainer thường phản hồi trong vòng 2 ngày