Commit Graph

461 Commits

Author SHA1 Message Date
Jay Sorg
148c1f858c common: indent, no logic change to trans.h 2014-04-20 20:24:05 -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
da0d0e687a reduce the memory needed for crc16 bitmap cache lists 2014-03-15 21:59:16 -07:00
Jay Sorg
261d35eaac misc fixes for Xorg and compile 2014-03-14 12:23:12 -07:00
Laxmikant Rashinkar
963b95877a added a FIFO implementation 2014-03-12 19:43:14 -07:00
Jay Sorg
630f735a28 libxrdp: send, get, and use multi fragment max caps 2014-03-10 22:54:28 -07:00
jsorg71
1ce75182af Merge pull request #111 from speidy/fastpath
libxrdp: Fastpath input
2014-03-04 14:11:02 -08:00
Jay Sorg
374633e63f common: no logic change, update comments 2014-03-01 23:26:40 -08:00
speidy
1f1e803140 Merge ../../neutrinolabs/xrdp into fastpath
Conflicts:
	libxrdp/libxrdp.c
	libxrdp/libxrdp.h
	libxrdp/xrdp_iso.c
	libxrdp/xrdp_sec.c
	libxrdp/xrdp_tcp.c
	xrdp/xrdp.ini
2014-03-02 01:39:34 +02:00
Jay Sorg
f6fb5a32ed common: added some trans options used in fast path 2014-02-25 20:33:19 -08:00
Jay Sorg
25ad4d8a36 common: add more fips ssl calls 2014-02-23 20:40:13 -08:00
Jay Sorg
2921400083 common: check for nil in fips cleanup 2014-02-23 12:27:41 -08:00
Jay Sorg
926cd095fc common: added des3 calls for fips 2014-02-20 23:15:24 -08:00
Jay Sorg
b0a1832186 common: update client_info struct 2014-02-18 10:28:20 -08:00
speidy
80204e2536 libxrdp: work on fastpath input, added fastpath option to xrdp.ini 2014-02-11 00:28:43 +02: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
speidy
cbf5d50a5c libxrdp: work on fastpath input 2014-02-09 01:42:04 +02:00
speidy
113f2696fe libxrdp: work on fastpath 2014-02-08 13:34:01 +02:00
Jay Sorg
48228cae2e common: added shm to os_calls 2014-01-28 10:38:36 -08:00
Jay Sorg
02aa39c79d added keyboard type and subtype to struct xrdp_client_info 2014-01-12 18:24:07 -08:00
Jay Sorg
ff12a1d799 added tbool 2014-01-10 21:55:15 -08:00
Jay Sorg
3c218ad3f2 common: try to send data in trans_write_copy 2013-12-04 15:27:49 -08:00
Jay Sorg
1deac46fdc common: add trans_get_wait_objs_rw to header 2013-12-04 15:26:23 -08:00
Jay Sorg
f221258610 common: add unknown arch check 2013-11-20 22:28:47 -08:00
Jay Sorg
4f45b4c065 added define for common types 2013-11-08 11:21:23 -08:00
speidy
92e876ea42 libxrdp: add monitorCount to client_info struct 2013-11-05 21:36:18 +02:00
speidy
0d2a4ce195 common: fix conflict 2013-10-30 19:47:26 +02:00
speidy
8cc619c223 libxrdp: work on multimon 2013-10-30 19:41:59 +02:00
Jay Sorg
9d8d31d02a common: restore xrdp_client_info order 2013-10-17 21:03:21 -07:00
Jay Sorg
5adbf2d32b libxrdp: some ISO_PDU_CR changes 2013-10-09 18:23:21 -07:00
Jay Sorg
086481395c Merge branch 'multimon' of git://github.com/speidy/xrdp into speidy-multimon
Conflicts:
	common/xrdp_client_info.h
	libxrdp/xrdp_iso.c
	libxrdp/xrdp_sec.c
2013-10-09 14:15:50 -07: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
c1b7cbd657 merges from authentic8 2013-09-26 11:28:07 -07:00
Jay Sorg
fc31ae1f48 trans: reset p when adding to trans list 2013-09-23 19:17:50 -07:00
Jay Sorg
3b743f64eb chansrv: deadlock, add trans copy func 2013-09-23 18:08:22 -07:00
Jay Sorg
dfd78c722b chansrv: fix for deadlock 2013-09-23 12:16:52 -07:00
speidy
2b0524ad7e libxrdp: work on RDP negotiation 2013-09-20 00:06:04 +03:00
Jay Sorg
f75b9143e2 VUL: make sure cache entries are in range 2013-09-10 16:18:21 -07:00
Jay Sorg
39ed446e15 VUL: fix some possible buffer overruns 2013-09-10 16:00:30 -07:00
Jay Sorg
3acea31439 common: added g_signal_segfault to header 2013-09-09 15:20:49 -07:00
Jay Sorg
68224550da common: update a copyright year 2013-09-09 15:20:01 -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
Jim Grandy
b7b3d9ef28 Hand-apply patches (misc) from Authentic8: b18667d 6d22ada 95d93a3 433b49c b96f85f 8c32c46 f87f6b3 c93cce0 26ce9ce 2013-08-22 12:56:51 -07:00
Jim Grandy
981741f55c Hand-apply patch (compositing) from Authentic8: 5d5e470 81c9c29 b0c2c10 27d8a01 a96a217 e512090 a9a6762 9c02bfa bd26fcc c0d29d9 676dd35 3b26737 2013-08-22 12:54:10 -07:00
Jim Grandy
1ae9a7f2b6 Hand-apply patches (drawing configuration) from Authentic8 branch: 34b92df f994298 38e2def 2013-08-22 12:49:41 -07:00
Jay Sorg
f17692adaa added out_uint64_le 2013-08-19 10:47:26 -07:00
Jay Sorg
e602a28d5c common: transport aware when app is terminating 2013-08-17 13:32:53 -07:00
Jay Sorg
6c07ee0ba3 added in_uint64_le 2013-08-05 20:14:20 -07:00
Laxmikant Rashinkar
474d17d556 xrdp: added support for forcing credentials on command line 2013-08-03 15:47:26 -07:00
Jay Sorg
fad70062d6 common: no logic change 2013-07-19 11:10:55 -07:00
speidy
a8e5b3fee5 libxrdp: work on multi-mon support 2013-07-15 10:13:03 +03:00
Jay Sorg
14a4ac5a79 libxrdp: started adding fastpath support 2013-07-09 21:34:20 -07:00
Laxmikant Rashinkar
78498f6682 Merge branch 'master' of github.com:neutrinolabs/xrdp 2013-06-08 18:44:34 -07:00
Laxmikant Rashinkar
6ad1d7f78d folder redirection: fixed language issues 2013-06-08 18:44:21 -07:00
Jay Sorg
c6fa03102f copyright year update 2013-06-08 10:51:53 -07:00
Jay Sorg
42329bda00 adding xrdp.ini option to turn off new cursors 2013-06-07 23:43:58 -07:00
Jay Sorg
d4d6a65adb merge from pmhahn 2013-05-29 00:11:14 -07:00
Laxmikant Rashinkar
89b7cd269e smartcard: developer checkin for smartcard support 2013-05-15 17:06:05 -07:00
Jay Sorg
cd0a8721d1 disable ipv6 for now 2013-05-06 17:45:30 -07:00
Jay Sorg
64fabbad68 got neutrinordp module building 2013-05-03 02:07:02 -07:00
Jay Sorg
19a9ed47dc xrdp: use full path for loading xrdp modules 2013-05-01 22:26:34 -07:00
Jay Sorg
8acdc403e3 common: fix for when [] is in comment 2013-04-25 00:19:14 -07:00
Jay Sorg
2ed8b31a11 ipv6 2013-04-04 01:31:51 -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
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
Jay Sorg
b107414b54 sync client_info struct with A8 2013-03-26 12:40:22 -07:00
Jay Sorg
494150f1a9 work on new(color) cursors 2013-03-12 22:50:10 -07:00
Jay Sorg
a47a3cee1a libxrdp: started adding new(color) cursor support 2013-03-12 20:04:18 -07:00
Laxmikant Rashinkar
78d4e19258 o early checkin for drive redirection
o basic drive redirection is working
o functions currently supported: open:
  read, write, create, get/set attribute
o requires latest NeutrinoRDP to work
o note: clipboard is broken because of the move from
        linked lists to inodes in the FUSE code
2013-03-08 15:37:30 -08:00
ArvidNorr
fe69d2f07b Comments and debug when blocking channels added. Fix for potential vulnerability in log.c 2013-02-01 10:00:39 +01:00
ArvidNorr
72c99794ee Merge pull request #59 from ArvidNorr/morelogging
More logging for debug and trace.
2013-01-31 11:22:43 -08:00
ArvidNorr
fb7294ed26 small len fixes 2013-01-31 20:17:42 +01:00
ArvidNorr
9aa0cb4e61 Merge pull request #58 from ArvidNorr/pam-cont
PAM additions mostly for a gateway situation
2013-01-31 07:17:42 -08:00
Philipp Hahn
1a4ed6d3fd xrdp: Fix format string vulnerability
The the string being printer contains a "%", this could crash xrdp.
2013-01-28 11:04:28 +01:00
Philipp Hahn
397089a207 sesman: Fix dist
Add missing header files to EXTRA_DIST.
Otherwise "make distcheck" fails.
2013-01-28 11:04:28 +01:00
ArvidNorr
975d44e99f More logging added 2013-01-18 10:24:25 +01:00
LawrenceK
e47a9cea97 Allow for any non 0 and the string to also be true. These are the tests used elsewhere in the xrdp code. 2013-01-17 11:31:01 +00:00
ArvidNorr
a2bbbd8cc3 Display PAM error in gateway setup, use domain name as IP/DNS, changed how the socket is closed 2013-01-16 01:28:35 -08:00
Jay Sorg
eb4209e932 libxrdp: added ini settings for bulk compressor 2013-01-06 23:56:40 -08: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
204d6bbde1 codecs: move jpeg hack to bitmap cache v3 2012-07-24 11:56:09 -07:00
Jay Sorg
6d539b8e22 user rfx for cache v3 if client supports 2012-07-23 11:12:39 -07:00
Jay Sorg
4e92468262 output error when set socket opt fails 2012-07-23 11:06:04 -07:00
Jay Sorg
e4182cde17 work on rdp codecs 2012-07-17 15:19:59 -07:00
Jay Sorg
01393af3e6 added support for bitmap cache v3 2012-07-17 12:59:03 -07:00
Jay Sorg
b211b9be91 fix a define conflict with freerdp 2012-07-17 10:05:26 -07:00
Jay Sorg
dc6be76b11 rail: proxy rail 2012-06-24 18:10:49 -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
4ba8cdc343 libxrdp: added RAIL caps 2012-06-14 15:15:00 -07:00
Jay Sorg
b52bf1b838 libxrdp: started adding RAIL support 2012-06-14 14:37:02 -07:00
Jay Sorg
fcfd14fefd common: fix some warnings 2012-06-11 20:10:56 -07:00
Jay Sorg
099a421c77 log: added path for when --prefix is used 2012-06-10 21:50:57 -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
cc3754a2bd xorg: work on offscreen bitmaps 2012-05-17 18:48:28 -07:00
Jay Sorg
e0fc7297f5 pass the client_info(caps) on to module and xserver 2012-05-13 13:56:15 -07:00
Jay Sorg
273cb8a376 update common/xrdp_constants.h 2012-05-10 21:06:24 -07:00
Jay Sorg
9da5248145 common: allow env vars to override .ini settings when value start with $ 2012-03-16 15:38:13 -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
Jay Sorg
0da32da2d8 add ssl init to common 2011-05-28 23:56:10 -07:00
Itamar Reis Peixoto
6b08b8b71e include missing files in make dist 2010-11-20 22:13:50 -02:00
Itamar Reis Peixoto
759757435e xrdp comestic patch from "Alessandro Briosi" <tsdogs@briosix.org> 2010-11-20 22:13:49 -02: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
Nicola Ruggero
104f762e5d Added bell (pcspeaker) support 2010-10-26 13:08:28 +02:00
Jay Sorg
368db23061 fix for 100% cpu when socket error 2010-10-20 22:46:32 -07:00
Jay Sorg
1e8b5ea2cd bind to specific address 2010-10-19 21:23:13 -07:00
Jay Sorg
bb7898419f update copyright year 2010-10-19 20:00:38 -07:00
jsorg71
d83ebaa97a use do ... while (0) style for parse.h 2010-08-09 23:02:06 +00:00
jsorg71
0156c1448d const char for atoi 2010-08-09 22:52:26 +00:00
jsorg71
b7cbc6a656 update copyright year and add tui64 type 2010-07-26 03:18:03 +00:00
jsorg71
27e097663f improve trans 2010-05-04 07:37:22 +00:00
jsorg71
530344462e fixes for hppa 2010-02-22 21:17:31 +00:00
jsorg71
6cf7c913f8 arm cpu needs align 2009-11-05 18:21:20 +00:00
jsorg71
a4461e04d3 allow ';' for comment too 2009-09-07 18:54:03 +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
23ffdb0c5f autotools fix and file_loc.h simplified 2009-05-19 04:23:49 +00:00
jsorg71
c6b9952fa2 work on chansrv 2009-04-20 04:31:24 +00:00
jsorg71
06e40d9304 add tintptr type 2009-04-19 20:03:02 +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
1e33ad14c3 added trans.c 2008-08-31 22:52:22 +00:00
jsorg71
643e22a6e5 added trans files 2008-08-22 06:08:11 +00:00
jsorg71
f77934a58e remove lib version 2008-08-15 02:49:41 +00:00
jsorg71
5ed8c4b4d4 added threadid_equal 2008-08-13 07:44:00 +00:00
jsorg71
4b768b3099 libcommon and version change 2008-08-12 05:46:40 +00:00
jsorg71
9885ba88fa change XRDP_KEYMAP_PATH to FILE and added SESMAN defines 2008-08-12 05:25:24 +00:00
jsorg71
4fb3a1a547 added HAVE_CONFIG_H 2008-08-10 06:14:14 +00:00
jsorg71
59a2d1dea6 build common as a library 2008-08-06 05:06:03 +00:00
jsorg71
c5fceb31ec autotools 2008-08-03 07:48:32 +00:00
jsorg71
bfe555e3b6 added brush cache bits for clients that support it 2008-06-24 05:43:10 +00:00
jsorg71
28d25ba682 fix mono cursor issue with librdp 2008-06-01 05:39:44 +00:00
jsorg71
bb87afc364 added getuid function 2008-05-08 01:39:54 +00:00
jsorg71
4b0ce3ac7c correct and add some path defines 2008-05-06 09:30:34 +00:00
jsorg71
68dfef87e3 renaming and moving install files 2008-05-03 00:22:25 +00:00
jsorg71
923dae5db9 update capability set defines 2008-05-01 05:56:19 +00:00
jsorg71
25af749cb1 add thandle 2008-05-01 05:54:51 +00:00
jsorg71
2363bd373b comment change 2008-04-15 05:36:35 +00:00
jsorg71
2cd8307610 added support for if OLD_RSA_GEN1 is defined and changed unsigned char to tui8 2008-04-15 02:27:31 +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
ilsimo
4c9d3862e5 updating logging subsystem 2008-02-20 22:02:24 +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
9876b42c46 move tsock 2007-12-16 10:50:58 +00:00
jsorg71
8af78369ea add tsock 2007-12-16 10:28:16 +00:00
jsorg71
7f8ba596fe add comments 2007-12-16 09:52:41 +00:00
jsorg71
d1c3842416 check if __BYTE_ORDER is defined 2007-12-16 09:34:59 +00:00
jsorg71
311b688ad7 long to tbus 2007-11-03 07:18:48 +00:00
jsorg71
ea7553f77c long to tbus 2007-11-03 06:03:46 +00:00
jsorg71
30492c0988 added by_name functions that can read any file size 2007-10-28 05:49:08 +00:00
jsorg71
d0c70a89b2 tbus 2007-10-27 07:02:28 +00:00
jsorg71
d3fa8fd6f6 added g_strtrim 2007-10-27 05:53:19 +00:00
jsorg71
ca37e8cb1d added ability to use keymap files and added capslock and shiftcapslock maps 2007-10-16 05:05:31 +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
4125491367 remove duplicate tbus 2007-09-27 17:24:21 +00:00
jsorg71
db2ecb2701 win64 tbus and win32 twchar 2007-09-27 17:19:53 +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
ef18f927df removed built in keygen funtion, wasn't working anyway 2007-09-21 21:37:54 +00:00
jsorg71
7a7b0c53fa removed some warnings about wchar_t 2007-09-21 20:38:03 +00:00