1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-19 17:57:22 +01:00
fwbuilder/test/pf/firewall102.fw.orig
Vadim Kurland 0aa3eac4d4 * Compiler.cpp (expandGroupsInRuleElement): sorting objects in the
rule element by name after group is expanded, this helps ensure
stable ordering of objects in generated configuration.

* Compiler.cpp (replaceClusterInterfaceInItfRE::processNext):
sorting objects in rule element after cluster interfaces have been
replaced, this helps ensure stable ordering of objects in generated
configuration.

* FWObject.h (FWObjectNameCmpPredicate): moved this class from
gui-specific module to libfwbuilder as it is universally useful.
It can compare FWObject objects by name and can optionally can
follow references; it can be used with std::sort() to sort lists
of FWObject pointers or directly sort rule elements.
2011-03-12 19:50:24 -08:00

37 lines
1.2 KiB
Plaintext
Executable File

#
# This is automatically generated file. DO NOT MODIFY !
#
# Firewall Builder fwb_pf v4.2.0.3499
#
# Generated Sat Mar 12 19:45:06 2011 PST by vadim
#
# files: * firewall102.fw /etc/fw/pf.fw
# files: firewall102.conf /etc/fw/path\ with\ space/pf.conf
#
# Compiled for pf 4.7
#
# routing rules, rc.conf format
# firewall102:Routing:1: error: Gateway and interface are both empty in the rule
# firewall102:Routing:1: error: Rules 0 (main) and 1 (main) define routes to the same destination 0.0.0.0/0.0.0.0 via different gateways. This configuration is not supported for freebsd
# firewall102:Routing:4: warning: Two of the routing commands created from the gui routing rules 3 (main) and 4 (main) are identical, skipping the second. Revise them to avoid this warning
gateway_enable="YES"
network_interfaces="em0 em1"
ifconfig_em0="10.3.14.81 netmask 0xffffff00 mtu 1490 "
ifconfig_em1="10.1.1.81 netmask 0xffffff00"
pf_enable="YES"
pf_rules="/etc/fw/path\ with\ space/pf.conf"
static_routes="route_0 route_1 route_2 route_3 route_4"
route_route_0="default 10.1.1.1 "
route_route_1="default "
route_route_2="192.168.171.2 10.1.1.1 "
route_route_3="22.22.22.0/24 10.1.1.1 "
route_route_4="33.33.33.0/24 10.1.1.1 "