Koichiro IWAO
b17c45d86f
fix potential fd leak
...
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
7 years ago
Felix Zhang
eaed9af498
xrdp: corret the config file name in the comment
7 years ago
Oscar Salvador
be23682f90
xrdp: get port from configfile in access_control()
...
This fixes #894
7 years ago
Koichiro IWAO
b83b5510f4
Fix Xvnc backend disconnects when some data copied to clipboard
...
Should fix #755 .
7 years ago
Pavel Roskin
148afd1170
Rename file_loc.h to xrdp_sockets.h, install it
...
Include xrdp_sockets.h directly, not through headers.
8 years ago
Pavel Roskin
6ed4c969f4
Eliminate APP_CC and DEFAULT_CC
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
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
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
482671fd18
Merge pull request #625 from speidy/proxy_session_info
...
Pass session info in proxy mode
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
b8ed23daab
Constify the value argument to mod_set_param
8 years ago
speidy
a82d412754
libxrdp: channels, respect xrdp.ini channel blocking also for data
...
coming in from chansrv
8 years ago
Pavel Roskin
7ba3610787
Use <> for system includes, move system includes above local ones
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
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
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
Jay Sorg
9a517b34f0
vnc: code cleanup
8 years ago
Jay Sorg
57905d71ad
vnc: change password file to use guid hash
8 years ago
Pavel Roskin
5829323ad8
Use g_new or g_new0 when C++ compiler would complain about implicit cast
8 years ago
Pavel Roskin
aeeb3d2c2e
Fix warnings detected by -Wwrite-strings
8 years ago
Pavel Roskin
6f5feb61e0
Shorten and clarify log window messages
...
Specify display in the "login failed" message. Print the section name
that wasn't found. Remove stdout message about missing section,
xrdp_wm_log_msg() already writes to stdout.
8 years ago
Pavel Roskin
a1b7de5679
Make xrdp_wm_log_msg() log its output
...
Accept variable arguments and the log level in xrdp_wm_log_msg(). Remove
logging that is done automatically now.
8 years ago
Pavel Roskin
77b380c0b5
Fix format warnings in log_message() calls
8 years ago
Pavel Roskin
ca9cbcafc8
Typo fixes
9 years ago
Jay Sorg
dbf6bcc8be
remove some warnings
9 years ago
NerdKnight
99ebe1340f
Fix compile error "format not a string literal and no format arguments [-Werror=format-security]"
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
9717e7392a
Spell "return value", not "returnvalue"
9 years ago
Pavel Roskin
f8cb1588ef
Replace "charactor" with "character" everywhere
9 years ago
Pavel Roskin
964e860072
Run through codespell
9 years ago
Jay Sorg
f49e2058df
xrdp: change when using xrdp.ini hidelogwindow
9 years ago
Jay Sorg
fd793bd213
rename g_tcp_can_recv to g_sck_can_recv
9 years ago
Jay Sorg
5d73cbd636
set the source for chansrv
9 years ago
jsorg71
b55231f18a
Merge pull request #226 from metalefty/freebsd/openpam
...
xrdp: xrdp_mm.c detect and use OpenPAM
10 years ago
Jay Sorg
33167a7c74
add frame acks and h264 codec mode basics
10 years ago
Koichiro IWAO
283a16115a
xrdp: xrdp_mm.c detect and use OpenPAM
...
OpenPAM is used in FreeBSD, NetBSD, DragonFly BSD and Mac OS X.
On the Linux system, Linux-PAM is used. Detect PAM during configure
and use which the system has.
10 years ago
Jay Sorg
4afe769467
xrdp: encoder shutdown fix
10 years ago
Jay Sorg
8397055e8b
move some hard code paths to defines in header
10 years ago
Jay Sorg
b7d15c55ed
xrdp: don't include config.h unless HAVE_CONFIG_H is defined
10 years ago
Laxmikant Rashinkar
a9d7c13147
coverity: read from pointer after free
10 years ago