71 Commits

Author SHA1 Message Date
Jamie Cameron
d9c651d06d Add extra protection against packets somehow arriving before handshake is called 2026-01-22 15:33:02 -08:00
Ilia Ross
f99f5fbae6 Revert previous commit
5ee080d24a (commitcomment-163253013)
2025-08-01 11:21:57 +03:00
Ilia Ross
2037af9d25 Add support for configuring WebSocket binding
5ee080d24a (commitcomment-163197549)
2025-07-31 15:21:33 +03:00
Jamie Cameron
5ee080d24a Only listen on localhost
https://github.com/webmin/authentic-theme/issues/1713
2025-07-30 16:59:32 -07:00
Ilia Ross
2aa3bce4da Fix explicitly set module name from the caller 2024-06-07 00:35:41 +03:00
Ilia Ross
cc663af3df Fix to log username 2024-05-31 16:51:08 +03:00
Ilia Ross
0b58cd5197 Fix to print log nicely 2024-05-31 16:31:56 +03:00
iliajie
9d37f0d9e6 Fix to also check if session keys are set 2022-12-20 20:28:53 +02:00
Jamie Cameron
50df0e4d02 Fix merge 2022-12-08 21:58:43 -08:00
Jamie Cameron
c6a4a80e58 Set USER variable properly for jk_chrootsh 2022-12-08 21:57:39 -08:00
iliajie
edcf8841ab Fix to set config option directly 2022-12-05 19:50:54 +02:00
iliajie
6c297057d3 Add support to set shell character encoding 2022-12-05 02:16:18 +02:00
iliajie
1531b18566 Add support to set TERM variable 2022-12-05 01:40:18 +02:00
iliajie
61000107b8 If IO::Pty->set_winsize failed make ioctl directly
f550ffe799 (r89288344)
2022-11-21 20:24:55 +02:00
iliajie
a294083e12 Fix to use unified path for all third party Perl modules 2022-11-16 22:42:00 +02:00
iliajie
d0511685a7 Fix to create a separate allocate_miniserv_websocket sub 2022-11-14 14:08:05 +02:00
iliajie
dbb09b5278 Fix to adjust functions names 2022-11-14 00:04:25 +02:00
iliajie
4907aeb2dd Fix to save miniserv websocket after we have the pid from PTY 2022-11-13 23:57:10 +02:00
iliajie
b62fb504ac Fix to clean up others sockets if the shell server 2022-11-13 23:43:58 +02:00
iliajie
e6795f28f9 Fix to place cleanup_miniserv to the lib file 2022-11-13 23:40:58 +02:00
Jamie Cameron
87d7eec743 Minor code cleanups 2022-11-12 17:48:25 -08:00
iliajie
a659146025 Fix to remove redundant line 2022-11-13 00:03:30 +02:00
iliajie
eb998dc84d Fix to use env for zsh 2022-11-13 00:02:32 +02:00
iliajie
e92a17c417 Fix to remove .shrc ; other cleans 2022-11-12 23:57:21 +02:00
Ilia
74716f5d3f Merge branch 'master' into xterm-enhancements-supreme 2022-11-12 23:06:03 +02:00
iliajie
05475f051c Add default initialization file for zsh ; move scripts to rc/ dir 2022-11-12 21:42:56 +02:00
Jamie Cameron
7b2456aba5 Set PS1 and aliases via a shell rc file, rather than command injection 2022-11-12 11:09:14 -08:00
iliajie
e7f7aaaad5 Fix for better logging 2022-11-12 19:56:55 +02:00
iliajie
a249e9be00 Fix to correctly support setting login shell mixed with params
There is no way to make it work correctly across all shell, i.e. param sequence which work with `bash` will fail with `csh`, as `-l` (login shell) can be the only flag specified
2022-11-12 19:32:56 +02:00
iliajie
e3212d7f94 Add default initialization file for sh 2022-11-12 17:58:33 +02:00
iliajie
c39b7fdc50 Fix to improve default config file name 2022-11-12 16:54:18 +02:00
iliajie
1ff0ee36e4 Add support for loading shell initialization file directly 2022-11-12 14:31:38 +02:00
iliajie
1763f9e4cc Fix to always prioritize module config over hardcoded shell flavors 2022-11-12 11:39:38 +02:00
iliajie
ec622fdf95 Add code comments 2022-11-12 11:32:39 +02:00
iliajie
ab00e4c7df Fix to check if internally sourced file is under user home 2022-11-12 10:56:55 +02:00
iliajie
825842267a Fix to check if given shell has init files set in our meta 2022-11-12 10:38:24 +02:00
iliajie
6a97bf2ebf Add support to set in config user custom envs and commands 2022-11-12 00:56:36 +02:00
iliajie
dd4adbba77 Add respect to shell init files (depending on shell, bash only yet) 2022-11-12 00:32:04 +02:00
Jamie Cameron
a7ca787c16 Set HOME to correct path for the user being run as 2022-11-11 10:07:08 -08:00
iliajie
782f9ca351 Merge branch 'master' of github.com:webmin/webmin 2022-11-11 10:51:02 +02:00
Jamie Cameron
ad70a474d9 Run shell as a login shell 2022-11-10 21:38:05 -08:00
iliajie
79badb6f58 Revert "Fix to clean up as we should source user profile"
This reverts commit 29517915f9.
2022-11-11 00:53:41 +02:00
iliajie
29517915f9 Fix to clean up as we should source user profile 2022-11-10 22:27:52 +02:00
iliajie
9cef9452d1 Fix PS1 set directly (conditionally) https://github.com/webmin/webmin/discussions/1781 2022-11-10 22:12:26 +02:00
iliajie
b4603b6030 Fix to drop output suppress feature for now 2022-11-09 20:48:48 +02:00
iliajie
163480b859 Fix regex exclude chars logic
https://github.com/webmin/webmin/pull/1776#discussion_r1017431635
2022-11-09 20:04:29 +02:00
iliajie
ad9a5d7871 Fix incorrectly reverted send_binary (fixed before 3f1c4a23ad) 2022-11-08 20:16:53 +02:00
iliajie
d2932b3ed7 Fix not to send to display special calls (commands) 2022-11-08 17:25:50 +02:00
iliajie
7fc6336f8f Fix to check for resize escape sequence explicitly 2022-11-08 16:04:44 +02:00
iliajie
d5892ed348 Fix indent - convert spaces to tabs 2022-11-08 15:09:39 +02:00