Firewall: Automation: Filter - add allowopts for https://github.com/opnsense/core/issues/8143

This commit is contained in:
Ad Schellevis 2024-12-24 17:28:10 +01:00
parent 0d9550b912
commit e6440cb867
2 changed files with 11 additions and 0 deletions

View File

@ -55,6 +55,13 @@
When a rule does not have quick enabled, the last matching rule wins.
</help>
</field>
<field>
<id>rule.allowopts</id>
<label>Allow options</label>
<type>checkbox</type>
<help>This allows packets with IP options to pass. Otherwise they are blocked by default.</help>
<advanced>true</advanced>
</field>
<field>
<id>rule.interfacenot</id>
<label>Interface / Invert</label>

View File

@ -131,6 +131,10 @@
<Default>0</Default>
<Required>Y</Required>
</log>
<allowopts type="BooleanField">
<Default>0</Default>
<Required>Y</Required>
</allowopts>
<nosync type="BooleanField">
<Default>0</Default>
<Required>Y</Required>