1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-21 18:57:14 +01:00

941 Commits

Author SHA1 Message Date
Vadim Kurland
0b191a8dc0 added changelog record and release notes item 2010-11-15 19:23:47 -08:00
Vadim Kurland
749436ed6a Fixed SF bug #3106168 "Branch destinations lost when adding to
cluster".  Since the order in which I copy rule sets is
      undefined and because they may have references to each other via
      branching rules, I need to fix references after I create all
      of them.
2010-11-11 17:33:35 -08:00
Vadim Kurland
82ae242fae fixed #1844 "generated script fails if module nf_conntrack_ipv6 does not exist" 2010-11-11 16:16:41 -08:00
Vadim Kurland
5f99554ae3 fixed #1840: fixed build on Mandriva
2010, all static libraries should go first on the linker command
line.
2010-11-11 13:32:50 -08:00
Vadim Kurland
8351f7640b fixed SF bug 3103582 "Cant
create redirect rule in cluster firewall object".  Iptables nat
rule with target REDIRECT could not be built in a cluster
configuration. It should be possible to do this by putting cluster
object in Translated Destination.
2010-11-10 17:49:28 -08:00
Vadim Kurland
75566656a2 fixed #1838 "function configure_interfaces() does not manage ip
addresses of vlan interfaces". This function used to take into
account only interfaces that were direct children objects of the
firewall. Since vlan interfaces are children of the corresponding
physical interface, they were not included.
2010-11-10 17:13:32 -08:00
Vadim Kurland
c76531c8df fixed #1837
"generated script gets .fw suffix even when user set output file
name". Suffix .fw should not be appended to the name entered by
the user in the "output file name" input field in the firewall
settings dialog.
2010-11-10 16:25:10 -08:00
Vadim Kurland
5fcc1adb41 fixed #1836
"installer hangs and fails after activation of ipfw policy".  As
soon as .fw script swapped ipfw sets usig command "ipfw sawp" and
deleted temporary set 1, ssh session would hang and eventually
break. We optionally add ipfw rules to permit ssh session used to
manage the firewall, as well as a rule to permit reply packets but
the latter rule was not built correctly. It should match source
and destination reversed, as well as match keyword "established"
and recreate state with "keep-state". This rule automatically
recreates state for the established ssh session over which
firewall policy is being managed. Also added a comment to the
firewall settings dialog for ipfw to remind the user that address
or subnet they use with this automatic rule should be as narrow as
possible.
2010-11-10 15:40:21 -08:00
Vadim Kurland
9f01320b82 see #1832 if user
wants to use putty session, show session name instead of the ip
address in the "Address that will be used to communicate with the
firewall" input field in the installer options dialog.
2010-11-10 11:55:46 -08:00
Vadim Kurland
3b8c0bc65a see #1834 Fixed
matching algorithm that determins which interface a rule should be
associated with for Cisco IOS ACLs. Previously compiler did not
compare subnets properly and because of that it interpreted some
configurations incorrectly. For example in the case with a network
object 10.0.0.0/8 in "source" and an interface with address
10.0.0.1/24 (network should not be considered matching) compiler
considered this interface matching and assigned the rule to the
interface only with direction "inbound".
2010-11-09 20:47:00 -08:00
Vadim Kurland
a6bddc59a2 see #1832
pscp.exe supports putty session in place of the target name but
not if argument "-load session_name" is also present. Plink.exe
does the same. We can not use fwb_session_with_keepalive if user
wants to use putty session.
2010-11-09 16:46:31 -08:00
Vadim Kurland
ffa7095ef0 added changelog records 2010-11-08 23:34:58 -08:00
Vadim Kurland
af8ff07372 See #1832 ChangeLog record 2010-11-08 23:24:13 -08:00
Vadim Kurland
565c577f0e fixed #1824 "should not try to verify wildcard interfaces". 2010-11-02 15:57:46 -07:00
Vadim Kurland
18218d4fcf fixed SF bug 3090249 "fwb_ipt ignores -d option ". Documented
behavior is for the compiler to create files in the directory
specified by the argument of the "-d" command line flag. If
flag "-d" is not provided, files should be created in the current
directory.
2010-11-01 15:52:02 -07:00
Vadim Kurland
a76c1a21a1 * PolicyCompiler_ipt.cpp (checkForStatefulICMP6Rules::processNext):
fixed SF bug 3094273 "no state needed for ipv6-icmp in
ip6tables". Rules that match ICMPv6 objects should be
stateless. Compiler will check for this and reset "stateful" flag
of a rule and issue warning if the rule was built stateful in the
GUI.
2010-10-29 18:04:48 -07:00
Vadim Kurland
db73c4b743 * src/res/objects_init.xml.in: added ICMPv6 object "parameter
problem" (type 4, any code) per SF feature request 3094743.  Also
added service group object "ipv6 unreachable messages" that
includes ICMPv6 messages "destination unreachable", "packet too
big", "parameter problem" and "time exceeded" per SF feature
request 3094758
2010-10-29 17:23:08 -07:00
Vadim Kurland
4c69594aae * configlets/linux24/automatic_rules: implemented SF feature
request 3094738 "Set the HL to 255 for IPv6 Neighbor
Discovery". Neighbor discovery packets must have hop limit of 255
per RFC 2461. Automatically generated rules that match neighbor
discovery packets will math hooplimit 255.
2010-10-29 16:47:28 -07:00
Vadim Kurland
fd5553ebbd * configlets/linux24/update_addresses: fixed SF bug 3091069:
"Routing configuration failed". Iptables script generated by
fwbuilder did not configure broadcast when it added ip addresses
to interfaces. Using "ip addr add ADDR/NM boradcast + dev INTF"
syntax to do this.
2010-10-29 15:23:37 -07:00
Vadim Kurland
035509dc9f * OSConfigurator_bsd.cpp (compare_names): fixed #1807 "wrong order
of address assignment in the generated OpenBSD/PF/CARP cluster
configuration". Need to assign ip addresses to regular interfaces
before trying to assign them to carp interfaces.
2010-10-29 14:51:51 -07:00
Vadim Kurland
3998363b26 * configlets/linux24/load_modules: fixed #1820 "skip module
"nf_conntrack_ipv6" if generated script has no ipv6 rules"
Shell function load_modules should not try to load module
nf_conntrack_ipv6 if generated script does not load any ipv6
rules. Loading this module fails if ipv6 has been disabled in
the kernel.
2010-10-29 12:22:34 -07:00
Vadim Kurland
98e465385f fix for SF bug 3095615 "reopen no PREROUTING rule with *-Interface - ID: 3077132" 2010-10-29 10:04:05 -07:00
Vadim Kurland
4fa4ce5cac using command "terminal width 256" to turn off ANSI commands in
the PIX command echo.
2010-10-07 22:41:14 +00:00
Vadim Kurland
9a64de05d9 * FindObjectWidget.cpp (showObject): rolled back change done in
r3320 (refs #1790) "When an object is found using Find and the
object is in the object tree, the keyboard focus shifts to the
Object Panel". That change broke highlighting of the found object
in rules.
2010-10-07 22:02:38 +00:00
Vadim Kurland
b9b3749d4c refs #336 changelog and release notes update 2010-10-07 19:11:20 +00:00
Vadim Kurland
a6fdcb02a4 changelog records 2010-10-07 03:29:28 +00:00
Vadim Kurland
2b60dcac8e fixed #1783 "PIX routing entries require interface, but PIX
config will compile without interface in Routing rule". Policy
      compiler for PIX now checks that both "interface" and "gateway"
      rule elements are not empty.
2010-10-06 22:41:43 +00:00
Vadim Kurland
62dac9e362 fixed SF bug 3077132 "no PREROUTING rule with
*-Interface". Rules matching addresses of a wildcard interface
      (e.g. "ppp*") were not properly generated.
2010-10-05 23:05:19 +00:00
Vadim Kurland
dd6a245bc3 fixed SF bug 3039681 "context-menu items inconsistent for
Single/Multiple rules". When several rules are selected in rule
      set, some context menu itmes should turn to plural.
2010-10-05 19:24:59 +00:00
Vadim Kurland
4f5a64b570 fixed #1778 "main menu Rules should have the same items that
context RuleSetView menu when no rules are selected"
2010-10-05 19:02:16 +00:00
Vadim Kurland
a66b039af9 fixed #1777 "scroll new fw object to the top of the tree view
panel once its created". This has side effect in that some
      other operations that open an object in the tree will also
      scroll the tree to position this object at the top.
2010-10-05 02:32:12 +00:00
Vadim Kurland
05568ccbc0 fixed #1791 "Add preference flag to enable / disable the Custom
templates button on the New Firewall Wizard". Use of the
      custom template library to create new firewall object is now
      optional, controlled by a checkbox in the "Object" tab of the
      gobal preferenes dialog.  New users will have this option turned
      off by default, however existing users will see it enabled for
      backwards compatibility.
2010-10-05 02:15:37 +00:00
Vadim Kurland
10862bdfed fixed #1790 "When an object
is found using Find and the object is in the object tree, the
keyboard focus shifts to the Object Panel". The "find" pabel now
retains keyboard focus after it shows found object in the tree,
this allows the user to just hit Enter on the keyboard to find
the next object.
2010-10-05 01:23:39 +00:00
Vadim Kurland
d079f0f445 fixed #1785 Deleting graphic icon of object from Find tab should also remove the text name or label 2010-10-05 01:11:35 +00:00
Vadim Kurland
9a097d18c9 fixed #1770 Eliminated pause
that happened when user switched from page 0 to page 1 of the new
firewall wizard. Pause was caused by the DNS queries the program
ran trying to determine ip address of the firewall using the name
provided on the first page of the wizard. Now DNS query is
launched only if user wants to create interfaces uses snmp scan.
2010-10-05 00:24:32 +00:00
Vadim Kurland
cee564ac89 fixed #1772
improved design of the widget used to edit ip addresses and other
attributes of an interface in the new firewall, new host and new
cluster wizards. Removed "MAC Address" imput field and rearranged
other input fields according to the result of usability tests.
2010-10-04 23:37:38 +00:00
Vadim Kurland
d845c3f0ea fixed #1784 added Cisco ASA (PIX) error
message "cannot add route entry" to the list of errors that
built-in installer recognizes and marks install process as
"Failure".
2010-10-04 22:22:58 +00:00
Vadim Kurland
15818d1837 fixed #1767 improved UI in the new firewall and new host dialogs
where user chooses file for the custom template library or uses
      standard template library.
2010-10-04 21:23:58 +00:00
Vadim Kurland
e162a0c6b3 fixed #1776 once new firewall is created, automatically open its Policy 2010-10-04 01:52:22 +00:00
Vadim Kurland
ad6cfe82ea * FWWindow.cpp (FWWindow::showIntroDialog): fixed #1765, #1779
Move quick start guide to the web site. The "Quick Start Guide" is
now part of the web site and the GUI only shows a
dialog-invitation to watch it.
2010-10-04 01:37:57 +00:00
Vadim Kurland
562b904da9 fixed #1763 Implemented
basic facility for A/B testing within the GUI
2010-10-01 19:09:02 +00:00
Vadim Kurland
46c10debda fixed #1755 "hitting enter after editing search attribute in the
Find panel should trigger search"
2010-10-01 02:21:20 +00:00
Vadim Kurland
9665b619d7 fixed #1760 Search by attribute "name" should search by name or label 2010-10-01 02:02:30 +00:00
Vadim Kurland
5ba94e3b3b fixed #1757 Allow searching by attributes even after an object
is dropped into the drop area in search panel.
2010-10-01 01:51:41 +00:00
Vadim Kurland
7a389e9c7d fixed #1759 "Use default template library" button seems to do
nothing. This button should only be enabled if user switched to
      their own library of template objects. The button should be
      disabled if they switched back to the standard template library
      or never switched to their own one.
2010-10-01 01:38:06 +00:00
Vadim Kurland
0540ca8ce5 * newHostDialog.cpp (finishClicked): fixed #1761 "blank interface
name is possible in new host wizard"
2010-10-01 00:20:04 +00:00
Vadim Kurland
eff8bcf8f7 fixed #1753 "Set interface name hint based on firewall platform
and host OS". The placeholder text in the interface name and label
input fields in the new firewall wizard will depend on the host OS
chosen in the first page of the wizard.
2010-10-01 00:06:43 +00:00
Vadim Kurland
b5c6430a8e * utils.cpp (validateName): fixed #1751 "Dont allow interface names to be blank". The GUI should not allow the name of any
> object to be blank.
2010-09-30 18:47:22 +00:00
Vadim Kurland
9f35af7394 * ProjectPanel.cpp (ProjectPanel::inspect): fixed #1718 "Inspect
generated files" dialog says "Multiple firewalls" even when there
is only one
2010-09-30 00:19:31 +00:00
Vadim Kurland
0710699d90 added "placeholder" text to the interface name and label input
fields. This text is displayed in greyed-out small font inside
the imput field but is cleared as soon as user starts their input.
The text gives user a prompt as of what is expected in each input
field. The "placeholder" text support is available only in Qt 4.7
and later so the code is conditional on the version of Qt.
2010-09-29 21:11:30 +00:00