VMs with security groups allowing all egress traffic cannot access the Internet in 4.23.0.0
- Linguagem predominante
- Java
- Estrelas
- 3.1k
- Forks
- 1.4k
- Merge médio
- 6d 19h
- PRs com merge (30d)
- 32
Descrição
### problem
# Description
In CloudStack 4.23.0.0, a VM cannot access the Internet when its security group has egress rules configured, even when the egress rules allow all outbound traffic (0.0.0.0/0).
The same configuration works as expected in older CloudStack versions.
The issue occurs when the security group has egress rules but no ingress rules.
# Expected behavior
The VM should be able to initiate outbound connections to the Internet when the security group has an egress rule allowing all traffic.
According to the CloudStack documentation:
```
If there is no Egress rule in a Security Group, all the outgoing traffic will be allowed.
If there are Egress rules in a Security Group, only the outgoing traffic which match a Egress rule will be allowed.
Only the incoming traffic which match a Ingress rule will be allowed.
```
# Actual behavior
With CloudStack 4.23.0.0:
- The VM has a security group assigned.
- The security group has one egress rule allowing ALL outbound traffic.
- There are no ingress rules.
- The VM cannot access the Internet.
### versions
The versions of ACS, hypervisors, storage, network etc..
### The steps to reproduce the bug
1.
2.
3.
...
### What to do about it?
_No response_
Guia de contribuição
Direção de pesquisa
Nenhum arquivo, teste ou ponto de entrada foi identificado. Primeiro, reproduza o caso 4.23.0.0 com um grupo de segurança somente de saída que permita 0.0.0.0/0; em seguida, compare-o com uma versão mais antiga que funcione e rastreie o caminho de saída do grupo de segurança. Considera-se concluído quando a VM puder iniciar conexões com a Internet sem regras de entrada e a regressão relevante estiver coberta por um teste.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- java
- Domínio
- cloud, networking, security
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Ativa
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 45/100