Commit Graph

2976 Commits (4a23b7939c716cc9ba8320dc994ee418e6b1fda1)
 

Author SHA1 Message Date
metalefty 943dec86ca Merge pull request #512 from speidy/devel
xrdp_encoder: do not initialize for non-UNIX rdp clients
8 years ago
Itamar Reis Peixoto 857355bfae Merge pull request #517 from proski/cplusplus
Add g++ to the list of compilers for Travis CI
8 years ago
Pavel Roskin 0c8b3911a7 Add g++ to the list of compilers for Travis CI 8 years ago
Itamar Reis Peixoto 24541396a5 Merge pull request #514 from proski/dlopen
Find openssl by pkg-config, add -ldl if needed
8 years ago
Koichiro IWAO b0e20ae188 genkeymap: change Japanese keyboard model to pc105
changed in #394.
8 years ago
Koichiro IWAO d1dc5b7814 instfiles: unify km-*0411.ini into km-00000411.ini
as they're identical and no longer need to duplicate them after
commit 5725200.
8 years ago
Pavel Roskin c6307aa2b0 Use pkg-config to discover OpenSSL
All supported versions of OpenSSL have pkg-config files.
8 years ago
Pavel Roskin 06f4f72e28 Add -ldl to libcommon link flags if it's needed for dlopen() 8 years ago
speidy 1fe048b63d xrdp_encoder: do not initialize for non-UNIX rdp clients
xrdp_encoder: comment about temporary workaround
8 years ago
Koichiro IWAO 5fbcaf1655 librfxcodec=fb80d7d 8 years ago
metalefty 8b40023801 Merge pull request #509 from proski/sec_level
Security level fixes
8 years ago
Pavel Roskin d3c36b0376 Don't select SSL protocol if no keys, fall back to RDP for "hybrid"
If both the client and the server are configured to allow both RDP and
SSL connections, the server is free to choose RDP in absense of the SSL
keys.
8 years ago
Pavel Roskin d73f20499e Log the result of the security level negotiation 8 years ago
Pavel Roskin 8069b29429 Recognize security_layer=negotiate in xrdp.ini, improve logging
security_layer=negotiate is documented, but the code is complaining
loudly about it. Fix it, make sure not to change the actual behavior
apart from the logging.

Improve the log message for unrecognized security_layer setting.
8 years ago
metalefty 679c4b3558 Merge pull request #502 from proski/fuse1
Fix all FUSE warnings and C++ compatibility, add Mac compilation support
8 years ago
Pavel Roskin e46d15ca84 Fix C++ errors and warnings in FUSE code 8 years ago
Pavel Roskin 2ab321a7c6 Use fuse_ino_t for FUSE inodes, not tui32 or int 8 years ago
Pavel Roskin f622a17c75 Remove write-only FileId variable 8 years ago
Pavel Roskin 46f4025372 Cast pointer to uint64_t through tintptr to avoid warnings
Cast to long would damage a pointer on Win64.
8 years ago
Pavel Roskin e92c4f3b40 Use constant strings to fix warnings 8 years ago
Pavel Roskin 662172012b Call devredir_cvt_slash() on the path copy, it changes the argument 8 years ago
Pavel Roskin a4e3952d65 Disable or remove dead code to prevent it from throwing warnings 8 years ago
Pavel Roskin a547cc3784 Include needed files in chansrv_fuse.c, remove duplicate declarations 8 years ago
Pavel Roskin bf39fed6e4 Fix misuse of NULL for arithmetic type 8 years ago
Pavel Roskin 4234ed278e Use FUSE_CFLAGS and FUSE_LIBS from pkg-config
Include <fuse_lowlevel.h>, not <fuse/fuse_lowlevel.h>, the include path
should be set up for that.

Don't define _FILE_OFFSET_BITS in one file, FUSE_CFLAGS would enable it
for the whole xrdp-chansrv build if needed.
8 years ago
metalefty 589b29f92f Merge pull request #461 from metalefty/ipv6/fallback-to-ipv4
common: If IPv6 not supported, fall back to IPv4
8 years ago
metalefty 44149ef8a3 Merge pull request #503 from proski/jpeg
Fix pointer sign warnings in jpeg and TurboJPEG code
8 years ago
Pavel Roskin 077e3f5bfc Fix pointer sign warnings in TurboJPEG compression code 8 years ago
Pavel Roskin e7433ec69c Fix pointer sign warnings in JPEG compression code 8 years ago
Itamar Reis Peixoto fbf7168270 Merge pull request #504 from proski/no-ac
Remove "-ac" from X server parameters, it's insecure and unnecessary
8 years ago
Koichiro IWAO 849a8075c5 common: If IPv6 not supported, fall back to IPv4
The system to run xrdp does not necessarily support IPv6 even though
it is compiled with IPv6.

Fixes #432.
8 years ago
Pavel Roskin 15c4c47811 Remove "-ac" from X server parameters, it's insecure and unnecessary
Fedora patches sesman.ini to remove "-ac", and that doesn't cause any ill
effects.
8 years ago
Koichiro IWAO 2c9ff1a4d4 log non TLS session 8 years ago
Koichiro IWAO 40e8194122 TLS: log TLS version and cipher 8 years ago
metalefty a59645d3c5 Merge pull request #491 from proski/fuse-format
Fix format warnings if FUSE is enabled
8 years ago
Pavel Roskin 7fce469cbc Fix format warnings if FUSE is enabled 8 years ago
Itamar Reis Peixoto 6138462d52 Merge pull request #499 from proski/pkgconfig
Use PKG_INSTALLDIR to determine pkg-config file install location
8 years ago
Pavel Roskin 3ffdcfe02d Use PKG_INSTALLDIR to determine pkg-config file install location
The PKG_INSTALLDIR macro also enables --with-pkgconfigdir for easy
overrides.

PKG_INSTALLDIR is relatively new, it appeared in pkg-config 0.27. To
ensure we have a recent pkg.m4 copy, copy pkg.m4 to the m4 directory.
8 years ago
Itamar Reis Peixoto 7cc1dd2ba8 Merge pull request #460 from metalefty/ipv6/logs
common: Fix client IP address logging when IPv6 is enabled
8 years ago
Jay Sorg e8308d58b3 xrdp: do case insensitive compare for section names 8 years ago
Jay Sorg 25fd585d55 chansrv: some fixes to log file path 8 years ago
Itamar Reis Peixoto ab69b8501d Merge pull request #496 from proski/pkgconfig
Fix for xrdp-uninstalled.pc and addition of pkgconfig/.gitignore
8 years ago
Pavel Roskin 5afc5bd8b3 Fix include path in xrdp-uninstalled.pc.in
${pcfiledir} refers to the directory of the package-config file. For an
xrdp build in the source tree, the correct include location would be
${pcfiledir}/../common, not ${pcfiledir}/common

For xrdp build outside the source tree, there is no way to find the
source tree without help from the configure script.

While the '${pc_top_builddir}/${pcfiledir}' pattern is still widespread,
many packages (e.g. gstreamer) are switching to @abs_top_srcdir@ and
@abs_top_builddir@, which are always absolute and have knowledge about
the source tree location from the configure script.

Use @abs_top_srcdir@ for the headers. @abs_top_builddir@ is not needed,
as xrdp produces no externally consumable libraries or generated
headers.
8 years ago
Pavel Roskin 42d639f30d Add pkgconfig/.gitignore 8 years ago
Itamar Reis Peixoto c83c736073 Merge pull request #495 from proski/distcheck
Add "make distcheck" to travis checks
8 years ago
Pavel Roskin d8a5b62125 Add "make distcheck" to travis checks 8 years ago
Itamar Reis Peixoto 824564f979 Merge pull request #494 from proski/openssl
Fix "unable to find 'distinguished_name' in config" with older openssl
8 years ago
Pavel Roskin 401612fd1d Fix "unable to find 'distinguished_name' in config" with older openssl
This also fixes "make distcheck", which expects "make uninstall" to
remove all installed files.
8 years ago
Itamar Reis Peixoto f7b0b0d89c Merge pull request #488 from metalefty/docs
Update man pages and config files
8 years ago
Itamar Reis Peixoto 6d23df0ef0 Merge pull request #493 from proski/pkgconfig
Fixes for pkg-config
8 years ago