1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-25 04:37:22 +01:00

571 Commits

Author SHA1 Message Date
Vadim Kurland
ef3931f4da * PolicyCompiler_ipt.cpp (singleDstNegation::processNext): fixed
bug (no #): policy compiler for iptables did not handle correctly
rules where a host that has multiple addresses was a single object
in a rule element and had negation.

* NATCompiler_ipt.cpp (singleObjectNegation::processNext): added
support for single object negation in OSrc and ODst in NAT rules.
This provides for more compact iptables script in the often used
case where single object is used with negation in these elements
of a NAT rule. Other improvements in handling NAT rules with
negation.
2008-10-18 18:45:02 +00:00
Vadim Kurland
c5e41ed161 * ipt.cpp (dumpScript): Explicitly use "\n" instead of endl to
avoid implicit conversion to "\r\n" on Windows (generated script
is for iptables which can only run on Linux, so it is safe to use
"\n" instead of endl).
2008-10-16 02:55:32 +00:00
Vadim Kurland
c68b7e4fdc changelog records 2008-10-14 05:35:44 +00:00
Vadim Kurland
1da8f11f24 * PolicyCompiler_ipt.cpp (PolicyCompiler_ipt::compile): fixed
bug (no #): policy compiler for iptables would crash with
assertion when AddressTable or DNSName object was used in a rule
in pure mangle table ruleset. This can be related to crash
reported in bug #2157121.
2008-10-14 05:34:42 +00:00
Vadim Kurland
e30f90e332 better margins in ruleset dialog 2008-10-12 06:25:17 +00:00
Vadim Kurland
b4bd47a9cc build fixes for freebsd 7 2008-10-12 05:45:34 +00:00
Vadim Kurland
c710c1003d attribute "mangle_table_only" for iptables policy rulesets 2008-10-12 04:03:22 +00:00
Vadim Kurland
7ab63cf0ef added controls for ruleset dialog for iptables only 2008-10-12 01:57:44 +00:00
Vadim Kurland
6c4b23bf9d added controls for ruleset dialog for iptables only 2008-10-12 01:53:14 +00:00
Vadim Kurland
0f992a8c4a bug 2148378 2008-10-12 00:57:05 +00:00
Vadim Kurland
699aa929e4 bug 2149503 2008-10-11 22:34:19 +00:00
Vadim Kurland
e55db52d40 bug 2149585 2008-10-11 22:11:52 +00:00
Vadim Kurland
60922b1608 bug 2151898 2008-10-11 21:42:54 +00:00
Vadim Kurland
e5c8d26890 removed Q_OBJECT from classes that do not need it 2008-10-11 21:18:56 +00:00
Vadim Kurland
5401a59977 bug 2130128 2008-10-11 20:59:46 +00:00
Vadim Kurland
cce39c6d28 finally fixing QMAKE_COPY for iosacl and pix 2008-10-11 15:51:21 +00:00
Vadim Kurland
1c3c772d0d bug 2158561 2008-10-11 06:16:00 +00:00
Vadim Kurland
6ecc343b07 bug 2158407 2008-10-11 05:42:31 +00:00
Vadim Kurland
149c16f0f9 bug 2154906 2008-10-10 15:41:38 +00:00
Vadim Kurland
edaf5aea24 bug 2154906 2008-10-10 15:29:55 +00:00
Vadim Kurland
e775e585b6 changelog 2008-10-10 04:35:54 +00:00
Vadim Kurland
fa1fe47f4a using QString for fwbobjectname 2008-10-10 04:31:38 +00:00
Vadim Kurland
79735969ff codecs 2008-10-10 04:06:02 +00:00
SVN User
4e4a4dca4d setting codecs before calling scp 2008-10-10 03:51:14 +00:00
Vadim Kurland
51b2320023 using Utf8 codec to encode command line parameters for compiler 2008-10-10 03:35:30 +00:00
Vadim Kurland
444cc9c5b8 fwb_ipt works with non-ascii fw object names on Mac 2008-10-10 03:18:25 +00:00
Vadim Kurland
636b9d3050 fwb_ipt works 2008-10-10 02:38:08 +00:00
Vadim Kurland
0988ba765d experimental: fwb_ipt uses QT for QApplication and command line. Change after r589 2008-10-10 02:29:51 +00:00
SVN User
cc9d7d96d8 cleanup 2008-10-10 01:40:42 +00:00
Vadim Kurland
60ec6f8e41 always supply -o to compilers 2008-10-09 15:28:39 +00:00
SVN User
654674c619 deleted check fot the existence of generated script in testFirewall - it was redundant b/c we get error when we try to open it to read manifest. 2008-10-09 06:14:08 +00:00
Vadim Kurland
2ed50c8c4a merged branch "new-installer" -r569:HEAD 2008-10-09 05:09:32 +00:00
Vadim Kurland
5d7af145af input field for path to scp in preferences dialog 2008-10-09 05:08:41 +00:00
Vadim Kurland
46f58c2894 fixes for freebsd 7, got rid of references to InterfacePolicy class in the GUI 2008-10-07 18:57:30 +00:00
Vadim Kurland
ddf7a5d932 3.0.2 , linux paths 2008-10-05 18:53:57 +00:00
Vadim Kurland
7e8de7312f start 3.0.2 2008-10-05 13:47:11 +00:00
Vadim Kurland
02cfc58a06 3.0.1 release, merge to trunk (see ChangeLog for revision numbers) 2008-10-04 19:05:36 +00:00
Vadim Kurland
a2f0f57fdf standardized FWBSettings path; using signal QLineEdit::editingFinished instead of lostFocus 2008-10-04 14:34:24 +00:00
Vadim Kurland
afe5a00775 fixed bug 2144122 2008-10-03 14:40:31 +00:00
Vadim Kurland
84ea4be6df * ProjectPanel_file_ops.cpp (ProjectPanel::chooseNewFileName):
fixed bug #2144358 "Double check with 'save as'". The GUI used to
	ask twice if user wants to overwrite the file in Save As operation
	if file with given name already existed.

	* FWWindow.cpp (FWWindow::projectWindowClosed): fixed bug #2144114
	"fwbuilder * exits if the last object file is closed". The GUI
	will not terminate after the last window is closed but instead
	will just show empty main window.

	* fwbedit.cpp (main): fixed bug #2143894: "fwbedit list does not
	show objects". Command "fwbedit list -f file" did not print
	anything unless option "-F" was supplied. This change adds default
	value for this option so that when it is missing, the command
	prints object path.

	* fwbedit.1: fixed bug #2143961: a typo in the man page fwbedit.1
2008-10-03 14:06:56 +00:00
Vadim Kurland
ef8fa91b9d * instDialog.cpp (instDialog::finishInstall): fixed bug #2125604:
"Cancel button does not kill the installer". Cancel button of the
installer wizard in fact kills background process. Second issue
raised in this bug report is that "Finish" button was always
enabled. This is now fixed.
2008-10-02 12:04:09 +00:00
Vadim Kurland
42de6ff13e * PolicyCompiler_PrintRule.cpp (PrintRule::_printTarget): fixed
bug #2141911: "no ULOG for ip6tables". ULOG target has not been
implemented for ip6tables yet, so the compiler should fall back to
LOG target while compiling ipv6 policy.
2008-10-02 11:31:03 +00:00
Vadim Kurland
72e78a89bb fixed crash that happened on Ubuntu with QT 4.3.x because of recursive
call to updateGeometries()
2008-10-02 07:26:43 +00:00
Vadim Kurland
e83384f79b 2008-10-02 Vadim Kurland <vadim@vk.crocodile.org>
* RuleSetView.cpp (RuleSetView::updateGeometries): fixed crash
	that happened on Ubuntu with QT 4.3.x because of recursive call to
	updateGeometries()

	* fixed icon for rule action "Mark"
2008-10-02 07:24:31 +00:00
Vadim Kurland
907ed4ea51 * RuleSetView.cpp (PolicyView::PolicyView): constructors of rule
set view classes (PolicyView, NATView, RoutingView) used to set
	"dirty" flag in the object database which caused the GUI to ask
	the user if they wanted to save modifications before exisitng the
	program even when there were no modifications made. This change
	fixes this annoying problem.
2008-09-30 09:53:45 +00:00
Vadim Kurland
5743e631aa * RuleSetView.cpp (RuleSetView::updateGroups): using setSpan to
make row holding rule group head span across all columns. Without
	this, clicking on table cell in column >1 caused visual
	artifacts (cell color would turn white, possibly erasing part of
	the group name).

	* FindWhereUsedWidget.cpp (FindWhereUsedWidget::showObject): fixed
	bug #2129726: "Where Used" not working on collapsed groups.
2008-09-29 13:22:09 +00:00
Vadim Kurland
de38b9581b * RuleSetView.cpp (RuleSetView::paintEvent): fixed bug related to
#2123152 "Fwbuilder 3.0.0 Gui very slow and doesn't refresh
	properly". There seems to be a bug in QT 4.4.1 (not sure of 4.4.0,
	definitely not in 4.3.x) which causes the last row of the rule set
	view table to come out blank when the table is redrawn. This
	happens when rows have very different height and looks like the
	last row comes out blank when user scrolls the table up. The last
	row is finally redrawn when most of it is already visible.
2008-09-29 05:59:37 +00:00
Vadim Kurland
d5990b537f * PolicyCompiler_pf_writers.cpp (PrintRule::_printAF): fixed
bug (no #): policy compiler for PF used to insert both "inet" and
	"inet6" into generated pf.conf lines for the IPv6 policy.
2008-09-26 18:58:17 +00:00
Vadim Kurland
aaab45644c * RuleSetView.cpp (RuleSetView::getFullRuleGroupTitle): Added
tooltip in the rule set view for the column showing rule group
	handle, the tooltip shows group name and number of rules.
2008-09-26 08:56:33 +00:00
Vadim Kurland
02320e95f2 * FirewallDialog.cpp (FirewallDialog::openFWDialog): fixed bug
#2105977: "Viewing firewall settings change state to
	edited". Opening firewall "advanced" settings dialog triggered
	internal flag that signalled that something in the object tree has
	changed.

	* FWObject.cpp (FWObject::setInt): (change in libfwbuilder) fixed
	bug #2128261: "fwbuilder thinks the file has changed when opened
	read-only". Operation "find where used" triggered "dirty" flag on
	the object tree even though it does not change anything.
2008-09-25 13:37:21 +00:00