VMs with security groups allowing all egress traffic cannot access the Internet in 4.23.0.0
- 主要语言
- Java
- 星标
- 3.1k
- 派生
- 1.4k
- 平均合并
- 6 天 19 小时
- 30 天内合并 PR
- 32
描述
### 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_
贡献指南
调研方向
未识别出文件、测试或入口点。首先使用允许 0.0.0.0/0 的仅出站安全组重现 4.23.0.0 案例,然后将其与较旧的正常工作版本进行比较,并跟踪安全组的出站路径。当 VM 可以在没有任何入站规则的情况下发起 Internet 连接,且相关回归已由测试覆盖时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- cloud, networking, security
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 活跃
- 描述清晰度
- 需要澄清
- 新手友好度
- 45/100