Commit Graph

4853 Commits

Author SHA1 Message Date
Sirius Bakke 123dceefc4 feat: Add qbs build files 2018-09-12 20:20:41 +02:00
Sirius Bakke 72c2db74ba fix: Define terminal includes 2018-09-02 16:43:57 +02:00
Sirius Bakke 39f61814d6 fix: Use signal.h 2018-09-02 16:43:57 +02:00
Sirius Bakke 6281444dbf fix: Use geopt.h
If needed on MSVC, use code from
https://www.codeproject.com/Articles/157001/Full-getopt-Port-for-Unicode-and-Multibyte-Microso
2018-09-02 16:43:30 +02:00
Sirius Bakke e59591f2ea fix: Define vnsprintf 2018-05-13 17:47:10 +02:00
Sirius Bakke 24c59d41ba fix: Define Manifest marker 2018-05-13 16:22:17 +02:00
Sirius Bakke 30abb4732f fix: Define rcs binaries 2018-05-13 15:55:24 +02:00
Sirius Bakke e0ba889487 fix: Find distro at runtime 2018-05-13 15:36:26 +02:00
Sirius Bakke e41ab255e1 fix: Remove Qt4 support 2018-05-13 13:58:58 +02:00
Sirius Bakke 2dff28ad2c fix: Remove HttpGet class and usage 2018-05-13 13:58:58 +02:00
Sirius Bakke c1a8e1c7ba fix: Don't confuse SSH and shell error
The string "debug1: key_parse_private_pem: PEM_read_PrivateKey failed"
should not be match the rexex for shell errors.

Fixes #58
2018-05-10 18:20:35 +02:00
Sirius Bakke 7a42aa22d0 fix: Crash when creating a new service group
Fixes #26
2018-05-10 18:20:35 +02:00
Sirius Bakke e498daaccf feat: Add support for IPv6 in AddressRange
Fixes #49
2018-05-10 18:20:35 +02:00
bluelineXY 102d68c391 adding fix for crash if you create some new objects type out of the menu (e.g. ip addess) 2018-05-10 16:10:50 +02:00
Sirius Bakke 5187dac23a Revert "Merge pull request #51 from bluelineXY/master"
This reverts commit f7f1310408, reversing
changes made to 131e0a2e93.
2018-05-10 16:07:32 +02:00
Sirius Bakke cbcc919ec0 Revert "fix: Deprecated C++ exception specification"
This reverts commit 276f9ef19f.
2018-05-10 16:06:19 +02:00
Sirius Bakke 276f9ef19f fix: Deprecated C++ exception specification 2018-05-02 22:59:03 +02:00
Sirius Bakke f7f1310408
Merge pull request #51 from bluelineXY/master
adding AddressRangeIPv6
2018-05-02 17:46:50 +02:00
Sirius Bakke 131e0a2e93
Merge pull request #57 from mattinx/master
Update interface pattern for VLANs with predictable device naming
2018-04-30 16:23:55 +02:00
Sirius Bakke 1684bcf6c9 fix: Make mxe-w32 build 2018-04-30 15:52:28 +02:00
Sirius Bakke 41a005738b chore: Added build script for mxe-w32, travis 2018-04-30 15:52:01 +02:00
Sirius Bakke 192c59ead9 chore: New build script for travis using docker 2018-04-30 09:28:14 +02:00
Matt London 7d310970c1
Update interface pattern for VLANs with predictable device naming
The existing regexp to Linux interface names with VLANs (e.g. eth0.10) fails with the new style predictable device names (e.g. enp0s20f2.10), causing fwbuilder to reject the interface name. This makes it impossible to build firewall configurations on recent distributions without disabling predictable device naming.
Update regexp to allow matching of newer style device names
2018-04-26 11:19:24 -04:00
Sirius Bakke ba617a8e92 test: Make unit tests compile
However, not all tests run.
2018-04-19 17:42:28 +02:00
Sirius Bakke 8642f8bf81 chore: Let qmake respect CXXFLAGS environment variable 2018-04-19 17:35:03 +02:00
bluelineXY 3d1050b584 add AddressRagenIpv6 to list_object - thx to Michal 2018-04-04 22:00:37 +02:00
bluelineXY cbd243614c add AddressRangeIPv6 to new objects - thx to Michal 2018-04-04 22:00:04 +02:00
bluelineXY 3893264def set address type to AF_INET6 - thx to Michal 2018-04-04 21:59:26 +02:00
bluelineXY c9d4a0ea1d add AddressRangeIPv6 description to resources file 2018-04-04 21:58:38 +02:00
Sirius Bakke 673600c178
Merge pull request #53 from monnerat/masquerade
Add a NAT rule option to force masquerading instead of SNAT.
2018-03-06 20:41:23 +01:00
Sirius Bakke 667f0c84c3
Merge pull request #52 from monnerat/qt5make
Detect qmake-qt5 automatically.
2018-03-06 20:41:16 +01:00
Sirius Bakke a9bffaf896
Merge pull request #54 from monnerat/gcc8
Fixes for gcc version 8 compatibility.
2018-03-06 20:37:35 +01:00
Patrick Monnerat df47f15219 Fixes for gcc version 8 compatibility. 2018-03-06 02:52:11 +01:00
Patrick Monnerat 577384c06e Add a NAT rule option to force masquerading instead of SNAT. 2018-03-05 20:06:22 +01:00
Patrick Monnerat a8f0f68636 Detect qmake-qt5 automatically. 2018-03-05 20:00:55 +01:00
Sirius Bakke 10fd1f5425 chore: Bump static version number to prepare for 6.x 2018-02-27 23:50:40 +01:00
Sirius Bakke 302299ec52 feat: Use C++14 and stricter compile warnings 2018-02-27 23:48:40 +01:00
Sirius Bakke 4ce388baea feat: Replace auto_ptr 2018-02-27 22:59:59 +01:00
Sirius Bakke 72d21474e2 fix: Escape regex character
NOTE: This may break Junos ssh login.
Need testing on actual device to verify.
2018-02-27 22:42:34 +01:00
Sirius Bakke 36aee4d9b4 fix: Add braces to remove if misleading-indentation 2018-02-27 22:42:34 +01:00
Sirius Bakke 94f78d8aa0 fix: Add attribute for implicit-fallthrough 2018-02-27 22:42:34 +01:00
Sirius Bakke bdec6cda24 fix: Declare nonmember in namespace 2018-02-27 21:42:11 +01:00
Sirius Bakke 616750f7f3 fix: Disable -Wshift-negative-value for single line 2018-02-27 21:21:50 +01:00
Sirius Bakke 9fe5150b87
Merge pull request #45 from MarkMielke/cpp11-deprecations
Eliminate use of deprecated C++ exception specifications
2018-02-27 20:58:59 +01:00
bluelineXY b59b76030f adding fix for crash if you create some new objects type out of the menu (e.g. ip addess) 2018-02-22 21:43:53 +01:00
bluelineXY 4a12587f33 adding AddressRangeIPv6 2018-02-22 21:40:59 +01:00
Mark Mielke ed4db20ec6 C++ exception specifications are deprecated in C++11:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3051.html

C++ exceptions are dynamic and evaluated at runtime. This greatly
limits the value of this feature, and introduces a performance
runtime overhead to perform the evaluations.

Recent versions of GCC warn about use of this deprecated feature.
Instead of disabling the warning, this change eliminates the use
of this deprecated feature.

There were a few places where "throw()" was retained as the
classes extend the standard library and must either specify
"throw()" or "noexcept" in order to meet the interface
contract. As "noexcept" is not backwards compatible,
"throw()" has been retained.
2018-02-07 02:32:55 -05:00
Sirius Bakke 8089ddde44
Merge pull request #46 from DimStar77/master
Some minor build system tweaks
2018-01-31 20:48:15 +01:00
Dominique Leuenberger d4b8f9127d
Build: fix script to handle potential empty $FLAGS
In case $FLAGS is empty, the original command would have been
  qmake "" -recursive

qmake interpretes "" as the first parameter that should point to a filename, if given
2018-01-31 15:11:07 +01:00
Dominique Leuenberger d943c04c4e
Build: allow to skip implicit configure call 2018-01-31 15:10:51 +01:00