Skip to content

Could not evaluate: proto must be set to tcp for isfragment to be true. #1185

Open
@chrisongthb

Description

@chrisongthb

Describe the Bug

Puppet Module brings an error, when setting up a rule with combination proto => 'ipv6-icmp' and isfragment => true. This is a bug.

Expected Behavior

The puppet module should accept this rule. ICMP packets can be fragmented: http://users.cis.fiu.edu/~vince/cgs4285/class13.html

Steps to Reproduce

firewall { '991 v6 drop outgoing fragmented icmp traffic':
  chain      => 'OUTPUT',
  proto      => 'ipv6-icmp',
  isfragment => true,
  jump       => 'drop',
  protocol   => 'ip6tables',
}

Environment

  • Module version v7.0.2
  • Puppet Agent version 7.26.0
  • Puppet Server version 7.13.0
  • Platform Ubuntu 20.04, 22.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions