[Bug] iptables Rule Persistence and Restoration Order Issues
Los mantenedores suelen responder en 1 día
@wanghe-fit2cloud ya está trabajando en esto.
Desde el 9/10/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Contact Information
当前 iptables 规则恢复只考虑了 1panel 自己,未考虑 fail2ban 规则
1Panel Version
v2.3.2
Problem Description
系统未开启ufw和firewalld,重启系统后,端口 ssh 22 等会被 1PANEL_BASIC_BEFORE 放行,重启 fail2ban 才能恢复正常拦截
Steps to Reproduce
┌💁 alice @ 💻 Alice in 📁 ~
└❯ sudo iptables -nvL INPUT --line-numbers
Chain INPUT (policy ACCEPT 352 packets, 25932 bytes)
num pkts bytes target prot opt in out source destination
1 11991 5846K 1PANEL_BASIC_BEFORE all -- * * 0.0.0.0/0 0.0.0.0/0
2 824 41910 1PANEL_BASIC all -- * * 0.0.0.0/0 0.0.0.0/0
3 324 13482 1PANEL_BASIC_AFTER all -- * * 0.0.0.0/0 0.0.0.0/0
4 38 11326 f2b-sshd tcp -- * * 0.0.0.0/0 0.0.0.0/0
┌💁 alice @ 💻 Alice in 📁 ~
└❯ sudo systemctl restart fail2ban
┌💁 alice @ 💻 Alice in 📁 ~
└❯ sudo iptables -nvL INPUT --line-numbers
Chain INPUT (policy ACCEPT 389 packets, 27168 bytes)
num pkts bytes target prot opt in out source destination
1 79 19620 f2b-sshd tcp -- * * 0.0.0.0/0 0.0.0.0/0
2 12585 5978K 1PANEL_BASIC_BEFORE all -- * * 0.0.0.0/0 0.0.0.0/0
3 928 47498 1PANEL_BASIC all -- * * 0.0.0.0/0 0.0.0.0/0
4 363 15306 1PANEL_BASIC_AFTER all -- * * 0.0.0.0/0 0.0.0.0/0
The expected correct result
No response
Related log output
Additional Information
No response
- Lenguaje dominante
- Go
- Estrellas
- 37.1k
- Forks
- 3.4k
- Merge medio
- 12 h 4 min
- PR fusionados (30 d)
- 93
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de 1Panel-dev/1Panel
-
[Feature] Change the chart layout in the Overview and Usage Statistics tabs from two charts per row to one chart per row, consistent with the API Key and Smart Routing tabs.Posiblemente ocupada @wanghe-fit2cloud la tomó hoy. Abiertotype: ai-gateway type: optimization
1Panel-dev/1Panel#14065 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
fix: Update TypeSafe JEV client to support API v0.7 schemaPosiblemente ocupada @wanghe-fit2cloud la tomó hoy. Abiertotype: ai-gateway type: optimization
1Panel-dev/1Panel#14047 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[Bug] Ensure context menu actions work with multiple selected filesPosiblemente ocupada @wanghe-fit2cloud la tomó hace 1 día. Abiertotype: optimization
1Panel-dev/1Panel#14045 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[Bug] AI Gateway Concurrency ErrorsPosiblemente ocupada @wanghe-fit2cloud la tomó hace 1 día. Abiertotype: ai-gateway
1Panel-dev/1Panel#14035 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[Bug] Excessive Overhead in the Embedding GatewayPosiblemente ocupada @wanghe-fit2cloud la tomó hace 1 día. Abiertotype: ai-gateway
1Panel-dev/1Panel#14034 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de 1Panel-dev/1Panel
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
agent-review-finding bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
jordansmall/spindrift#5281 ·
Los mantenedores suelen responder en 1 día
-
Integer parameters equal to 2^63 pass the range check in toInt and wrap to a negative numberAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
github/github-mcp-server#3489 ·
Los mantenedores suelen responder en 4 días
-
L: java:gradle L: java:maven L: ruby:bundler T: bug 🐞
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
dependabot/dependabot-core#16547 ·
Los mantenedores suelen responder en 1 día
-
Docs/examples still create key ranges in ascending order, which fails in 3.1.0 (follow-up to #1754)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
pg-sharding/spqr#3083 ·
Los mantenedores suelen responder en 1 día