HomeFreeBSD

pf tests: Basic IPv6 forwarding tests

Description

pf tests: Basic IPv6 forwarding tests

Pass/block packets in the forwarding path with pf.

Introduce the pft_set_rules() helper function, because we need to
remember to flush states between individual tests. If not we can get
packets passing despite rules blocking them because they match states
created in a previous test.

Extend pft_ping.py to be able to send IPv6 echo requests.

Details

Provenance
kpAuthored on
Parents
rS324662: pf: test set-tos
Branches
Unknown
Tags
Unknown