You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation focused on supporting the most widely used rule matches like:
44
+
45
+
* Layer 3 Protocol (IPv4/IPv6)
46
+
* Layer 4 Protocol (tcp/udp/icmp)
47
+
* Source- and Destination-IP filters
48
+
* Source- and Destination-Port filters
49
+
* Source- and Destination-NAT (including masquerade)
50
+
* Inbound- and Outbound-Network-Interfaces
51
+
* CT-State
52
+
53
+
The main match-parsing logic can be found here: `translate/netfilter/elements.py NftMatch & NftRule <https://github.com/O-X-L/firewall-testing-framework/tree/latest/src/firewall_test/plugins/translate/netfilter/elements.py>`_
54
+
55
+
If we were not able to parse any match from the rule-config - the rule will be skipped.
56
+
57
+
If this happens you will see a warning at runtime! (:code:`Unsupported rule`)
58
+
59
+
Unsupported Expressions
60
+
=======================
61
+
62
+
Rules only containing unsupported expressions will be skipped for now.
63
+
64
+
If this happens you will see a warning at runtime! (:code:`Unsupported rule-expression`)
65
+
66
+
These rule-expressions are unsupported for now:
67
+
68
+
* :code:`log`
69
+
* :code:`comment`
70
+
* :code:`limit`
71
+
* :code:`set` (*static sets are supported - but dynamic ones like meters are not!*)
72
+
* :code:`vmap`
73
+
* :code:`counter`
74
+
* :code:`xt` (*only SNAT-masquerade is currently supported*)
1. `Download a Config-Backup <https://docs.opnsense.org/manual/backups.html>`_
17
+
18
+
2. `Supply the runtime routes manually <https://docs.opnsense.org/manual/routes.html#status>`_ or `query them via API <https://docs.opnsense.org/development/api/core/diagnostics.html#id6>`_
- `Download a Config-Backup <https://docs.opnsense.org/manual/backups.html>`_, `Querying runtime routes via API <https://docs.opnsense.org/development/api/core/diagnostics.html#id6>`_
0 commit comments