Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry picks to v0 10 #3017

Merged
merged 8 commits into from
Apr 15, 2024
Merged

Conversation

matt335672
Copy link
Member

See #3010

matt335672 and others added 6 commits March 27, 2024 09:48
On Linux, the TCP send buffer size is increased to 32768 if it is less
that this (which it normally is). This however has the effect of disabling
dynamic buffer sizing, leading to a maximum available bandwidth of

max_bandwidth = 262144 (bits) / round_trip_time (secs)

This is not noticeable on a LAN with an RTT of around 0.5ms, but
very noticeable on a WAN with an RTT of 0.25s.

Comments in the config file and manpage in this area are improved, as
is the logging if the parameters are actually set.

(cherry picked from commit b23d6f8)
The '-lrt' added to the Makefile for the common library appears
to be unnecessary.

- On modern Linuxes, this library has been merged with libc, and the
  supplied library is empty.
- On older ones (e.g. Devuan 4), the library contains routines we
  do not use in xrdp (although we use 'shm_open()' in xorgxrdp).
- On FreeBSD 14 the library contains only mq_*  and timer_* routines
  which, again, are not required.

(cherry picked from commit e821edd)
This script now works the same way as cppcheck. The version to
be used is specified once in the github CI action

(cherry picked from commit b9fd19e)
The user socket directory needs to be SGID so that they inherit
the group ownnership. Then xrdp can write to them.

(cherry picked from commit 200e4d8)
- The command 'systemd-analyze syscall-filter' shows that the group
  @System-service added to the xrdp-service SystemCallFilter
  actually includes all of the other listed groups and individual
  services.  Consequently this line can be simplified to just specify
  @System-service.

- (reversion) The SystemCallErrorNumber setting in xrdp.service has been
  removed so that unauthorized system calls cause an immediate process exit.

(cherry picked from commit e0e9177)
@matt335672 matt335672 marked this pull request as ready for review April 12, 2024 10:17
@metalefty
Copy link
Member

@matt335672 Could you add #3013?

…rger than max_compressed_bytes

(cherry picked from commit 95bfb34)
(cherry picked from commit 898e1ca)
@matt335672
Copy link
Member Author

I've updated NEWS 0.10 for this, so I'll merge it now in preparation for the next beta.

@matt335672 matt335672 merged commit b45630e into neutrinolabs:v0.10 Apr 15, 2024
13 checks passed
@matt335672 matt335672 deleted the cherry_picks_to_v0_10 branch April 15, 2024 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants