xrdp/libxrdp
matt335672 79bec8110c Unify connection fields for the connected client
The connected client is currently described in two places in
the xrdp_client_info structure:-

1) In the connection_description field. This was introduced as
   field client_ip by commit d797b2cf49
   for xrdp v0.6.0

2) In the client_addr and client_port fields introduced by commit
   25369460a1 for xrdp v0.8.0

This commit unifies these two sets of fields into a single
set of fields describing the connection IP and port (for
AF_INET/AF_INET6 connections only) and a connection description
for all connection types.

The code in os_calls to provide client logging has been simplified
somewhat which should make it easier to add new connection types (e.g.
AF_VSOCK).

The old connection_description field used to be passed to sesman to
inform sesman of the IP address of the client, and also to provide
a string for 'C' field session policy matching. 'C' field session policy
matching does not actually need this string (see #2239), and so now only
the IP field is passed to sesman.
2022-05-18 12:35:07 +01:00
..
Makefile.am Move DRDYNVC_STATUS_* to xrdp_channel.h 2022-02-14 14:53:37 -05:00
libxrdp.c Fix off-by-one errors in monitor resize logic 2022-04-08 12:11:14 +01:00
libxrdp.h Relaxed Channel Join PDU requirements for non-TLS 2022-05-18 12:18:23 +01:00
libxrdpinc.h Updating to refactor xrdp_client_info 2022-03-27 16:38:32 -04:00
xrdp_bitmap32_compress.c Fixing code formatting with astyle 2020-11-30 05:04:11 +00:00
xrdp_bitmap_compress.c Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
xrdp_caps.c Updating to refactor xrdp_client_info 2022-03-27 16:38:32 -04:00
xrdp_channel.c Minor logging fixes in xrdp_iso.c 2022-02-15 08:29:42 -05:00
xrdp_channel.h Move DRDYNVC_STATUS_* to xrdp_channel.h 2022-02-14 14:53:37 -05:00
xrdp_fastpath.c Add detailed logging to libxrdp (#1742) 2021-02-04 10:11:54 +00:00
xrdp_iso.c Minor logging fixes in xrdp_iso.c 2022-02-15 08:29:42 -05:00
xrdp_jpeg_compress.c Changing LOG_DEVEL to LOG to avoid silent failures. 2020-12-05 19:22:50 +00:00
xrdp_mcs.c Relaxed Channel Join PDU requirements for non-TLS 2022-05-18 12:18:23 +01:00
xrdp_mppc_enc.c Add detailed logging to libxrdp (#1742) 2021-02-04 10:11:54 +00:00
xrdp_orders.c Add detailed logging to libxrdp (#1742) 2021-02-04 10:11:54 +00:00
xrdp_orders_rail.c Add detailed logging to libxrdp (#1742) 2021-02-04 10:11:54 +00:00
xrdp_orders_rail.h Eliminate APP_CC and DEFAULT_CC 2017-03-14 00:21:48 -07:00
xrdp_rdp.c Unify connection fields for the connected client 2022-05-18 12:35:07 +01:00
xrdp_sec.c Log connected client version 2022-05-18 12:18:23 +01:00
xrdp_surface.c Changing LOG_DEVEL to LOG to avoid silent failures. 2020-12-05 19:22:50 +00:00