Commit Graph

103 Commits

Author SHA1 Message Date
Michael Boelen 95530fdc0e
Simplified copyright line and meta information as including (and updating) the year does not hold much value 2025-01-28 10:15:09 +00:00
nser77 86dd94c7bc
Update tests_firewalls 2024-10-16 11:34:20 +02:00
Michael Boelen b1e1f61975
[FIRE-4508] bring code and output in line with rest 2024-10-15 13:15:24 +00:00
nser77 690f82e5e4
Update tests_firewalls 2024-10-15 09:56:30 +02:00
nser77 c53969d1fc
Update tests_firewalls 2024-10-15 09:29:50 +02:00
nser77 7bdcd56f63
Update tests_firewalls 2024-10-14 16:05:33 +02:00
nser77 ade45301a8
Update tests_firewalls 2024-10-14 15:58:14 +02:00
nser77 06b220e503
Update tests_firewalls 2024-10-14 12:10:58 +02:00
nser77 d61ac72d49
Update tests_firewalls 2024-10-14 11:13:39 +02:00
nser77 f3ffbb0b48
Update tests_firewalls 2024-10-11 15:24:20 +02:00
nser77 0891d2693e
Update tests_firewalls 2024-10-11 11:04:56 +02:00
nser77 b5d86daabb
Update tests_firewalls 2024-10-10 13:06:57 +02:00
nser77 fa9082ab77
Update tests_firewalls 2024-10-10 12:31:05 +02:00
nser77 5d50814f04
Update tests_firewalls 2024-10-09 12:24:18 +02:00
nser77 d64f480823
Update tests_firewalls 2024-10-09 09:40:01 +02:00
nser77 2d4ec42696
Update tests_firewalls 2024-10-09 00:57:16 +02:00
nser77 d90413e243
Update tests_firewalls 2024-10-08 12:02:07 +02:00
nser77 13ced756cd
Update tests_firewalls 2024-10-08 11:59:24 +02:00
nser77 8ca5b83584
Update tests_firewalls 2024-10-08 11:29:48 +02:00
nser77 e9c2a1ad3f
Update tests_firewalls 2024-10-08 01:36:39 +02:00
teoberi 1a408248b0
Update tests_firewalls -> FIRE-4508
Fix copy error
2024-10-04 21:55:57 +03:00
teoberi c51b066131
Update tests_firewalls -> FIRE-4508
Include #1554
Fix FIND variable (remove "\n" and -z)
Add sort + uniq while read line from FIND
2024-10-04 21:46:30 +03:00
nser77 b7ced8e030
FIRE-4508 - Fix typo in conditional expression 2024-10-04 09:21:11 +02:00
xnoguer 6f1797fb59 Using grep -E 2023-04-23 17:38:21 -04:00
Nico Berlee 7849965d98
nftables empy ruleset test fix by reorder --stateless 2021-03-31 17:05:12 +02:00
Michael Boelen da1c1eca10
Preparation for release 3.0.3 2021-01-07 15:22:19 +01:00
Simon Biewald 0c686bb6ea Use the new status strings in tests
See-Also: HEAD^
Signed-off-by: Simon Biewald <simon@fam-biewald.de>
2020-11-14 20:34:43 +00:00
Stéphane 67d04f2536
Add translate function for all sections
+ add EN and FR up to date languages files
2020-10-22 00:13:42 +02:00
Michael Boelen 9f0bbf52ea
[FIRE-4534] set initial state 2020-06-26 09:44:39 +02:00
Michael Boelen 38310223a6
Updated date/year 2020-03-20 14:50:25 +01:00
Michael Boelen 09f29a5e64
Code style improvement: quote argument 2019-12-18 12:17:46 +01:00
Michael Boelen 36627a4eb7
Style improvements 2019-09-19 14:05:15 +02:00
Michael Boelen 17137408d2
Use IsRunning exit code instead of variable 2019-07-26 11:32:48 +02:00
Michael Boelen fa8bad20db
Use -n instead of ! -z 2019-07-16 13:20:30 +02:00
Michael Boelen 8e61275ff4
Move state recording to report section 2019-05-16 15:23:23 +02:00
chr0mag 06bf77cb30 [FIRE-4540] Modify test to better measure rules (#636)
This test was previously measuring the number of bytes (wc -c)
in the exported JSON which is likely not what was intended and
will lead to false positives anytime the number of bytes exceeds
16.

The export feature is poorly documented and requires the jansson
package on the target system to export as JSON - which may not
always be the case.

Lastly, 16 is an arbitrary and uncessarily high number. A simple
workstation firewall can have only 3 rules and be effective.

This commit makes use of 'nft list ruleset' instead of the export
command, strips out blank lines as well as table & chain headers
before measuring the number of lines in the output. Any result
with more than 3 rules is now considered non-empty. This is more
consistent with the equivalent iptables test case.
2019-03-05 18:57:58 +01:00
Michael Boelen 66066ae226
Changed year and preparing for new release 2019-01-31 14:47:35 +01:00
Michael Boelen 533a0631e7
Remove unneeded variable for firewall as data is stored in report 2018-12-31 10:03:26 +01:00
marcinozga b98217aba9 Update tests_firewalls (#599)
Added detection of Little Snitch alternative firewalls: Hands Off!, LuLu, and Radio Silence.
2018-12-14 13:20:01 +01:00
Michael Boelen 7635d58fe3
Add TODO for BusyBox support 2018-09-17 11:47:07 +02:00
Jason Soto 94e4fb4bd9 Solved null byte bash warning (#523) 2018-03-05 11:19:57 +01:00
mslifcak c170f1fc0a Pin db sync (#519)
* fix testname in one Register and four comments

* remove db dup MAIL-8816; add db AUTH-9489 BOOT-5261 CORE-1000 FILE-6363 FILE-6439 KRNL-5831 MAIL-8817 SINT-7010 USB-3000

* fix description PLGN-3856
2018-02-09 12:37:10 +01:00
Michael Boelen 66f8cb2441
Changed year 2018-01-11 09:50:26 +01:00
Michael Boelen 011e6248c2
Use full match for Little Snitch 2017-10-29 10:54:16 +01:00
Michael Boelen c5e014eaf4
Corrected description 2017-10-24 13:39:41 +02:00
Michael Boelen 77400d3952
Improve logging 2017-09-05 13:29:21 +02:00
(╯°□°)╯︵ uᴉǝssnH ɐɟɐʇsoW 3b66a22f39 Firewall check updates (#414)
* Check if CSF is running

* Check for APF presence
2017-07-10 15:23:32 +02:00
Michael Boelen 0e535c851a
Small style improvement 2017-05-31 15:47:21 +02:00
(╯°□°)╯︵ uᴉǝssnH ɐɟɐʇsoW 360be2a700 Add a check for csf testing mode (#399) 2017-05-31 15:37:22 +02:00
Michael Boelen 4ecb9d4d05
[bulk change] cleaning up, code enhancements, initialization of variables, and new tests 2017-04-30 17:59:35 +02:00