Commit Graph

52 Commits

Author SHA1 Message Date
Ilia Ross
fe8545703d Add support for timeouts in temporary rules in FirewallD
https://forum.virtualmin.com/t/fantastic-new-addition-to-firewall-module/134328/10?u=ilia
2025-07-25 02:05:50 +03:00
Ilia Ross
d1e4c5d577 Add API to handle direct rules in FirewallD 2025-01-20 01:16:05 +02:00
Ilia Ross
0363812172 Add rich rule helper function 2025-01-19 21:24:36 +02:00
Ilia Ross
8acf9980f8 Fix variable scope 2025-01-19 19:56:06 +02:00
Ilia Ross
af3ee1034f Add check for which IP families are enabled on the system 2025-01-19 19:32:55 +02:00
Ilia Ross
186e578802 Add validation for CIDR too 2025-01-19 19:30:22 +02:00
Ilia Ross
38f0ccc155 Add API to check if rich rule exists 2025-01-19 01:26:57 +02:00
Ilia Ross
73132e7f86 Fix to separate the logic for constructing and setting rich rule 2025-01-19 01:22:16 +02:00
Ilia Ross
d4d963910d Fix messy rich-rule API 2025-01-18 23:33:35 +02:00
Jamie Cameron
80bfbf30dc Only read one XML file https://github.com/webmin/webmin/issues/2351 2025-01-05 09:45:34 -08:00
Ilia Ross
6b190a6cba Add support for blocking a given IP temporarily or permanently 2024-05-24 22:30:54 +03:00
Jamie Cameron
15a00d8119 Remove perl module dependency and just use glob instead 2023-08-23 11:49:00 -07:00
Jamie Cameron
37a03e720c Look in /etc/firewalld/services as well 2023-06-02 08:02:00 -07:00
iliajie
fa311d5288 Add support to edit FirewallD config files manually 2023-04-30 18:43:36 +03:00
iliajie
a94ddd2f65 Fix to restart dependent services with firewalld
https://forum.virtualmin.com/t/virtualmin-fail2ban-firewalld-ubuntu-20-04-not-working-already-banned-until-restart/116565/4?u=ilia
2022-08-19 17:19:01 +03:00
iliajie
d0ed6f944e Fix pointless warnings flooding error log 2022-06-30 13:08:38 +03:00
Ilia
9b07f4c329 Fix to quotemeta commands 2022-04-13 00:57:59 +03:00
Ilia
a38d1a0831 Add support for deleting rich rules; add IPs extraction limit 2022-04-12 00:41:35 +03:00
Ilia
6ebfbfbe94 Unless firewalld restart Fail2ban bans break and fail to work 2022-04-11 20:32:25 +03:00
Ilia
e2de5c5206 Fix to use language keys 2022-04-11 20:12:41 +03:00
Ilia
025bc7aeeb Add FirewallD rich and direct rules listing 1/2 #1622 2022-04-11 16:09:53 +03:00
Ilia
094b330db1 Fix whitespace 2022-04-11 13:08:23 +03:00
Ilia
1c7a18f08f Add jails status and actions 2/2 #1623 2022-04-11 01:10:27 +03:00
Ilia
cf4607b693 Ports can be a range 2022-04-10 03:10:20 +03:00
Ilia
76adececf5 Display ports in parenthesis 2022-04-10 02:53:43 +03:00
Ilia
7994b5e62d Add description when editing service; change output for multi ports 2022-04-10 00:49:22 +03:00
Ilia
57e71aff37 Add support for displaying service ports/protocols 2022-04-10 00:29:02 +03:00
Jamie Cameron
b1a5650f1c Show port numbers for services too https://www.virtualmin.com/node/58814 2018-09-23 02:09:26 +00:00
Jamie Cameron
99bbc180eb Fix parsing of multi-line rules 2018-04-24 22:22:10 -07:00
Jamie Cameron
379f7aaf0b Creation and deletion of forwards now working 2017-06-17 15:43:47 -07:00
Jamie Cameron
f79d1040f3 More work on firewalld forwarding support 2017-06-17 14:59:51 -07:00
Jamie Cameron
2de661cfd7 Start of work on port forwarding 2017-06-16 19:47:53 -07:00
Joe cooper
0a765063c3 Probably don't need to fail if no default 2017-06-15 13:41:56 -05:00
Joe cooper
ff42df7647 Fix default zone detection 2017-06-11 15:38:01 -05:00
Jamie Cameron
fa3a61c5a7 CLean up todo notes 2015-06-19 16:59:48 -07:00
Jamie Cameron
450264d182 Button to make a zone the default 2015-06-17 20:29:17 -07:00
Jamie Cameron
9924f44c05 Button and script to delete a zone 2015-06-14 19:11:14 -07:00
Jamie Cameron
d055e86901 Form for adding a zone 2015-06-14 17:01:42 -07:00
Jamie Cameron
d35cffade9 Add script to open ports on the command line 2015-06-14 14:23:40 -07:00
Jamie Cameron
5672b61358 Script to update zone interfaces 2015-06-14 11:13:34 -07:00
Jamie Cameron
39b80ee1ec Function for updating a zone's interface 2015-06-13 17:22:10 -07:00
Jamie Cameron
7e1b9071e1 Logging script 2015-06-13 15:41:19 -07:00
Jamie Cameron
7930a03763 Show interfaces for zone 2015-06-12 20:42:06 -07:00
Jamie Cameron
aa4532ff1b Start and stop scripts 2015-06-09 22:55:11 -07:00
Jamie Cameron
f2d77a7bee Button to apply saved rules 2015-06-08 22:50:34 -07:00
Jamie Cameron
f4bb5a843a CGI to delete firewalld rules 2015-06-08 22:38:01 -07:00
Jamie Cameron
4c537d0fd8 Firewall service creation 2015-06-07 22:57:40 -07:00
Jamie Cameron
4a3dfb308b Functions for service management 2015-06-07 16:34:08 -07:00
Jamie Cameron
1118c2bb2f Scripts for saving, creating and deleting firewalld ports 2015-06-06 20:50:05 -07:00
Jamie Cameron
c9bde07cfd API for listing services 2015-06-04 23:23:43 -07:00