Commit Graph
100 Commits
Author SHA1 Message Date
Vadim Kurland c086283bc5 added scripts to build bundle and dmg on Mac OS X 2012-03-22 18:37:43 -07:00
Vadim Kurland 1441e87dcd v5.1.0.3599, updated changelog and release notes 2012-03-21 15:15:53 -07:00
Vadim Kurland 58381cd141 fixed build errors on win 2012-03-19 18:22:18 -07:00
Vadim Kurland 2cd7d18b3a added config.h needed for the build on windows 2012-03-19 17:19:14 -07:00
Vadim Kurland 4f9883fe28 adding qmake.inc files needed for the build on windows 2012-03-19 17:12:16 -07:00
Vadim Kurland a576ebac58 need to define variables GENERATION and GENERATION_SHORT for .nsi file 2012-03-19 14:17:02 -07:00
Vadim Kurland bf72cebcf6 updated ChangeLoig 2012-03-19 12:36:32 -07:00
Vadim Kurland 882c620bd2 version 5.1.0 2012-03-19 12:35:53 -07:00
Vadim Kurland 7015b23d1b switching to GPL for MacOSX and windows; merged build files for mac and win packages, updated license text 2012-03-19 12:45:32 -07:00
Vadim Kurland 890d89506f build 5.0.2.3596 2012-02-20 14:23:16 -08:00
Vadim Kurland c5ca42940f fixes SF bug 3489096, Shell code that restores old static routing
table entries in case of an error with commands adding new routing
entries was broken and left the machine with no routes at all.

Also, using mktemp to create temporary directory. If mktemp is not
available, fall back onto less secure but guaranteed to work method
where I generate randomized the name of the temporary directory using
process ID.
2012-02-20 14:18:10 -08:00
Vadim Kurland ca17dccfcc updated test cases 2012-02-20 11:55:46 -08:00
Vadim Kurland 8a456b3c7d fixes #2684 "fix address deletion in configlet update_addresses". Add
command to set /proc variable
/proc/sys/net/ipv4/conf/all/promote_secondaries that makes the kernel
"promote" secondary address to a "primary" status when primary address
is deleted. Default behavior in Linux kernel is to delete all
addresses when primary address is deleted.
2012-02-20 11:54:51 -08:00
Vadim Kurland c89b691eff fixes #2684 "fix address deletion in configlet update_addresses". Add
command to set /proc variable
/proc/sys/net/ipv4/conf/all/promote_secondaries that makes the kernel
"promote" secondary address to a "primary" status when primary address
is deleted. Default behavior in Linux kernel is to delete all
addresses when primary address is deleted.
2012-02-20 11:54:08 -08:00
Vadim Kurland d5911066cf updated ChangeLog 2012-02-14 11:00:20 -08:00
Vadim Kurland f9fa1ecbaa merge my previous changes for __STDC_FORMAT_MACROS 2012-02-14 10:59:46 -08:00
Vadim Kurland 18eae7e63d removed all ELC 2012-02-14 10:57:50 -08:00
Vadim Kurland 15565ade5d build 3594; removed UserWorkflow and all calls to assemble and send user workflow report 2012-02-13 17:55:56 -08:00
Vadim Kurland 8e2fabca2c fixed SF bug #3443609 Return of ID: 3059893": iptables "--set" option
deprecated".  Need to use --match-set instead of --set if iptables
version is >= 1.4.4. The fix done for #3059893 was only in the policy
compiler but needs to be done in both policy and nat compilers.
2011-11-28 13:43:17 -08:00
Vadim Kurland b7eb40b78e fixes #2673: fwbuilder GUI still wants to connect to X11 server when cli printing option -P is used 2011-11-28 12:46:19 -08:00
Vadim Kurland c26cadeb6a more fixes for SF bug #3439613. Adding "-i" / "-o" clause to match
parent bridge interface. This allows us to correctly match which
bridge the packet comes through in configurations using wildcard
bridge port interfaces. For example, when br0 and br1 have "vnet+"
bridge port interface, iptables can still correctly match which bridge
the packet went through using "-o br0" or "-o br1" clause. This can be
useful in installations with many bridged interfaces that get created
and destroyed dynamically, e.g.  with virtual machines. Note that the
"-i br0" / "-o br0" clause is only added when there is more than one
bridge interface and bridge port name ends with a wild card symbol "+"
2011-11-28 12:27:21 -08:00
Vadim Kurland 28dba00586 fixed problem in Inet6AddrMask related to the latest change for /31 subnets; fixed unit tests; build 3588 2011-11-17 13:22:53 -08:00
Vadim Kurland aa8f7edc7f fixes #2669 "Cant inspect custom Service object in Standard objects
library".
2011-11-15 11:38:11 -08:00
Vadim Kurland edb126f3e3 added latest changes to 5.0.1 release notes 2011-11-10 14:03:42 -08:00
Vadim Kurland 99498dc90b fixes #2664 Update error message when "which" command fails. Generated
iptables script uses "which" to check if all utilities it uses exist
on the machine.  We should also check if "which" itself exists and
issue meaningful error message if not.
2011-11-10 12:06:08 -08:00
Vadim Kurland e7004dcc9c fixes #2668 Remove "static routes" from the explanation text in
ASA/PIX import dialog.  We can not import PIX/ASA routing
configuration at this time.

build 5.0.1.3585
2011-11-10 11:36:32 -08:00
Vadim Kurland 76da9f905f fixes #2670. Per RFC3021 network with netmask /31 has no network and
direct broadcast addresses. When interface of the firewall is
configured with netmask /31, policy compilers should not treat the
second address of this "subnet" as a broadcast.
2011-11-08 18:40:09 -08:00
Vadim Kurland 028976c675 added release notes record 2011-11-08 18:13:13 -08:00
Vadim Kurland bd39f7b6bd fixes #2663 "Rule with "old-broadcast" object results in invalid
iptables INPUT chain".  Compiler was choosing chain INPUT with
direction "outbound" for rules that had old broadcast address in
"Source", this lead to invalid iptables configuration with chain INPUT
and "-o eth0" interface match clause.

fixed bug in the rule processor that replaces AddressRange object that
represents single address with an IPv4 object. Also eliminated code
redundancy.
2011-11-08 18:11:03 -08:00
Vadim Kurland ece8ca17a6 fixes #2665 "Adding text to comment causes rule to go from 2 rows to 1
row". Under certain circumstances, editing rule comment caused the GUI
to collapse corresponding row in the rule set view so that only the
first object of each rule element that contained several objects was
visible.
2011-11-08 13:56:40 -08:00
Vadim Kurland 20e0e4efc5 Merge branch 'development' of ssh://vc.netcitadel.com:2222/var/git/fwbuilder into development 2011-10-19 16:52:35 -07:00
Vadim Kurland 680d23d824 reset pix test files to v5.0.1.3581 2011-10-19 16:52:21 -07:00
Vadim Kurland 9994ca5c6d enable fwbuilder to take advantage of GSSAPIAuthentication with
openssh using suggestion by Matthias Witte witte@netzquadrat.de
2011-09-29 18:15:26 -07:00
Vadim Kurland 34207a914b v5.0.1.3581 2011-09-29 13:55:26 -07:00
Vadim Kurland f1153c4dc6 fixes SF bug #3414382 "Segfault in fwb_ipt dealing with empty
groups". Compiler for iptables used to crash when an empty group
was used in the "Interface" column of a policy rule.
2011-09-29 13:46:41 -07:00
Vadim Kurland 1b8c9aa574 added release notes for 5.0.1 2011-08-30 13:51:36 -07:00
Vadim Kurland 19a6776f7a fixes SF bug 3247094 "Nomenclature of IP address edit dialog".
Network ipv6 dialog says "Prefix length".
2011-08-30 13:35:01 -07:00
Vadim Kurland 5b72064084 fixes SF bug 3302121 "cosmetic mis-format in fwb Linux paths dialog" 2011-08-30 13:30:19 -07:00
Vadim Kurland 62b48f1833 fixes SF bug 3388055 Adding a "DNS Name" with a trailing space causes
failure.
2011-08-30 13:24:22 -07:00
Vadim Kurland 14579473bd see #2646 and SF bug 3395658: Added few ipv4 and ipv6 network objects
to the Standard objects library: TEST-NET-2, TEST-NET-3 (RFC 5735, RFC
5737), translated-ipv4, mapped-ipv4, Teredo, unique-local and few
others.
2011-08-25 17:34:10 -07:00
Vadim Kurland 572dd960c8 fixes #2647 remove description of the option "make actions Tag and Classify terminating" from the help page 2011-08-25 14:13:35 -07:00
Vadim Kurland baf9e7a956 fixes #2648 "right mouse click on firewall object in "Deleted objects"
library causes GUI crash"
2011-08-25 14:12:13 -07:00
Vadim Kurland 25efaa6a91 fixes #2650 "rules with address range that includes firewall address
in Src are placed in OUTPUT chain even though addresses that do not
match the firewall should go in FORWARD"
2011-08-25 13:56:03 -07:00
Vadim Kurland 7a614b0908 see #2638 "When CARP password is empty the advskew value is not
read". Should skip "pass <word>" parameter of the ifconfig command
that creates carp interface if user did not set up any password.
2011-08-11 16:55:08 -07:00
Vadim Kurland de1e3698a7 see #2639 "support for vlan subinterfaces of bridge interfaces (e.g.
br0.5)". Currently fwbuilder can not generate script to configure vlan
subinterfaces of bridge interfaces, however if user did not request
this configuration script to be generated, compiler should not abort
when it encounters this combination.
2011-08-11 16:35:50 -07:00
Vadim Kurland 1da73349d5 fixes #2641 "newFirewall dialog does not accept ipv6 addresses with
long prefixes". The dialog did not allow ipv6 addresses of inetrfaces
with netmask > 64 bit.
2011-08-11 16:03:58 -07:00
Vadim Kurland 1651e9c73a fixes #2642 "GUI crashes if user cancels newFirewall dialog". 2011-08-11 15:48:52 -07:00
Vadim Kurland bd9ab07a5e the drop-down list of interfaces for the "route-through" rule option
for PF and iptables should include not only cluster interfaces, but
also interfaces of all members. This way, we can make compiler
generate configuration

"pass in quick on em0 route-to { ( em0 10.1.1.2 ) } ... "

for a rule of a PF cluster. Here "em0" is an interface of a member,
not the cluster.
2011-08-11 14:02:21 -07:00
Vadim Kurland 3ba5c78ba1 Merge branch 'development' of ssh://vc.netcitadel.com:2222/var/git/fwbuilder into development 2011-08-08 15:52:45 -07:00
Vadim Kurland 19bbafb067 fixes #2637 improved cluster group dialog layout 2011-08-08 15:51:59 -07:00
Vadim Kurland 294fd170d0 fixes 2011-08-08 15:51:09 -07:00
Vadim Kurland 6e0654aaa6 see #2636 "carp : Incorrect output in rc.conf.local format". Should
use create_args_carp0 instead of ifconfig_carp0 to set up CARP
interface vhid, pass and adskew parameters.
2011-08-08 15:35:25 -07:00
Vadim Kurland 84685d84a5 see #2628 fixed crash that happened if user create new firewall object
from a template and changed one of the ip addresses, while another
firewall object created from the same template already existed in the
tree.
2011-08-03 14:14:16 -07:00
Vadim Kurland e20cebbe81 fixed bug in the installer introduced yesterday, if user cancelled install, next attempt to run installer caused crash 2011-08-03 11:09:16 -07:00
Vadim Kurland 25ab6bb227 changed token name from "ESP" to "ESP_WORD" to avoid conflict with
macro "ESP" that happened during build on OpenSolaris

fixed unit test (ObjectMatcher matches ipv6 only when internal flag is
set accordingly)

set version to 5.0.1
2011-08-01 17:56:22 -07:00
Vadim Kurland 9a2a1d6e83 changelog update; fixed unit test ObjectMatcherTest 2011-08-01 13:00:31 -07:00
Vadim Kurland ededc39789 merge from fortress, new build 2011-07-20 19:06:50 -07:00
Vadim Kurland bd096e893c fixed unit tests broken because of the recent changes 2011-07-13 18:57:47 -07:00
Vadim Kurland df938198e7 new build 3564 2011-07-13 18:32:41 -07:00
Vadim Kurland 8fcb090760 applied patches by Vadim Zhukov persgray@gmail.com to unit tests 2011-07-13 18:24:16 -07:00
Vadim Kurland d8387c4f75 new build 3562 2011-07-11 18:49:31 -07:00
Vadim Kurland 0790bb8509 see #2513 "Group and Address Table name persistence in generated
config". Compiler for PF can now preserve names of object groups,
dynamic groups, compile-time AddressTable and compile-time DNSName
objects in the generated pf.conf file. This is optional and is
controlled by a checkbox in the firewall settings dialog.
2011-07-11 18:43:29 -07:00
Vadim Kurland fae60ec915 build 3559 2011-07-07 19:01:01 -07:00
Vadim Kurland 98593d3843 see #2191 "Crash when compiling a route with table object". Compiler
for PF crashed when run-time AddressTable object was used in RDst of a
routing rule.
2011-07-07 18:58:46 -07:00
Vadim Kurland 3cd58db242 fixes #2538 always use normal 64x64 icon for the editor dialog even if object is locked 2011-07-07 18:25:18 -07:00
Vadim Kurland b3215ddafb see #2558 made the input field 300 pixels wide to be able to accommodate more than one ip address (which we do support btw) 2011-07-07 18:10:49 -07:00
Vadim Kurland 0d69945d2f see #2546 "PF import - negation inside of inline tables is
ignored". Since we can not import address lists or tables that contain
a mix of negated and non-negated items, importer should display an
error when it enounters one of these and mark all rules that use it as
"broken" (rule is colored red and error message is added to the
comment).
2011-07-07 18:04:24 -07:00
Vadim Kurland 56ee41fdee see #2556 "PF import: impor of rules referring to undefined
macros". If pf.conf file uses an undefined macro (there is $macro
somewhere but the macro has never been defined), importer issues a
warning, creates run-time DNSName object with the name "$macro" and
marks all rules where it is used as broken, that is, rules are colored
red and the error message is added to the comment field. Using
run-time DNSName object makes compiler use "$macro" in the generated
pf rule which means fwbuilder generates exactly the same pf rule as
the one it tried to import.
2011-07-07 17:24:57 -07:00
Vadim Kurland d850139f2d see #2554 "PF import: create groups of address objects for macros
where possible". Importer for PF recognizes macros that define lists
of ip addresses, interfaces or host names and creates object groups
with the same name from them.  Only macros that contain at least one
ip address in the list are recognized.
2011-07-07 16:17:27 -07:00
Vadim Kurland fff5775c39 new build 3558 2011-07-07 11:31:09 -07:00
Vadim Kurland 5544cd94d4 check if a macro used somewhere in the file to be imported is actually defined and abort if not 2011-07-07 11:16:48 -07:00
Vadim Kurland c4000fc0a2 set the flag to make importer add standard comments to rules and objects in unit test 2011-07-07 11:16:16 -07:00
Vadim Kurland 6f842f1b99 see #2551 making sure rules that have route-to option get the call to setRoute() in the importer 2011-07-07 11:04:45 -07:00
Vadim Kurland d98250b272 correct way to deal with object clipboard in unit tests; another patch from persgray@gmail.com 2011-07-06 18:42:14 -07:00
Vadim Kurland 758e96a7bb need to create clipboard object for unit tests 2011-07-06 18:34:14 -07:00
Vadim Kurland bde7cd1043 clear option "prolog_place" in compiler for iosacl to make sure function CompilerDriver::assembleFwScriptInternal() does not get confused if user switched fw platform 2011-07-06 18:06:11 -07:00
Vadim Kurland bc490dad17 another patch from persgray@gmail.com, making commandLinePrintingTest run on both Linux and BSD 2011-07-06 17:35:05 -07:00
Vadim Kurland e0be917ef2 * applied two patches by Vadim Zhukov persgray@gmail.com to
replace calls to sprintf with safer calls to snprintf and fix some
compiler warnings.
2011-07-06 16:43:38 -07:00
Vadim Kurland 6046524a37 see #2552 "PF import: add ability to suppress comments referring to
line numbers in the original file".
2011-07-06 16:13:59 -07:00
Vadim Kurland af95604f75 Merge branch 'development' of ssh://vc.netcitadel.com:2222/var/git/fwbuilder into development 2011-07-06 14:37:24 -07:00
Vadim Kurland fd63078a5e see #2551 "PF Import - source routing rules are not imported with rule
options set". Importer should import "route-to" rule parameters.
2011-07-06 14:36:47 -07:00
Vadim Kurland aea0e07d28 new build 3557 2011-07-06 14:00:54 -07:00
Vadim Kurland 2914c7f81a * PFImporter.cpp (newAddressTableObject): see #2546 "PF import -
negation inside of inline tables is ignored". We can not import
PF table definition that has some addresses negated.
2011-07-06 12:45:16 -07:00
Vadim Kurland f45f9ccb4b * PFImporterRun.cpp (run): see #2550 "PF import - recursive macros
are not supported". Importer for PF should interpret macro
definitions that use other macros. See #2545 "PF import error when
using macro names with same base name and incrementing digit
suffix". Importer should correctly interpret a macro that has name
of another macro as a substring of its own name.
2011-07-06 12:14:06 -07:00
Vadim Kurland 54c16183e1 new build 3555 2011-06-29 18:46:57 -07:00
Vadim Kurland 1f420a97b0 new build 3554 2011-06-27 17:57:56 -07:00
Vadim Kurland 26b349482c build 3552 2011-06-22 16:19:02 -07:00
Vadim Kurland 404e15f24e fixes #2485 added tooltips for tagging and classification rule options 2011-06-22 15:57:26 -07:00
Vadim Kurland 5f93136e8f see #2518 renamed menu item 2011-06-22 15:41:34 -07:00
Vadim Kurland ae21e6228f see #2520 "Attached Network objects are not renamed if a firewall is
renamed"
2011-06-22 15:35:52 -07:00
Vadim Kurland 510e6897dd upgraded test files 2011-06-22 15:28:48 -07:00
Vadim Kurland d7a749154f see #2519 Avoid creating duplicate network objects for the
AttachedNetwork object if the parent interface has multiple ip
addresses that belong to the same subnet.
2011-06-22 15:25:18 -07:00
Vadim Kurland c940bed072 see #2521 "Compile fails if firewall has locked interface that is set
to dynamic".
2011-06-22 14:55:53 -07:00
Vadim Kurland 344a22feed see #2524 'avoid " {tcp udp icmp} " in place of protocol'. NAT
compiler for PF does not need to generate protocol match "proto {tcp
udp icmp}" when service object used in the NAT rule is "any". The
reason this was done this way is lost in the mist of time; it's been
like this since very early versions of fwbuilder.
2011-06-22 11:03:07 -07:00
Vadim Kurland 70a5b9ac7c see #2508 function TCPUDPService::cmp should make sure object passed as a argument is of compatible type before using; this fixes the crash 2011-06-20 17:49:57 -07:00
Vadim Kurland cebdfc5111 see #2500 object tree should have keyboard focus when new file is opened or new blank project window is created 2011-06-20 17:18:26 -07:00
Vadim Kurland 52fcfe3243 new build 3550 2011-06-20 16:38:39 -07:00
Vadim Kurland b8abb51339 see #2493 implemented "forward" function in addition to the "back"
function, added a button to the roolbar, using new icons for Back and
Forward buttons.
2011-06-20 16:30:53 -07:00
Vadim Kurland 212c57b3cf see #2489 removed custom stylesheet from the library selector widget, this made letters of the active item appear white. Text is now visible on the dark blue background and should work correctly regardless of the theme chosen by the user 2011-06-20 15:31:26 -07:00
Vadim Kurland f5e22c040b see #2477 removed transfer agent classes and functions 2011-06-20 14:56:28 -07:00