[FEAT] Swag-dashboard Fail2ban return current not total bans
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 55/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Domínio
- backend
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- Sem dados de linguagem
- Estrelas
- 1.5k
- Forks
- 330
- Merge médio
- 1h 11min
- PRs com merge (30d)
- 2
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de linuxserver/docker-mods
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 78/100
linuxserver/docker-mods#1172 ·
Todas as issues de linuxserver/docker-mods
Issues semelhantes
-
bug python
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
traceloop/openllmetry#4717 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
agentes-chat/agentes-chat#927 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
geocaml/ocaml-tiff#194 ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
The-Pocket/PocketFlow#161 ·