Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Conversation

f00b4r0
Copy link

@f00b4r0 f00b4r0 commented Nov 13, 2022

The purpose of tallow is to ban specific hosts. This ban should be enacted as early as possible in the firwall, which is not achieved by using "iptables -A", which appends at the end of the chain.

This patch ensures that the tallow rule is inserted at the top of the INPUT chain, also matching the behavior implemented for firewall-cmd.

Fixes: #22 ("iptables rules order")

The purpose of tallow is to ban specific hosts. This ban should be
enacted as early as possible in the firwall, which is not achieved by
using "iptables -A", which *appends* at the end of the chain.

This patch ensures that the tallow rule is *inserted* at the top of the
INPUT chain, also matching the behavior implemented for firewall-cmd.

Fixes: clearlinux#22 ("iptables rules order")
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iptables rules order

1 participant