Commit Graph

3194 Commits (cdba988f5229a106dedb95795c88b4aed5836663)
 

Author SHA1 Message Date
Pavel Roskin 58c9cb43e9 Make socket directory configurable, don't hardcode /tmp/.xrdp
Use XRDP_SOCKET_PATH in file_loc.h

Don't define any non-socket paths in file_loc.h, they should come from
the makefiles.

Define all paths unconditionally, they should not be defined elsewhere.

Pass XRDP_SOCKET_PATH as environment variable to the backends.
8 years ago
Pavel Roskin fc2572f60b Remove chansrv_cleanup(), it doesn't do anything useful
xrdp_chansrv_%8.8x_main_term and xrdp_chansrv_%8.8x_thread_done are both
wait objects, not sockets. They are created and cleaned up in chansrv.c

Wait objects are pairs of file descriptors on POSIX. They are closed
automatically when the process exits.

On Windows, wait objects are handles that are closed by CloseHandle().
Those handles should also be closed on the process exit.

In any case, there is no way for a parent process to clean up file
handles of the child process.
8 years ago
Koichiro IWAO a2d9272bc9 Propel xorgxrdp as default backend, give xorgxrdp the first place 8 years ago
speidy cfdbc2b4db chansrv: dvc, check channel exists on get/remove api struct 8 years ago
Pavel Roskin 6ed4c969f4 Eliminate APP_CC and DEFAULT_CC 8 years ago
Pavel Roskin 8be83473b7 Call log_end() on xrdp exit 8 years ago
Pavel Roskin 9cdcb38d87 Fix memory leak in tls_ciphers parsing 8 years ago
Koichiro IWAO 08ba9ed4a8 Remove useless comment, no logic change
Now client addr and port are properly logged.
8 years ago
Jay Sorg 3f14559822 frame ack code cleanup, add comments for possible client acks, when pointer, use NULL, not 0 8 years ago
Jay Sorg 3ac0120fe7 add xrdp_mm_process_enc_done for processing encoder output 8 years ago
Jay Sorg e0583f606a checkup frame ack code, combine dup code 8 years ago
Jay Sorg 3b056ec052 frame ack fix change, cleanup 8 years ago
Pavel Roskin 30a7a947b1 Don't include config_ac.h from any header files 8 years ago
Pavel Roskin b2d3dcf169 Include config_ac.h from all source files 8 years ago
Pavel Roskin 24d44def60 Add --enable-strict-locations option, describe default in its help text
Rather than guess user's intention based on whether --prefix was
specified, use an explicit option to enable strict GNU Coding Standards
for installation directories.

The default is to use /etc and /var rather than corresponding directories
under prefix.

Use --enable-strict-locations in "make distcheck", it expects all
installed files to be under prefix.
8 years ago
Pavel Roskin 1c355409a7 Fix compilation on MacOS
xrdp_rdp.c includes openssl/ssl.h now, make sure the OpenSSL include path
is used.
8 years ago
Pavel Roskin a71e5395f1 Enable painter and librfxcodec by default
Change help messages to clarify that both libraries are included. Move
messages next to each other. Remove duplicate XRDP_PAINTER conditional.
8 years ago
Pavel Roskin 77068ec3ff Update submodules to their current devel branches 8 years ago
Pavel Roskin 865676a026 Use special name "." for the branches in .gitmodules
It is used to indicate that the submodule branch should be the same as
the branch of the parent repository - devel for devel, master for master.

It's a new feature of git, appearing in version 2.10, but most users
should not really care. It only affects the behavior of "git submodule
update --remote" when updating the submodules.
8 years ago
Koichiro IWAO 096baec331 no cast is needed for NULL 8 years ago
Koichiro IWAO 849c1a22a2 TLS: switch ssl_protocols to a comma separated list 8 years ago
Koichiro IWAO c126f81d9a add comment to keep xorgxrdp/x11rdp compatibility 8 years ago
Koichiro IWAO 03b5be5fd0 docs: document maximum length of tls_ciphers 8 years ago
Koichiro IWAO eefc099df7 docs: document ssl_protocols, remove document for disableSSLv3 8 years ago
Koichiro IWAO c64e9992e6 TLS: warn if no SSL/TLS protocols enabled 8 years ago
Koichiro IWAO e94ab10e14 TLS: new method to specify SSL/TLS version
SSL/TLS protocols only listed in ssl_protocols should be used.
The name "ssl_protocols" comes from nginx.

Resolves #428.
8 years ago
Jay Sorg 657f6f3756 common: use select for SSL_ERROR_WANT_READ, SSL_ERROR_WANT_WRITE tls errors 8 years ago
Pavel Roskin dccd95ee93 Add i686 check in Travis CI 8 years ago
Jay Sorg b8c79452f6 encoder, remove check for UINT16_MAX, not really needed 8 years ago
Jay Sorg 79796b77b7 changes and cleanup to process_enc_rfx 8 years ago
Jay Sorg 8c0dcbbd4f fix for frames in flight = 0 8 years ago
Jay Sorg 815b9b8bb8 frame ack change for slow client falling behind 8 years ago
Jay Sorg fde04e802c rfx fixes for large tile sets, performance change, Xorg will start next frame earlier 8 years ago
Jay Sorg e0ac84aaa4 change some casts to long long 8 years ago
Jay Sorg c5e9bc7851 common: print list items as pointers 8 years ago
Jay Sorg 7825246d7a fix warning new since stdint.h change 8 years ago
Koichiro IWAO 2424a9c020 Workaround for a regression of JP keyboard detection #663
caused by 9c31bd5.  This is not a complete fix but just a workaround
because keylayout value of Japanese keyboard can be other than these
4 values. This workaround still doesn't cover all JP keyboards.

  - 0x00000411
  - 0xe0010411
  - 0xe0200411
  - 0xe0210411

Looking for `0411` in lower 16 bits is enough to detect JP keyboards.
8 years ago
Pavel Roskin f8d22ce673 aarch64 doesn't require pointers to be aligned 8 years ago
Pavel Roskin 8a1de8dbc4 Remove trailing whitespace 8 years ago
Pavel Roskin 33790e1fed Use middle dot instead of dash to connect directories to descriptions
Dashes are too similar to the line drawing characters used to represent
the directory tree.
8 years ago
Pavel Roskin 658aa270ba Remove reference to rdp directory, it was removed 8 years ago
Pavel Roskin c7bc634e17 Improve Fedora installation instructions 8 years ago
Pavel Roskin 90083e5f23 Remove --break-blocks option, it doesn't match the existing code style
Strip trailing newlines.
8 years ago
Koichiro IWAO f11eed3277 chansrv: fix warnings in pulse module 8 years ago
Pavel Roskin dc1e341f5a Constify input arguments of ssl_mod_exp() and ssl_gen_key_xrdp1() 8 years ago
Pavel Roskin 35d7a0b34f Constify all input string arguments in keygen.c 8 years ago
Pavel Roskin 6a3f0a75bd Remove support for OpenSSL older than 0.9.8
It's hard to find an older version of OpenSSL even on long term support
distros.
8 years ago
Pavel Roskin d8d6b08aa3 Update m4/ax_type_socklen_t.m4, it works with -Wall now 8 years ago
Pavel Roskin 130fa12845 Don't use ACCESS macro
ACCESS is defined unconditionally in the files that use it. No comments
exist about that macro. The code guarded by the macro is PAM related.
8 years ago
Pavel Roskin 99e4e4520a xrdp-sesadmin: show sessions in human readable format 8 years ago