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
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
8 years ago
Pavel Roskin
6ed4c969f4
Eliminate APP_CC and DEFAULT_CC
8 years ago
Jay Sorg
3b84314a1a
arch.h changes to include stdint.h
8 years ago
Jay Sorg
9a517b34f0
vnc: code cleanup
8 years ago
Pavel Roskin
6fef1e4eb5
Use const pointers in function arguments when possible
8 years ago
jsorg71
8353baab3d
Merge pull request #390 from proski/june21
...
Cleanups and C++ compatibility
8 years ago
speidy
c9b55e3691
sesman: env_set_user, fix potential bof issues
8 years ago
Pavel Roskin
a24df49241
Introduce glib style macros for allocating memory with type
9 years ago
Pavel Roskin
aeeb3d2c2e
Fix warnings detected by -Wwrite-strings
9 years ago
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.
9 years ago
Pavel Roskin
55e12a09d8
Include config_ac.h from common/os_calls.h to enable all format warnings
9 years ago
jsorg71
034ee36f9c
Merge pull request #341 from proski/sanity-checks
...
Sanity checks
9 years ago
Jay Sorg
689ffe79d9
fix warnings, move some calls to os_calls
9 years ago
Jay Sorg
7393579205
Don't attempt to intercept SIGKILL, it doesn't work on any OS
9 years ago
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.
9 years ago
Jay Sorg
ab3b8edf4a
common: change wait objs to use 'pipe' and remove per process temp directories in /tmp/.xrdp/
9 years ago
Jay Sorg
5c08ece708
common: add g_mirror_memcpy
9 years ago
Jay Sorg
6b0bbbeefa
common: merge from a8
10 years ago
Jay Sorg
1934c9ea00
sesman: more options for session lookup from Fredy Paquet
11 years ago
Jay Sorg
374633e63f
common: no logic change, update comments
11 years ago
Jay Sorg
43e388b7e5
remove some warning, move gethostname to os_calls
11 years ago
Jay Sorg
48228cae2e
common: added shm to os_calls
11 years ago
Jay Sorg
25369460a1
log client ip with pid, etc
11 years ago
Jay Sorg
7176f14647
added options to set tcp send and recv buffer sizes
11 years ago
Jay Sorg
b598e258a4
add pid logging
11 years ago
Jay Sorg
3acea31439
common: added g_signal_segfault to header
11 years ago
Jay Sorg
1a616a1b46
move text2bool to os_calls
11 years ago
Laxmikant Rashinkar
6ad1d7f78d
folder redirection: fixed language issues
12 years ago
Jay Sorg
a1ca415615
ipv6
12 years ago
Jay Sorg
d9c0af1e78
ipv6
12 years ago
Jay Sorg
8b71f48f7b
adding ipv6 support
12 years ago
LawrenceK
a52dbba1a5
Add g_strchr to os_calls
12 years ago
Jay Sorg
82a8366fc0
added getgid to os_calls
12 years ago
Jay Sorg
e07dd5afb5
added a file open funtion
12 years ago
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
12 years ago
ArvidNorr
d2903cd1fc
Merge pull request #28 from ArvidNorr/tcp_nodelay
...
Support for TCP keepalive and TCP no_delay added
13 years ago
norrarvid
e5fb05e9cb
Support for TCP keepalive and TCP no_delay added
13 years ago
norrarvid
02f3fe1e2a
Improved error handling for module load and init, fixed bug in logwindow
13 years ago
Jay Sorg
62bf3c61f5
xrdp: pid file fixes
13 years ago
Jay Sorg
bde5dd6671
added g_close_wait_obj and size parameter to g_write_ip_address
13 years ago
Jay Sorg
cadad6e181
/tmp cleanup
13 years ago
Jay Sorg
35a22ac307
common: added signal for usr1
13 years ago
Jay Sorg
f10e5bbfd5
fix for https://bugzilla.redhat.com/show_bug.cgi?id=782619
13 years ago
Jay Sorg
c5b1b0fe45
added g_chown
14 years ago
Nicola Ruggero
d797b2cf49
Implemented client IP logging
14 years ago
Nicola Ruggero
4cf06dbbcb
Major code cleanup:
...
- Initialized and zeroed out local variables
- Check for some null pointers
- Fixed some typos
- Other minor changes (beautify, etc.)
14 years ago
Jay Sorg
1e8b5ea2cd
bind to specific address
14 years ago
Jay Sorg
bb7898419f
update copyright year
14 years ago
jsorg71
0156c1448d
const char for atoi
15 years ago