248 Commits

Author SHA1 Message Date
Ilia Ross
0eaf0ef80d Fix redirect ports and linked-server WebSocket routing
Some checks failed
Tests / prove (push) Has been cancelled
Package and upload artifacts / build (push) Has been cancelled
ⓘ Follow up on #2794 by making `redirect_port` work even when `redirect_host` is not set. Keep existing host precedence and correctly handle proxy headers, IPv6 addresses, default ports, and invalid port values.

ⓘ Fix linked-server by keeping the child URL recognizable to the parent, then generating the final WebSocket URL on the same host and port the browser is using. This keeps the connection working with the current Webmin session.
2026-07-15 20:38:41 +02:00
Ilia Ross
2fb4eb1721 Fix linked-server uploads over partial TLS writes
Some checks failed
Tests / prove (push) Has been cancelled
Package and upload artifacts / build (push) Has been cancelled
ⓘ Stream linked-server request bodies in bounded chunks, retry partial SSL writes with byte-safe offsets, detect incomplete forwarding, and add regression coverage.

https://github.com/webmin/webmin/issues/2784
2026-07-10 14:48:47 +02:00
Ilia Ross
6a1200bc03 Fix to pass request with header if required 2026-06-24 00:30:06 +02:00
Ilia Ross
7878ef466f Fix to expire abandoned linked websocket routes
ⓘ Use the existing scheduled websocket cleanup path for linked-server ws-link routes and expire unopened temporary routes after five minutes.

This limits how long credential-bearing proxy routes can remain in `miniserv.conf` while leaving active and normal websocket cleanup behavior unchanged.
2026-06-23 02:24:17 +02:00
Ilia Ross
c72d232e2f Fix to restrict Basic auth for websocket routes
ⓘ Require websocket routes to opt in with allow_basic_ws before Basic auth is accepted in session mode. Mark linked ws-link routes and no-cookie backend-session routes as allowed, while leaving normal session-backed routes unmarked.
2026-06-23 01:09:43 +02:00
Ilia Ross
6091f08e37 Fix comment 2026-06-22 23:01:58 +02:00
Ilia Ross
d42a6dc725 Fix parent-prefixed linked websocket rewrites
ⓘ Correct linked-server WebSocket proxy registration for parent-prefixed URLs, rebuild backend Host/Origin from the child server, and prevent duplicate rewrites from invalidating tokens.
2026-06-22 23:01:46 +02:00
Ilia Ross
45ca170c20 Add support to proxy linked-server WebSockets
This PR adds general WebSocket proxying for linked Webmin servers, allowing modules such as `xterm` to work when opened through `servers/link.cgi`.

As requested in https://github.com/webmin/webmin/issues/1866.
2026-06-22 16:19:33 +02:00
Ilia Ross
68aab1c057 Fix to use proper API for ACL pages
Some checks failed
webmin.dev: webmin/webmin / build (push) Has been cancelled
[no-build]
2026-04-23 22:07:13 +02:00
Ilia Ross
da18a16c84 Fix to require 2FA for RPC basic auth
Some checks failed
webmin.dev: webmin/webmin / build (push) Has been cancelled
+ improve remote auth errors
2026-04-15 22:36:40 +02:00
Ilia Ross
79f91c1468 Fix not to display pointless table header 2025-11-02 20:55:15 +02:00
MacSteini
a6f0d4cbcd Updated de 2025-05-21 12:55:29 +01:00
Ilia Ross
4f046c1d6d Fix to quote escape labels 2025-04-25 23:58:06 +03:00
Ilia Ross
967d519943 Fix to replace the table with much simpler and better layout 2025-04-22 22:25:38 +03:00
Ilia Ross
c84ef98016 Fix default mode to be login and password 2025-04-22 15:27:34 +03:00
Ilia Ross
fd153b28f3 Add improvements to the UI 2025-04-22 15:26:41 +03:00
Ilia Ross
7a3210849d Fix default system type config option to show label correctly 2025-04-22 13:45:52 +03:00
Ilia Ross
fb8339a3ca Fix to always default to fast mode
https://github.com/webmin/webmin/issues/2458#issuecomment-2818513756
2025-04-22 13:40:54 +03:00
Ilia Ross
0037d9a9ca Fix to use fast PRC mode by default 2025-04-21 16:28:38 +03:00
Ilia Ross
f880192526 Remove languages with 0% coverage
https://github.com/webmin/webmin/issues/2403#issuecomment-2652613588
2025-02-12 13:19:49 +02:00
MacSteini
162206949f Consecutive Spaces Replacement
Replaced multiple consecutive spaces with a single space
2024-12-16 16:57:09 +00:00
MacSteini
5ea0cc6b42 Trailing Spaces Removal
Removed trailing spaces
2024-12-16 15:16:55 +00:00
MacSteini
64598e5f39 Blanks Removal
Removed blanks before or after the equal sign
2024-12-16 12:59:19 +00:00
MacSteini
477982776c Updated de
Corrections (UTF-8, new lines at file end), amendments, updates
2024-11-26 01:43:34 +00:00
Jamie Cameron
be52cadfbe Add field for sql_mode https://github.com/webmin/webmin/issues/2306 2024-11-08 16:29:35 -08:00
Jamie Cameron
699c0820ea Debian has multiple CA paths 2024-11-08 15:18:51 -08:00
Jamie Cameron
8dd0d03018 Remove ancient config that's specific to the long-gone MSC linux 2024-11-07 21:38:11 -08:00
leangjia
e1f398d3aa Updated Chinese translations 2024-09-11 09:32:55 +08:00
MacSteini
e3112ac41f Update de 2024-09-09 14:41:28 +01:00
Jamie Cameron
7ecb1d8af7 Code cleanups 2023-02-09 23:28:57 -08:00
Jamie Cameron
ed0d487fc5 Escape more inputs 2022-09-25 10:42:28 -07:00
Jamie Cameron
2142edce39 Escape descriptions and group names 2022-09-25 00:46:20 -07:00
iliajie
8194ccf16e Fix no cheating when generating a logout link 2022-08-13 18:26:30 +03:00
iliajie
25c27ce6c0 Update icons (use vector) for Servers Index module 2022-08-01 18:35:17 +03:00
iliajie
713272e726 Fix to support SVG icons for servers 2022-08-01 18:11:56 +03:00
Jamie Cameron
1b655f3646 Correct AlmaLinux name 2022-07-16 16:54:44 -07:00
iliajie
d0ed6f944e Fix pointless warnings flooding error log 2022-06-30 13:08:38 +03:00
luz paz
3e6142f098 Fix user and non-user facing typos 2022-06-29 07:17:11 -04:00
Jamie Cameron
8985485aff Fix rocky linux label https://github.com/webmin/webmin/issues/1658 2022-05-31 21:06:29 -07:00
Ilia Rostovtsev
df3b5eb94c Add ability to return a list of other Webmin servers as JSON 2022-01-12 00:36:52 +03:00
Ilia Rostovtsev
0462945632 Update translations 3/3 2021-11-18 22:13:17 +03:00
Jamie Cameron
77ccbcc36d Use known server object to connect https://sourceforge.net/p/webadmin/bugs/5497/ 2021-10-11 19:32:26 -07:00
niyari
b7f9be70e0 Delete .auto files 2021-09-30 06:03:28 +09:00
niyari
613e91e967 Update /servers Japanese translation. 2021-09-30 05:57:09 +09:00
niyari
a4045894f1 Add servers/config.info.ja 2021-09-30 05:50:19 +09:00
Ilia Rostovtsev
f69fa81e59 Fix to get safely using wrapper sub 2/2 2021-09-28 16:30:05 +03:00
Jamie Cameron
fe9674a5e5 Minutes cannot be zero https://github.com/webmin/webmin/issues/1527 2021-09-22 17:34:20 -07:00
Jamie Cameron
37a153c877 Add Rocky and Oracle Linuxes https://www.virtualmin.com/node/71255 2021-07-10 15:12:56 -07:00
Jamie Cameron
7a63269f33 Add Alma Linux to the list https://www.virtualmin.com/node/71255 2021-07-10 14:10:00 -07:00
Jamie Cameron
d6e50e7f41 Replace some old hard-coded 1024 byte buffers with the new function 2021-03-27 12:24:54 -07:00