Commit Graph

2793 Commits

Author SHA1 Message Date
metalefty
b89956d06e Merge pull request #485 from proski/code-standards
Code standards
2016-11-16 17:05:21 +09:00
metalefty
d335c93a75 Merge pull request #480 from proski/strncat
Fix potential buffer overflow in strncat() invocation
2016-11-16 17:02:33 +09:00
metalefty
0712cf2747 Merge pull request #483 from proski/autorun
Fix regression in domain to session type mapping
2016-11-16 17:00:23 +09:00
Pavel Roskin
5d2ce60340 Fix regression in domain to session type mapping
If no domain is passed, self->session->client_info->domain is an empty
string that is incorrectly treated as if the domain were passed by the
client.

The regression was introduced in fc753a95, when an incorrect check for
non-empty domain was added. That check was removed in 67119ecc based on
coverity report, leaving no trace of the original intention.

Check domain both for '_' and '\0' as the initial character. In either
case, select the first session type section in xrdp.ini.
2016-11-15 22:42:04 -08:00
Pavel Roskin
35b336272b Fix compilation with C++ 2016-11-15 22:40:06 -08:00
Pavel Roskin
16c3bbdb8d Remove all tabs in sources 2016-11-15 22:40:06 -08:00
Pavel Roskin
e9d064e390 Don't try to create .vnc directory if it exists
Report system error if it cannot be created.
2016-11-15 22:39:22 -08:00
Pavel Roskin
60029514a6 Report system error if the VNC password file cannot be created 2016-11-15 22:39:22 -08:00
Pavel Roskin
e9a0324cb3 Fix compile warnings for non-default authentication methods
Include string.h for strcmp(). Don't define _XOPEN_SOURCE, it conflicts
with libc headers and hides putpwent(). Make input strings constant. Fix
functions to match their declarations.
2016-11-15 22:38:56 -08:00
Pavel Roskin
92423a466e Fix potential buffer overflow in strncat() invocation
strncat() will copy at most the specified number of characters and append
the null character on top of that. strlen() doesn't count the final null
character.
2016-11-15 22:38:21 -08:00
Koichiro IWAO
0a7f1bb007 docs: revise description for disableSSLv3 in xrdp.ini 2016-11-16 15:02:46 +09:00
Koichiro IWAO
5ee3b9b96d docs: s/Italy/Italian/ for language name 2016-11-16 14:53:34 +09:00
Koichiro IWAO
d74366a6f2 config: change order of parameters
Put same layer configuration parameters together, bring low layer
parameters earlier.
2016-11-16 14:15:44 +09:00
Koichiro IWAO
13aa2fcc2a docs: update descriptions for encryption
- Add descriptions for certificate and key_file
- xrdp actually supports 128-bit encryption in Standard RDP Security
- change line breaks
2016-11-16 14:15:44 +09:00
Koichiro IWAO
d6e8435a72 docs: sort parameters in xrdp.ini.5 2016-11-16 14:15:44 +09:00
Koichiro IWAO
b74b030891 docs: document security_layer 2016-11-16 14:15:44 +09:00
Koichiro IWAO
4b95a5f347 docs: reword, add description for default value 2016-11-16 14:15:44 +09:00
Koichiro IWAO
ad1b484e7a docs: unify the rest boolean values to true/false 2016-11-16 14:15:44 +09:00
Koichiro IWAO
7cb3ffc33f docs: document use_fastpath, require_credentials, pamerrortxt 2016-11-16 14:15:44 +09:00
Koichiro IWAO
901bc9f40c docs: section "Connection" is not used 2016-11-16 14:15:44 +09:00
Koichiro IWAO
f6fd8f16d7 docs: Capitalize section title 2016-11-16 14:15:44 +09:00
Koichiro IWAO
1490da309e docs: document tcp_send/recv_buffer_bytes 2016-11-16 14:15:44 +09:00
Koichiro IWAO
cb1960e0fc config: use semicolon to comment out descriptions in config files
and use number sign to comment out actual configurations.
For example:

    ; if set to true, enables foobar
    #foobar=true
2016-11-16 14:15:44 +09:00
Koichiro IWAO
181830bf61 config: Capitalize section title to fit documents 2016-11-16 14:15:44 +09:00
Koichiro IWAO
4f2d94505a config: unify all boolean values in config to true/false 2016-11-16 14:15:44 +09:00
Koichiro IWAO
bb55e0118b docs: unify all boolean values to true/false 2016-11-16 14:15:44 +09:00
Koichiro IWAO
771321ab0c docs: add 32 to max_bpp as it is actually supported 2016-11-16 14:15:44 +09:00
Koichiro IWAO
681f230821 docs: document disableSSLv3 and tls_ciphers 2016-11-16 14:15:44 +09:00
Koichiro IWAO
16dd94b8bc docs: use bold for section headers, not italic 2016-11-16 14:15:44 +09:00
Koichiro IWAO
fe8eb5aa14 docs: remove trailing space, put a period at a end of sentence 2016-11-16 14:15:44 +09:00
Koichiro IWAO
5e297ce9ba docs: Capitalize country/language 2016-11-16 14:15:44 +09:00
Koichiro IWAO
499abdcd41 docs: correct section of xrdp-dis
Document that xrdp-dis doen't support disconnecting xorgxrdp session.
2016-11-16 14:15:44 +09:00
Koichiro IWAO
4aa75ca2e3 docs: update version to 0.9.0 2016-11-16 14:15:44 +09:00
Koichiro IWAO
fc32099d25 docs: update man for sesman.ini
Not to confuse the default value written in config and the default
value will be used when not specified in config use the words
"it not specified, defaults to foobar" for the latter.

And other miscellaneous changes,

- Fix typo
- Emphasize the default value
2016-11-16 14:15:44 +09:00
Koichiro IWAO
f096f1b028 docs: replace links s/xrdp.sf.net/www.xrdp.org/g 2016-11-16 14:15:44 +09:00
metalefty
fb3545eb65 Merge pull request #490 from proski/param
Omit numbers from the "param" keys, they are not needed
2016-11-16 14:14:32 +09:00
Pavel Roskin
0d72cced46 Omit numbers from the "param" keys, they are not needed
Users assume that they need to renumber the parameters. That makes
parameter editing more involved than it needs to be.
2016-11-15 20:55:03 -08:00
Idan Freiberg
e8185caf31 Merge pull request #489 from metalefty/travis-ci
CI: add .travis.yml
2016-11-15 19:20:34 +02:00
Koichiro IWAO
7cb37d8941 CI: add .travis.yml
tests xrdp, librfxcodec, xorgxrdp, x11rdp in master, devel and other topic branches.
2016-11-15 18:02:53 +09:00
Itamar Reis Peixoto
ad62e52f28 Merge pull request #487 from proski/x11rdp
X11rdp build system fixes
2016-11-13 20:46:48 -02:00
Pavel Roskin
5bb54122ba Strip the installed X11rdp binary, not the original 2016-11-13 09:14:58 -08:00
Pavel Roskin
cd6e8faccc Reorder static libraries to avoid the need to link them twice 2016-11-13 09:09:32 -08:00
Pavel Roskin
d93bb4cf4b Check that X11RDPBASE is set, give it a better description
Use BINBASE for the binary install path.
2016-11-13 09:04:54 -08:00
Jay Sorg
4f33a9db1d change xrdp.ini security_layer=negotiate and auto generate tls keys on make install 2016-11-11 22:55:21 -08:00
Jay Sorg
da9439f24d libxrdp: warn when using 512 bit key 2016-11-11 22:29:54 -08:00
Jay Sorg
e39f567c35 on make install, don't create rsakeys.ini if it already exists 2016-11-11 21:47:19 -08:00
jsorg71
46e1173bd9 Merge pull request #479 from proski/strerror
Use g_get_strerror() instead of strerror(errno) for portability
2016-11-09 15:26:28 -08:00
Pavel Roskin
2dcc69b752 Use g_get_strerror() instead of strerror(errno) for portability 2016-11-08 14:08:51 -08:00
metalefty
d7fd153951 Merge pull request #418 from metalefty/keymap-fallback-lower-16bit
Use km-0000yyyy.ini if km-xxxxyyyy.ini doen't exist
2016-11-08 15:12:51 +09:00
metalefty
8da1829981 Merge pull request #478 from proski/install-headers
Install headers used by X11rdp and xorgxrdp
2016-11-07 15:46:20 +09:00