matt335672
ce23c824ea
Merge pull request #1976 from matt335672/fail2ban_support
...
Fail2ban support (#1076 )
2021-11-18 10:11:12 +00:00
matt335672
50e37bf673
Add more file info functions
...
- g_file_get_device_number()
- g_file_get_inode_num()
2021-10-25 15:24:27 +01:00
matt335672
5fb621ca53
Logged IP address for fail2ban on login failure
2021-10-25 11:35:35 +01:00
matt335672
60016c1f75
Rename client_ip to connection_description
2021-10-25 11:35:35 +01:00
Alexandre Quesnel
52707ac686
Fixing formatting with astyle
2021-05-08 16:58:11 +00:00
Alexandre Quesnel
f5e4b53b11
Add logging to g_exec*() functions
2021-04-14 04:41:53 +00:00
Alexandre Quesnel
bb9d3079c0
Fixing formatting with astyle in common/*
2021-03-14 23:33:31 +00:00
matt335672
0a1a8f40e5
Moved a lot of string funcs to string_calls module
2020-12-22 11:57:24 +00:00
matt335672
5523847540
Allow FuseMountName for chansrv to be absolute path
2020-12-21 12:36:31 +00:00
Bolke de Bruin
a6a0e5e004
Allow domain name to be concatenated to username
...
If a server is multihomed (i.e. mutiple domains) the
users are identified by their domain name. This change
allows to concat the domain name to the username with
a specific separator.
2020-08-30 21:56:16 +02:00
Jay Sorg
ee65ccb31d
use address for tcp:// and tcp6:// and vsock://
2019-07-01 17:56:50 -07:00
Jay Sorg
0bc7803eaa
add TCP V4 and V6 only socket functions
2019-06-29 23:59:18 -07:00
Jay Sorg
26507644e3
vsock, move some defines
2017-11-07 18:20:45 -08:00
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.
2017-11-07 18:20:45 -08:00
Ian Geiser
4b87548b71
Use g_create_path instead of g_create_dir
...
Rename g_mk_temp_dir to g_mk_socket_path
2017-07-14 20:52:38 +09:00
Koichiro IWAO
65c1fe87d7
Log user-friendly message when certificate/privkey is inaccessible
...
We shouldn't assume that xrdp daemon is running under root privilege.
In many cases, root privilege is not really needed for xrdp daemon.
xrdp may fail to load certificate/privkey due to lack of permissions
when running under user privilege. Checking existence of files is not
enough and xrdp should output user-friendly log in such case.
Reported by Debian user in bug 856436 [1].
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856436
2017-06-12 16:57:04 +09:00
Pavel Roskin
6ed4c969f4
Eliminate APP_CC and DEFAULT_CC
2017-03-14 00:21:48 -07:00
Jay Sorg
3b84314a1a
arch.h changes to include stdint.h
2017-01-29 23:14:33 -08:00
Jay Sorg
9a517b34f0
vnc: code cleanup
2016-12-04 15:39:10 -08:00
Pavel Roskin
6fef1e4eb5
Use const pointers in function arguments when possible
2016-10-17 08:54:07 -07:00
jsorg71
8353baab3d
Merge pull request #390 from proski/june21
...
Cleanups and C++ compatibility
2016-08-05 14:38:41 -07:00
speidy
c9b55e3691
sesman: env_set_user, fix potential bof issues
2016-07-22 04:48:37 -04:00
Pavel Roskin
a24df49241
Introduce glib style macros for allocating memory with type
2016-07-08 04:29:49 +00:00
Pavel Roskin
aeeb3d2c2e
Fix warnings detected by -Wwrite-strings
2016-07-08 04:29:42 +00:00
Pavel Roskin
b1527b7947
Check string format in log_message
...
Move "printflike" definition to arch.h, it's used both by log.h and
os_calls.h.
2016-06-21 16:30:16 -07:00
Pavel Roskin
55e12a09d8
Include config_ac.h from common/os_calls.h to enable all format warnings
2016-04-21 21:20:12 -07:00
jsorg71
034ee36f9c
Merge pull request #341 from proski/sanity-checks
...
Sanity checks
2016-03-16 20:51:58 -07:00
Jay Sorg
689ffe79d9
fix warnings, move some calls to os_calls
2016-03-16 14:32:14 -07:00
Jay Sorg
7393579205
Don't attempt to intercept SIGKILL, it doesn't work on any OS
2016-03-14 16:33:49 -07:00
Pavel Roskin
9091c3eef2
Annotate printf-like functions if supported by the compiler
...
Both GCC and Clang support it. Add a macro from Autoconf archive to check
for format attribute support.
2016-03-03 22:56:09 -08:00
Jay Sorg
ab3b8edf4a
common: change wait objs to use 'pipe' and remove per process temp directories in /tmp/.xrdp/
2015-10-06 20:55:47 -07:00
Jay Sorg
5c08ece708
common: add g_mirror_memcpy
2015-08-18 17:14:09 -07:00
Jay Sorg
6b0bbbeefa
common: merge from a8
2014-11-07 22:10:59 -08:00
Jay Sorg
1934c9ea00
sesman: more options for session lookup from Fredy Paquet
2014-04-20 00:42:19 -07:00
Jay Sorg
374633e63f
common: no logic change, update comments
2014-03-01 23:26:40 -08:00
Jay Sorg
43e388b7e5
remove some warning, move gethostname to os_calls
2014-02-08 21:48:44 -08:00
Jay Sorg
48228cae2e
common: added shm to os_calls
2014-01-28 10:38:36 -08:00
Jay Sorg
25369460a1
log client ip with pid, etc
2013-10-02 16:27:12 -07:00
Jay Sorg
7176f14647
added options to set tcp send and recv buffer sizes
2013-10-02 12:52:35 -07:00
Jay Sorg
b598e258a4
add pid logging
2013-10-01 22:42:12 -07:00
Jay Sorg
3acea31439
common: added g_signal_segfault to header
2013-09-09 15:20:49 -07:00
Jay Sorg
1a616a1b46
move text2bool to os_calls
2013-08-24 22:41:44 -07:00
Laxmikant Rashinkar
6ad1d7f78d
folder redirection: fixed language issues
2013-06-08 18:44:21 -07:00
Jay Sorg
a1ca415615
ipv6
2013-04-03 23:06:40 -07:00
Jay Sorg
d9c0af1e78
ipv6
2013-04-03 23:06:08 -07:00
Jay Sorg
8b71f48f7b
adding ipv6 support
2013-04-03 00:16:52 -07:00
LawrenceK
a52dbba1a5
Add g_strchr to os_calls
2012-12-20 07:02:41 +00:00
Jay Sorg
82a8366fc0
added getgid to os_calls
2012-10-29 20:30:48 -07:00
Jay Sorg
e07dd5afb5
added a file open funtion
2012-10-13 22:48:05 -07:00
Laxmikant Rashinkar
1123323fda
o moved from GNU General Public License to Apache License, Version 2.0
...
o applied new coding standards to all .c files
o moved some files around
2012-09-19 20:51:34 -07:00