mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
nwfilter: fix typing error in filter
Fix a typing error in the no-ip-spoofing filter. Return DHCP request packets passing through this filter. Have the user use another filter to actually allow DHCP requests to be sent (action='accept').
This commit is contained in:
parent
450c927d9a
commit
af5594c88b
@ -1,7 +1,7 @@
|
||||
<filter name='no-ip-spoofing' chain='ipv4-ip' priority='-710'>
|
||||
<!-- allow DHCP requests -->
|
||||
<rule action='accept' direction='out' priority='100'>
|
||||
<ip srcipaddr='0.0.0.0' protocol='udp' srcportstart='68' srcportend='68'/>
|
||||
<!-- allow UDP sent from 0.0.0.0 (DHCP); filter more exact later -->
|
||||
<rule action='return' direction='out' priority='100'>
|
||||
<ip srcipaddr='0.0.0.0' protocol='udp'/>
|
||||
</rule>
|
||||
|
||||
<!-- allow all known IP addresses -->
|
||||
|
Loading…
Reference in New Issue
Block a user