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

888 Commits

Author SHA1 Message Date
Illya Yalovoy
d0de28c8a3 refs #457 2009-09-28 20:28:00 +00:00
Illya Yalovoy
69d4d54973 refs #457 2009-09-28 20:22:22 +00:00
Illya Yalovoy
47a447aab4 fixes #473 2009-09-28 14:31:52 +00:00
Illya Yalovoy
0e34300584 fixes #474
fixes #468
2009-09-27 20:42:47 +00:00
Illya Yalovoy
63b9f46d25 fixes #452 2009-09-27 16:03:11 +00:00
Vadim Kurland
e837cdea65 fixes #437 - got rid of "_()" everywhere (finally) 2009-09-25 22:50:14 +00:00
Vadim Kurland
d4b28ca4ab refs #405 : remove code that was used to call policy compiler fwb_pix as external process 2009-09-25 22:16:38 +00:00
Vadim Kurland
e2d4204cd6 fixes #405 2009-09-25 22:04:02 +00:00
Vadim Kurland
fd621eefc3 tests for routing rules with clusters 2009-09-25 21:06:42 +00:00
Vadim Kurland
7b374e1c1b fixes #406 2009-09-25 17:57:10 +00:00
Vadim Kurland
bd9f77f6f0 fixes #402 #467 2009-09-25 17:26:42 +00:00
Vadim Kurland
e20d0bb7e0 refs #458 2009-09-24 22:06:42 +00:00
Vadim Kurland
80af1a19d6 fixes #465 problem with parts of the installer output appearing in the wrong order in instDialog window 2009-09-24 21:55:09 +00:00
Vadim Kurland
2a8fe535cd fixes #464 2009-09-24 19:56:32 +00:00
Vadim Kurland
50772edf75 fixed syntax 2009-09-24 04:13:55 +00:00
Vadim Kurland
7346c32f2f fixes #462 ; adds a check to avoid running ifenslave -d if there are no slaves; updates "last_modified" attribute when inetrfaces or any other child object of the firewall is modified 2009-09-24 04:04:22 +00:00
Vadim Kurland
a609e56348 fixes #459 2009-09-24 00:46:49 +00:00
Vadim Kurland
6babd922f8 fixes #460 2009-09-24 00:43:40 +00:00
Vadim Kurland
71863ca603 fixes #453 2009-09-24 00:27:37 +00:00
Vadim Kurland
ff97b6bf33 incremental updates for bonding interfaces. Refs #261 #265 #454 2009-09-24 00:03:52 +00:00
Illya Yalovoy
e127687142 refs #452 2009-09-23 19:58:02 +00:00
Vadim Kurland
a6ae124e46 fixes #456 2009-09-23 18:07:08 +00:00
Vadim Kurland
68f34d446c fixes #456 2009-09-23 17:58:05 +00:00
Vadim Kurland
69357d85cc fixes #456 2009-09-23 17:56:08 +00:00
SVN User
ebb271c572 fix to make code compile on windows 2009-09-23 17:47:48 +00:00
Vadim Kurland
23ee2d9531 merge from v3_1_merge 2009-09-23 17:00:48 +00:00
Vadim Kurland
1cae16c2da updated changelog wording 2009-09-18 19:10:44 +00:00
Vadim Kurland
a4f248a1f1 changelog record 2009-09-18 18:24:35 +00:00
Vadim Kurland
b97470d09e 2009-09-18 vadim <vadim@vk.crocodile.org>
* PolicyCompiler.cpp (ItfNegation::processNext): fix for bug
#2710034 "PF Compiler in 3.0.3 Unprotected Interface Bug". When we
expand "interface" rule element which uses negation, skip
unprotected interfaces.
2009-09-18 18:02:56 +00:00
Vadim Kurland
f3dc40113b update_check should properly handle html responses from captive portal proxies 2009-09-18 17:22:54 +00:00
Vadim Kurland
e87fbb5adf * RoutingCompiler_ipt_writers.cpp (PrintRule::processNext): Fixed
security vulnerability in the generated script that was caused by
incorrect creation of a temporary file. The problem made generated
script vulnerable to symlink attacks. The vulnerability only
affected systems where Firewall Builder was used to generate
static routing configuration on Linux.
2009-09-16 21:35:59 +00:00
Vadim Kurland
be2a40136a 2009-09-05 vadim <vadim@vk.crocodile.org>
* PolicyCompiler_iosacl_writers.cpp (PrintRule::_printDstService):
fixed bug (no #): policy compiler for Cisco IOS ACL did not add
icmp type to the generated ipv6 access-list statements for rules
that matched ICMPv6 services.
2009-09-06 02:34:31 +00:00
Vadim Kurland
14db54d352 using proper font weight value 2009-08-31 20:33:22 +00:00
Vadim Kurland
bbeb7bcbf5 using QTextCursor to manipulate text properties in the compile/install log window, avoiding html 2009-08-31 18:58:37 +00:00
SVN User
a5b2307f60 clear CR in addition to LF to avoid extra empty lines on windows 2009-08-31 04:51:15 +00:00
Vadim Kurland
5d1ca8d171 * instDialog_ui_ops.cpp (instDialog::addToLog): fixed bug #2847263
"Batch compiling incrementally slow". The time it took to add a
log line to the progress window in the "Compile" dialog slowed
down a lot as amount of text in QTextEditor increased.
2009-08-31 01:12:48 +00:00
Vadim Kurland
da010e1c3e * PolicyCompiler_pf.cpp (SplitDirection::processNext): applied
patch per #2844561: "PF Compiler Direction Both Duplicate for
Route Action". Need to split the rule if direction is Both
and action is Route.
2009-08-27 17:10:20 +00:00
Vadim Kurland
c423987190 * newFirewallDialog.cpp (newFirewallDialog::templateSelected):
fixed bug #2844596: "Crash during newFirewallDialog". GUI crashed
if user clicked "next" in the new firewall dialog to open page
with templates, then clicked "Back" and then "Next" again.
2009-08-27 16:59:30 +00:00
Vadim Kurland
d11a393ab3 2009-08-27 vadim <vadim@vk.crocodile.org>
* ObjectManipulator.cpp (ObjectManipulator::select): fixed bug
#2845667 "Crash after find object". When host object was found
using "Find object" function while searching by ip address,
clicking on the selected host in the tree caused crash.

* VERSION (LIBFWBUILDER_SOMAJOR): started 3.0.7
2009-08-27 16:44:38 +00:00
Vadim Kurland
5aaea155ec 2009-08-12 vadim <vadim@vk.crocodile.org>
* NATCompiler_ipt.cpp (splitSDNATRule::processNext): fixed bug
#2836321: "SNAT rule that changes Trans Src and Trans Port does
not work". Dual translation rule that changes source address and
destination port was not supported.
2009-08-12 17:51:41 +00:00
Vadim Kurland
213d270623 * PolicyCompiler_pf_writers.cpp (PrintRule::processNext): For bug
#2835193: "Modulate state doesnt work for PF". Check variable
"modulate state" in rule optiopns and global firewall options. If
checkbox is turned on in the firewall options, then we always use
"modulate state". This option can also be turned on for an
individual rule using rule options dialog.

* pfAdvancedDialog.cpp (pfAdvancedDialog::pfAdvancedDialog): Fixed
bug #2835193: "Modulate state doesnt work for PF".  The name Xml
attribute used to hold the value of "module state" option was
entered incorrectly in the dialog.
2009-08-10 22:33:16 +00:00
Vadim Kurland
830033c295 2009-07-28 vadim <vadim@vk.crocodile.org>
* NATCompiler_pf_writers.cpp (PrintRule::_printSrcPort): remove
extra white space after tcp port spec if source port match was not
used in the rule.

* PolicyCompiler_pf.cpp (fillDirection::processNext): Applied
patch per bug report #2828633: "Patch: Warning when changing rule
direction in compiler". This adds warning when rule direction is
changed by the compiler because object in source or destination
was firewall itself.

* PolicyCompiler_pf.cpp (PolicyCompiler_pf::compile): Implemented
change per bug #2828602: "PF Compiler Direction Both no
Duplication Patch". PF rules with direction "both" used to be
split to make two rules, one with direction "inbound" and another
with direction "outbound". This was an artefact of old rule
generation model where user could choose to permit everything
outbound and only generate inbound rules, or generate both inbound
and outbound rules. Since we now always generate both in abd out
rules and PF matches both directions when neither "in" or "out" is
specificed, this splitting has become redundant.
2009-07-29 01:42:55 +00:00
Vadim Kurland
34fee341d3 better way to optimize for "-i + ", "-o +" 2009-07-27 05:34:12 +00:00
Vadim Kurland
674589476e 2009-07-19 vadim <vadim@vk.crocodile.org>
* PolicyCompiler_ipt.cpp (specialCaseWithFWInDstAndOutbound::processNext):
fixed bug #2823951: "unnecessary rules in FORWARD chain". Policy
rules that have interface object in "Interface" column and
direction "Both" generate unnecessary iptables commands in the
FORWARD chain when destination matches one of the addresses that
belong to the firewall.
2009-07-19 19:17:42 +00:00
Vadim Kurland
8376a78208 2009-07-18 vadim <vadim@vk.crocodile.org>
* RuleSetView.cpp (RuleSetView::moveRule): fixed bug #2823668:
"MDI window glitch". If the GUI had two or more MDI windows and
user moved rules in one of them, the GUI switched to another after
the operation was complete.
2009-07-18 20:16:26 +00:00
Vadim Kurland
5b284dc12d fixed bug #2823424; minor reformatting 2009-07-18 03:27:58 +00:00
Vadim Kurland
664c564037 * PolicyCompiler_ipt_optimizer.cpp (optimizeForMinusIOPlus::processNext):
fixed bug #2822098: "IPT: adds useless "-i +" iin some cases".
Added optimization to remove redundant "-i +" and "-o +" if
chain is INPUT or OUTPUT.
2009-07-16 00:30:12 +00:00
Vadim Kurland
baba332a12 test examples for bug 2822098 2009-07-15 22:39:11 +00:00
Vadim Kurland
1f29579740 added comments to rules per bug #2822098 2009-07-15 20:56:21 +00:00
Vadim Kurland
92abc2b58e * PolicyCompiler_ipt.cpp (singleItfNegation::processNext): fixed
bug #2819901: "sub-optimal expansion of negated interface". Policy
rules with single interface object in "interface" rule element
with negation should generate iptables commands using "-i ! itf"
or "-o ! itf" rather than multiply the rule using all other
interfaces of the firewall. Note that for iptables v1.4.3 and
later, extrapositioned syntax is used, such as "! -i itf".
2009-07-14 23:59:02 +00:00