Bug #3173
Invalid traffic shaping rules after deleting host object
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-firewall-base | |||
Target version: | v6.6 | |||
Security class: | Resolution: | |||
Affected version: | v6.6 | NEEDINFO: | No |
Description
If a host firewall object referenced in a traffic shaping rule is deleted, the firewall configuration breaks with an error:
ERROR: Invalid tcpri entry /etc/shorewall/tcpri (line 23)
Steps to reproduce:
1. create an host object
2. create a traffic shaping rule with the above host
3. delete the host
4. see the error
Temporary solution: disable the traffic shaping or re-create the deleted host..
Related issues
Associated revisions
system validator: check for used hosts inside traffic shaping rules. Refs #3137
host-delete validator: add fwobject-reference call. Refs #3173
Web UI: pass 'hosts' parameter to host-delete validator. Refs #3173
Translation: add new label for host-delete validator. Refs #3173
host-delete validator: add fwobject-reference call. Refs #3173
Web UI: pass 'hosts' parameter to host-delete validator. Refs #3173
Translation: add new label for host-delete validator. Refs #3173
History
#1 Updated by Giacomo Sanchietti about 6 years ago
- Status changed from NEW to TRIAGED
- Target version set to v6.6
- % Done changed from 0 to 20
- Affected version set to v6.6
#2 Updated by Giacomo Sanchietti about 6 years ago
- Related to Bug #3136: Invalid port forward after deleting firewall objects added
#3 Updated by Giacomo Sanchietti about 6 years ago
- Status changed from TRIAGED to ON_DEV
- Assignee set to Giacomo Sanchietti
- % Done changed from 20 to 30
#4 Updated by Giacomo Sanchietti about 6 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 30 to 60
#5 Updated by Giacomo Sanchietti about 6 years ago
- Status changed from MODIFIED to ON_QA
- Assignee deleted (
Giacomo Sanchietti) - % Done changed from 60 to 70
- nethserver-firewall-base-2.6.1-1.1.gfbe93af.ns6.noarch.rpm
- Check the bug is not reproducible
#6 Updated by Filippo Carletti about 6 years ago
- Status changed from ON_QA to VERIFIED
- % Done changed from 70 to 90
I can't delete the host object until I remove it from the traffic shaping rules:
The red error messages says:
The host is used by firewall rules
#7 Updated by Giacomo Sanchietti about 6 years ago
- Status changed from VERIFIED to CLOSED
- % Done changed from 90 to 100
- nethserver-firewall-base-2.6.2-1.ns6.noarch.rpm