summaryrefslogtreecommitdiffstats
path: root/libxrdp
Commit message (Collapse)AuthorAgeFilesLines
* fix potential fd leakKoichiro IWAO2018-01-171-1/+1
| | | | | | | | In most cases, checking fd > 0 is not valid. open(2) returns -1 on error, 0 on stdin, 1 on stdout, 2 on stderr, >2 . The border should be between -1 and 0. Additionally, between 2 and 3. Pointed out by: #919
* xrdp_caps: remove unneeded comment on case statementKoichiro IWAO2017-12-011-25/+25
|
* xrdp_caps: constify and sort capability setKoichiro IWAO2017-12-011-33/+33
|
* xrdp_sec: constify color depth valueKoichiro IWAO2017-12-011-7/+7
|
* libxrdp: advertise horizontal mouse wheel capabilityKoichiro IWAO2017-11-061-1/+5
|
* fix for protocol error when 32 bit and non rfxJay Sorg2017-07-121-14/+35
|
* move openssl calls to common/libssl.c, check for definesJay Sorg2017-06-221-37/+6
|
* Use the words "cannot read" rather than "cannot open"Koichiro IWAO2017-06-121-2/+2
| | | | as the code actually tests readability.
* Check certificate/privkey readability not existenceKoichiro IWAO2017-06-121-7/+7
| | | | to fail RDP security negotiation if certificate/privkey is not readable
* Log user-friendly message when certificate/privkey is inaccessibleKoichiro IWAO2017-06-121-0/+12
| | | | | | | | | | | | We shouldn't assume that xrdp daemon is running under root privilege. In many cases, root privilege is not really needed for xrdp daemon. xrdp may fail to load certificate/privkey due to lack of permissions when running under user privilege. Checking existence of files is not enough and xrdp should output user-friendly log in such case. Reported by Debian user in bug 856436 [1]. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856436
* Rename file_loc.h to xrdp_sockets.h, install itPavel Roskin2017-03-281-1/+0
| | | | Include xrdp_sockets.h directly, not through headers.
* xrdp_orders_rail: fix resulting unicode lengthspeidy2017-03-241-1/+1
|
* libxrdp: window update, simplify length checksspeidy2017-03-241-35/+26
|
* xrdp_orders_rail: fix g_mbstowcs error handlingspeidy2017-03-241-4/+20
|
* RAIL: use fixed size length for window textsspeidy2017-03-241-6/+9
|
* rail, text length checksJay Sorg2017-03-241-0/+4
|
* rail, text length checksJay Sorg2017-03-241-5/+12
|
* libxrdp: print connected client name to logspeidy2017-03-211-1/+3
|
* libxrdp: fix misleading variable namespeidy2017-03-211-8/+8
|
* libxrdp: improve unicode_inspeidy2017-03-211-25/+35
|
* Allocate space for tls_ciphers dynamicallyPavel Roskin2017-03-211-1/+2
|
* Eliminate APP_CC and DEFAULT_CCPavel Roskin2017-03-1418-367/+366
|
* Fix memory leak in tls_ciphers parsingPavel Roskin2017-03-131-0/+1
|
* Remove useless comment, no logic changeKoichiro IWAO2017-03-091-3/+2
| | | | Now client addr and port are properly logged.
* Don't include config_ac.h from any header filesPavel Roskin2017-03-041-3/+0
|
* Include config_ac.h from all source filesPavel Roskin2017-03-0415-0/+60
|
* Fix compilation on MacOSPavel Roskin2017-03-011-0/+2
| | | | | xrdp_rdp.c includes openssl/ssl.h now, make sure the OpenSSL include path is used.
* no cast is needed for NULLKoichiro IWAO2017-02-271-4/+4
|
* TLS: switch ssl_protocols to a comma separated listKoichiro IWAO2017-02-271-6/+12
|
* TLS: warn if no SSL/TLS protocols enabledKoichiro IWAO2017-02-271-1/+9
|
* TLS: new method to specify SSL/TLS versionKoichiro IWAO2017-02-272-3/+34
| | | | | | | SSL/TLS protocols only listed in ssl_protocols should be used. The name "ssl_protocols" comes from nginx. Resolves #428.
* fix warning new since stdint.h changeJay Sorg2017-02-221-2/+2
|
* Fix several cases of discarding return valuesPavel Roskin2017-01-251-4/+11
|
* Merge pull request #625 from speidy/proxy_session_infoIdan Freiberg2017-01-234-0/+57
|\ | | | | Pass session info in proxy mode
| * libxrdp: use constant RDP_DATA_PDU_LOGONspeidy2017-01-151-2/+1
| |
| * add session_infoJay Sorg2017-01-154-0/+58
| | | | | | | | | | Conflicts: libxrdp/libxrdp.h
* | Merge pull request #426 from metalefty/log-tls-version-and-cipherIdan Freiberg2017-01-161-4/+27
|\ \ | | | | | | TLS: log TLS version and cipher
| * | TLS: log client port in addition to ssl protocol and cipherKoichiro IWAO2017-01-131-3/+5
| | |
| * | log non TLS sessionKoichiro IWAO2016-11-221-0/+8
| | |
| * | TLS: log TLS version and cipherKoichiro IWAO2016-11-221-4/+17
| | |
* | | libxrdp: use log_messagespeidy2017-01-151-1/+1
| | |
* | | libxrdp: libxrdp_send_to_channel, improve error messagespeidy2017-01-061-1/+1
| | |
* | | libxrdp: ignore incoming channels with empty namesspeidy2017-01-061-0/+6
| | |
* | | libxrdp: change channel_code into a meaningful namespeidy2017-01-062-5/+5
| |/ |/|
* | Fix all warnings in TurboJPEG codePavel Roskin2017-01-051-3/+21
| | | | | | | | | | | | | | Actually use the error code from tjCompress() by logging the errors. Make sure width is more than zero before filling the pad with the last pixel data.
* | Merge pull request #611 from volth/support-enable-xrdpdebug=yes-2jsorg712017-01-051-2/+0
|\ \ | | | | | | fix build with --enable-xrdpdebug=yes
| * | fix build with --enable-xrdpdebug=yesvolth2017-01-041-2/+0
| | |
* | | xrdp: add some logging, remove unused varspeidy2016-12-291-0/+2
| | |
* | | libxrdp: frame acks, make sure max unacked frames value is valid.speidy2016-12-291-0/+4
|/ /
* | libxrdp: fix Fast-Path Synchronize Update messagespeidy2016-12-271-1/+1
| |