testing: The dhcp plugin uses the DHCP client port again by default

This reverts parts of commit becf027cd9.

Fixes: 707b70725a ("dhcp: Only use DHCP server port if explicitly configured")
This commit is contained in:
Tobias Brunner 2018-07-05 18:12:40 +02:00
parent 4802a7477f
commit df411bfa30
4 changed files with 8 additions and 8 deletions

View File

@ -5,8 +5,8 @@
-P OUTPUT DROP -P OUTPUT DROP
-P FORWARD DROP -P FORWARD DROP
# allow bootps (in relay mode also in OUTPUT) # allow bootpc and bootps
-A OUTPUT -p udp --sport bootps --dport bootps -j ACCEPT -A OUTPUT -p udp --sport bootpc --dport bootps -j ACCEPT
-A INPUT -p udp --sport bootps --dport bootps -j ACCEPT -A INPUT -p udp --sport bootps --dport bootps -j ACCEPT
# allow broadcasts from eth1 # allow broadcasts from eth1

View File

@ -5,8 +5,8 @@
-P OUTPUT DROP -P OUTPUT DROP
-P FORWARD DROP -P FORWARD DROP
# allow bootps (in relay mode also in OUTPUT) # allow bootpc and bootps
-A OUTPUT -p udp --sport bootps --dport bootps -j ACCEPT -A OUTPUT -p udp --sport bootpc --dport bootps -j ACCEPT
-A INPUT -p udp --sport bootps --dport bootps -j ACCEPT -A INPUT -p udp --sport bootps --dport bootps -j ACCEPT
# allow broadcasts from eth1 # allow broadcasts from eth1

View File

@ -5,8 +5,8 @@
-P OUTPUT DROP -P OUTPUT DROP
-P FORWARD DROP -P FORWARD DROP
# allow bootps (in relay mode also in OUTPUT) # allow bootpc and bootps
-A OUTPUT -p udp --sport bootps --dport bootps -j ACCEPT -A OUTPUT -p udp --sport bootpc --dport bootps -j ACCEPT
-A INPUT -p udp --sport bootps --dport bootps -j ACCEPT -A INPUT -p udp --sport bootps --dport bootps -j ACCEPT
# allow broadcasts from eth1 # allow broadcasts from eth1

View File

@ -5,8 +5,8 @@
-P OUTPUT DROP -P OUTPUT DROP
-P FORWARD DROP -P FORWARD DROP
# allow bootps (in relay mode also in OUTPUT) # allow bootpc and bootps
-A OUTPUT -p udp --sport bootps --dport bootps -j ACCEPT -A OUTPUT -p udp --sport bootpc --dport bootps -j ACCEPT
-A INPUT -p udp --sport bootps --dport bootps -j ACCEPT -A INPUT -p udp --sport bootps --dport bootps -j ACCEPT
# allow broadcasts from eth1 # allow broadcasts from eth1