mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-09-15 01:19:29 +02:00
when user opens the firewall or any of its children objects in the editor. This includes any rule set, interface or any other child object. Also moved function Interface::getParentHost() from class Interface to class Host as static FWObject* Host::getParentHost(FWObject *o). Its behavior is now more logical, it returns non-NULL pointer only if an object actually has a parent that is host, firewall or cluster. Old function Interface::getParentHost() returned non-NULL pointer even when object was not in the proper position in the tree. Now this function can be used to get parent host/firewall/cluster for any child object rather than only interface. I had to fix bunch of problems in unit tests that got uncovered because new function behaves in a more strict way (returns NULL when there is no parent of correct type).
37 lines
822 B
Plaintext
Executable File
37 lines
822 B
Plaintext
Executable File
#
|
|
# This is automatically generated file. DO NOT MODIFY !
|
|
#
|
|
# Firewall Builder fwb_pf v5.0.0.3547
|
|
#
|
|
# Generated Sun Jun 5 20:10:47 2011 PDT by vadim
|
|
#
|
|
# files: * pf_cluster_4_rc.conf.local /etc/pf_cluster_4_rc.conf.local
|
|
# files: pf_cluster_4_pf.conf /etc/pf_cluster_4_pf.conf
|
|
#
|
|
# Compiled for pf
|
|
#
|
|
|
|
|
|
|
|
gateway_enable="YES"
|
|
|
|
|
|
|
|
cloned_interfaces="carp0 carp1"
|
|
network_interfaces="carp0 carp1 en0 en1"
|
|
pfsync_syncdev="en0"
|
|
pfsync_syncpeer="172.24.0.2"
|
|
ifconfig_en0="172.24.0.3 netmask 0xffffff00"
|
|
ifconfig_en1="192.168.1.3 netmask 0xffffff00"
|
|
ifconfig_carp0="vhid 101 pass secret advskew 10"
|
|
ifconfig_carp0="172.24.0.1 netmask 0xffffff00"
|
|
ifconfig_carp1="vhid 100 pass secret advskew 10"
|
|
ifconfig_carp1="192.168.1.1 netmask 0xffffff00"
|
|
pfsync_enable="YES"
|
|
|
|
pf_enable="YES"
|
|
pf_rules="/etc/pf_cluster_4_pf.conf"
|
|
|
|
|
|
|