Commit Graph

3192 Commits (64f15d655350b170a6293ec79f55216050729ff0)
 

Author SHA1 Message Date
Koichiro IWAO 64f15d6553 xrdp_caps: constify and sort capability set 7 years ago
Koichiro IWAO 577bd8214f common: add more capset constants
defined at MS-RDPBCGR 2.2.1.13.1.1.1 [1] and sort

[1] https://msdn.microsoft.com/en-us/library/cc240486.aspx
7 years ago
Koichiro IWAO 77a34e0a7b common: express capability set constants in hex
as same as done in  MS-RDPBCGR 2.2.1.13.1.1.1 [1].

[1] https://msdn.microsoft.com/en-us/library/cc240486.aspx
7 years ago
Koichiro IWAO 788ae1467a xrdp_sec: constify color depth value 7 years ago
Koichiro IWAO 8d951ab02e xrdp_listen: suppress log when TRANS_STATUS_DOWN
The log is always logged when clients are disconnecting even though
nothing unusual is happening. This scares users too much. Actually,
some users created a issue on GitHub with the following log. It will
lose focus from the real error.

> [ERROR] Listening socket is in wrong state, terminating listener
7 years ago
Koichiro IWAO fb8f0adcc4 remove useless braces 7 years ago
Koichiro IWAO d0c27a2904 common: suppress log when closing log files
because if xrdp is running 'fork=yes' mode, the log message
'shutting down log subsystem...' is logged everytime when the child
process is exitting. In other words, everytime when clients are
disconnecting.  This is a little bit too vebose.
7 years ago
speidy d958d1f018 sesman: scpv0, accept variable length data fields 7 years ago
Koichiro IWAO 3de3a4fab5 common: add more references to constants' origin
classify constants into these 5 types

* constants for xrdp
* constants come from ITU-T Recommendations
* constants come from Remote Desktop Protocol
* constants come from other MS products
* unclassified yet
7 years ago
Koichiro IWAO 799c230998 common: add references to constants' origin 7 years ago
Jay Sorg a9eb21e6d7 common: avoid 100% cpu on ssl accept, can be fake client 7 years ago
Justin Terry (VM) d7d14d7462 Implements the accept/close logic for vsock 7 years ago
Koichiro IWAO 929a7c359d chansrv: add LOG_LEVEL_TRACE here, too 7 years ago
Koichiro IWAO 4885a071b4 travis: add build test on FDK AAC, Opus 7 years ago
Jay Sorg bc48578a90 remove crc16.h from common/Makefile.am 7 years ago
Jay Sorg 54285d26dd remove empty crc16.h file 7 years ago
Jay Sorg 285465a1f5 common, return -1 for bad socket 7 years ago
Jay Sorg c6c513b23c use g_memcpy, braces 7 years ago
Jay Sorg 26507644e3 vsock, move some defines 7 years ago
Justin Terry (VM) 50bd624cc4 Implements XRDP over vsock
1. Implements the ability to use AV_VSOCK for the transport rather than TCP.
2. Updates the ini file to be able to conditionally turn this feature on.
7 years ago
Koichiro IWAO 3d29b6ec76 sound: g_bbuf_size should be determined after codec is determined
Fixes #910, if both client and server support more than one codecs,
g_bbuf_size might be set to wrong value.
7 years ago
Koichiro IWAO a6fd518a48 fix typo s/Roration/Rotation/ 7 years ago
Koichiro IWAO 2475893402 Constify extended mouse events 7 years ago
Koichiro IWAO 27aef96e81 Constify mouse event flags, use the MS name for constants 7 years ago
Koichiro IWAO 8e7e54e49f xrdp_wm: handle horizontal mouse wheel events 7 years ago
Koichiro IWAO 903a2bf83a xrdp_wm: make mouse button 6 and 7 act like button 4 and 5
because 6 and 7 are horizontal scroll. They should acts as same as
vertical scroll.
7 years ago
Koichiro IWAO 391c69731c libxrdp: advertise horizontal mouse wheel capability 7 years ago
Koichiro IWAO 4a2818e183 Add some more Input Capability Set constants 7 years ago
Soedarsono 3c3eb9ed73 Add dvorak keyboard layout 7 years ago
Ben Cohen b9ff75e50e xrdp-ssh-agent: Remove vim modeline 7 years ago
Ben Cohen a2b008f63e xrdp-ssh-agent.c: Fix braces for coding style 7 years ago
Ben Cohen 6fb3fcfc66 Handle EINTR for send() in handle_connection() 7 years ago
Ben Cohen 1d5aa8cc97 Forward ssh-agent data between ssh clients and RDP
Add xrdp-ssh-agent.c which forwards ssh-agent protocol over an RDP
dynamic virtual channel, just as the normal ssh-agent forwards it over
an SSH channel.

Usage:

Run an RDP client with the corresponding plugin enabled; for example
"xfreerdp /ssh-agent ...".

In the remote desktop session run xrdp-ssh-agent and evaluate the output
in the shell as for ssh-agent to set the required environment variables
(specifically $SSH_AUTH_SOCK):

   eval "$(xrdp-ssh-agent -s)"

This is the same as for the normal ssh-agent.  You would typically do
this in your Xsession or /etc/xrdp/startwm.sh.

Limitations:

1. Error checking and handling could be improved.

2. This stays running when the xrdp session closes.  This should be
fixed using a command line argument as for the real ssh-agent.

3. This is only tested on Linux and will only work on systems where
clients talk to the ssh-agent via Unix domain sockets.  It won't
currently work on Windows but it could be ported.
7 years ago
Koichiro IWAO 2411a0be14 log: add log level TRACE
TRACE means more verbose than DEBUG. syslog doesn't have more verbose
level than DEBUG, map TRACE to DEBUG for syslog.
7 years ago
Felix Zhang eaed9af498 xrdp: corret the config file name in the comment 8 years ago
Koichiro IWAO 00bf62bd42 common: prevent raw use of snprintf 8 years ago
Oscar Salvador be23682f90 xrdp: get port from configfile in access_control()
This fixes #894
8 years ago
Koichiro IWAO ced3a4817f xrdp: constify input event type 8 years ago
Koichiro IWAO c295dd61b8 Update v0.9.4 release date 8 years ago
Koichiro IWAO e102b7cc8c update NEWS, mention known issues 8 years ago
Koichiro IWAO ac5987cf13 Prepare release v0.9.4 8 years ago
Koichiro IWAO d94e43a49e update sumbodules to the latest release 8 years ago
Koichiro IWAO f9ab4df7f2 common: fix g_write_ip_address() didn't return correct IP address
Fixes: #878.
8 years ago
cocoon 8ded88a0c6 Fixes #414 8 years ago
speidy 36eda1bcbb tcutils: fix WTSVirtualChannelWrite return codes check according to API change 8 years ago
speidy fad2c57cd6 xrdpvr: adjust xrdpvr_write_to_client to xrdpapi API change 8 years ago
speidy d15d32c593 xrdpapi: change WTSVirtualChannelWrite return values to be consistent with WTSVirtualChannelRead 8 years ago
Koichiro IWAO 26394870e5 sesman: delete socket files when session exits 8 years ago
Koichiro IWAO df29ea3ad9 travis: Unbreak travis build
since Ubuntu Precise (12.04) is retired September 2017. Now build test
is run on Ubuntu Trusty (14.04). A trivial fix for requisite packages
needed.
8 years ago
Koichiro IWAO e6b7d12191 xrdp: accept full path for ls_background_image
because ls_logo_filename accepts full path.
8 years ago