1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-23 03:37:15 +01:00

767 Commits

Author SHA1 Message Date
Vadim Kurland
0a329700ec ticket #2; renamed host os resource files; fixed dialog factory to get right dialog for ipcop 2009-05-10 06:27:07 +00:00
Vadim Kurland
9a1d02f1ee 2009-05-09 vadim <vadim@vk.crocodile.org>
* ipt.cpp (main): Now that we use the same platform name for
iptables on linux, ipcop, endian, oneshield and secuwall, there is
no need in policy/nat/routing compiler classes for ipcop.
2009-05-09 23:56:12 +00:00
Vadim Kurland
2276f0bfce 2009-05-09 vadim <vadim@vk.crocodile.org>
* platform/iptables.xml.in: Unified support for different iptables
appliances: configuration will require platform "iptables" and
host os that corresponds to the chosen appliance. This matches
support for Secuwall and is easier to maintain than separate
platform-os pairs for each appliance.
2009-05-09 23:04:23 +00:00
Vadim Kurland
6f6d9a0ef7 fixed broken host os in one of the test objects 2009-05-08 20:15:19 +00:00
Vadim Kurland
00d1562d36 merging -r887:HEAD from branch v3 2009-05-06 23:42:33 +00:00
Vadim Kurland
56db618e57 fixed bug 2785671; added verbose error messages to autogen.sh for when autoconf and libtool are missing 2009-05-02 19:24:25 +00:00
Vadim Kurland
c38c2a035a delete autoregenerated file qmake.inc 2009-05-02 17:45:31 +00:00
Vadim Kurland
a6d5f29c20 merging fixes for autogen.sh and deleted files config.sub and config.guess 2009-05-02 17:40:18 +00:00
Vadim Kurland
10a9b7ca92 if ccache is present on the build system, passing "QMAKE_CXX=ccache g++" via qwmake.inc file rather than command line 2009-05-02 05:16:00 +00:00
Vadim Kurland
9a6da3f204 merged r847 from branch v3 2009-05-01 16:09:56 +00:00
Vadim Kurland
a5c4bf5a81 merged r840 from branch v3 2009-04-29 19:27:56 +00:00
Vadim Kurland
468543cbf4 merge from branch v3 -r826:HEAD 2009-04-27 17:43:13 +00:00
Vadim Kurland
922a83d41e merged changes for r823 from v3 branch 2009-04-27 17:02:59 +00:00
Vadim Kurland
e59e06873e added test case for ip range 2009-04-24 15:14:45 +00:00
Vadim Kurland
fea4b8a892 2009-04-15 vadim <vadim@vk.crocodile.org>
* ipcopAdvancedDialog.cpp (ipcopAdvancedDialog::ipcopAdvancedDialog):
Integration with IPCOP, Endian and OneShield firewall apliances
(all based on linux/iptables). This sets generate file name to
"rc.firewall.local", destination directory on the firewall to
"/etc/rc.d/" and activation command to "/etc/rc.d/rc.firewall
restart".  Provided resource files for ipcop, endian and oneshield
platforms and os define default parameters, including path to
iptables and other command line tools. Generated script performs
minimal environment setting, because everything is supposed to be
set up by the aplpiance itself. Iptables commands are put in the
standard chains INPUT/OUTPUT/FORWARD, with user-defined chans
created as required. At this time policy and NAT rules work. Rules
added by fwbuilder are activated by the standard appliance
firewall script rc.firewall after all IPCOP rules are added and
before all hooks. This means rules created by fwbuilder do not
replace rules added by the appliance, but work together with
those. Prolog and epilog user-defined sections work as
well. Prolog is always added on top of the rules generated by
fwbuilder. Prolog and epilog sections can include any kind of
shell commands, not only iptables rules. Two new firewall
templates are provided: one for IPCOP/Endian firewall with two
interfaces (br0 is GREEN and eth1 is RED) and another for the
appliance with three interfaces (additionally eth2, as ORANGE).

* ipt.cpp (main): implemented feature request #2454447 "Standard
options for startup-script". Script generated by fwbuilder now
accepts standard arguments "start" and "stop". Running the script
with no argument is equivalent to "start" for backwards
compatibility. Running script with argument "stop" resets iptables
tables and chains and sets all to default policy DROP (beware!).
2009-04-15 19:32:34 +00:00
Vadim Kurland
f67eb645b8 branch v3.1 for Endian integration 2009-04-11 17:39:58 +00:00
Vadim Kurland
4f49df2ea4 2009-04-10 vadim <vadim@vk.crocodile.org>
* ipt.cpp (dumpScript): fixed bug #2356131: "Iptables-restore
option broken for multiple policy sets". Compiler inserted
redundant line "echo COMMIT" to the iptables script if
iptables-restore was used and there were no rules in the mangle
table.
2009-04-11 00:53:50 +00:00
Vadim Kurland
1bf12d4f7c 2009-04-10 vadim <vadim@vk.crocodile.org>
* ObjectManipulator.cpp (ObjectManipulator::findWhereUsedRecursively):
fixed bug #2744798 "dependency checking failed". In case when an
object was used in a group and group used in a rule of a firewall,
the program failed to properly update "last modified" attribute
of the firewall when the object was changed.
2009-04-10 22:44:00 +00:00
Vadim Kurland
1cb1984975 started v3.0.5 2009-04-10 04:50:53 +00:00
Vadim Kurland
896fbc723a pf example for ssh access to fw. per email support request 2009-04-09 23:05:27 +00:00
Vadim Kurland
df89f9c338 changelog record to mark merge into trunk 2009-04-08 17:22:35 +00:00
Vadim Kurland
416f9c499a v3.0.4 release 2009-03-29 17:45:34 +00:00
Vadim Kurland
f83a49d745 fixed bug 2712514 2009-03-26 04:07:26 +00:00
Vadim Kurland
c18f9a88da 2009-03-24 vadim <vadim@vk.crocodile.org>
* DialogData.cpp (DialogData::loadToWidget): fixed bug #2710309:
"Bug in gui/DialogData.cpp when not using mapping.". There was a
bug in DialogData.cpp that when setting the value of a combobox
and not using a mapping array the requested value would not be
selected. Applied patch provided by Tom Judge ( tomjudge )

* platforms.cpp (init_platforms): fixed bug #2710300 "Bug in
gui/platforms.cpp". there was a discrepancy between the list of
route-to options for PF and UI elements.
2009-03-25 04:43:16 +00:00
Vadim Kurland
9deae0598c 2009-03-24 vadim <vadim@vk.crocodile.org>
* pf.cpp (main): more changes to add support for
externally-controlled policy rulesets for PF: if policy ruelset
name ends with "/*", the program assumes it is controlled by
external means and does not compile rules in it and does not
create .conf file from it.
2009-03-24 16:01:23 +00:00
Vadim Kurland
f6d1b5b38d 2009-03-24 vadim <vadim@vk.crocodile.org>
* PolicyCompiler_pf_writers.cpp (PrintRule::_printAction): Added
support for anchor names with "/*" suffix for PF. Now the user can
create policy ruleset with name e.g. "ftp-proxy/*" and then set up
branching rule pointing to this ruleset. This ruleset is treated
by the program in a special way. First, it allows characters "/"
and "*" in the name of the ruleset (but only for PF firewalls).
Second, compiler does not create a .conf file with rules from this
ruleset, assuming that it will be controlled by external program
such as ftp-proxy. See man page ftp-proxy(8) for examples.
2009-03-24 07:31:48 +00:00
Vadim Kurland
932b4d2d34 2009-03-23 vadim <vadim@vk.crocodile.org>
* pf.cpp (main): fixed bug (no #): compiler for pf added code
provided in the "prolog" section while option was set to "add
after table definitions" in the incorrect place.
2009-03-24 04:42:54 +00:00
Vadim Kurland
080ebcbada 2009-03-22 vadim <vadim@vk.crocodile.org>
* RuleSetView.cpp (RuleSetView::updateGroups): fixed bug #2701593
"gui problem". Adding a rule to a policy with rule groups caused
weird rule display - a rule immediately above rule group header
would appear empty, with only "Source" shoring.
2009-03-22 18:59:15 +00:00
Vadim Kurland
908af65de5 2009-03-19 vadim <vadim@vk.crocodile.org>
* iosacl.cpp (safetyNetInstall): fixed bug #2694146: "IPv6
temporary ACL blocks ICMPv6". Temporary ipv6 access list created
for the "safety net install" should permit icmp.
2009-03-19 14:42:35 +00:00
Vadim Kurland
4ac2dd549b * iosacl.cpp (safetyNetInstall): fixed bug (no #): when "safety
net install" option is used, temporary access list must be
generated only once even when firewall object has multiple
rulesets.



;
2009-03-19 05:03:02 +00:00
Vadim Kurland
0732f536ee 2009-03-18 vadim <vadim@vk.crocodile.org>
* PolicyCompiler_iosacl.cpp (PolicyCompiler_iosacl::prolog): fixed
bug (no #): temporary access list created for IOS when option
"safety net install" is used and ipv6 address is provided should
use keyword "host" if provided address does not specify netmask.


* fwbedit: properly saving data file after "checktree" operation
2009-03-19 04:40:55 +00:00
Vadim Kurland
c673ffa635 fixed bugs 2689958 2689987 2689978 2009-03-17 16:24:54 +00:00
Vadim Kurland
db7b0961bf test case for iosacl using ccie4u router setup 2009-03-16 05:13:07 +00:00
Vadim Kurland
3ac34b8c2d 2009-03-12 vadim <vadim@vk.crocodile.org>
* PolicyCompiler_iosacl.cpp (PolicyCompiler_iosacl::prolog): fixed
few bugs (no #) in policy compiler for Cisco IPv6 ACLs:

  - The "extended" keyword is not supported by IOS for IPv6 ACLs

  - keyword "established" is only valid in combination with
protocol tcp. If standard CustomService objects "ESTABLISHED" and
"ESTABLISHED ipv6" are used in a rule, enforce protocol to "tcp".

  - command to clear ipv6 access lists should be "no ipv6
access-list ipv6_management_in"

  - command to assign ipv6 acl to interface should be "ipv6
traffic-filter ipv6_acl in"
2009-03-13 05:04:54 +00:00
Vadim Kurland
163eef384d 2009-03-12 vadim <vadim@vk.crocodile.org>
* PolicyCompiler_iosacl_writers.cpp (PrintRule::_printAddr): fixed
        bug (no #): compiler for IOS ACL used not to ignore netmasks of
        IPv4 and IPv6 objects and added them to the generated access list
        with netmask wildcard bits 255.255.255.255 which was equivalen to
        any.
2009-03-12 17:40:15 +00:00
Vadim Kurland
58f4b70da1 2009-03-11 vadim <vadim@vk.crocodile.org>
* RuleSetView.cpp (RuleSetView::createGroup): fixed bug (no #): if
user selected some rules that belonged to a group and few other
rules that did not belong to any group at the same time and used
context menu to place all these rules in a new group, the GUI used
to crash.

;
2009-03-12 04:50:00 +00:00
Vadim Kurland
5ba52e2190 properly setting "r" flag in "phone home" http request when program is registered 2009-03-10 04:11:02 +00:00
Vadim Kurland
ca833ec502 * ProjectPanel.h (class ProjectPanel): code clean-up: removed
obsolete method getAddOnLibs()
2009-03-07 04:32:28 +00:00
Vadim Kurland
4a7bb54488 init2 returns int instead of bool so we can separate case when there is no license file from the case when the file exist but is invalid 2009-03-07 03:47:30 +00:00
Vadim Kurland
b089416403 * RoutingCompiler_ipt.cpp (addressRangesInDst::processNext): fixed
bug #2666971 "fwb_ipt crashes when Address Range object in routing
rule". Policy compiler for iptables crashed if Address Range
object was used in "Destination" of a routing rule.
2009-03-06 04:47:58 +00:00
Vadim Kurland
61052a9bdb * RuleSetView.cpp (RuleSetView::insertRule),
ProjectPanel.cpp (ProjectPanel::closeEvent): fixed bug #2656815
"Copy/paste does not work properly". Fixed Copy/Paste problem with
policy rules and crash reported in this bug report.
2009-03-05 16:14:41 +00:00
Vadim Kurland
12a8f653cf bug 2662290; properly reading registry key to determine Install_Dir in fwb-lm 2009-03-04 17:27:21 +00:00
Vadim Kurland
8bf0b719b3 script output redirection in the routing section 2009-03-03 05:26:43 +00:00
Vadim Kurland
0264476556 changelog rrecord 2009-02-28 06:58:12 +00:00
Vadim Kurland
0ff42b7fff * RoutingCompiler_ipt_writers.cpp (PrintRule::processNext): fixed
bug #2540389: "Routing Broken from 2.1 to 3.0.3". Generated script
preserved default route when it deleted route entries before
installing new ones. This was different compared to the behavior
of the v2.1 where default was deleted together with other routing
entries. The reason for this change (made some time in summer of
2008) was that if user did not define default route in their
routing ruleset, the script would delete existing default without
installing new one, leaving firewall with no default route at all.
Now the script deletes default if there is new one to install and
preserves it otherwise.

* RoutingCompiler_ipt_writers.cpp (PrintRule::processNext): fixed
bug (no #): if generated firewall script detects an error from one
of the commands that install routing rules and runs function that
restores previous routing entries, it should also run epilog
commands.
2009-02-28 06:55:33 +00:00
Vadim Kurland
31ef42f3a1 * FirewallInstaller.cpp (FirewallInstaller::getDestinationDir):
bugfix (bug was introduced in build 768). If user entered
alternative activation command in the "installer" tab of the
firewall object settings dialog, the program confused it with
destination directory and tried to execute incorrect command to
copy files to the firewall. This build (770) fixes this problem.
2009-02-21 23:06:50 +00:00
Vadim Kurland
0bf9408448 2009-02-21 vadim <vadim@vk.crocodile.org>
* SSHUnx.cpp (SSHUnx::SSHUnx): New feature: built-in installer can
now enter sudo password. There is no need to configure firewall
management account for password-less sudo access anymore.
2009-02-21 22:42:38 +00:00
Vadim Kurland
bddc4c6726 2009-02-19 vadim <vadim@vk.crocodile.org>
* FirewallInstaller.cpp (FirewallInstaller::getDestinationDir):
fixed bug #2618772 ""test install" option does not work". If "test
install" checkbox was checked in the installer options dialog, the
program copied file to directory /etc/fw on the firewall but tried
to find it in /etc/fw/tmp to run.
2009-02-20 06:49:12 +00:00
Vadim Kurland
6a0e4d9f58 2009-02-19 vadim <vadim@vk.crocodile.org>
* FirewallInstaller.cpp (FirewallInstaller::packSCPArgs): fix bug
#2618686 "built-in installer can not handle ipv6 management
address". Built-in installer did not properly for scp and ssh
command like when it had to use IPv6 address to communicate with
firewall.
2009-02-20 05:10:52 +00:00
Vadim Kurland
b9e1cb9a64 fixed bug 2618686 2009-02-20 05:09:12 +00:00