Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 44c9ed642ee04db48140d3f8ab0103c6 > files > 16

libvirt-utils-1.2.1-1.2.mga4.x86_64.rpm

<filter name='no-ip-spoofing' chain='ipv4-ip' priority='-710'>
  <!-- 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 -->
  <rule direction='out' action='return' priority='500'>
    <ip srcipaddr='$IP'/>
  </rule>

  <!-- drop everything else -->
  <rule direction='out' action='drop' priority='1000'/>
</filter>