Skip to content

Commit 30b747a

Browse files
committed
Revert "T7523: firewall: Accepting invalid traffic for pppoe discovery and wol"
This reverts commit 9bd9ae7.
1 parent 9bd9ae7 commit 30b747a

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

data/templates/firewall/nftables.j2

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,7 @@ table bridge vyos_filter {
416416
ct state invalid ether type arp counter accept
417417
ct state invalid ether type 8021q counter accept
418418
ct state invalid ether type 8021ad counter accept
419-
ct state invalid ether type 0x8863 counter accept
420419
ct state invalid ether type 0x8864 counter accept
421-
ct state invalid ether type 0x0842 counter accept
422420
{% endif %}
423421
{% endif %}
424422
{% if global_options.state_policy is vyos_defined %}

interface-definitions/include/firewall/global-options.xml.i

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<children>
5252
<leafNode name="invalid-connections">
5353
<properties>
54-
<help>Accept ARP, 802.1q, 802.1ad, DHCP, PPPoE and WoL despite being marked as invalid connections</help>
54+
<help>Accept ARP, 802.1q, 802.1ad, DHCP and PPPoE despite being marked as invalid connections</help>
5555
<valueless/>
5656
</properties>
5757
</leafNode>

smoketest/scripts/cli/test_firewall.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -785,9 +785,7 @@ def test_bridge_firewall(self):
785785
['ct state invalid', 'ether type arp', 'accept'],
786786
['ct state invalid', 'ether type 8021q', 'accept'],
787787
['ct state invalid', 'ether type 8021ad', 'accept'],
788-
['ct state invalid', 'ether type 0x8863', 'accept'],
789788
['ct state invalid', 'ether type 0x8864', 'accept'],
790-
['ct state invalid', 'ether type 0x0842', 'accept'],
791789
['chain VYOS_PREROUTING_filter'],
792790
['type filter hook prerouting priority filter; policy accept;'],
793791
['ip6 daddr @A6_AGV6', 'notrack'],

0 commit comments

Comments
 (0)