Commit Graph

428 Commits (be23682f909137919b2c72d1ae48bdb04a3f9c15)

Author SHA1 Message Date
Jay Sorg 1f51586769 add libpainter for drawing when client does not have minimum orders 8 years ago
Jay Sorg 81e72fc99c code cleanup, add some comments 8 years ago
Jay Sorg 519359a823 fixes for bitmap update 8 years ago
Jay Sorg 492116d535 fixes for rle bitmap compress limits and raw bitmaps 8 years ago
Pavel Roskin 380729e982 Fix a warning in jpeg compression code with --enable-jpeg
If the image width is not divisible by 4, the image is padded to the next
multiple of 4. The additional pixels are filled with the colors of the
last pixel in the row.

The last pixel colors may not be initialized if the width is 0. In this
case, the would be no padding, but the compiler doesn't know that.

Add a check that the width is more that 0 before filling the padding.
8 years ago
speidy a614b60157 lixrdp: typo fix 8 years ago
speidy 917aadd2d1 libxrdp: more constants 8 years ago
speidy 3dc0f2860c Merge branch 'surface_cmds' of git://github.com/speidy/xrdp into surface_cmds 8 years ago
speidy 5e39bb1f87 libxrdp: caps, group caps require fastpath output, use FASTPATH_OUTPUT_SUPPORTED constant 8 years ago
speidy d6a470e973 libxrdp: improve messages 8 years ago
Speidy a0cf6030df Merge branch 'devel' of https://github.com/neutrinolabs/xrdp into surface_cmds 8 years ago
jsorg71 5966de4ee2 Merge pull request #536 from jsorg71/unicode
add unicode support
8 years ago
Jay Sorg c264862afe change some magics to defines 8 years ago
Jay Sorg 7a1a481ff9 use defines for flags 8 years ago
Jay Sorg 2f8d3ba9da add unicode support 8 years ago
speidy 1ef5c2412c xrdp_caps: fix jpeg codec properties 8 years ago
speidy 4f04801b11 o caps: advertise remotefx codec capsets only when supported (RFX mode,
proxy mode)
o xrdp_encoder: do not initialze encoder context for RFX when rfxcodec
is not supported
8 years ago
speidy bf07c20571 no logic change, indent only 8 years ago
speidy 8a0fec5e66 o send RFX tiles as stream (Stream Surface Bits Command)
o silent frame ack logging
o support surface commands in capsets
o fix some wrong constants
8 years ago
speidy 1fe048b63d xrdp_encoder: do not initialize for non-UNIX rdp clients
xrdp_encoder: comment about temporary workaround
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
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
Koichiro IWAO 2c9ff1a4d4 log non TLS session 8 years ago
Koichiro IWAO 40e8194122 TLS: log TLS version and cipher 8 years ago
Jay Sorg da9439f24d libxrdp: warn when using 512 bit key 8 years ago
Pavel Roskin a370306f75 Get rid of EXTRA_LIBS, use variables with more specific names 8 years ago
Pavel Roskin 5c69f3cd57 Eliminate EXTRA_FLAGS, it's a poor name, use AM_LDFLAGS 8 years ago
Pavel Roskin 0422734fc7 Merge EXTRA_DEFINES and EXTRA_INCLUDES into AM_CPPFLAGS
AM_CPPFLAGS is a documented Automake variable for C preprocessor flags
that should not be overridden when compiling the package.

There is no need to have two additional variables that are ultimately
merged into AM_CPPFLAGS.

Their names are also confusing. EXTDA_DIST is a documented Automake
variable. Everything else that starts with "EXTRA" is not.
8 years ago
Pavel Roskin 9ac592b218 Don't use term "missing" when using default files, it's too alarming
Also improve messages when non-absolute path is rejected.
8 years ago
Koichiro IWAO e2d4b65787 libxrdp: cleanup log log in xrdp_load_keyboard_layout 9 years ago
Koichiro IWAO 2488159645 libxrdp: log keyboard type/subtype 9 years ago
Koichiro IWAO 644242fc53 libxrdp: log keyboard options 9 years ago
metalefty b934e55fc8 Merge pull request #364 from laigor/devel
Allows use the xkb options that for example allows you to specify a key combination to change the layouts.
9 years ago
Alex Illsley 47124df4ed new options for xrdp.ini disableSSlv3=yes and tls_ciphers=HIGH and code to implement 9 years ago
jsorg71 97cd690f84 Merge pull request #384 from CarstenGrohmann/improve_cert_log_messages
Improve certificate log messages
9 years ago
Pavel Roskin aeeb3d2c2e Fix warnings detected by -Wwrite-strings 9 years ago
Pavel Roskin ae5bb5bf9c Fix incorrect use of "it's" and "its", adjust wording 9 years ago
Carsten Grohmann 7f0d059d84 Improve certificate log messages 9 years ago
speidy f5ec7f4102 libxrdp: oops, fix virtual desktop size check 9 years ago
speidy 881756a82c libxrdp: oops, fix virtual desktop size check 9 years ago
speidy 36c17767b7 libxrdp: in CS_MONITOR, validate virtual desktop size we got from client 9 years ago
speidy b38dcf1bb0 xrdp_wm: fix for multimon, draw login window and log window on primary
monitor
9 years ago
Pavel Roskin ca9cbcafc8 Typo fixes 9 years ago
Pavel Roskin 70f3d4c5e2 Fix warnings for unused variables read from byte streams 9 years ago
Pavel Roskin 0629b25d5f Fix warnings about unused variables and functions 9 years ago
laigor 59be4134c3 Allows use the xkb options that for example allows you to specify a key combination to change the layouts.
Example of xrdp_keyboard.ini for russian keyboard

[default_rdp_layouts]
rdp_layout_us=0x00000409
rdp_layout_de=0x00000407
rdp_layout_fr=0x0000040C
rdp_layout_it=0x00000410
rdp_layout_jp=0x00000411
rdp_layout_jp2=0xe0010411
rdp_layout_jp3=0xe0200411
rdp_layout_jp4=0xe0210411
rdp_layout_ru=0x00000419
rdp_layout_se=0x0000041D
rdp_layout_pt=0x00000816
rdp_layout_br=0x00000416
rdp_layout_pl=0x00000415

[rdp_keyboard_ru]
keyboard_type=4
keyboard_subtype=1
model=pc105
options=grp:alt_shift_toggle
rdp_layouts=default_rdp_layouts
layouts_map=layouts_map_ru

[layouts_map_ru]
rdp_layout_us=us,ru
rdp_layout_ru=us,ru
9 years ago
Jay Sorg 87208db090 fix warnings 9 years ago
Jay Sorg 38241f2a0b Fix all format warnings and some unused variable warnings 9 years ago
Pavel Roskin 59a5fb0ddb Move headers from EXTRA_DIST to sources, sort alphabetically
There should be no functional difference.
9 years ago
Pavel Roskin 92a6833e9b Fix typos 9 years ago
Pavel Roskin dcab7552db Stop redefining libdir, use moduledir for ${libdir}/xrdp
libdir is for shared and static libraries. Some xrdp libraries are loaded
dynamically from a non-standard directory, so they are used like modules.

Having separate libdir and moduledir would eventually allow to separate
dynamically loaded modules from shared libraries.
9 years ago
Pavel Roskin 22e808a186 Add missing spaces in the strings that are split for line wrapping 9 years ago
Pavel Roskin a452d8d36a Merge AM_CFLAGS and INCLUDES info AM_CPPFLAGS
AM_CPPFLAGS is for flags passed to the preprocessor, such as defines and
includes. AM_CFLAGS is for flags affecting the compiler, such as debug
and optimization settings.

INCLUDES is an obsolete name. Users can pass INCLUDES and break
compilation. AM_CPPFLAGS is more explicit that the flags come from
Automake and should not be overridden.
9 years ago
Pavel Roskin ee1a237685 Remove GOT_PREFIX, it's a broken hack of limited utility
To add flags to the compiler, CFLAGS, CPPFLAGS or LDFLAGS can be used on
the configure command line.

The need to add flags depends on the location of the headers and
libraries of the dependencies, which is orthogonal to the directory where
xrdp will be installed.

The implementation in configure.ac has a stray closing bracket, making
GOT_PREFIX true even if --prefix is not passed.

The implementation is inconsistent - the only affected makefiles are for
xrdp and libxrdp.

Changing rpath manually is wrong in most cases. Libtool should be able to
set rpath correctly on its own.

Using $(prefix)/lib ignores the libdir setting. For many 64-bit systems,
/usr/lib is used for 32-bit libraries. Adding 32-bit libraries to the
rpath slows down 64-bit executables, as the dynamic loader searches for
libraries in a wrong directory.

There is no way to disable GOT_PREFIX if --prefix has to be passed.
Fedora RPM patches configure.ac and needs to rerun autoconf and automake
after that.
9 years ago
Pavel Roskin 964e860072 Run through codespell 9 years ago
Jay Sorg 96a237c8ef libxrdp: rail fix for when no flags are set 9 years ago
Jay Sorg a303f9aaec remove trailing white space 10 years ago
Jay Sorg a4f8705e99 multimon fix, mstsc reports desktop width and height of primary only 10 years ago
itamarjp 960cc62a0e add missing files into extra_dist,
this is required when using make dist to generate a tarball
10 years ago
Jay Sorg 914b4acf39 fix for libxrdp_reset 10 years ago
Jay Sorg b56aa9832e work on main loop changes 10 years ago
speidy 9fb02e381d libxrdp: xrdp_iso: changed logs, some fixes in security layer
negotiation.
10 years ago
Jay Sorg 33167a7c74 add frame acks and h264 codec mode basics 10 years ago
Jay Sorg 253028431c libxrdp: opps, fix typeo 10 years ago
Jay Sorg 25809f4f1c libxrdp: no logic change, tabs to spaces 10 years ago
Jay Sorg eddf0eefdc libxrdp: no logic change, statis functions, indent 10 years ago
Jay Sorg ce1a4e660b libxrdp: fastpath RDP_INPUT_SYNCHRONIZE fix 10 years ago
Jay Sorg 69a551cdf7 libxrdp: indent, no logic change 10 years ago
Jay Sorg d1bc5b0bf7 libxrdp: no logic change, tabs to spaces 10 years ago
speidy 5e89424129 libxrdp: fix for 'low' RDP security level (issue #202) 10 years ago
speidy bf622c46a6 libxrdp: security layer, error handling 10 years ago
speidy fb306e624e libxrdp: changes for security layer negotiation,
security_layer=negotiate is working now
10 years ago
speidy 52cac06092 libxrdp: delete NLA header detection for now, TLS is working now with
mstsc
10 years ago
Jay Sorg 605df27103 libxrdp: remove a global, remove some tabs 10 years ago
speidy 4015f526db work on tls mode 11 years ago
Jay Sorg c7144744a4 security change for none 11 years ago
Jay Sorg ffed349875 added option to set rdp crypto level to none 11 years ago
Jay Sorg 821bf3e2a5 no logic change, convert tabs to spaces 11 years ago
Jay Sorg 779f0bf470 add xrdp_keyboard.ini to Makefile.am 11 years ago
Jay Sorg 4ef60f163d load the rdp to X11 keybaord mappings from file 11 years ago
Laxmikant Rashinkar 0915d33d70 coverity: dead code 11 years ago
Idan Freiberg 16929efb05 Merge branch 'devel' of https://github.com/neutrinolabs/xrdp into
devel

Conflicts:
	libxrdp/xrdp_sec.c
11 years ago
Idan Freiberg 0795400fe2 libxrdp: mcs, delete temp hexdump 11 years ago
Idan Freiberg 5a0d1f028a libxrdp: work on TLS mode 11 years ago
Idan Freiberg afdf638c7b libxrdp, common: work on TLS mode 11 years ago
speidy 1acdc3085e libxrdp: work on TLS mode, temporary changes 11 years ago
Jay Sorg 1291d2dbbe work on codec mode 11 years ago
Laxmikant Rashinkar 3bb31876e7 coverity: fixed resolution leak issues 11 years ago
Idan Freiberg 7ab1d887ae libxrdp: work on TLS support 11 years ago
Idan Freiberg f0b6c6b1d1 libxrdp: started adding TLS support 11 years ago
Idan Freiberg 5fcf6beffa libxrdp: enforce server security layer when rdpNegData is not exists 11 years ago
speidy 194ad781ba libxrdp: another len fix 11 years ago
speidy 13a376ae38 libxrdp: fix off by one length indicator issue 11 years ago
Idan Freiberg 9795ce010a libxrdp: changes in rdp security layer negotiation 11 years ago
Idan Freiberg 9007deae6f libxrdp: added an option to enforce security layer in xrdp.ini 11 years ago
Jay Sorg d9a91ca11b libxrdp: minor mppc compressor change 11 years ago
speidy ba6c71fd37 libxrdp: iso: fixed a validation check in RDP_NEG_REQ (CORRELATION_INFO_PRESENT flag is sent by mac itap client by default from now) 11 years ago