<?xml version="1.0"?> <!-- -*- mode: xml; -*- -->
<FWBuilderResources>
    <Target name="freebsd">
      <description>FreeBSD</description>
      <status>active</status>
      <family>freebsd</family>
      <dialog>freebsd</dialog>
      <interface_dialog>bsd</interface_dialog>
      <cluster_dialog>basic</cluster_dialog>

      <options>
        <user_can_change_install_dir>true</user_can_change_install_dir>
        <rc_conf_format_supported>true</rc_conf_format_supported>
        <default>
          <freebsd_ip_forward>1</freebsd_ip_forward>
          <loopback_interface>lo0</loopback_interface>
        </default>

        <activation>
          <fwdir>/etc/fw</fwdir>
          <fwdir_test>{{$fwdir}}/tmp</fwdir_test>
        </activation>

      </options>

      <capabilities>
        <supports_routing>True</supports_routing>
        <supports_metric>False</supports_metric>
        <supports_routing_itf>False</supports_routing_itf>
        <supports_subinterfaces>True</supports_subinterfaces>
        <supports_advanced_interface_options>True</supports_advanced_interface_options>
        <supports_cluster>True</supports_cluster>
      </capabilities>

      <protocols>
        <failover>
          <string>carp,CARP</string>
          <string>none,None</string>
        </failover>
        <state_sync>
          <string>pfsync,pfsync</string>
        </state_sync>

        <pfsync>
          <needs_master>False</needs_master>
          <manage_addresses>True</manage_addresses>
          <dialog>pfsync</dialog>
        </pfsync>
        <carp>
          <needs_master>True</needs_master>
          <manage_addresses>True</manage_addresses>
          <dialog>carp</dialog>
        </carp>
        <none>
          <needs_master>False</needs_master>
          <no_ip_ok>True</no_ip_ok>
          <manage_addresses>False</manage_addresses>
          <dialog></dialog>
        </none>
      </protocols>

      <interfaces>
        <cluster>
          <string>carp,CARP</string>
        </cluster>
        <firewall>
          <string>ethernet,Ethernet</string>
          <string>bridge,Bridge</string>
        </firewall>
      </interfaces>

      <subinterfaces>
        <ethernet>
          <string>8021q,VLAN</string>
          <string>unknown,Unknown</string>
        </ethernet>
        <bridge>
          <string>ethernet,Ethernet</string>
          <string>8021q,VLAN</string>
          <string>unknown,Unknown</string>
        </bridge>
      </subinterfaces>

      <tools>
        <path_ifconfig>/sbin/ifconfig</path_ifconfig>
        <path_ipfw>/sbin/ipfw</path_ipfw>
        <path_ipf>/sbin/ipf</path_ipf>
        <path_ipnat>/sbin/ipnat</path_ipnat>
        <path_pfctl>/sbin/pfctl</path_pfctl>
        <path_sysctl>/sbin/sysctl</path_sysctl>
        <path_logger>/usr/bin/logger</path_logger>
        <path_expect>/usr/bin/expect</path_expect>
      </tools>
    </Target>

</FWBuilderResources>
