Hello,
we have removed a host from a network group on our IPFire.
Now the host is still highlighted in yellow. See attached screenshot.
Does this affect the firewall rules? How do we get rid of this host?
Thanks for help.
Goodie
Hello,
we have removed a host from a network group on our IPFire.
Now the host is still highlighted in yellow. See attached screenshot.
Does this affect the firewall rules? How do we get rid of this host?
Thanks for help.
Goodie
If I enter an existing network into a network/host group and then press the dustbin icon for that network entry it is just deleted with no problems.
The only way I was able to reproduce your effect was the following.
If a network or host entry is being used you need to first remove that entry from where it is being used. Then the network or host entry in the network or host group page will show 0x in the used column and the dustbin icon will be present allowing you to now delete that network or host.
To get round this in your situation, you need to go back to the network group page that would originally have held the network entry and re-create it the same as it originally was.
Then the entry in the network/host group will show it being used.
Then delete the entry in the network/host group by pressing the dustbin icon.
Then you can go back to the network group and there will now be a dustbin icon for that entry unless it is also being used elsewhere, such as in a Firewall Rule.
In that case find the firewall rule that is using that network definition and delete it.
Keep doing this until the used column for that network entry has 0x against it. Then the dustbin icon will re-appear and the network entry can be deleted.
Hello
Great, that was the solution!
I don’t know how my colleague deleted the entry,
but the procedure to undo it and delete it worked correctly!
Many thanks for the quick help.
Glad you could get it solved.
I will try and have a look at the code as it should really prevent an edit from clearing all the entry boxes.
Had a look at the code and found that a check is done if the fields are all filled in if a new entry is being saved but not if an edit of an existing field is being done.
Looks reasonably easy to just include that same check in the edit section for the network.
Will also check the other groups to check that empty entries are not accepted.