Bug 1162180
| Summary: | Allow ICMP in IPTablesConfig default configuration (documentation also allows ICMP) | ||
|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | David Jaša <djasa> |
| Component: | ovirt-engine-core | Assignee: | Alon Bar-Lev <alonbl> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jiri Belka <jbelka> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.3 | CC: | alonbl, bugs, ecohen, gklein, iheim, jbelka, lpeer, lsurette, lvernia, mmucha, rbalakri, Rhev-m-bugs, yeylon |
| Target Milestone: | --- | ||
| Target Release: | 3.5.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | infra | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-01-21 16:03:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
David Jaša
2014-11-10 12:47:15 UTC
Hi Alon, I noticed you removed this in [65c096c98767bf3469820e135e7b1666d36f7f78], what was the reasoning and shouldn't this be reflected in the documentation as well? (In reply to Lior Vernia from comment #1) > Hi Alon, I noticed you removed this in > [65c096c98767bf3469820e135e7b1666d36f7f78], what was the reasoning and > shouldn't this be reflected in the documentation as well? what was removed? this is since:
commit 0b40c5a39fd8058c5deafd1ace8aa24937261868
Author: Selvasundaram <sesubram>
Date: Fri Sep 7 18:02:50 2012 +0530
engine: Firewall configuration modified to support virt and gluster iptable rules.
- Added a place holder to support additional iptable rules for supported services
(e.g. virt, gluster etc.,) in Generic iptables config.
- virt and gluster iptables rules are added in config.
Change-Id: I5a5958e870d3315316a59e1038101b2511bf8815
Signed-off-by: Selvasundaram <sesubram>
not that I mind if we fix it... notice the evil change between the fn_db_update_config_value and the fn_db_add_config_value, this is the config subsystem mess we have of storing defaults in database.
ok, vt13.7
engine=# select option_value from vdc_options where option_name ilike 'IPTablesConfig';
option_value
-------------------------------------------------------------------------------------------
# oVirt default firewall configuration. Automatically generated by vdsm bootstrap script.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
# vdsm
-A INPUT -p tcp --dport @VDSM_PORT@ -j ACCEPT
# SSH
-A INPUT -p tcp --dport @SSH_PORT@ -j ACCEPT
# snmp
-A INPUT -p udp --dport 161 -j ACCEPT
@CUSTOM_RULES@
# Reject any other input traffic
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -m physdev ! --physdev-is-bridged -j REJECT --reject-with icmp-host-prohibited
COMMIT
(1 row)
engine=# \q
-bash-4.1$ logout
[root@jb-rhevm35 ~]# iptables-save | grep icmp
-A INPUT -p icmp -m icmp --icmp-type any -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
oVirt 3.5.1 has been released. If problems still persist, please make note of it in this bug report. |