Commit Graph
967 Commits
Author SHA1 Message Date
Vadim Kurland da5752f8b3 * CompilerDriver_ipt_policy.cpp (processPolicyRuleSet): fixed #1707
"call function "prolog_commands" from the main iptables script part
instead of function "script_body" when prolog should be executed
after iptables reset"
2010-09-14 23:46:41 +00:00
Vadim Kurland a5ac190cbb * configlets/linux24/script_skeleton (cmd): fixed SF bug 3060325
"Address table object and prolog script conflict". Generated
script should run prolog before checking and loading run-time
address tables.
2010-09-14 23:22:48 +00:00
Vadim Kurland c3aa139f22 * NATCompiler_PrintRule.cpp (processNext): fixed SF bug 3057503
"DNAT rule with dynamic IP has a white space, causing error".
2010-09-14 21:59:13 +00:00
Vadim Kurland 75da3a7bac * PolicyCompiler_PrintRule.cpp (_printIpSetMatch): fixed #1705
"iptables (v>=1.4.4) "--set option deprecated ..."  (SF bug 3059893)
Option "--set" has been deprecated and renamed "--match-set" in
iptales 1.4.4
2010-09-14 19:57:41 +00:00
Vadim Kurland 1eb64086e3 * CompilerDriver_pf.cpp (printPathForAllTools): fixed SF bug
3061034 "ifconfig definition missing". Script generated for the
ipfw firewall on Mac OS X missed definition of variable IFCONFIG.
2010-09-14 18:32:52 +00:00
Vadim Kurland 3879ae0dd3 * IPTImporter.cpp (addPktTypeMatch), iptables.g: fixed #1703
"importing iptables line with module pkttype causes parser
error". We do not have any object with the behavior closely
resembling that of iptables module "pkttype" so the importer
creates CustomService object with the code taken from the original
iptables rule. SF bug 3065435
2010-09-14 01:47:39 +00:00
Vadim Kurland bbe4443f1c * iptables.g (m_pkttype): fixed #1703 "importing iptables line
with module pkttype causes parser error". We do not have any
object with the behavior closely resembling that of iptables
module "pkttype" so rules using this module are marked to let
administrator know that they have not been imported properly.
Parser should not abort import process when it encounters this
module though. SF bug 3065435
2010-09-13 22:28:25 +00:00
Vadim Kurland c0a32164ab started v4.1.2 2010-09-13 21:39:31 +00:00
Vadim Kurland 3684d155ab v4.1.1 release 2010-08-20 18:38:58 +00:00
Vadim Kurland d438b220a0 * NATCompiler_ipt.cpp (VerifyRules2::processNext): fixed #1685
"iptables redirecting NAT rules in the OUTPUT chain". NAT rules
should be allowed to translate from CustomService to TCP or UDP
service, provided CustomService object is configured with matching
protocol. See also change in libfwbuilder NATCompiler::classifyNATRule::processNext.
2010-08-19 19:21:16 +00:00
Vadim Kurland 4c60f2a610 * NATCompiler_ipt.cpp (localNATRule::processNext): see #1685
"iptables redirecting NAT rules in the OUTPUT chain". This fix
makes it possible to create iptables NAT rule with target REDIRECT
in the OUTPUT chain. The rule should have firewall object in OSrc
and TDst rule elements.
2010-08-19 18:40:48 +00:00
Vadim Kurland c993ccd943 * NATCompiler_ipt.cpp (splitNATBranchRule::processNext): fixed #1686
"can not generate basic NAT branching rule". NAT branching rules
were not generated in single rule compile mode.
2010-08-19 18:13:22 +00:00
Vadim Kurland 2ea02ccf67 fixed #1693 , SF bug 3048516: "NAT rule with 'Use SNAT instead MASQ'
doesn't work".
2010-08-19 17:05:26 +00:00
Vadim Kurland 5718886174 * Helper.cpp (list): fixed #1691 , this is a better fix for the
problem reported in the earlier bug (see #1690).
Function Helper::findInterfaceByNetzone() throws FWException, this
changed in v4.1.0 with a fix for #1653.
2010-08-18 19:02:18 +00:00
Vadim Kurland 6f4a986273 * procurveInterfaces.cpp (procurveInterfaces::parseVlan): fixed #1683
class procurveInterfaces interprets interface "DEFAULT_VLAN" as
vlan interface with vlan id 1.
2010-08-18 02:49:40 +00:00
Vadim Kurland 42e3e6f445 * safety_net_acl: fixed #1687 "temporary access list commands
syntax is incorrect". Temporary ACL generated for the Procurve
platform was incorrect.
2010-08-18 01:14:14 +00:00
Vadim Kurland cfaf044212 * PolicyCompiler_cisco.cpp (PolicyCompiler_cisco::setAllNetworkZonesToAny):
fixed #1690 "IOS ACL and Procurve ACL compilers fail because
interfaces are not assumed to have network zone "any" anymore".
Compilers for Cisco IOS ACL and Procurve ACL always assumed all
interfaces have network zone "any". Recent changes made in 4.1.0
changed that and compilers stopped working for some rule configurations.

* (PolicyCompiler_cisco::createACLObject): fixed #1688 "Procurve
ACL remarks should be in quotes if they include space"
2010-08-17 20:32:45 +00:00
Vadim Kurland d672e836f7 set version to 4.1.1; working implementation of policy installer for ProCurve 2010-08-15 06:12:52 +00:00
Vadim Kurland 9075c4a1e1 * ObjectManipulator_ops.cpp (ObjectManipulator::actuallyDeleteObject):
fixed #1674 "Crash while using Undo Stack". Operation "Cut" should be
represented by an undo macro object and should appear as one operation
on the undo stack.
2010-08-09 01:44:09 +00:00
Vadim Kurland 1ffc542e81 * ObjectManipulator.cpp (ObjectManipulator::getMenuState): fixed #1676
"Crash when deleting an interface that has multiple IP addresses
and not all addresses are selected for deletion"
2010-08-09 01:20:29 +00:00
Vadim Kurland 3ca271c2d8 fixed crash on Mac that happened when GUI started with a file as a command line argument. Need to clear current_tree_view in ObjectManipulator::clearObjects() 2010-08-06 18:21:22 +00:00
Vadim Kurland e7b0304560 fixed #1660 "Crash when
cut-and-pasting firewall between libraries". GUI crashed if user
performed the following sequence: cut an object, switch to a
different object library, try to paste using keyboard shortcut
Ctrl-V while library object was selected in the tree.
2010-08-05 23:51:14 +00:00
Vadim Kurland cbd2c00eb5 fixed #1664 "Policy
import creates firewall object w/o version". This also fixes
crash reported in SF bug #3036934
2010-08-05 01:55:49 +00:00
Vadim Kurland 767dc5034e fixed SF bug #3038945 "ASA inspect configurations not saved".
Under some circumstances the GUI did not save changes made in the
"Inspectors" tab of the PIX advanced settings dialog into the
object.
2010-08-05 01:11:46 +00:00
Vadim Kurland e95f8df3c8 fixed #1661 "Crash after deleting firewall" a sequence where user deleted
an object and then hit "Back" button caused crash.
2010-08-04 21:26:08 +00:00
Vadim Kurland e582034792 fixed SF bug #3038948
"ASA logging severity levels are incremented"
2010-08-04 01:49:07 +00:00
Vadim Kurland 0060ee84fa fixed SF bug3038636: support for the new syntax of ipv4options module 2010-08-04 01:36:30 +00:00
Vadim Kurland 769d0d926b * InterfaceDialog.cpp (loadFWObject): fixed #1657 "When no network
zone is defined on the interface, the Interface object editor says
it is "Any" which is a lie"
2010-08-03 02:34:09 +00:00
Vadim Kurland 0079bd7a24 fixed #1652 "support
for adding single address to address table in the generated
script"
2010-08-03 02:01:03 +00:00
Vadim Kurland 5fd5bb14ac * OSConfigurator_linux24.cpp (printRunTimeAddressTablesCode):
fixed #1654 "Support for run-time Address Tables with empty file
in iptables".
2010-08-03 00:33:54 +00:00
Vadim Kurland 1f36ea00cd * Helper.cpp (findInterfaceByNetzone): fixed #1653 "Crash when
compiling a rule for Cisco PIX with incorrect network zone".
2010-08-02 22:29:06 +00:00
Vadim Kurland 24b2b690e1 fixed #1639 "Add success message to the bottom of the process log
for the installer".
2010-07-29 23:42:26 +00:00
Vadim Kurland c83b04f36b Fixes SF bug #3036541 "IPV6
only firewall resets ipv4 stack" only reset ipv4 iptables when there are some ip4 rules; also added action block to usage string of the generated iptables script
2010-07-29 18:12:06 +00:00
Vadim Kurland 89d504f639 better algorithm to find loops in rule branches and a test case for it for iptables; als fix for SF bug 3034628 "iptables does not allow target REJECT in mangle table" 2010-07-29 01:57:28 +00:00
Vadim Kurland 9b7334a61f fixed SF bug 3035426 "canceled
save writes .fwb ".
2010-07-28 23:05:08 +00:00
Vadim Kurland 3c6102f961 fixed #1631 "Process branch rule sets recursively".
fixed #1632 "dependencies created by branching rule sets should be
processed recursively"
fixed SF bug 3033462
2010-07-28 21:39:28 +00:00
Vadim Kurland a51d1733fc fixed #1640 "default policy when the script is stopped should be
optional".
2010-07-27 22:10:53 +00:00
Vadim Kurland 74063d35c3 implemented support for mixed address lists for run-time address table objects with ipset module 2010-07-27 01:14:04 +00:00
Vadim Kurland 7efbcf6825 * code cleanup. Removed bunch of warnings and cleaned up some test
cases using small patches from Mike Slifcak  slif@bellsouth.net
2010-07-25 03:41:27 +00:00
Vadim Kurland e1bca13699 * Fixes #1635: included code generated by the configlet
run_time_address_tables into script for all linux-based host
OS
2010-07-24 06:41:46 +00:00
Vadim Kurland 46be5ec6c1 updated changelog to mention fix for #1628 2010-07-24 03:10:20 +00:00
Vadim Kurland 8c90295231 fixes 1625, #1627 See #137 added configlet for run time adress table objects with ipset module to check ipset tool and the module, check and load data from address table files 2010-07-24 03:09:02 +00:00
Vadim Kurland 11cb56d6c9 * PolicyCompiler_PrintRule.cpp (PrintRule::normalizeSetName):
fixed #1626 "convert space and other special characters found in
the run time address table object into underscores". The name of
the run-time Address Table object is used for the name of the
ipset module set. Making sure the name is sanitized of the
chanracters considered "special" by shell before it is used.
2010-07-24 00:02:53 +00:00
Vadim Kurland 15e8677943 * check_utilities: fixed #1625, #see 137: added ipset to the list
of command line utilities generated iptables script can
use. Script will check if the utility is present on the firewall
if user requested use of iptables module "set" for run-time
Address Table objects. Also added an input field for ipset in the
advanced settings host OS dialog for Linux to let the user specify
path to ipset if it is not standard.
2010-07-23 23:38:38 +00:00
Vadim Kurland e82f770956 * PolicyCompiler_PrintRule.cpp: added support for iptables module
"set" used to generate iptables command for rules with run-time
AddressTable objects. This module is only available in iptables
1.4.1.1 and later, however some embedded platforms do not have it
even though they ship later versions ofiptables (e.g. OpenWRT).
Use of this module is controlled by a checkbox in the iptables 
"advanced" settings dialog which is off by default. This checkbox
becomes disabled when iptables version is set to < 1.4.1.1.
2010-07-23 05:15:05 +00:00
Vadim Kurland 56ce332788 * newClusterDialog_create.cpp (newClusterDialog::createNewCluster):
fixed #1622 "Crash when configuring cluster". The GUI used to crash
if user created a cluster copying rules of one of the cluster members
while that rule set was opened in the rule set view.
2010-07-22 23:54:32 +00:00
Vadim Kurland 53a08e03c1 iptables "advanced" settings dialog redesign 2010-07-22 02:01:13 +00:00
Vadim Kurland 350fbfb45d * InterfaceEditorWidget.ui: set minimum height for the name, label
and few other input fields because they came out squished on Mac.
Fixes #1613.
2010-07-22 00:22:33 +00:00
Vadim Kurland 559d22e137 * FWWindow.cpp (fileNew): fixed #1611 "File/New should create new
project panel". Like #1612, open new data file in a new project
panel if current project panel has no data file associated with it
but has unsaved changes.
2010-07-21 23:45:22 +00:00
Vadim Kurland b48d84e6ab * FWWindow.cpp (loadFile): fixed #1612 "File/Open should create
new project panel". If user has some unsaved changes in the
default project panel (the one with no associated file) and then
uses File/Open menu to open another data file, the file should
open in a new project panel.
2010-07-21 23:40:35 +00:00