1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-24 04:07:55 +01:00

1906 Commits

Author SHA1 Message Date
Vadim Kurland
09f29554c8 * PolicyCompiler_ipt.cpp (PolicyCompiler_ipt::_expand_interface):
fixes #1234 When failover group object is used in the rule, rule
gets placed in FORWARD chain. Working implementation follows these
rules: 1) if cluster interface obejct is used in the rule, it is
expanded to the set of addresses including cluster virtual IP
address and all addresses of the corresponding member firewall
interface; 2) Failover Group is treated as any regular object
group. Expanding Failover group to the address of its
parent (cluster interface) would work but seems counter-intuitive
2010-02-14 22:02:57 +00:00
Vadim Kurland
92f99cbea7 fixes #1233 xmlCleanupParser() function is used inappropriately 2010-02-14 20:28:00 +00:00
Vadim Kurland
76dd6e285c * PolicyCompiler_ipt.cpp (decideOnChainIfDstFW::processNext):
fixes #1231 rules are placed FORWARD chain if firewall object is
"bridging firewall". This bugfix concerns specific rule
configuration used with bridging firewall where firewall object or
one of its interfaces is used in "destination" and an interface
which is not a bridge port is in the "interface" rule column. Rule
like this should go into INPUT chain but compiler used to splut it
and put generated iptables rules in both INPUT and FORWARD chains.
Rule should be placed in the FORWARD chain only if interface in
"interface" column is bridge port. The same algorithm also applies
to rules with firewall or one if its interfaces in the "Source"
column.
2010-02-14 18:54:47 +00:00
Vadim Kurland
a7c22c80c9 added checks for the GUI crash, fixes #1230 2010-02-14 18:27:51 +00:00
Vadim Kurland
9757f61c34 add missing #include, add test rules for bug 1231 2010-02-14 17:34:58 +00:00
Vadim Kurland
4fa9d3fc41 * OSConfigurator_bsd.cpp (OSConfigurator_bsd::configureInterfaces):
New feature: incremental management of pfsync0 interface on
OpenBSD. The script checks if interface exists and if not, it runs
"ifconfig pfsync0 create" command to create it. If interface
exists, the script only runs ifconfig to configure its parameters
but does not try to create it again. If State Synchronization
group object is deleted in fwbuilder GUI, interface pfsync0 will
be deleted on the firewall by the script.
2010-02-14 07:08:12 +00:00
Vadim Kurland
6ad95727b1 sync vlan and carp interfaces even if there are none in fwbuilder objects 2010-02-14 06:25:29 +00:00
Vadim Kurland
d6d0dd0e41 * OSConfigurator_bsd.cpp (OSConfigurator_bsd::configureInterfaces):
New feature: generated script adds and removes CARP interfaces
incrementally. This means it is not going to run ifconfig command
to create carp interface if it is already there and will run
"ifconfig carp1 destroy" command if interface carp1 has been
removed in fwbuilder GUI to delete it on the firewall.
2010-02-14 06:16:44 +00:00
Vadim Kurland
81ee822cd3 * OSConfigurator_bsd.cpp (OSConfigurator_bsd::configureInterfaces):
New feature: incremental VLAN interface management for OpenBSD and
FreeBSD. When user adds or removes VLAN subinterface in fwbuilder
GUI, geenrated script executes appropriate ifconfig commands to
add or remove corresponding vlan pseudo-interface on the firewall
machine.
2010-02-14 03:23:25 +00:00
Vadim Kurland
5366557d6e more diagnostics when compiler start fails 2010-02-13 23:54:10 +00:00
Roman Bovsunivskiy
0c6e96336b One more file i forgot last time 2010-02-13 23:31:30 +00:00
Roman Bovsunivskiy
27f80e27cc Tutorial dialog files i forgot in last commit 2010-02-13 23:16:24 +00:00
Roman Bovsunivskiy
ae36dce42e Tutorial dialog 2010-02-13 19:46:05 +00:00
Vadim Kurland
604df2e2e4 Print more diagnostics to the log when the GUI fails to start background process 2010-02-13 17:36:52 +00:00
Vadim Kurland
01a79aeed5 * OSConfigurator_bsd.cpp (OSConfigurator_bsd::updateAddressesOfInterfaceCall):
New feature: incremental IP address management for OpenBSD and
FreeBSD. Generated script adds and removes ipv4 and ipv6 addresses
of interfaces as needed. When user adds an address in the
fwbuilder object, the script adds it. Second run of the same script
does nothing. If user removes an address in fwbuilder, generated
script removes it from the interfaces to bring actual configuration
of the machine in sync with fwbuilder objects.
2010-02-13 05:15:38 +00:00
Adrian-Ken Rueegsegger
fcceaf05f5 Secuwall: Fix adding of SSH management rule. 2010-02-12 17:10:08 +00:00
Illya Yalovoy
795831d77f ChangeLog 2010-02-12 15:09:54 +00:00
Illya Yalovoy
30f567ee57 refs #1223 2010-02-12 14:45:49 +00:00
Vadim Kurland
123966d039 debug print 2010-02-11 19:23:45 +00:00
Vadim Kurland
bf96712bbb * UsageResolver.cpp (list): fixes #1222 modification of host or fw
settings of a member firewall does not trigger cluster recompile
2010-02-11 00:36:40 +00:00
Vadim Kurland
927d21cb8f * InterfaceDialog.cpp (InterfaceDialog::validate): fixes #1221
warning dialogs for the incorrect interface name would not go
away.  If user entered incorrect name of the
subinterace (e.g. name that is not a valid VLAN subinterface name)
the GUI would pop up warning dialog infinitely.
2010-02-10 23:46:54 +00:00
Vadim Kurland
bd08467dde * ../src/gui/ProjectPanel_events.cpp (ProjectPanel::event): this
change attempts to fix a bug that causes main menu item Edit /
Paste (keyboard shortcut Ctrl-V) to stop working. The bug is hard
to reproduce and we were not able to find reliable scenario to
trigger it.
2010-02-10 22:46:03 +00:00
Vadim Kurland
c73c00658f * PolicyCompiler_ipt.cpp (specialCaseWithFWInDstAndOutbound::processNext):
fixes #1220 "bridging fw rule using all multicast object in
destination does not produce any iptables rules".
2010-02-10 22:10:44 +00:00
Vadim Kurland
9e3a3db7c7 proper check because of a crash that happened when user opened Deleted Objects library while some interfaces were there 2010-02-10 22:10:25 +00:00
Roman Bovsunivskiy
6713286942 Reusing old objects in FWBTree test 2010-02-09 18:53:19 +00:00
Roman Bovsunivskiy
781ee8ca6d Finished FWBTree::validateForInsertion test (Fixed #1024) 2010-02-09 18:49:48 +00:00
Vadim Kurland
bfb90b9324 * src/gui/ClusterGroupDialog.cpp (ClusterGroupDialog::applyChanges):
fixes #1215 "Edit protocol parameters" button gets disabled for no
reason. This button would get disabled after certain manipulations
in the cluster group object dialog even when no changes were made.
2010-02-07 21:12:36 +00:00
Vadim Kurland
d241ce0b9c * FWCmdChange.cpp (FWCmdChangeOptionsObject::notify): fixes #1212
Cluster object was not marked for recompile when user edited
conntrack group parameters
2010-02-07 17:48:12 +00:00
Vadim Kurland
a0314a7d97 * src/pflib/PolicyCompiler_pf_writers.cpp (PrintRule::processNext):
fixes #1210 "syntax error in PF rule - "modulate state" is
required".  Per bug reported in the mailing list (and according to
the pf.conf manual), pf.conf requires "keep state", "modulate
state" or "synproxy"if any of the stateful tracking options are
used in the rule. These include "max", "no-sync", "pflow",
"sloppy", "source-track" and others.
2010-02-07 05:24:21 +00:00
Vadim Kurland
8fae13fbd9 * src/pflib/PolicyCompiler_pf_writers.cpp (PrintRule::processNext):
fixes #1209 "incorrect syntax in PF rules when only "Activate
source tracking" option is on". Compiler sometimes generated empty
"( )" in the end of the pf.conf line when there were no state
tracking options
2010-02-07 05:05:33 +00:00
Vadim Kurland
e50fcd4beb * PolicyCompiler_ipt.cpp (PolicyCompiler_ipt::insertConntrackRule):
fixes #1175 "There is no option for unicast on conntrac
sync-group (like heartbeat)". User can now choose between multicast
and unicast for conntrackd communication.
2010-02-07 04:31:52 +00:00
Vadim Kurland
2506e35544 * FWWindow.cpp (FWWindow::showWelcome): fixes #1213 Welcome screen.
When user starts the program for the very first time, it shows
a "Welcome" screen that lists summary of features of fwbuilder and
provides a link to the Getting Started Guide on the web site. Link
to the local copy of Release Notes is also provided.
2010-02-07 02:47:03 +00:00
Vadim Kurland
62d10558d9 * linux24.xml, openwrt.xml: fixed #1172 It is ok for a cluster
interface with failover protocol heartbeat to have no ip address.
There are legitimate configurations where admin might want to run
heartbeat over an inetrface which itself has no virtual ip
address, for example to confine heartbeat packets to a dedicated
link.
2010-02-07 01:06:36 +00:00
Roman Bovsunivskiy
d076f6ff6c GUI unit tests now uses Xvfb (fixed #1211) 2010-02-06 12:07:24 +00:00
Roman Bovsunivskiy
41307f6aa7 Test for newClusterDialog 2010-02-05 17:38:41 +00:00
Vadim Kurland
dae933cf51 updated PIX screenshots in the release notes 2010-02-04 01:23:02 +00:00
Vadim Kurland
fc3621afc5 * FWObjectPropertiesFactory.cpp (FWObjectPropertiesFactory::getObjectPropertiesDetailed):
fixes #1201 "add parent to the object properties tooltip".
Include parent name in the tooltip that is shown for interface
objects.  This helps identify interfaces in rules, especially
subinterfaces and interfaces with common names in complex
configurations with many firewall objects.
2010-02-03 01:36:48 +00:00
Vadim Kurland
444fb52e8d * NATCompiler_ipt.cpp (ReplaceFirewallObjectsTSrc::processNext):
fixes #1200 "SNAT with cluster object in TSrc uses all
interfaces".  When a network or host address used in OSrc of a NAT
rule matches one of the interfaces of the firewall or a cluster,
there is not need to use this interface for the "-o" clause in
SNAT rule.
2010-02-03 01:20:24 +00:00
Vadim Kurland
312faac34b fixes #1207 2010-02-03 00:32:51 +00:00
Vadim Kurland
62e7dcc5e2 fixes #1205 2010-02-02 23:14:36 +00:00
Vadim Kurland
9a37f4855e refs #1204 2010-02-02 23:04:31 +00:00
Vadim Kurland
735cd46eee fixes #1203 added keyboard shortcut for "veiew object tree" menu item 2010-02-02 22:28:05 +00:00
Vadim Kurland
6df83ec139 * FWWindow.cpp (FWWindow::fileExit): fixes #1197 "clicking Cancel
in RCS log dialog cancels log but the program still exits".
2010-02-02 00:24:34 +00:00
Vadim Kurland
20d4f1323e * CompilerDriver.cpp (CompilerDriver::populateClusterElements):
see #1198. The check of subnets defined by the member and cluster
interfaces has been removed. The check originally implemented by
Secuwall developers looked only at the first address of the
interface and ignored others. It also did not allow for the
cluster interface netmask /32, which is the case with vrrpd. All
in all, the value here does not seem to be worth the effort of
implementing checks for all combinations.
2010-02-02 00:04:22 +00:00
Vadim Kurland
6efeea28ac * ../src/res/configlets/linux24/update_addresses: fixes #1196
"shell function update_addresses_of_interface() does not ignore
virtual addresses of cluster inetrfaces". When generated iptables
script updates ip addresses of interfaces, it should ignore
addresses managed by vrrpd, heartbeat or other failover daemons.
The script did not ignore them and instead removed them from
interfaces.
2010-02-01 23:44:42 +00:00
Vadim Kurland
79510f71e1 added english-only ts translation file 2010-02-01 22:34:43 +00:00
Vadim Kurland
976ab6c553 some more multicast groups 2010-02-01 21:56:16 +00:00
Vadim Kurland
591c5da521 * objects_init.xml: fixes #1194 "Add standard address objects for
various multicast groups". Added address objects for standard
multicast groups OSPF, RIP, EIGRP, DHCP server / relay agent, PIM,
RSVP-ENCAPSULATION, VRRP, IGMP, OSPFIGP-TE, HSRP, mDNS, Link-local
Multicast Name Resolution, Teredo.
2010-02-01 21:36:38 +00:00
Vadim Kurland
69a3a43f44 * ObjectManipulator.cpp (ObjectManipulator::updateCreateObjectMenu):
fixes #1195 the GUI should enable "new object" button and menu
item when objects_init.xml library is opened
2010-02-01 21:14:04 +00:00
Vadim Kurland
d88f1fddbc * platforms.cpp (isDefaultPolicyRuleOptions): fixes #1193 default
setting for "Assume fw is part of any" per-rule option is "follow
global"
2010-02-01 21:05:21 +00:00