summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* chansrv: sound, fdk-aac, avoid 1 item array itemsJay Sorg2017-08-041-29/+34
|
* use pkg-config to configure with fdk-aacJay Sorg2017-08-042-3/+3
|
* chansrv: sound, remove a do not know and a commentJay Sorg2017-08-042-2/+1
|
* chansrv: sound, use WAVE_FORMAT_AAC not WAVE_FORMAT_AAC_MSJay Sorg2017-08-042-3/+3
|
* chansrv: sound, add aacJay Sorg2017-08-044-2/+258
|
* chansrv: sound, handle skips in audio acksJay Sorg2017-08-041-5/+30
|
* xfuse_create_share() called before xfuse_init()matt3356722017-08-031-0/+12
| | | | | * Initialise inode table in `xfuse_create_share()` if necessary * Add guard to `xfuse_init_xrdp_fs()` to prevent double initialisation of the inode table
* fix indent, no logic changeKoichiro IWAO2017-08-011-1/+1
|
* don't use hard coded constant valuesKoichiro IWAO2017-08-011-8/+13
|
* use g_free()Koichiro IWAO2017-08-011-2/+2
|
* move base64 functions to base64.cKoichiro IWAO2017-08-016-59/+114
|
* docs: document base64 prefill credentialsKoichiro IWAO2017-08-011-6/+20
|
* decode base64 login window parameterKoichiro IWAO2017-08-011-2/+26
| | | | | | | | | | | such as prefill username and password: username=ask{base64}YmFzZTY0 username={base64}YmFzZTY0 password=ask{base64}YmFzZTs2NCFwYXNzd29yZCM= password={base64}YmFzZTs2NCFwYXNzd29yZCM= ';', '#', '!' means comment in .ini files. If prefill username or password contains such symbols, these can be provided base64 encoded.
* pass through except for the first '='Koichiro IWAO2017-08-011-1/+1
| | | | | | if "foo=ba=r" is found in ini files, it should be parsed like this. key : foo value : ba=r
* add base64_decode functionKoichiro IWAO2017-08-012-0/+58
|
* sesman: search pam files also in ${sysconfdir}/pam.dKoichiro IWAO2017-07-262-1/+3
| | | | | | | as some operating system such as FreeBSD searches not only `/etc/pam.d` but also `/usr/local/etc/pam.d` [1]. [1] https://www.freebsd.org/cgi/man.cgi?query=pam.d&sektion=5
* chansrv: remove trailing spaceKoichiro IWAO2017-07-251-2/+2
|
* chansrv: use switch-case to support more codecsKoichiro IWAO2017-07-251-12/+13
|
* chansrv: constify wFormatTagKoichiro IWAO2017-07-252-20/+23
|
* Add a pam file for FreeBSDKoichiro IWAO2017-07-214-1/+12
| | | | as existing xrdp-sesman.unix doesn't suit FreeBSD.
* Allow UDS connection from non-root usersBen Cohen2017-07-201-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you run xrdp with a Unix Domain Socket (UDS) for the port specified in /etc/xrdp/xrdp.ini then only root can connect to it. Test case: 1. Edit /etc/xrdp/xrdp.ini to set "port=/var/run/xrdp-local.socket". 2. Restart xrdp. 3. Run the following, as a non-root user. socat TCP-LISTEN:12345 UNIX-CONNECT:/var/run/xrdp-local.socket & rdesktop localhost:12345 Expected behaviour: rdesktop starts up and displays the logon dialog. Observed behaviour: rdesktop exits with "ERROR: Connection closed" and socat exits with "Permission denied". (But it suceeds if root runs socat.) UDS files are created by trans_listen_address() and given permissions 0660, so only root can connect to it. In this case, for the RDP client connection, it it fine for any user to connect so it should be given permissions 0666. Note that this is only relevant when the port in /etc/xrdp/xrdp.ini has been set to create a UDS instead of a TCP socket. When a TCP port is created any user (including remote users, unless the loopback interface is used) can connect so this is not less secure.
* append a / to ensure the full path is created even when the config variable ↵Ian Geiser2017-07-191-1/+1
| | | | lacks a trailing /
* NEWS: pulralize glitchesKoichiro IWAO2017-07-141-1/+1
|
* common: fix more glitches in IPv4 initializationKoichiro IWAO2017-07-141-2/+2
|
* Use g_create_path instead of g_create_dirIan Geiser2017-07-144-11/+11
| | | | Rename g_mk_temp_dir to g_mk_socket_path
* fix typo (copy & paste mistake)Koichiro IWAO2017-07-131-1/+1
|
* Update release dateKoichiro IWAO2017-07-131-1/+1
|
* Update NEWSKoichiro IWAO2017-07-131-1/+8
|
* fix typoKoichiro IWAO2017-07-131-1/+1
|
* sesman: make sure socket directory presentKoichiro IWAO2017-07-131-0/+3
| | | | | before try to create a domain socket. Originally proposed by Ian Geiser (geiseri).
* common: use log_messageKoichiro IWAO2017-07-131-2/+3
|
* sesman: move auth_start_session, auth_stop_session, and auth_end to child ↵Jay Sorg2017-07-121-3/+7
| | | | process
* fix for protocol error when 32 bit and non rfxJay Sorg2017-07-121-14/+35
|
* common: fix a glitch with IPv4 struct initializationKoichiro IWAO2017-07-101-1/+1
| | | | | Pointed out by: andrecbarros Closes: #803
* Prepare release v0.9.3Koichiro IWAO2017-07-064-3/+26
|
* update submodules to their release tag head commitKoichiro IWAO2017-07-061-0/+0
|
* Fix Xvnc backend disconnects when some data copied to clipboardKoichiro IWAO2017-07-061-1/+6
| | | | Should fix #755.
* xrdp-sesadmin: fix error when there are no sessionsBen Cohen2017-07-062-12/+13
| | | | | | | | | | | | | | | | | | Test case: On a system running xrdp with no sessions running run: xrdp-sesadmin -u=<user> -p=<password> -c=list Expected result: "No sessions." (ignoring debug output) Observed result: "Error getting session list." In the SCP_SERVER_STATE_MNG_LISTREQ case in scp_v1_mng_process() if there are no sessions it ends the scp session, which causes an error in the client. In commit 0017081d the client was changed to report errors, giving the result above. Fix by calling scp_v1s_mng_list_sessions() from scp_v1_mng_process() even when there are no sessions, and if so sending a packet with a count of zero so that the client gets what it expects.
* Change log level DEBUG -> WARNINGKoichiro IWAO2017-07-061-4/+4
| | | | | since unavailability of ssl protocols defined in config file may weaken security and it is important for users.
* Reword log messages in ssl_get_protocols_from_string()Koichiro IWAO2017-07-061-4/+12
|
* docs: document change of xrdp-chansrv log pathKoichiro IWAO2017-07-061-2/+2
|
* chansrv: include display number in chansrv log filenameKoichiro IWAO2017-07-061-5/+5
| | | | | since xrdp-chansrv may be run multiple instances per user. For example, Xvnc backend creates one session per screen geometry.
* travis: enable build test on v0.9 branchKoichiro IWAO2017-07-061-1/+1
| | | | it is the latest stable branch.
* move openssl calls to common/libssl.c, check for definesJay Sorg2017-06-223-41/+92
|
* int function should returnKoichiro IWAO2017-06-201-0/+2
|
* sesman: exit with failure status if listen failedKoichiro IWAO2017-06-201-3/+55
|
* xrdp: exit main process with failure status if listen failed (daemon mode)Koichiro IWAO2017-06-203-1/+64
|
* xrdp: exit with failure status if listen failed (foreground mode)Koichiro IWAO2017-06-201-2/+11
|
* xrdp: xrdp_listen_main_loop pass through trans_listen_address return valueKoichiro IWAO2017-06-201-2/+3
|
* sesman: install empty reconnectwm.sh as a templateKoichiro IWAO2017-06-202-1/+5
| | | | | | as it was undocumented and few people know reconnectwm.sh is executed on client reconnect. The behaviour of startwm.sh / reconnectwm.sh should be documented. This is a first step of documenting them.