google / google/capirca

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

Open
#303 0 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
Python
Stars
857
Forks
213
PR merge metrics
No merged PRs in 30d

Description

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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.