43 Commits

Author SHA1 Message Date
c4781aa615 refactor(xml): Shorten section name var 2022-07-05 17:26:24 +02:00
1bbf75d3dd refactor(debug): Dedicated function to generate stringified XML repr 2022-07-05 17:26:10 +02:00
7b6103be72 refactor(debug): Clearly identify exit code 5 reason 2022-07-05 17:26:05 +02:00
0406077aa5 docs(config): Rename headline 2022-07-05 06:35:41 +02:00
e24ec0a602 docs(config): Typos, formatting 2022-07-05 06:32:53 +02:00
69992c23da docs(config): Typo 2022-07-05 06:26:52 +02:00
564ab297a9 docs(meta): Explain project premise 2022-07-05 06:25:06 +02:00
114034c0cd docs(meta): A few nitpicks 2022-07-05 06:25:02 +02:00
99711a1bb7 docs(config): There is no config check anymore, remove mention of it 2022-07-05 06:24:57 +02:00
ef86808214 docs(config): IPv6 rules are a good thing 2022-07-05 06:24:52 +02:00
7f5f8e16b8 docs(config): Add inline example configs 2022-07-05 06:24:43 +02:00
ce44e728e0 refactor(systemd): Slim down log output via RichHandler 2022-07-05 04:47:24 +02:00
98f6eb0ae0 refactor(meta): Remove example allow list 2022-07-05 04:47:20 +02:00
caf7ad64d1 refactor(dns): Give more concise output when resolving DNS records 2022-07-05 04:47:16 +02:00
719ee22276 meta(docs): Add systemd example files 2022-07-05 04:47:12 +02:00
74a6f42171 feat(xml): Tie it all together by generating intro ip(6)tables targets 2022-07-05 04:47:08 +02:00
35e6f80243 feat(xml): Render XML rule content per section 2022-07-05 04:47:04 +02:00
723dac7a6f feat(XML): Render a global XML scaffolding for use throughout execution 2022-07-05 04:47:00 +02:00
905f97ef55 feat(xml): Check and add rule XML elements 2022-07-05 04:46:57 +02:00
ea344c8940 feat(xml): Add and detect XML rule elements 2022-07-05 04:46:53 +02:00
a4ff9aff4b feat(meta): Add dependencies 2022-07-05 04:46:49 +02:00
824e6c67d0 feat(dbus): Restart firewalld, provide new XML file 2022-07-05 04:46:44 +02:00
afdc8aa7af feat(config): Get log level from environment 2022-07-05 04:46:40 +02:00
2c10e3766d feat(config): Define settings that are allowed empty 2022-07-05 04:46:35 +02:00
f4339dae00 feat(config): Add iptables connection state options 2022-07-05 04:46:30 +02:00
c092cbdcf3 feat(config): Accept a list as a Configparser setting, add lambda 2022-07-05 04:46:25 +02:00
1e796771cc docs(meta): Topmost sections are H1 headings instead of H2 2022-07-05 04:46:20 +02:00
be3b65f3a4 docs(meta): Document exit codes 2022-07-05 04:46:15 +02:00
296dd39d2e docs(meta): Describe settings 2022-07-05 04:46:11 +02:00
81036f5e99 docs(meta): Add latest rendered cogapp config.ini example to docs 2022-07-05 04:46:05 +02:00
1e53adb529 docs(debug): Warn user when a section doesn't have all mandatory options set 2022-07-05 04:46:01 +02:00
40290fdc59 docs(debug): Render plurals in log output when applicable 2022-07-05 04:45:52 +02:00
a92e83a7c6 docs(debug): Config without valid section is now an error 2022-07-05 04:45:47 +02:00
69bdac4aa6 docs(config): Warn user that a trailing target=DROP rule is sensible 2022-07-05 04:45:41 +02:00
7b3ebde367 docs(config): Remove per-section values, we don't need those 2022-07-05 04:45:31 +02:00
b35aa03e70 docs(config): In example config.ini file comment out an invalid section to better differentiate it from valid sections 2022-07-05 04:45:23 +02:00
d51a1f9638 docs(config): Give example usage for a section that needs IPv6 rules 2022-07-05 04:45:15 +02:00
c5ae3c0c89 docs(config): Add examples to config defaults 2022-07-05 04:44:45 +02:00
f4379bbfc2 feat(app): Add globals and how to deal with them 2022-06-20 23:52:03 +02:00
9dcb91d9dd fix(rule): Default drop-packet rule must use 'DROP' target 2022-06-18 02:41:04 +02:00
19372524d5 feat(app): Initial commit 2022-06-18 02:32:46 +02:00
f061fdc8cc refactor(meta): Add PyCharm config files 2022-06-18 02:29:44 +02:00
6268884c00 Initial commit 2022-06-12 23:06:36 +00:00