Commit Graph

633 Commits (3c95a2aef2c7b9f3632df4229ce8b807aa79d8a7)

Author SHA1 Message Date
Pavel Roskin 43899b7e0c Allocate space for tls_ciphers dynamically 8 years ago
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
Koichiro IWAO a2d9272bc9 Propel xorgxrdp as default backend, give xorgxrdp the first place 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
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
Koichiro IWAO 849c1a22a2 TLS: switch ssl_protocols to a comma separated list 8 years ago
Koichiro IWAO 03b5be5fd0 docs: document maximum length of tls_ciphers 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 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 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 8a1de8dbc4 Remove trailing whitespace 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 0bb048d35e Fix several cases of discarding return values 8 years ago
Idan Freiberg 6a5f90ca6e Merge pull request #636 from proski/painter
Fix incorrect argument to painter_line()
8 years ago
Idan Freiberg 482671fd18 Merge pull request #625 from speidy/proxy_session_info
Pass session info in proxy mode
8 years ago
Pavel Roskin 6807b616ed Fix incorrect argument to painter_line() 8 years ago
Pavel Roskin 2b614ed4ab Remove librdp.so sources, it's obsoleted by neutrinordp
Remove "rdp-any" section from xrdp.ini.
8 years ago
Pavel Roskin 0799523c13 List shorthand versions of command line switches in the help text 8 years ago
Pavel Roskin 9d162d7301 Implement "-n" alias for "--nodaemon" as documented in the manpage 8 years ago
Idan Freiberg a64e1789c5 Merge pull request #615 from speidy/channels_fixes
Channels improvements
8 years ago
Jay Sorg 6f74efa70a add session_info
Conflicts:
	libxrdp/libxrdp.h
8 years ago
Pavel Roskin d46a26c1c3 Don't call file_read_section() on unitialized section name
This can only happen if xrdp.ini is corrupted and has no sections for
backends.
8 years ago
Pavel Roskin b8ed23daab Constify the value argument to mod_set_param 8 years ago
Ricardo Duarte a959a9f851 Move mouse before click 8 years ago
speidy a82d412754 libxrdp: channels, respect xrdp.ini channel blocking also for data
coming in from chansrv
8 years ago
jsorg71 15a24ff1c4 Merge pull request #612 from proski/includes
Use <> for system includes, move system includes above local ones
8 years ago
jsorg71 5194311d9d Merge pull request #611 from volth/support-enable-xrdpdebug=yes-2
fix build with --enable-xrdpdebug=yes
8 years ago
Pavel Roskin 7ba3610787 Use <> for system includes, move system includes above local ones 8 years ago
volth 26a26ef906 fix build with --enable-xrdpdebug=yes 8 years ago
speidy 70e9132ab1 xrdp: add some logging, remove unused var 8 years ago
speidy 1f930f252f xrdp: fix for codec frame acks handling.
can handle zero unacked frames now.

This should make RemoteFX usable with Parallels Client. they always
wan't zero unacked frames on the wire.
8 years ago
Pavel Roskin 0e7bc6e111 Compile libpainter only if enabled, fix path to libpainter.a
When subpackages are compiled outside the build tree, the build artifacts
are placed under top_builddir.
8 years ago
metalefty 25e5243ecf Merge pull request #553 from jsorg71/libpainter
add libpainter for drawing when client does not have minimum orders
8 years ago
Pavel Roskin 77d6fd0807 Fix Parallels Client on Mac
self->line_size should be calculated in xrdp_bitmap_create_with_data()

The code was in the original noorders branch but got lost. Without this
fix, the image is garbled.

The client should be configured with compression disabled, or it will
disconnect. That's a known problem.
8 years ago
Pavel Roskin c21b9a78f4 Distribute all files except git and github specific data
It is better to distribute a few useless file than not to distribute
needed files.
8 years ago
Idan Freiberg 0f6d1aabc2 Merge pull request #548 from proski/autorun
Set autorun to empty, improve autorun documentation
8 years ago
Pavel Roskin 0c6b5111af Regression fix: session matching uses wrong bpp for Xorg
The removal of "xserverbpp=24" from the Xorg entry lead to a regression.
Clients with a different bpp would not reconnect to an xorgxrdp session
if the client's bpp is different, even though xorgxrdp is always using 24
bpp.

Imply "xserverbpp=24" for "code=20" in xrdp.ini.
8 years ago
Pavel Roskin 65be965ebd Set autorun to empty, improve autorun documentation
Setting autorun to empty keeps X11rdp as the default backend for
autologin (since it's the first section), but it also enables the backend
selection by the domain name.

Describe the autorun interaction with the domain name both in the config
file and in the manual.
8 years ago
Pavel Roskin e65aa594e8 Make librfxcodec a subpackage
Since libpainter is going to become a subpackage, we can make librfxcodec
a subpackage as well.

With this change, librfxcodec is configured, built and linked to xrdp
automatically if enabled by "--enable-rfxcodec"

librfxcodec is packaged by "make dist" regardless of "--enable-rfxcodec"

librfxcodec/confgure is run unconditionally, it's needed for "make dist"
to work. But librfxcodec is only compiled if enabled.
8 years ago