Commit Graph

3724 Commits

Author SHA1 Message Date
metalefty 261d8e575a
Merge pull request #1872 from metalefty/neutrinordp-log
neutrinordp: avoid pampassword leakage
2021-04-30 00:47:14 +09:00
Koichiro IWAO 217edb141d
neutrinolabs: do not log valid parameters as unknown 2021-04-30 00:38:44 +09:00
Koichiro IWAO aad14384cc
neutrinordp: avoid pampassword leakage
The leakage does not occur in the most usual use case of xrdp.
It occurs in NeutrinoRDP proxy mode with PAM authentication enabled.

Reported by @TOMATO-ONE
2021-04-29 22:16:31 +09:00
metalefty 5bb9d982ea
Merge pull request #1860 from metalefty/check
Relax dependency checking on check and miscellaneous fixes for pkg-config usage
2021-04-26 14:15:44 +09:00
metalefty cdb486b3b2
Merge pull request #1866 from metalefty/demote-somme-logs
Demote some too verbose logs to TRACE level
2021-04-26 12:50:31 +09:00
Koichiro IWAO b7f5004008
Demote some too verbose logs to TRACE level
Fixes #1864.
2021-04-26 11:49:46 +09:00
metalefty 948338f67c
Merge pull request #1863 from metalefty/readme
revise README
2021-04-24 23:46:58 +09:00
Koichiro IWAO 55f57e5a5d
`make distcheck` should only succeed if check is installed 2021-04-24 23:38:40 +09:00
Koichiro IWAO 25cb991e86
add missing CFLAGS to test_common 2021-04-24 23:38:17 +09:00
Koichiro IWAO b86315de42
add `--enable-tests` flag to ensure dependencies for the tests 2021-04-24 23:38:13 +09:00
Koichiro IWAO 6879d46a00
Replace Travis badge with GitHub Actions 2021-04-24 22:34:33 +09:00
Koichiro IWAO 0101287f0b
revise README 2021-04-24 22:09:12 +09:00
metalefty 5f618207dd
Merge pull request #1820 from Nexarian/dynamic_monitor_xrdp_master
Resolution switching without reconnecting.
2021-04-24 21:56:57 +09:00
Christopher Pitstick deb66ce766 Resolution switching without reconnecting.
- Based on https://github.com/jsorg71/xrdp/tree/dynamic_monitor
- Tested with xorgxrdp
- Tested with vnc
- Only works with single monitor.
- Update documentation to clarify the difference between MSTSC and
Microsoft Remote Desktop.
- Does not include compatibility with /gfx at this time, which is still
in testing.
- Updates to include ms-rdpedisp.h header for the 2.2.2 specification of
the protocol.
- Adds new dynamic_monitor_layout struct that shares the number of
monitors with xrdp_client_info.h
- Does not allow for BPP changes because the RDP protocol doesn't
support it.
- Option to disable feature as NeutrinoRDP doesn't support it (It was
based on FreeRDP 1.0.1 which didn't yet have this feature.)
- Add CLIENT_MONITOR_DATA_MAXIMUM_MONITORS constant and reference
spec definition.

Depends on https://github.com/neutrinolabs/xorgxrdp/pull/183
2021-04-22 01:34:03 -04:00
Koichiro IWAO bb7b7a3374 Perform unit tests only if check is installed 2021-04-20 23:17:26 +09:00
Koichiro IWAO 859a9d87c3
rely on pkg-config when finding check
The former code complains to install check even it is actually
installed.
2021-04-15 22:38:46 +09:00
matt335672 3a9d62b05c
Merge pull request #1843 from aquesnel/add_logging_session_c
Adding logs to sesman/session.c (#1843)

Unit test framework check also added (https://libcheck.github.io/check/)
2021-04-14 10:40:32 +01:00
matt335672 cb0ab0d0d3
Merge branch 'devel' into add_logging_session_c 2021-04-14 10:26:48 +01:00
matt335672 2cc2f9f5f2
Merge pull request #1858 from metalefty/sbin
do not install test & development tool (#1858)
2021-04-14 09:47:24 +01:00
Alexandre Quesnel 28bce37d04 Add -no-suppress to the libtool invocation for libcommon 2021-04-14 04:41:54 +00:00
Alexandre Quesnel cbf6adb4be Adding logs to sesman/session.c 2021-04-14 04:41:54 +00:00
Alexandre Quesnel ccd9ae8c55 Fix argument defaulting in install_xrdp_build_dependencies_with_apt.sh 2021-04-14 04:41:54 +00:00
Alexandre Quesnel f5e4b53b11 Add logging to g_exec*() functions 2021-04-14 04:41:53 +00:00
Alexandre Quesnel 09174ccd4d Adding g_strnjoin() with units tests 2021-04-14 04:41:53 +00:00
matt335672 baeb2cc479
Merge pull request #1849 from matt335672/chansrv-on-display-0
Allow DISPLAY=:0 for chansrv (#1849)
2021-04-13 12:55:45 +01:00
matt335672 32b676472a Add DISPLAY(n) ass a valid form of chansrvport 2021-04-13 12:16:02 +01:00
matt335672 86c87b6f15 Move get_display_num_from_display to string_calls module 2021-04-13 12:16:00 +01:00
matt335672 e7cb5bd64a Allow DISPLAY=:0 for chansrv and in other modules 2021-04-13 12:15:26 +01:00
Koichiro IWAO 1637c38cba
do not install test & development tool
These tools shouldn't be delivered to end-users, included in distro
packages. Also the execuable names "memtest" and "tcp_proxy" are too
general to install into sbin dir.
2021-04-13 18:43:33 +09:00
matt335672 ab203f9fc3
Merge pull request #1856 from matt335672/fuse-version-def
Enable FUSE in FreeBSD cirrus build (#1856)
2021-04-12 10:10:10 +01:00
matt335672 741be5a4a2 Enable FUSE in cirrus build 2021-04-09 10:04:30 +01:00
matt335672 95a10f5f02
Merge pull request #1815 from aquesnel/unify_logging_tests
Unify logging in tests/* (#1815)
2021-04-09 09:57:15 +01:00
Alexandre Quesnel bc7c9abd58 Fix spelling mistake in g_bytes_to_hexdump() doc 2021-04-08 15:10:12 +00:00
Alexandre Quesnel 16fe9a021a Moving gtcp_proxy and tcp_proxy to the tools/devel directory 2021-03-26 14:16:00 +00:00
Alexandre Quesnel 6479d54eaa Migrating logging to LOG() and LOG_DEVEL() in tests/* 2021-03-26 13:58:27 +00:00
Alexandre Quesnel 058ca37030 Remove duplicate implementation of os_call functions from tests/tcp_proxy 2021-03-26 13:58:27 +00:00
Alexandre Quesnel b8d02823d1 Extracting bytes_to_hexdump function from logging implementation 2021-03-26 13:58:27 +00:00
Alexandre Quesnel ec52c6466d Adding self-contained tests to be built during `make all` 2021-03-26 00:59:16 +00:00
Alexandre Quesnel 5810cd9fe9 Fixing formatting with astyle in tests/* 2021-03-26 00:59:16 +00:00
matt335672 e289bc0a5b
Merge pull request #1836 from matt335672/cppcheck-24
Bumped cppcheck to v2.4 #1836
2021-03-22 14:28:19 +00:00
matt335672 99027d07c8 Bumped cppcheck to v2.4 2021-03-22 11:34:53 +00:00
matt335672 48d7a92063
Merge pull request #1833 from matt335672/runner-probs
Remove openssl:i386 from 32-bit builds #1833
2021-03-22 10:19:21 +00:00
matt335672 78e4d9b84d Remove openssl:i386 2021-03-19 12:36:42 +00:00
matt335672 89875d156a
Merge pull request #1826 from aquesnel/unify_logging_common
Unify logging in common/* #1826
2021-03-15 10:41:22 +00:00
Alexandre Quesnel d73e45eff1 Removing DEBUG() macro 2021-03-14 23:33:31 +00:00
Alexandre Quesnel 2ab3b97ba0 Migrating logging to LOG() and LOG_DEVEL() in common/* 2021-03-14 23:33:31 +00:00
Alexandre Quesnel bb9d3079c0 Fixing formatting with astyle in common/* 2021-03-14 23:33:31 +00:00
matt335672 feb8ef33f5
Merge pull request #1813 from matt335672/client-info-versioning
Add versioning to xrdp_client_info #1813
2021-03-09 09:21:31 +00:00
matt335672 a8745acd7f
Merge pull request #1822 from metalefty/support-tier
README: mention platform support tier #1822
2021-03-05 09:37:24 +00:00
matt335672 9221541956
Merge pull request #1821 from matt335672/actions-cache-ver
Include OS version in github action cache for cppcheck #1821
2021-03-05 09:35:22 +00:00