Commit Graph

3964 Commits

Author SHA1 Message Date
matt335672
73b66c21be RFX: Separate over-log RFX updates (Tristan Hume) 2021-12-22 11:08:46 +00:00
matt335672
9140737a6e Add calculate_multifragmentupdate_len() 2021-12-15 10:08:28 +00:00
matt335672
5a11b698ef
Merge pull request #2080 from matt335672/log_startup_errors
Log startup errors #2080
2021-12-13 10:07:09 +00:00
matt335672
0d584c1954
Merge pull request #1988 from metalefty/file-4GiB
tests: add test on g_file_get_size() #1988
2021-12-13 10:04:52 +00:00
matt335672
737139b00f Fixed a few exit statuses 2021-12-10 11:49:55 +00:00
matt335672
b292febd86 Replace stdout writes for errors with LOG() calls 2021-12-10 11:45:53 +00:00
matt335672
3f0af85588
Merge pull request #2078 from metalefty/do-not-spit-on-the-console
xrdp: don’t spit on the console when starting
2021-12-10 11:32:28 +00:00
Koichiro IWAO
ab558213b7 tests: skip some tests until g_file_get_size() fixed 2021-12-10 17:08:44 +09:00
Koichiro IWAO
a57d8491c0 tests: add g_file_get_size() tests for files larger than 2GiB 2021-12-10 16:24:34 +09:00
Koichiro IWAO
c24b6d95dd tests: create sparse file for g_file_get_size() tests 2021-12-10 16:24:34 +09:00
Koichiro IWAO
8e4ea49532 tests: add test on g_file_get_size() 2021-12-10 16:24:34 +09:00
Christopher Pitstick
0a2562d33d Initial cut at a unit test for xrdp_sec_process_mcs_data_monitors 2021-12-08 01:41:07 -05:00
Koichiro IWAO
3c10abd1be
xrdp: don’t spit on the console when starting
Picked from Debian's local patch [1].

We have worked on reducing Debian's local patches in #1762 #1765.
This is the last one left and helps to  remove shutup-daemon.diff
completely. I don't think this log to stdout is necessary.

[1] https://salsa.debian.org/debian-remote-team/xrdp/-/blob/debian/0.9.17-2/debian/patches/shutup-daemon.diff
2021-12-08 15:22:18 +09:00
matt335672
a266d67fdf
Merge pull request #2070 from matt335672/dev_fix
Fix buffer size check #2070
2021-12-06 10:36:05 +00:00
matt335672
53c9bcc976
Merge pull request #2074 from kenhys/fix-atom2-debug-message
Fix wrong debug level log message for g_file_atom2 #2074
2021-12-06 10:06:04 +00:00
Kentaro Hayashi
23906383b6 clipboard: Fix wrong debug level log message for g_file_atom2
As g_file_atom2 is x-special/gnome-copied-files
(See g_file_atom2 definition in sesman/chansrv/clipboard.c),
it should be "x-special/gnome-copied-files" in this context.

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
2021-12-06 12:40:41 +09:00
matt335672
c39bb18469 Fix buffer size check 2021-12-02 13:47:09 +00:00
matt335672
b557de4888
Merge pull request #2066 from matt335672/devel_fix
Set stream size correctly for TS_SURFCMD_STREAM_SURF_BITS header (#2066)
2021-12-02 11:18:13 +00:00
matt335672
c02dcd0f13
Merge pull request #2069 from matt335672/devel
Replace `which` with `command -v` in submodules
2021-12-02 11:17:14 +00:00
matt335672
1c7b471231 Updates to libpainter and librfxcodec bootstrap scripts 2021-12-02 10:29:42 +00:00
matt335672
13568dea2b
Merge pull request #2067 from metalefty/which
Replace `which` with `command -v`
2021-12-01 15:52:42 +00:00
Koichiro IWAO
ab62ea5e9d
Replace which here, too 2021-12-01 22:37:29 +09:00
matt335672
54fbae2593
Merge pull request #2065 from matt335672/shm_logging
Log error on failure to attach to shared memory #2065
2021-12-01 09:23:00 +00:00
Koichiro IWAO
a3d8761e20
Replace which with command -v
as well as neutrinolabs/xorgxrdp#204.

Reported by: @drwilly
2021-12-01 17:06:25 +09:00
matt335672
f64c824a78 Set stream size correctly before adding TS_SURFCMD_STREAM_SURF_BITS header 2021-11-30 11:04:57 +00:00
matt335672
dc5ec83df9 Log error on failure to attach to shared memory 2021-11-30 10:55:03 +00:00
matt335672
0416d32114 Neutrinordp: Add more user info on connect failure 2021-11-25 15:45:17 +00:00
matt335672
9abe0960f7 Refactor xrdp_mm.c
- Add connect state machine
- Use SCP for sesman comms
2021-11-25 15:45:17 +00:00
matt335672
582433b827 Add dependency on libscp to xrdp 2021-11-25 14:17:39 +00:00
matt335672
3e4ab9009c Add xrdp_wm_mod_connect_done() 2021-11-25 14:17:39 +00:00
matt335672
f505ecc1eb Rename xrdp_mm usechansrv to use_chansrv 2021-11-25 13:58:53 +00:00
matt335672
ba5f2e4e52 Reworked xrdp_mm_get_value() to minimise copying 2021-11-25 13:58:53 +00:00
matt335672
5c610aee28 Modify sesrun to use common SCP V0 interface 2021-11-25 13:30:34 +00:00
matt335672
30a92cb095 Changes to libtrans interface 2021-11-25 13:30:34 +00:00
matt335672
5862a6123f Changes for unifying libscp code 2021-11-25 13:30:34 +00:00
matt335672
8b9b22c773 Create shared GUID module to simplify session guid handling 2021-11-25 13:29:55 +00:00
matt335672
b2e39049cb Make msg arg to server_msg() consistently const 2021-11-25 13:26:51 +00:00
matt335672
3b24ecdedf
Merge pull request #2061 from matt335672/case_insensitive_passwd
Make username and password case insensitive in more places #2061
2021-11-25 10:11:49 +00:00
matt335672
3f5327542f Make username and password case insensitive on more places 2021-11-24 17:34:49 +00:00
matt335672
ce23c824ea
Merge pull request #1976 from matt335672/fail2ban_support
Fail2ban support (#1076)
2021-11-18 10:11:12 +00:00
matt335672
c36f92049d
Merge pull request #2057 from liuxiang88/devel
Add loongarch support to common/arch.h
2021-11-18 10:08:41 +00:00
liuxiang88
03ae4840e4 Set loongarch need-align-macro. 2021-11-18 15:19:46 +08:00
matt335672
4ea93beebb
Merge pull request #2032 from matt335672/chansrv_hang_fix
Chansrv hang fix #2032
2021-10-29 11:11:00 +01:00
matt335672
dd2336f8c6
Merge pull request #2030 from metalefty/cleanup
Cleanup unnecessary files #2030
2021-10-26 09:28:36 +01:00
matt335672
a49144be73 Avoid deadlock in clipboard copy code 2021-10-25 16:16:59 +01:00
matt335672
b87b7f9ee8 Add xfuse_path_in_xfuse_fs() 2021-10-25 16:16:54 +01:00
matt335672
a7b48cd1cf Added more string calls + fix prototypes
- Added g_strrchr() and g_strstr()
- Made C prototypes for g_strchr() and g_strnchr() compatible with
  expected C library functions
2021-10-25 16:13:09 +01:00
matt335672
50e37bf673 Add more file info functions
- g_file_get_device_number()
- g_file_get_inode_num()
2021-10-25 15:24:27 +01:00
matt335672
0b28fe05b6 Address review comments 2021-10-25 11:35:35 +01:00
matt335672
5fb621ca53 Logged IP address for fail2ban on login failure 2021-10-25 11:35:35 +01:00