Koichiro IWAO
ac5987cf13
Prepare release v0.9.4
7 years ago
Koichiro IWAO
d94e43a49e
update sumbodules to the latest release
7 years ago
Koichiro IWAO
f9ab4df7f2
common: fix g_write_ip_address() didn't return correct IP address
...
Fixes : #878 .
7 years ago
cocoon
8ded88a0c6
Fixes #414
7 years ago
speidy
36eda1bcbb
tcutils: fix WTSVirtualChannelWrite return codes check according to API change
7 years ago
speidy
fad2c57cd6
xrdpvr: adjust xrdpvr_write_to_client to xrdpapi API change
7 years ago
speidy
d15d32c593
xrdpapi: change WTSVirtualChannelWrite return values to be consistent with WTSVirtualChannelRead
7 years ago
Koichiro IWAO
26394870e5
sesman: delete socket files when session exits
7 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.
7 years ago
Koichiro IWAO
e6b7d12191
xrdp: accept full path for ls_background_image
...
because ls_logo_filename accepts full path.
7 years ago
Koichiro IWAO
9ca52b05da
add Belgian keyboard
7 years ago
Koichiro IWAO
a094c65aaf
Release v0.9.3.1
7 years ago
Koichiro IWAO
22dc148802
instfiles: don't include generated *.services files in distribution
...
Solves #848 .
Pointed out by: Fuminobu TAKEYAMA (@ftake)
7 years ago
Jay Sorg
d9b929c185
chansrv: sound, fdk-aac, avoid 1 item array items
7 years ago
Jay Sorg
152318ad7c
use pkg-config to configure with fdk-aac
7 years ago
Jay Sorg
4f91a52109
chansrv: sound, remove a do not know and a comment
7 years ago
Jay Sorg
021a78f4c6
chansrv: sound, use WAVE_FORMAT_AAC not WAVE_FORMAT_AAC_MS
7 years ago
Jay Sorg
bf0d56c314
chansrv: sound, add aac
7 years ago
Jay Sorg
8ac35d7ed1
chansrv: sound, handle skips in audio acks
7 years ago
matt335672
4023aa7f1c
xfuse_create_share() called before xfuse_init()
...
* Initialise inode table in `xfuse_create_share()` if necessary
* Add guard to `xfuse_init_xrdp_fs()` to prevent double initialisation of the inode table
7 years ago
Koichiro IWAO
4d14f344fd
fix indent, no logic change
7 years ago
Koichiro IWAO
b34fc6da55
don't use hard coded constant values
7 years ago
Koichiro IWAO
df32f74519
use g_free()
7 years ago
Koichiro IWAO
04187945a8
move base64 functions to base64.c
7 years ago
Koichiro IWAO
c40baf03e6
docs: document base64 prefill credentials
7 years ago
Koichiro IWAO
a89cb93bc7
decode base64 login window parameter
...
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.
7 years ago
Koichiro IWAO
eae5cdf1fd
pass through except for the first '='
...
if "foo=ba=r" is found in ini files, it should be parsed like this.
key : foo
value : ba=r
7 years ago
Koichiro IWAO
d57e02626d
add base64_decode function
7 years ago
Koichiro IWAO
05ef6d104e
sesman: search pam files also in ${sysconfdir}/pam.d
...
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
7 years ago
Koichiro IWAO
e990dd4263
chansrv: remove trailing space
7 years ago
Koichiro IWAO
ca24572fd5
chansrv: use switch-case to support more codecs
7 years ago
Koichiro IWAO
dbaf23e93b
chansrv: constify wFormatTag
7 years ago
Koichiro IWAO
9f8a902476
Add a pam file for FreeBSD
...
as existing xrdp-sesman.unix doesn't suit FreeBSD.
7 years ago
Ben Cohen
8b4d057af2
Allow UDS connection from non-root users
...
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.
7 years ago
Ian Geiser
324a334315
append a / to ensure the full path is created even when the config variable lacks a trailing /
7 years ago
Koichiro IWAO
aaa40edefb
NEWS: pulralize glitches
7 years ago
Koichiro IWAO
aa0721a90e
common: fix more glitches in IPv4 initialization
7 years ago
Ian Geiser
4b87548b71
Use g_create_path instead of g_create_dir
...
Rename g_mk_temp_dir to g_mk_socket_path
7 years ago
Koichiro IWAO
59a7e8aedf
fix typo (copy & paste mistake)
7 years ago
Koichiro IWAO
502998b8fe
Update release date
7 years ago
Koichiro IWAO
7ee187f35b
Update NEWS
7 years ago
Koichiro IWAO
858e6149f0
fix typo
7 years ago
Koichiro IWAO
6f8eacd72b
sesman: make sure socket directory present
...
before try to create a domain socket.
Originally proposed by Ian Geiser (geiseri).
7 years ago
Koichiro IWAO
8d5010a202
common: use log_message
7 years ago
Jay Sorg
b6bd8acef1
sesman: move auth_start_session, auth_stop_session, and auth_end to child process
7 years ago
Jay Sorg
9d36983ae7
fix for protocol error when 32 bit and non rfx
7 years ago
Koichiro IWAO
8c74fcb80c
common: fix a glitch with IPv4 struct initialization
...
Pointed out by: andrecbarros
Closes : #803
7 years ago
Koichiro IWAO
73a37a5441
Prepare release v0.9.3
7 years ago
Koichiro IWAO
e0b73bf700
update submodules to their release tag head commit
7 years ago
Koichiro IWAO
b83b5510f4
Fix Xvnc backend disconnects when some data copied to clipboard
...
Should fix #755 .
7 years ago