87 Commits

Author SHA1 Message Date
gyurix
4631bccf6c refactor iptables handling for improved compatibility across operating systems
All checks were successful
continuous-integration/drone/push Build is passing
2025-03-05 18:26:14 +01:00
f9022cbdff checked iptables variant for multiple operating systems 2024-08-19 16:04:30 +02:00
6570137e42 IP check correction 2023-10-16 02:35:06 +00:00
a2301e7172 added double quote character for awk parsing first colums 2023-10-16 02:02:48 +00:00
Gyorgy Berenyi
de23694368 Update 'firewall/firewall-add'
Added debug lines into files
2023-08-23 08:31:35 +00:00
Gyorgy Berenyi
12ce6a9fa3 Update 'firewall/firewall-add'
Correcting OPERATION value prcessing
2023-08-20 12:46:15 +00:00
05e30e8bf3 Added delete firewall rule option 2023-08-20 07:56:32 +00:00
e0fc5e22b2 -n was added 2023-06-05 13:09:32 +00:00
92f34fb9e2 syntax fix 2023-05-15 07:04:11 +00:00
18c275bf73 ports in pair 2023-05-15 06:50:22 +00:00
46fde8a19f Check TARGET IP and TARGET PORT exist 2023-04-27 12:05:27 +00:00
c57549e032 Introduced SOURCE_IFACE variable 2023-04-27 11:59:15 +00:00
fa8de49a28 Introduced SOURCE_IFACE variable 2023-04-27 10:44:43 +00:00
5825811547 Remove uneccessary lines 2023-03-12 11:47:47 +00:00
2ad946f90b Commented IP set when them not exist 2023-03-12 11:42:09 +00:00
83e1291943 Replace iptables to iptables-legacy when NSENTER presents 2023-03-12 11:15:07 +00:00
9bb484b9bb Filter when not all the variables exist for prerouting rulesx 2023-03-12 11:04:12 +00:00
191638456e Changing IPTABLES variable to correct iptables bin 2023-03-12 10:49:27 +00:00
7cce2b5394 Complete firewall in case of network defined in rules 2023-03-08 20:53:13 +00:00
05aacbba3c Check how many APP_IP presents when examine IP addresses 2023-02-13 11:28:59 +00:00
a56032cbc4 fix 2023-02-03 11:21:24 +00:00
f09f06764a remove all matching selectors and all selctors followed by "-" 2023-02-03 11:09:04 +00:00
dac7a093b5 Added selector based firewall rules creating 2023-01-25 08:57:27 +00:00
8386c2aa65 Added exit line when running processes numbers are less then expected 2022-12-27 09:08:34 +00:00
4ad3a0e7e5 Added exit line when running processes numbers are less then expected 2022-12-27 09:03:40 +00:00
413a7133bd Bugfix 2022-12-20 10:35:46 +00:00
4280ba3429 Minor bugfix 2022-11-24 12:57:23 +00:00
e942411335 Added validate process for getting IP address of application 2022-11-24 12:51:45 +00:00
3046c9f262 Syntax fixing 2022-10-13 09:37:05 +00:00
4c7a313e60 Changing wait time to infinity 2022-10-13 06:47:56 +00:00
dfc5b21d54 Adding check-line to iptables script 2022-10-10 12:35:19 +00:00
1217d8b0d6 Adding check-line to iptables script 2022-10-10 11:55:48 +00:00
246819fdfa Fixing roles variable filtering when exists 2022-10-03 09:40:38 +00:00
69921b224f Fixing roles variable filtering when exists 2022-09-30 20:39:41 +00:00
f26c9dc1a2 Implementing roles filter for finding proper applications 2022-09-28 07:26:51 +00:00
aa78e3bb6f debugging duplication and filtering 2022-09-20 10:03:46 +00:00
db252ce091 debugging duplication and filtering 2022-09-20 10:01:05 +00:00
ae1c4d255d validating application names or IP addresses variables 2022-09-12 13:00:57 +00:00
a326c2646b validating application names or IP addresses variables 2022-09-12 12:51:43 +00:00
91434028d9 Unknown 2022-09-12 10:33:23 +00:00
d8f89c422a Introducing name resolution service instead of IP addresses 2022-08-06 08:51:06 +00:00
c6d89dad8f When HOST variable is defined the prerouting and the postrouting segment not executed 2022-06-07 05:57:24 +00:00
d0b9777bfb Correcting search pattern in iptables rules table 2022-05-19 07:39:32 +00:00
0c9ad36c84 Defining prerouting state 2022-05-19 07:28:11 +00:00
1e1ddbb0f9 Changing postrouting IP variables for correct rule parameters 2022-05-19 06:44:34 +00:00
b7ec1b9549 Specifying filter process to correct iptables rules 2022-05-19 05:48:23 +00:00
abe47c7622 Setting prerouting and postrouting rules in one process 2022-05-19 05:29:56 +00:00
dd0ffa2d56 Modifying source or target IP addresses in case of POSTROUTING rules is applied 2022-05-16 09:05:26 +00:00
6da9d2efd0 Changing execution orders 2022-03-21 10:46:37 +00:00
a4fdb05433 Changing execution order of rules 2022-03-21 10:36:00 +00:00