1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2025-11-09 04:03:34 +01:00

64 Commits

Author SHA1 Message Date
Charlène Wendling
256362372c Use ${CMAKE_DL_LIBS} for portability
Some systems, like OpenBSD for example, have libdl integrated in libc.
Let CMAKE_DL_LIBS decide if '-ldl' is needed as a linker flag
2020-12-22 03:43:15 +01:00
Sirius Bakke
c86153e0e7 fix: Deprecated Qt cmake macro 2020-10-07 21:11:11 +02:00
Thorsten Schoening
0f34c2d459 Building using MXE on UB 18.04 fails without ws2_32 being linked
explicitly.
2020-05-01 12:47:13 +02:00
Sirius Bakke
ac89370f29 chore: Remove QBS </3 2019-07-28 19:59:21 +02:00
Sirius Bakke
598e2fafde refactor: Reduce cmake global defines 2019-07-28 19:59:21 +02:00
Sirius Bakke
03ed123626 chore: Add support for mxe w32 and cmake 2019-06-09 23:46:58 +02:00
Sirius Bakke
5b2d0e297d chore: Add support for CMake
TODO: Support macOS and Windows
2019-02-20 00:12:56 -03:00
Sirius Bakke
a8f38647c9 refactor: NULL -> nullptr 2018-10-04 16:20:02 +02:00
Sirius Bakke
defc5c7b63 feat: Remove automake and qmake files 2018-09-12 20:21:21 +02:00
Sirius Bakke
ea85cab17b feat: Remove unneeded header includes 2018-09-12 20:21:12 +02:00
Sirius Bakke
123dceefc4 feat: Add qbs build files 2018-09-12 20:20:41 +02:00
Sirius Bakke
e41ab255e1 fix: Remove Qt4 support 2018-05-13 13:58:58 +02:00
Sylvestre Ledru
6a89b028b3 Disable the silent mode (easier to debug) 2017-09-29 11:33:55 +02:00
Sirius Bakke
96268831a2 Feature: Support for Qt5
* Compile time checking adjust includes and code for deprecated features
* QHttp class is removed from Qt5 so the custom HttpGet class is
  disabled when compiling with Qt5. The api on fwbuilder.org isn't
  working, so the code for getting tips and checking if a new version is
  available must be rewritten anyway.
2013-08-14 12:35:02 +02:00
Sirius Bakke
1e685abd1f Feature: Dummy objects for policy rules 2013-08-14 12:34:54 +02:00
Sirius Bakke
78190b2b26 Fix: Console applications use QCoreApplication
* Changed all the compiler executables from using QApplication to
  QCoreApplication
* libcommon is now using only QCoreApplication
2013-08-10 20:29:10 +02:00
Theron Tock
4c4b67b5bd * Implemented #2514, support for address table alternate paths.
There's a "data directory" setting under user preferences.  If the
	user selects an address table file using "choose file" and that
	file is "inside" the data directory, then the appropriate part of
	the path is replaced with %DATADIR% as a variable.  If the address
	table is marked "run-time" then the path is taken from the
	firewall data directory option.
2011-07-11 21:33:13 -07:00
Vadim Kurland
af8031a87a building with mingw on windows 2011-05-19 19:22:58 -07:00
Theron Tock
216dd1a2fb Make sure DEPENDPATH has same stuff as INCLUDEPATH, otherwise when files
change in other directories the dependent files don't get recompiled.

Fixed up INCLUDEPATH in various places.

Removed -pthread as an INCLUDEPATH (leads to bogus -I-pthread).
2011-05-11 14:05:18 -07:00
Vadim Kurland
cb7662fdae see #2212 now compilers do not copy object database but CompilerDriver does. This means one object tree copy instead of many (it used to be one copy for the driver plus one copy for each compiler pass) 2011-03-12 14:49:12 -08:00
Vadim Kurland
abcafdd4b3 still working on windows build failure; names for the items in BaseCompiler::termination_status shuld be unique; new build number 3466 2011-02-08 15:26:31 -08:00
Vadim Kurland
99a0b3d412 fixes #2055 Compiler shows success, but there was a fatal error in the config; the problem affected compilers for all platforms, not only pix 2011-02-07 23:05:27 -08:00
Vadim Kurland
eb61a51c89 fixes #1989:
Got rid
of global variables sysfname, tempfname, librespath, respath and
localepath; will now use class Constants to keep this information.
2011-01-26 13:27:57 -08:00
Vadim
cd4da4fb52 fixed build on Mandriva 2011-01-14 21:46:18 -08:00
Vadim Kurland
18377b1ff2 refs #1876 build number is now part of the long version number 2010-12-29 12:00:15 -08:00
Vadim Kurland
2417543eba merged libfwbuilder into fwbuilder as src/libfwbuilder; unit tests do not work yet 2010-12-25 20:12:30 -08:00
Vadim Kurland
57cc064b14 removed obsolete files .cvsignore, added more patters to .gitignore 2010-10-29 14:15:22 -07:00
SVN User
3665045dfe proper references to library on windows 2009-12-17 02:59:53 +00:00
Vadim Kurland
68a2e1bdc3 fixes #923 converted src/common to a library 2009-12-17 02:17:47 +00:00
Vadim Kurland
18c5f5c689 getting rid of dependencies on build_num 2009-11-22 20:53:39 +00:00
Vadim Kurland
f1d722a0c0 using BUILD_NUM instead of RELEASE everywhere 2009-10-01 17:14:32 +00:00
Vadim Kurland
e837cdea65 fixes #437 - got rid of "_()" everywhere (finally) 2009-09-25 22:50:14 +00:00
Vadim Kurland
23ee2d9531 merge from v3_1_merge 2009-09-23 17:00:48 +00:00
Vadim Kurland
9deae0598c 2009-03-24 vadim <vadim@vk.crocodile.org>
* pf.cpp (main): more changes to add support for
externally-controlled policy rulesets for PF: if policy ruelset
name ends with "/*", the program assumes it is controlled by
external means and does not compile rules in it and does not
create .conf file from it.
2009-03-24 16:01:23 +00:00
Vadim Kurland
f6d1b5b38d 2009-03-24 vadim <vadim@vk.crocodile.org>
* PolicyCompiler_pf_writers.cpp (PrintRule::_printAction): Added
support for anchor names with "/*" suffix for PF. Now the user can
create policy ruleset with name e.g. "ftp-proxy/*" and then set up
branching rule pointing to this ruleset. This ruleset is treated
by the program in a special way. First, it allows characters "/"
and "*" in the name of the ruleset (but only for PF firewalls).
Second, compiler does not create a .conf file with rules from this
ruleset, assuming that it will be controlled by external program
such as ftp-proxy. See man page ftp-proxy(8) for examples.
2009-03-24 07:31:48 +00:00
Vadim Kurland
932b4d2d34 2009-03-23 vadim <vadim@vk.crocodile.org>
* pf.cpp (main): fixed bug (no #): compiler for pf added code
provided in the "prolog" section while option was set to "add
after table definitions" in the incorrect place.
2009-03-24 04:42:54 +00:00
Vadim Kurland
c3542157e6 2008-12-21 vadim <vadim@vk.crocodile.org>
* PolicyCompiler_pf.cpp (PolicyCompiler_pf::addDefaultPolicyRule):
Deprecated options "generate commands for both in and out" and
"pass all outgoing" in compiler for PF. Before, user could choose
whether compiler was to generate only commands to match inbound
packets or both inbound and outbound. The distinction between
these two modes became very minimal in the recent versions of
fwbuilder because algorithm was mostly controlled by the setting
of "direction" in the policy rules. Now these two options have
been removed completely, the behavior of the compiler is as if
option "generate both in and out" was used.

* pf.cpp (main): Compiler can add command "pfctl -F states" after
command "pfctl -f file.conf" to flush states that existed in
memory from sessions opened prior to the policy reload. The reason
is that some of these sessions might be denied by the new policy,
but if state is not flushed, they will still work after policy
reload. This is optireloand is controller by checkbox in the
"Script" tab of the "advanced" settings dialog for the PF
firewall.
2008-12-21 20:48:24 +00:00
Vadim Kurland
1ac206288e 2008-12-15 vadim <vadim@vk.crocodile.org>
* ipt.cpp, ipfw.cpp, pf.cpp, iosacl.cpp: changes for FR #2431602:
support for rulesets configured as "dual address family", that is,
rulesets that should be compiled for both ipv4 and ipv6.

* RuleSetDialog.cpp (RuleSetDialog::applyChanges): implemented
feature request #2431602: "Feature request: Unified
policies (IPv4/v6)". RuleSet object now has two variables that
define which address family it should be compiled for - ipv4 or
ipv6. It is possible to have both set, in which case the same
ruleset will be compiled for both address families.
2008-12-16 05:03:50 +00:00
Vadim Kurland
5d7af145af input field for path to scp in preferences dialog 2008-10-09 05:08:41 +00:00
Vadim Kurland
b89be74709 more fixes for bug 2051629 group with dns names are handled as empty 2008-08-22 15:13:00 +00:00
Vadim Kurland
61601fe1e3 bug 2056510 "Compile time" address tables objects dont work 2008-08-18 01:47:56 +00:00
Vadim Kurland
699800dd12 patch for gcc 4.3 2008-08-03 16:47:47 +00:00
Vadim Kurland
2672f24f53 do CONFIG-=qt on unix but not on mac 2008-08-02 05:49:01 +00:00
Vadim Kurland
6db9a56b78 remove CONFIG -= qt in compilers to make code compile on Mac 2008-08-02 05:39:48 +00:00
Vadim Kurland
60bec65e08 removed dependency on QT in compilers 2008-08-02 04:59:32 +00:00
SVN User
d3113d99a7 properly build and install on win32 2008-07-13 16:40:56 +00:00
Vadim Kurland
299e475926 path to config.h and other headers 2008-07-13 01:26:39 +00:00
Vadim Kurland
990be44f07 support for attr top_rule_set in Policy, NAT and Routing 2008-07-07 18:29:33 +00:00
Vadim Kurland
a59280a185 support for ipv6 in fwb_iosacl; support for attribute ipv6 in RuleSet dialog 2008-07-07 02:32:38 +00:00
Vadim Kurland
cf2622da34 turn on svn Id tags 2008-07-05 17:40:12 +00:00