Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | obey coding standard, no logic change | Koichiro IWAO | 2017-01-12 | 1 | -2/+2 |
| | |||||
* | TLS: log TLS version and cipher | Koichiro IWAO | 2016-11-22 | 4 | -0/+22 |
| | |||||
* | Merge pull request #460 from metalefty/ipv6/logs | Itamar Reis Peixoto | 2016-11-20 | 1 | -29/+104 |
|\ | | | | | common: Fix client IP address logging when IPv6 is enabled | ||||
| * | common: Address family it not always AF_INET6 | Koichiro IWAO | 2016-11-04 | 1 | -36/+84 |
| | | | | | | | | even if XRDP_ENABLE_IPV6 defined. | ||||
| * | common: Fix client IP address logging when IPv6 is enabled | Koichiro IWAO | 2016-11-04 | 1 | -25/+52 |
| | | | | | | | | | | | | | | | | g_tcp_accept() and g_sck_accept() should use sockadd_in6 when IPv6 is enabled. The former code logs client IP address always "0.0.0.0" in such case. Fixes #412. | ||||
* | | Use g_get_strerror() instead of strerror(errno) for portability | Pavel Roskin | 2016-11-08 | 1 | -2/+2 |
| | | |||||
* | | Install headers used by X11rdp and xorgxrdp | Pavel Roskin | 2016-11-06 | 1 | -3/+5 |
|/ | | | | | Installing the headers makes it possible to compile xorgxrdp as a separate package, without xrdp sources. | ||||
* | Use static inline functions for OpenSSL 1.0 backport | Pavel Roskin | 2016-11-01 | 1 | -15/+26 |
| | | | | | | | | Conditional preprocessor directives spread throughout the code set a bad example. The new backport code is located in one place. The compiler checks argument types. The backport code has no access to the caller variables. The main code has all advantages of the new, more compact API. | ||||
* | Add backwards compatibility to OpenSSL < 1.1.0. | Dominik George | 2016-10-27 | 1 | -0/+15 |
| | |||||
* | Fix ssl_calls for OpenSSL 1.1.0, closes #458. | Dominik George | 2016-10-27 | 1 | -31/+30 |
| | |||||
* | Use const pointers in function arguments when possible | Pavel Roskin | 2016-10-17 | 6 | -8/+8 |
| | |||||
* | Remove text2bool() from log.h, there is no such function | Pavel Roskin | 2016-10-17 | 1 | -10/+0 |
| | |||||
* | Don't use final newline in log calls, it's already appended | Pavel Roskin | 2016-10-17 | 1 | -4/+4 |
| | |||||
* | Fix outgoing connections on Mac OSX | Pavel Roskin | 2016-09-08 | 1 | -1/+17 |
| | | | | connect() on an already established connection returns error with errno set to EISCONN. Treat it as success. | ||||
* | Add socklen_t check with substitution, use socklen_t as needed | Pavel Roskin | 2016-09-08 | 1 | -63/+12 |
| | |||||
* | Improve debug information when closing a socket | Pavel Roskin | 2016-09-08 | 1 | -10/+76 |
| | | | | | | | Don't assume AF_INET family. Don't assume the socket is connected. Report local address and port. Don't try to close non-sockets and invalid file descriptors. Report errors getting socket information and closing the socket. Use more appropriate log levels. | ||||
* | always set SSL_OP_NO_SSLv2 in TLS options | Jay Sorg | 2016-08-25 | 1 | -4/+1 |
| | |||||
* | new options for xrdp.ini disableSSlv3=yes and tls_ciphers=HIGH and code to ↵ | Alex Illsley | 2016-08-25 | 5 | -9/+31 |
| | | | | implement | ||||
* | Fix clipboard when text/filename contains non-ASCII characters | Koichiro IWAO | 2016-08-18 | 1 | -1/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | broken by #314. This is compatible with the fix introduced in #314. To use non-ASCII text/filename in clipboard, chansrv needs to be run with LC_CTYPE=*.UTF-8 because the behaviour of mbstowcs(3) function called in chansrv depends on LC_CTYPE[1]. However #314 made LC_CTYPE=C in chansrv context. Even if LANG and LC_* are set in .bashrc, /etc/profile, /etc/locale.conf or something like that, it doesn't affect in chansrv context because chansrv doesn't source any of them unlike sesman. So do not set LC_CTYPE to blank or "C" in g_init() in order to get g_mbstowcs and g_wcstombs to work properly with non-ASCII UTF-8 characters in any context. Setting LC_CTYPE to *.UTF-8 doesn't obstruct applying system language in RHEL [2]. [1] Linux man page says: The behavior of mbstowcs() depends on the LC_CTYPE category of the current locale. [2] https://bugzilla.redhat.com/show_bug.cgi?id=1290820 | ||||
* | Include stdint.h, don't redefine MAX/MIN constants if already defined | Jay Sorg | 2016-08-12 | 2 | -5/+17 |
| | |||||
* | Pixman fixes | Jay Sorg | 2016-08-11 | 2 | -4/+2 |
| | |||||
* | add region intersect | Jay Sorg | 2016-08-08 | 1 | -0/+3 |
| | |||||
* | add more advances region support using pixman | Jay Sorg | 2016-08-08 | 4 | -1/+2699 |
| | |||||
* | Merge pull request #390 from proski/june21 | jsorg71 | 2016-08-05 | 9 | -53/+62 |
|\ | | | | | Cleanups and C++ compatibility | ||||
| * | Declare unified module interface and use it in modules | Pavel Roskin | 2016-07-08 | 1 | -1/+10 |
| | | | | | | | | | | This fixes loading modules compiled with a C++ compiler. Remote thandle type, it's unused. Use tintptr for module data. Don't cast pointers to long, they won't fit on Win64. | ||||
| * | Use enum logLevels consistently for log levels | Pavel Roskin | 2016-07-08 | 1 | -2/+2 |
| | | |||||
| * | Use char* for TLS send and receive | Pavel Roskin | 2016-07-08 | 2 | -6/+6 |
| | | | | | | | | This is consistent with ssl_tls_read() and ssl_tls_write(). C++ warnings are fixed without adding any casts. | ||||
| * | Use correct types for ssl and ctx fields in struct ssl_tls | Pavel Roskin | 2016-07-08 | 1 | -2/+2 |
| | | |||||
| * | Fix signed to unsigned comparisons reported by g++ 6.1.0 | Pavel Roskin | 2016-07-08 | 1 | -1/+1 |
| | | |||||
| * | Use g_new or g_new0 when C++ compiler would complain about implicit cast | Pavel Roskin | 2016-07-08 | 2 | -2/+2 |
| | | |||||
| * | Introduce glib style macros for allocating memory with type | Pavel Roskin | 2016-07-08 | 1 | -0/+7 |
| | | |||||
| * | Fix warnings detected by -Wwrite-strings | Pavel Roskin | 2016-07-08 | 4 | -11/+11 |
| | | |||||
| * | Make program_name constant, don't duplicate or free it | Pavel Roskin | 2016-07-08 | 2 | -9/+3 |
| | | |||||
| * | Fix format warnings in log_message() calls | Pavel Roskin | 2016-06-21 | 1 | -6/+4 |
| | | |||||
| * | Check string format in log_message | Pavel Roskin | 2016-06-21 | 3 | -12/+13 |
| | | | | | | | | | | Move "printflike" definition to arch.h, it's used both by log.h and os_calls.h. | ||||
| * | Fix incorrect use of "it's" and "its", adjust wording | Pavel Roskin | 2016-06-21 | 1 | -1/+1 |
| | | |||||
* | | sesman: env_set_user, fix potential bof issues | speidy | 2016-07-22 | 2 | -10/+14 |
|/ | |||||
* | xrdp_wm: fix for multimon, draw login window and log window on primary | speidy | 2016-05-17 | 1 | -0/+1 |
| | | | monitor | ||||
* | Merge pull request #370 from proski/typos | Itamar Reis Peixoto | 2016-05-06 | 2 | -6/+6 |
|\ | | | | | Typo fixes and more | ||||
| * | Use uniform comments for GUIDs | Pavel Roskin | 2016-05-05 | 1 | -5/+5 |
| | | |||||
| * | Typo fixes | Pavel Roskin | 2016-05-04 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #332 from metalefty/freebsd/ipv6 | jsorg71 | 2016-05-05 | 1 | -40/+47 |
|\ \ | |/ |/| | common: add log for g_tcp_connect | ||||
| * | common: no logic change, indent 2 -> 4 | Koichiro IWAO | 2016-02-23 | 1 | -39/+39 |
| | | |||||
| * | common: no logic change, fix alignment, whitespaces | Koichiro IWAO | 2016-02-23 | 1 | -2/+2 |
| | | |||||
| * | common: add log for g_tcp_connect | Koichiro IWAO | 2016-02-23 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in case getaddrinfo(3) might fail. In FreeBSD, AI_V4MAPPED support for getaddrinfo(3) was very recently implemented[1]. Most of FreeBSD systems in the world do not have this implementation yet. This will be a problem when AI_V4MAPPED isn't supported and xrdp is built with IPv6 option. In such a case, g_tcp_connect always fails. Of course getaddrinfo(3) might fail in other cases. The log helps us to know what's happening. [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198092 | ||||
* | | Merge pull request #360 from proski/format-warnings | jsorg71 | 2016-05-03 | 2 | -1/+5 |
|\ \ | | | | | | | Warning fixes | ||||
| * | | Fix more format warnings | Pavel Roskin | 2016-04-21 | 1 | -1/+1 |
| | | | |||||
| * | | Include config_ac.h from common/os_calls.h to enable all format warnings | Pavel Roskin | 2016-04-21 | 1 | -0/+4 |
| | | | |||||
* | | | trans: set non blocking socket after accept | Jay Sorg | 2016-04-27 | 1 | -1/+1 |
| | | | |||||
* | | | Add unnamed semaphore support on Mac OS | Pavel Roskin | 2016-04-23 | 1 | -0/+15 |
|/ / | | | | | | | | | | | | | sem_init() is not functional on Mac OS. Use the Grand Central Dispatch implementation. Make libscp_lock.c use semaphores through the thread_calls wrapper. |