ROUTED VPC router drops replies to its own traffic over a private gateway
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 62/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- linux, python
- Área
- networking
Línea de trabajo
La solución está en el código de netfilter en Python del router. Empieza en CsNetfilter.add_ip4_chain y busca dónde se construyen las reglas de ip4_acl del hook INPUT; luego compáralo con el cambio del hook forward al que hace referencia #12986. Confirma el problema con nft list chain ip ip4_acl INPUT, que debería mostrar aceptaciones de ct state established,related para las NIC pública y de invitados, pero no para la NIC de la puerta de enlace. Está terminado cuando UDP al puerto 53 y TCP al puerto 22 a través de la puerta de enlace privada reciben respuestas del router y ping sigue funcionando.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
problem
On a ROUTED VPC the router can't get replies back for connections it starts itself over a private gateway.
DNS and TCP from the router to a network behind the gateway time out, while ping works.
It looks like the ip4_acl INPUT chain has no ct state established,related accept, so the replies hit the drop policy. Ping only gets through because echo replies are accepted by type.
versions
CloudStack 4.22.1.1, KVM, systemvm template 4.22.0. ROUTED VPC with Static routing and a private gateway (no BGP). Also reproduced on the 4.20 router scripts.
The steps to reproduce the bug
- Create a ROUTED VPC with a private gateway (e.g. 100.64.0.1/30) and put a host on the far side (100.64.0.2) running sshd and something on UDP 53.
- On the router,
ping 100.64.0.2works. - A UDP query to 100.64.0.2 port 53 or a TCP connect to port 22 from the router times out. tcpdump on the far side shows it answering every time (UDP reply, SYN-ACK), and the router keeps retrying.
nft list chain ip ip4_acl INPUThasct state established,relatedaccepts for the public NIC and guest tiers, nothing for the gateway NIC.
What to do about it?
Add ct state established,related accept to the input hook in CsNetfilter.add_ip4_chain, like #12986 did for the forward hook. With that rule on the same router, the UDP and TCP tests both work. I'll raise a PR against 4.20.
- Lenguaje dominante
- Java
- Estrellas
- 3.1k
- Forks
- 1.4k
- Merge medio
- 6 d 18 h
- PR fusionados (30 d)
- 11
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 apache/cloudstack
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
apache/cloudstack#14770 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
apache/cloudstack#14755 ·
Los mantenedores suelen responder en 1 día
-
resizeVolume with automigrate throws NullPointerException when the migration returns no volumeAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
apache/cloudstack#14751 ·
Los mantenedores suelen responder en 1 día
-
UI: Account search in Add Instance wizard not functioningPosiblemente ocupada @Shiv-61 la tomó hace 5 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
apache/cloudstack#14719 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
registerTemplate / registerIso accept a 2048-character URL, but vm_template.url holds 1024Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
apache/cloudstack#14715 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de apache/cloudstack
Issues similares
-
hermes-queue
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
chrisalunlloyd2-sudo/mindpalace#425 ·
Los mantenedores suelen responder en 1 día
-
documentation enhancement first-time-contributor good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
SasanLabs/VulnerableApp#961 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
symgraph/GhidrAssistMCP#84 ·
Los mantenedores suelen responder en 2 días
-
waiting-for-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
micrometer-metrics/micrometer#8232 ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue help wanted
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
2025sl93031-ShubhamSain/SustainRank-ESG-Intelligence-Platform#57 ·
Los mantenedores suelen responder en 1 día