1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-23 11:47:24 +01:00

4514 Commits

Author SHA1 Message Date
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
49ae170756 build 5.0.2.3597 2012-03-18 21:40:13 -07:00
Vadim Kurland
24416b751a removed test objects for secuwall 2012-03-18 21:32:32 -07:00
Vadim Kurland
3520002f56 merged previous changes, updated release notes 5.0.2 2012-03-18 21:21:30 -07:00
Vadim Kurland
0e9b904d1d fixes #2686 "automatic rules for heartbeat are not generated for
vlan subinterfaces"

fixes #2685 "Clicking "Manage Members" in a vlan subinterface of a
cluster causes crash".
2012-03-18 20:43:01 -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
878f18d63f need to define macros for all OS 2012-02-13 21:40:03 -08:00
Vadim Kurland
f97a1b50ba fix for SF bug #3468802. Define macro __STDC_FORMAT_MACROS. This still
needs to be tested on all build machines.
2012-02-13 20:59:26 -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
24d8a8db3f fixed SF bug #3468358 "change in rule-compilation between 5.0.0 and
5.0.1". Rule with cluster interface in "Destination" should compile
into matching ip addresses assigned to the cluster interface object
and corresponding member firewall's interface object, but in v5.0.1 it
only matched member interface address. This bug triggered when
iptables version was set to 1.2.11 or greater. This was a regression
from v5.0.0
2012-01-02 16:55:25 -08:00
Vadim Kurland
e80f2e0d47 v5.0.2 2012-01-02 14:59:54 -08:00
Vadim Kurland
b89bf502d3 fixes #2678 Policy importer for PIX/ASA could not parse nat command
with parameter "outside"
2011-12-07 17:02:07 -08:00
Vadim Kurland
eacdadc1b9 fixes #2679 import of PIX "nat exemptions" rules 2011-12-07 15:41:41 -08:00
Vadim Kurland
b0dcb679dc fixes #2677 Policy importer for PIX/ASA could not parse command
"nat (inside) 1 0 0"
2011-12-07 14:56:56 -08:00
Vadim Kurland
7b45a1f8c8 v5.0.1.3592 2011-12-07 13:08:05 -08:00
Vadim Kurland
0aae126c00 fixed strings that should be translated 2011-12-07 12:54:59 -08:00
Vadim Kurland
739edc8c35 fixes #2674 NAT compiler for PF crashed when AttachedNetworks
object was used in Translated Source of a NAT rule.
2011-11-30 18:43:18 -08:00
Vadim Kurland
bfb7ee6b05 v5.0.1.3591 2011-11-30 18:21:44 -08:00
Vadim Kurland
8eeef2186f see #2676
partially reverted 3db31d6828fd2b35e46509fbcdd26088c0704d25 :

I should not trim strings coming out of QLineEdit in
DialogData::saveAll() because it affects various attributes that might
need trailing space, such as log prefix (see #2676).  However trailing
spaces in the output file name are still trimmed in other places by
the changes done in 3db31d6828fd2b35e46509fbcdd26088c0704d25
2011-11-30 18:13:10 -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
e681556c0f see #2671, #2672
group and addresses table object names" is in effect. This happened if
the same user-defined group was used in multiple rules or different
rule element of the same rule. In this case generated PF table would
have several copies of the same addresses.

not work right when the same object is used in several different
groups. If the same object was a member of multiple groups and these
groups were used in the same or different rules of the same PF
firewall, compiler used all groups in all rules.
2011-11-21 17:55:53 -08:00
Vadim Kurland
c7bfbfe2d2 build 5.0.13589 2011-11-21 12:23:14 -08:00
Vadim Kurland
f5759fa905 SF bug #3439613. physdev module does not allow --physdev-out for
non-bridged traffic anymore. We should add --physdev-is-bridged to
make sure this matches only bridged packets.
2011-11-21 12:16:59 -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
6f1c574633 v5.0.1.3587 2011-11-16 10:56:09 -08:00
Vadim Kurland
1c05e238db merge 5.0.1.3586 2011-11-16 10:51:05 -08:00
Vadim Kurland
734069f16f see #2667
fixed bug (no number) introduced when I was working on #2667.
Setting broadcast address in the network object with netmask /31
to 255.255.255.255 broke rule shadowing algorithm.
2011-11-16 10:47:21 -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
0ba45e6569 fixed SF bug 3435004: "Empty lines in comment result in "Incomplete
Command" in IOS".
2011-11-08 08:42:56 -08:00
Vadim Kurland
20b974959b fixed SF bug 3428992: "PF: rules order problem with IPv4 and
IPv6". Compiler for PF should group ipv4 and ipv6 NAT rules together,
before it generates ipv4 and ipv6 policy rules.
2011-11-08 08:15:17 -08:00
Vadim Kurland
aa49658c51 fixed SF bug #3429377 "PF: IPv6 rules are not added in IPv4/IPv6
ruleset (anchor)". Compiler for PF did not inlcude rules generated for
IPv6 in generated PF anchor configuration files.
2011-11-08 07:11:21 -08:00
Vadim Kurland
6df0cdb45e fixed SF bug #3433587 "Manual edit of new service Destination Port END
value fails". This bug made it impossible to edit the value of the end
of the port range because as soon as the value became less than the
value of the beginning the range, the GUI would reset it to be equal
to the value of the beginning of the range. This affected both TCP and
UDP service object dialogs.
2011-11-08 06:52:07 -08:00
Vadim Kurland
cdb4ee1f09 build 5.0.1.3584 2011-11-08 06:34:13 -08:00
Vadim Kurland
8da03a8783 fixed SF bug 3426843 "ipfw doesn't work for self-reference, in
5.0.0.3568 version".
2011-11-08 06:28:54 -08:00