jsorg71
8249091183
Merge pull request #332 from metalefty/freebsd/ipv6
...
common: add log for g_tcp_connect
2016-05-05 22:00:51 -07:00
Jay Sorg
bd6c38af4d
common: fix warnings
2016-04-02 16:49:23 -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
Koichiro IWAO
9460bdb643
common: no logic change, indent 2 -> 4
2016-02-23 18:26:42 +09:00
Koichiro IWAO
d01854a341
common: no logic change, fix alignment, whitespaces
2016-02-23 18:26:41 +09:00
Koichiro IWAO
1ed7dbec53
common: add log for g_tcp_connect
...
in case getaddrinfo(3) might fail.
In FreeBSD, AI_V4MAPPED support for getaddrinfo(3) was very recently
implemented[1]. Most of FreeBSD systems in the world do not have
this implementation yet. This will be a problem when AI_V4MAPPED
isn't supported and xrdp is built with IPv6 option. In such a case,
g_tcp_connect always fails.
Of course getaddrinfo(3) might fail in other cases. The log helps
us to know what's happening.
[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198092
2016-02-23 18:18:28 +09:00
Pavel Roskin
92a6833e9b
Fix typos
2016-02-13 20:41:07 -08:00
Itamar Reis Peixoto
08121e0840
Merge pull request #254 from metalefty/freebsd/ipv6
...
Unbreak IPv6 on FreeBSD and add IPv6-only option
2016-02-08 22:40:05 -02:00
Pavel Roskin
964e860072
Run through codespell
2016-01-14 08:47:50 -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
Koichiro IWAO
536ee41c5e
common: add --enable-ipv6only option
2015-07-02 15:08:56 +09:00
Koichiro IWAO
5bc0453605
common: drop ipv6 autodetection only valid for linux
2015-07-02 15:08:55 +09:00
Koichiro IWAO
1f844b2d0e
common: workaround for #146
2015-03-18 08:46:23 +00:00
Koichiro IWAO
278e957dd7
common: add experimental --enable-ipv6 option
2015-03-10 14:05:13 +09:00
Jay Sorg
6b0bbbeefa
common: merge from a8
2014-11-07 22:10:59 -08:00
Laxmikant Rashinkar
0311a82c0a
coverity: copy into fixed sized buffer
2014-07-27 12:42:12 -07:00
Laxmikant Rashinkar
1c423dadf4
coverity: copy into fixed sized buffer
2014-07-26 16:33:36 -07:00
Laxmikant Rashinkar
a990287c46
coverity: fixed unchecked return value from library
2014-07-20 13:14:09 -07:00
Jay Sorg
1934c9ea00
sesman: more options for session lookup from Fredy Paquet
2014-04-20 00:42:19 -07:00
Jay Sorg
aa983d2b46
common: fix for clearing environment vars in BSD
2014-04-17 21:40:30 -07:00
Jay Sorg
43e388b7e5
remove some warning, move gethostname to os_calls
2014-02-08 21:48:44 -08:00
Jay Sorg
4e6d57dbe5
common: some notes and compile fixes
2014-02-08 18:05:52 -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
Laxmikant Rashinkar
ece8f1fb47
gracefully handle segfaults in chansrv code
2013-09-03 19:44:20 -07:00
Jay Sorg
1a616a1b46
move text2bool to os_calls
2013-08-24 22:41:44 -07:00
Jay Sorg
cd0a8721d1
disable ipv6 for now
2013-05-06 17:45:30 -07:00
Jay Sorg
2ed8b31a11
ipv6
2013-04-04 01:31:51 -07:00
Jay Sorg
d9c0af1e78
ipv6
2013-04-03 23:06:08 -07:00
Jay Sorg
54463affaf
autodetect ipv6
2013-04-03 00:54:52 -07:00
Jay Sorg
8b71f48f7b
adding ipv6 support
2013-04-03 00:16:52 -07:00
Jay Sorg
cae3b1b0f1
ipv6 started pushing bits
2013-04-02 02:08:10 -07:00
ArvidNorr
fb7294ed26
small len fixes
2013-01-31 20:17:42 +01:00
ArvidNorr
975d44e99f
More logging added
2013-01-18 10:24:25 +01: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
Jay Sorg
4e92468262
output error when set socket opt fails
2012-07-23 11:06:04 -07:00
Jay Sorg
7dc5a77116
common: no logic changes, code cleanup
2012-06-23 16:22:38 -07:00
ArvidNorr
d2903cd1fc
Merge pull request #28 from ArvidNorr/tcp_nodelay
...
Support for TCP keepalive and TCP no_delay added
2012-06-18 00:00:05 -07:00
ArvidNorr
1011b4a256
Merge pull request #22 from ArvidNorr/moduleload
...
Moduleload
2012-06-17 23:14:40 -07:00
norrarvid
31a5dd33dd
minor layout fixes
2012-06-18 08:11:26 +02:00
Jay Sorg
fcfd14fefd
common: fix some warnings
2012-06-11 20:10:56 -07:00
Jay Sorg
dbd2cbca8e
syslog: cs/minor changes
2012-06-04 12:51:22 -07:00
Jay Sorg
5cd7e29a9f
Merge remote branch 'syslog3/syslog3'
2012-06-04 01:11:16 -07:00
norrarvid
e5fb05e9cb
Support for TCP keepalive and TCP no_delay added
2012-06-04 10:11:11 +02:00
norrarvid
02f3fe1e2a
Improved error handling for module load and init, fixed bug in logwindow
2012-05-30 07:40:06 +02:00
norrarvid
2109d7a044
merge comments defines and simplified function
2012-05-29 13:24:23 +02:00
norrarvid
a45f993bfe
added comments, added define, removed unused inparameter
2012-05-29 12:46:56 +02:00
norrarvid
4d4ebbf363
Initial syslog support in XRDP
2012-05-27 17:17:39 +02:00
Jay Sorg
62bf3c61f5
xrdp: pid file fixes
2012-05-26 21:20:19 -07:00
Jay Sorg
bde5dd6671
added g_close_wait_obj and size parameter to g_write_ip_address
2012-05-26 17:24:04 -07:00
Jay Sorg
c7bd96ba85
xrdp: added -f command line option to fork on connections
2012-05-26 13:23:02 -07:00
Jay Sorg
cadad6e181
/tmp cleanup
2012-02-14 13:45:24 -08:00
Jay Sorg
2225aa80ad
fork change
2012-02-14 00:03:32 -08:00
Jay Sorg
35a22ac307
common: added signal for usr1
2012-02-12 22:27:51 -08:00
Jay Sorg
d8f9e8310d
move temp files from /tmp to /tmp/.xrdp
2012-02-11 13:56:27 -08:00
Jay Sorg
4ff502aa4b
fix init error
2012-02-06 00:02:00 -08:00
Jay Sorg
f10e5bbfd5
fix for https://bugzilla.redhat.com/show_bug.cgi?id=782619
2012-02-05 23:26:15 -08:00
Jay Sorg
c5b1b0fe45
added g_chown
2011-07-07 09:09:03 -07:00
Nicola Ruggero
d797b2cf49
Implemented client IP logging
2010-11-04 12:14:03 +01:00
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.)
2010-11-03 16:59:26 +01:00
Jay Sorg
1e8b5ea2cd
bind to specific address
2010-10-19 21:23:13 -07:00
jsorg71
0156c1448d
const char for atoi
2010-08-09 22:52:26 +00:00
jsorg71
530344462e
fixes for hppa
2010-02-22 21:17:31 +00:00
jsorg71
2a7c40dad8
add unix socket to trans
2009-09-05 03:29:43 +00:00
jsorg71
18a5e7917d
fix warnings
2009-08-20 21:17:29 +00:00
jsorg71
33b4e7f417
channel fixes
2009-08-15 02:49:13 +00:00
jsorg71
eeac7c938a
add extended log output
2009-08-05 06:16:05 +00:00
jsorg71
48e06d5267
remove g_signal and change g_waitpid to check for signal
2009-05-29 02:03:10 +00:00
jsorg71
d9ba6c30ca
remove g_set_file_rights since g_file_open sets the bits right
2009-05-19 05:04:24 +00:00
jsorg71
c6b9952fa2
work on chansrv
2009-04-20 04:31:24 +00:00
jsorg71
108cc8f030
fix some minor error issues
2009-04-19 17:13:56 +00:00
jsorg71
6c5f82fd04
update copyright year
2009-02-02 08:01:44 +00:00
jsorg71
c69bb282d4
added g_signal_* functions
2008-12-30 07:38:56 +00:00
jsorg71
9317386e74
add pid to event names
2008-12-01 09:37:08 +00:00
jsorg71
b768e8fb5d
remove unset_signals
2008-11-10 01:50:04 +00:00
jsorg71
4fb3a1a547
added HAVE_CONFIG_H
2008-08-10 06:14:14 +00:00
jsorg71
bb87afc364
added getuid function
2008-05-08 01:39:54 +00:00
jsorg71
85e42c068c
socket options fixes
2008-04-05 08:01:29 +00:00
jsorg71
11c5d72c55
wait objs function changes
2008-04-04 06:50:39 +00:00
jsorg71
53fce709d4
added wait obj functions
2008-03-31 11:07:55 +00:00
jsorg71
38b789e81f
update copyright year
2008-01-30 07:30:10 +00:00
jsorg71
3b85502657
fix warning
2007-12-24 03:09:19 +00:00
jsorg71
7f8ba596fe
add comments
2007-12-16 09:52:41 +00:00
jsorg71
d3fa8fd6f6
added g_strtrim
2007-10-27 05:53:19 +00:00
jsorg71
b7e71971a1
remove CLK_TCK, not always defined
2007-10-15 04:36:25 +00:00
jsorg71
5a2d2d67b5
added g_htoi
2007-10-15 03:47:26 +00:00
jsorg71
a432f91bc6
added g_time2 function
2007-10-03 22:24:29 +00:00
jsorg71
aa3ec01312
added g_file_get_size function
2007-09-26 07:14:22 +00:00
jsorg71
065c9b6a24
return value var
2007-09-23 07:52:17 +00:00
jsorg71
7a7b0c53fa
removed some warnings about wchar_t
2007-09-21 20:38:03 +00:00
jsorg71
f0a2f53e30
unicode
2007-09-21 07:22:29 +00:00
jsorg71
d5a89b8ce1
added init and deinit functions and windows unicode fixes
2007-09-15 05:48:13 +00:00
jsorg71
f82cf80d4f
make sure malloc didn't return nil
2007-07-26 05:40:27 +00:00
jsorg71
31fca99db7
don't set send buffer size unless its less than 32k
2007-06-11 23:17:51 +00:00
jsorg71
411d7deaf5
improve win32 random
2007-06-07 22:17:26 +00:00
jsorg71
8feaa527bc
added tcp_socket_ok to test socket status
2007-04-11 03:44:46 +00:00
jsorg71
02cd95ebef
copyright year update
2007-01-12 05:01:58 +00:00
jsorg71
d6e5f1996e
added EINPROGRESS as a valid blocking errno
2006-12-20 06:30:08 +00:00
jsorg71
e70c98548c
added calling convention defaults for os_calls
2006-12-12 06:34:17 +00:00
jsorg71
f9e6578ed9
removed sleep calls from xrdp_tcp
2006-12-09 20:53:48 +00:00
jsorg71
ea3f8ba0b7
added g_tcp_can_send
2006-12-09 20:28:41 +00:00
jsorg71
00d8b7106f
commit patch 1589325, slightly modified - code cleanup
2006-11-04 22:05:06 +00:00
jsorg71
cf00c1707d
g_chmod to g_chmod_hex
2006-10-28 03:28:59 +00:00
jsorg71
bd252214a3
added g_create_dir, g_directory_exist, g_remove_dir, and g_chmod
2006-10-27 04:14:04 +00:00
jsorg71
0a7dc2b687
copyright changes on some files
2006-10-12 04:46:40 +00:00
jsorg71
3c3fb960dc
set some default socket options
2006-10-04 03:48:58 +00:00
jsorg71
3e8572623c
win32 fix
2006-09-29 23:50:28 +00:00
jsorg71
acc5edf33d
got g_file_open working with read only files and added an exe function
2006-09-18 04:37:05 +00:00
jsorg71
1747f52ec6
added comments
2006-08-23 03:44:30 +00:00
jsorg71
1311fcb6bd
comment return value of g_initgroups function
2006-08-22 06:26:21 +00:00
jsorg71
2b054f9757
added -ac to Xserver start params
2006-08-14 05:09:58 +00:00
jsorg71
ffce76ed5c
fix for g_file_open
2006-08-06 20:36:26 +00:00
ilsimo
5a6f8dfea5
adding initgroups() to support multiple user groups
2006-07-01 14:25:12 +00:00
jsorg71
e0cc29d381
added some comments
2006-06-18 04:59:19 +00:00
jsorg71
2990d6daa7
some solaris fixes and add some funcs for sesman
2006-04-23 21:30:02 +00:00
jsorg71
da4f53d48c
fix an error in tcp_select
2006-03-25 17:12:15 +00:00
jsorg71
b65409683b
copyright year updates
2006-03-21 02:05:38 +00:00
ilsimo
fade58ba2b
added g_strcmp
2006-01-11 22:04:08 +00:00
jsorg71
c46c748148
added g_time1 function
2005-12-10 02:26:26 +00:00
jsorg71
6e3945622e
fix sentinel warning
2005-12-08 23:38:50 +00:00
jsorg71
a142d70a49
more win32 stuff
2005-11-28 01:19:38 +00:00
jsorg71
754efcabb1
<lf><cr> should be <cr><lf>
2005-11-26 01:38:08 +00:00
jsorg71
9df403d523
win32 changes
2005-11-07 00:04:11 +00:00
jsorg71
97b1407d91
added file delete
2005-11-05 23:51:10 +00:00
jsorg71
69693b9a8e
bsd compatable clearenv
2005-10-11 04:35:07 +00:00
jsorg71
5d1c7fb6b5
case insesitive file sections
2005-09-25 04:08:26 +00:00
jsorg71
f96037123d
opps, need an ifdef
2005-08-18 00:14:34 +00:00
jsorg71
b51098f521
add pos and unset_signals funcs
2005-08-14 02:23:20 +00:00
jsorg71
2f4ea16051
got vnc mod working in win32
2005-07-13 01:07:00 +00:00
jsorg71
666b5dd175
SIGCHLD can differ
2005-07-11 00:41:07 +00:00
jsorg71
7ffee77e6d
use os_call in sesman
2005-07-10 00:25:31 +00:00
jsorg71
41df89c7f2
moved some files around
2005-06-28 03:04:36 +00:00
jsorg71
4c8ffafc9a
added strncmp
2005-04-02 20:54:54 +00:00
jsorg71
bca2f57fe8
memleak cleanup and fix crash
2005-03-26 04:54:42 +00:00
jsorg71
8797367403
shutdown socket when closing
2005-03-13 01:35:55 +00:00
jsorg71
ed041b7983
added get_threadid
2005-03-12 15:50:19 +00:00
jsorg71
5140dac0f5
makefile and header changes
2005-03-11 02:23:30 +00:00
jsorg71
777893bdd6
some ints should be long
2005-03-08 03:31:14 +00:00
jsorg71
8e807eefd2
moved some functions around and changed some ifdefs
2005-03-01 01:14:37 +00:00
jsorg71
8defc32e27
readability and 64 bit changes
2005-02-20 06:06:26 +00:00
jsorg71
97b2519fd4
fix thread leak, gota detach
2005-02-17 01:38:32 +00:00
jsorg71
cf6e2abd41
added a bunch of error checks
2005-02-08 03:45:30 +00:00
jsorg71
0aff0efb52
added session manager and fixed disconnect problems
2005-01-30 04:34:19 +00:00