matt335672
6d756f8002
Fail xrdp immediately on sesman connection failure
...
At present if sesman fails when processing an xrdp request, xrdp
will sit forever at a blue screen.
This PR detects this situation, and immediately logs an error
2023-04-19 11:09:52 +01:00
matt335672
d71ec3fed0
Merge pull request #2639 from matt335672/alternate_shell
...
[devel] sesman: Prevent the use of 'alternate shell'
2023-04-19 10:34:58 +01:00
Lennart Sauerbeck
5741653900
sesman: Prevent the use of 'alternate shell'
...
By setting the new config value 'AllowAlternateShell' to 'no' it is now
possible to prevent the use of an alternate shell, which can be set by
the connecting user.
The default remains unchanged and any shell is allowed if the config
value is not specified. It can also be set explicitly to 'yes' to achieve
the same outcome.
Fixes : #850
2023-04-19 10:16:56 +01:00
jsorg71
f2146aecfb
Merge pull request #2623 from jsorg71/build_g_malloc_libipm
...
chansrv: build fix, use libipm from build dir
2023-04-03 22:40:27 -07:00
Jay Sorg
6628d57b55
chansrv: build fix, use libipm from build dir
2023-04-03 22:25:06 -07:00
metalefty
bc8c8c67b9
Merge pull request #2613 from metalefty/tomlc99
...
Add tomlc99 library
2023-04-04 13:08:52 +09:00
Koichiro IWAO
3b62bf1df2
CI: skip running astyle on third_party sources
2023-04-04 12:08:32 +09:00
matt335672
65330761a1
Merge pull request #2601 from matt335672/add_sesmanlib
...
Add sesmanlib
2023-04-03 09:53:02 +01:00
Koichiro IWAO
a251aae49e
third_party: Update README.md
2023-04-03 17:35:30 +09:00
Koichiro IWAO
65a69cdd8f
third_party: Update Makefile.am to fix `make distcheck`
2023-04-03 17:35:00 +09:00
Koichiro IWAO
7ca834e3b8
Remove tomlc99's original Makefile because we don't use it
2023-04-03 16:54:37 +09:00
Koichiro IWAO
576feffe90
third_party: add Makefile.am
2023-04-03 16:48:22 +09:00
Koichiro IWAO
cd1c479069
CI: skip running cppcheck on third_party sources
2023-04-03 15:51:10 +09:00
Koichiro IWAO
740bcfde47
xrdp: add --license option to show third party license
2023-04-03 15:51:01 +09:00
Koichiro IWAO
68555abe74
third_party: Add Makefile to generate copyright file
2023-04-03 15:50:50 +09:00
Koichiro IWAO
2c5940f0a0
third_party: add COPYING
2023-04-03 15:50:39 +09:00
Koichiro IWAO
40e3421bf1
Integrate tomlc99 into xrdp build
2023-04-03 15:50:03 +09:00
Koichiro IWAO
ee1ea91eb1
Merge commit 'f6e95526498ad92644b3f2689636f33be108049b' as 'third_party/tomlc99'
2023-04-03 15:35:14 +09:00
Koichiro IWAO
f6e9552649
Squashed 'third_party/tomlc99/' content from commit 89490282
...
git-subtree-dir: third_party/tomlc99
git-subtree-split: 894902820a3ea2f1ec470cd7fe338bde54045cf5
2023-04-03 15:35:14 +09:00
matt335672
8a91932f04
Merge pull request #2621 from matt335672/cirrus_freebsd_update
...
Bump FreeBSD image to 12.4
2023-03-31 12:04:53 +01:00
matt335672
4d7c9af3c6
Bump FreeBSD image to 12.4
2023-03-31 11:57:31 +01:00
matt335672
5605ce44b1
Remove defines from sesman_config.h
...
This file currently contains defines which are only used in
sesman_config.c Moving them into there increases readability
and maintainability.
2023-03-30 13:07:49 +01:00
matt335672
53cc5c3e18
Remove unnecessary comment
2023-03-30 13:07:49 +01:00
matt335672
5e339d5054
Update sesman test tools after libsesman created
2023-03-30 13:07:49 +01:00
matt335672
8044bd1ecf
Update sesman files left after libsesman created
2023-03-30 13:07:49 +01:00
matt335672
ea12231247
Updaste chansrv files related to new libsesman
2023-03-30 13:07:49 +01:00
matt335672
d2362f23a0
Fix typo
2023-03-30 13:07:49 +01:00
matt335672
b4f9d250e2
Update sesman files moved to libsesman
2023-03-29 14:31:30 +01:00
matt335672
75c9979b54
Add new files to libsesman
2023-03-29 14:31:30 +01:00
matt335672
2f3693b3dc
autotools changes related to new libsesman library
2023-03-29 14:31:30 +01:00
matt335672
411dd3a16b
Add sesman/libsesman to directory tree
2023-03-29 14:31:30 +01:00
matt335672
d05dd853bb
Moved sesman_access module into libsesman
2023-03-29 14:31:30 +01:00
matt335672
2995d4942f
Renamed sesman/access module
2023-03-29 14:31:30 +01:00
matt335672
dff380fb78
Move auth modules into libsesman
2023-03-29 14:31:30 +01:00
matt335672
d83bf100fa
Move auth into libsesman
2023-03-29 14:31:30 +01:00
matt335672
cf5c1494cf
Rename auth.h as sesman_auth.h
2023-03-29 14:31:29 +01:00
matt335672
db1f4c95a6
Moved config into libsesman
2023-03-29 14:31:29 +01:00
matt335672
f24400f4f1
Renamed sesman/config module
2023-03-29 14:31:29 +01:00
matt335672
177707dcb9
Merge pull request #2608 from Hiero32/Support-to-set-parameters-for-#2519
...
Support to set parameters for #2519
2023-03-29 10:29:23 +01:00
Hiero32
9fe9ae3bc0
Support to set parameters from sesman.ini.
2023-03-28 21:20:54 +09:00
metalefty
7bf95fc1d2
Merge pull request #2587 from metalefty/keymap_load
...
[refactoring] xrdp: enable loading any keymap files
2023-03-28 14:49:51 +09:00
matt335672
3ee8eb9c9e
Merge pull request #2592 from matt335672/restructure_session_start
...
Restructure session start
2023-03-27 10:38:37 +01:00
Koichiro IWAO
f9573e9908
xrdp: add log when failed to open keymap file
2023-03-27 11:01:06 +09:00
Nexarian
a1cb7af524
Merge pull request #2609 from jsorg71/unwrap_mem_calls
...
common: change g_malloc, g_free, g_memset, g_memcpy, and g_memmove to…
2023-03-25 19:36:59 -07:00
Jay Sorg
2d8b52f744
common: change g_malloc, g_free, g_memset, g_memcpy, and g_memmove to macros
2023-03-25 12:22:19 -07:00
matt335672
0c32d391ea
Merge pull request #2607 from jsorg71/pcsc_stack_fix
...
chansrv: don't free item on stack
2023-03-25 17:11:08 +00:00
Jay Sorg
054c78d568
chansrv: don't free item on stack
2023-03-24 16:33:16 -07:00
matt335672
991770cc5d
Refactored session.c to support X server validation
2023-03-24 10:58:42 +00:00
matt335672
34ad55faa6
xwait changes (breaks compile)
...
The wait_for_xserver() call is refactored so that it can
be called from root context to wait for an X server run by
a specific user.
2023-03-24 10:54:04 +00:00
matt335672
efd871b37d
Add session create status code for failed X server
2023-03-24 10:54:04 +00:00