Ilia Ross a9c6fe724a Fix IPv6 CIDR access control matching
This PR fixes Webmin IP access control handling for IPv6 CIDR prefixes that are not divisible by 8, such as `/29` as mentioned in this https://github.com/webmin/webmin/issues/1570 ticket.

Before Webmin validation rejected non-byte-aligned IPv6 network sizes, and the runtime matcher compared IPv6 networks only by whole bytes. This meant valid IPv6 CIDR prefixes could not be used safely in access control rules.

Changes:
- Allow IPv6 access-control prefixes from `/0` through `/128`, without requiring divisibility by 8.
- Add bit-accurate IPv6 prefix matching for ACL checks.
- Apply the same matching behavior in both `miniserv.pl` and `webmin/webmin-lib.pl`.
- Fix IPv6 canonicalization for `::` and trailing `::` forms used by the matcher.
- Add regression tests for `/0`, `/29`, `/32`, `/63`, `/64`, `/127`, and `/128`.
2026-06-19 14:50:24 +02:00
2026-06-10 20:11:24 +02:00
2026-06-15 13:39:32 +02:00
2026-06-15 13:48:13 +02:00
2026-06-06 23:11:25 +02:00
2026-04-10 13:17:51 +02:00
2026-03-29 22:28:47 -07:00
2025-02-17 00:32:15 +00:00
2025-02-17 00:32:15 +00:00
2026-04-10 13:45:14 +02:00
2026-06-15 13:23:03 +02:00
2026-04-09 19:33:37 +02:00
2026-04-01 18:07:19 -07:00
2026-06-15 15:51:18 +02:00
2026-03-29 21:19:03 -07:00
2026-06-15 13:24:46 +02:00
2026-05-12 01:25:57 +02:00
2025-02-12 13:19:49 +02:00
2026-05-03 15:45:25 +02:00
2026-06-15 15:51:18 +02:00
2026-06-02 20:32:26 +02:00
2026-05-29 22:25:42 +02:00
2026-02-02 23:08:05 -06:00
2025-02-17 00:32:15 +00:00
2025-02-17 00:32:15 +00:00
2026-02-02 18:07:42 -06:00
2025-02-17 00:32:15 +00:00
2025-02-17 00:32:15 +00:00
2025-02-12 13:19:49 +02:00
2025-02-17 00:32:15 +00:00
2025-02-17 00:32:15 +00:00
2025-02-17 00:32:15 +00:00
2025-02-12 13:19:49 +02:00
2026-02-10 20:34:51 +02:00
2026-05-15 12:58:12 +02:00
2026-06-15 13:50:04 +02:00
2026-06-15 15:51:18 +02:00
2025-02-17 00:32:15 +00:00
2025-02-12 13:19:49 +02:00
2025-02-12 13:19:49 +02:00
2026-06-15 13:19:06 +02:00
2026-06-03 18:43:53 +02:00
2025-02-12 13:19:49 +02:00
2025-02-17 00:32:15 +00:00
2026-06-15 13:46:03 +02:00
2025-02-12 13:19:49 +02:00
2025-02-12 13:19:49 +02:00
2026-01-07 07:48:21 -08:00
2025-02-17 00:32:15 +00:00
2026-06-15 13:40:56 +02:00
2025-10-04 12:17:28 +03:00
2026-06-15 13:34:28 +02:00
2025-02-17 00:32:15 +00:00
2025-02-12 13:19:49 +02:00
2026-06-15 16:38:34 -05:00
2026-05-10 01:51:40 +02:00
2026-06-19 14:50:24 +02:00
2025-02-17 00:32:15 +00:00
2025-02-12 13:19:49 +02:00
2025-11-03 00:57:37 +02:00
2025-02-12 13:19:49 +02:00
2025-08-19 11:44:39 +03:00
2026-04-17 14:43:06 +02:00
2021-04-22 14:02:33 +03:00
2022-08-12 10:53:18 -07:00
2026-04-10 15:27:28 +02:00
2026-06-08 12:24:28 +02:00
2022-04-22 14:41:14 +03:00
2026-06-14 17:51:30 +02:00
2022-10-11 00:29:38 +03:00
2026-05-28 12:19:24 +02:00
2026-04-10 15:32:26 +02:00
2026-04-10 15:27:28 +02:00
2023-05-26 14:00:39 +03:00
2025-10-16 11:51:04 +03:00
2025-04-30 14:43:16 +03:00
2026-04-10 15:27:28 +02:00
2025-02-21 14:58:37 +02:00
2026-05-10 17:46:56 -07:00
2023-10-11 18:51:22 +03:00

 

Webmin

 

Documentation   |   FAQ   |   Security   |   Screenshots   |   Forum

Downloads Latest release Stars Members Contributors Issues License

 

 

About

Webmin is a web-based system administration tool for Unix-like servers, and services with about 1,000,000 yearly installations worldwide. Using it, it is possible to configure operating system internals, such as users, disk quotas, services or configuration files, as well as modify, and control open-source apps, such as BIND DNS Server, Apache HTTP Server, PHP, MySQL, and many more.

Dashboard screenshot Dashboard screenshot

Usability can be expanded by installing modules, which can be custom made. Aside from this, there are two other major projects that extend its functionality:

  • Virtualmin is a powerful, flexible, most popular, and most comprehensive web-hosting control panel for Linux, and BSD systems, with over 150,000 installations worldwide. It is available in an open-source community-supported version, and a more feature-filled version with premium support;
  • Usermin presents and controls a subset of user-centred features, rather than administrator-level tasks.

Webmin includes 116 standard modules, and there are at least as many third-party modules.

Requirements

Perl 5.10 or higher.

Installation

For detailed installation instructions check our guide on webmin.com/download page.

Development

Lead developer

Developers

Contributors

License

Webmin is released under the BSD License.

Description
No description provided
Readme 159 MiB
Languages
HTML 54.4%
Perl 42.9%
JavaScript 0.4%
CSS 0.3%
Prolog 0.3%
Other 1.4%