Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of the problem:
Requesting the patch 912d170f87b3d147bfde987249a727f7a7c7f1d7 to be applied to
RHEL 6.1
http://libvirt.org/git/?p=libvirt.git;a=commit;h=912d170f87b3d147bfde987249a727f7a7c7f1d7
Packets not accepted by a VM's nwfilter configuration could not be rejected with an ICMP message sent back to the originator but could only be dropped.
To verify that this patch was applied:
Assuming an interface description like this one containing a line <filterref
filter='acl-fw'/>
<interface type='bridge'>
<source bridge='virbr0'/>
<target dev='vnet0'/>
<model type='virtio'/>
<filterref filter='acl-fw'/>
</interface>
and a nwfilter like this one:
<filter name='acl-fw' chain='root'>
<rule action='reject' direction='in' priority='400'>
<all/>
</rule>
</filter>
Once the VM has been started and has an interface called 'vnet0', the command
iptables -L FO-vnet0 -n
should return the following output:
iptables -L FI-vnet0
Chain FI-vnet0 (1 references)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
Previous versions of libvirt would simply discard the <rule...> line in the XML since 'reject' was not known.
The TCK test suite passes the tests regarding the reject target (covered by this patch request) on libvirt 0.8.7-16. From my perspective you can close the bug. Thanks.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.
http://rhn.redhat.com/errata/RHBA-2011-0596.html