Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iptables does not generate any rules from protocol:: icmp icmpv6 #303

Open
MEschenbacher opened this issue Mar 27, 2022 · 0 comments
Open
Labels

Comments

@MEschenbacher
Copy link
Contributor

The iptables generator does not generate any rules from protocol:: icmp icmpv6 but packetfilter does.

header {
	target:: iptables INPUT DROP
	target:: packetfilter test-filter
}

term permit-icmp {
	protocol:: icmp icmpv6
	action:: accept
}

Output iptables

# Iptables INPUT Policy
# $Id:$
# $Date:$
# $Revision:$
# inet
-P INPUT DROP

Output packetfilter

# Packetfilter test-filter Policy
# $Id:$
# $Date:$
# $Revision:$
# inet

# term permit-icmp
pass quick inet proto { icmp ipv6-icmp } from { any } to { any } keep state
@TheLinuxGuy TheLinuxGuy self-assigned this May 18, 2022
@TheLinuxGuy TheLinuxGuy removed their assignment May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants