Hardening
9f1d0201ec
Changes for base64
...
This patch changes the prototype for decode_base64 so that the encode / decode
method are consistant (encode(BYTE *) => char* and decode(char*) => BYTE*).
It also does some improvements with unrolling loops so that end conditions are
tested only at the end.
The patch also adds some unitary tests.
Before the patch base64_decode() made valgrind complain about uninitialized
bits, after valgrind is happy and very quiet.
2014-05-11 22:49:10 +02:00
Marc-André Moreau
c1d727e9cd
freerdp: fix type build warnings
2014-05-09 15:44:49 -04:00
Marc-André Moreau
a202fe4057
freerdp: fix several type related warnings
2014-05-08 18:02:02 -04:00
Marc-André Moreau
b1c0a68f55
client/common: honor RedirectSmartCards, RedirectPrinters
2014-04-27 21:29:44 -04:00
Maks Naumov
1162b37602
fix check args count for 'parallel' cmd
2014-04-08 20:23:02 +03:00
Norbert Federa
18cb418c81
core: FIPS for fastpath and RDP security fixes
...
- fixed invalid stream position if extEncryptionMethods is not used
- enabled 56bit rdp security method
- fixed entropy reduction of the keys for 40 bit and 56 bit
- added rdp security incl. FIPS for fastpath output
- added FIPS encryption to fast path input
- fixed FIPS key generation in server mode
- fixed stream length correction in FIPS mode
- added rdp encryption for licensing packets (apparently some clients,
specifically cetsc, require the license packets received from the
server to be encrypted under certain RDP encryption levels)
- replace errnous virtual extended mouse event in focus in event
2014-04-02 14:17:39 +02:00
Marc-André Moreau
00e6463e1e
channels/rdpdr: robustness improvements
2014-03-26 11:05:12 -04:00
Marc-André Moreau
65ff98bb99
libfreerdp-core: fix /multimon and /span options
2014-03-25 14:39:21 -04:00
Marc-André Moreau
4c920506ed
libfreerdp-core: add 'Bypass RD Gateway server for local addresses' feature
2014-03-24 14:44:18 -04:00
Marc-André Moreau
4310089102
libfreerdp-core: add options for specifying compression level
2014-03-10 11:16:36 -04:00
Marc-André Moreau
c22490ec3b
xfreerdp: disable auto-reconnect by default, add command-line option
2014-02-27 16:55:07 -05:00
Marc-André Moreau
87be2e0f80
freerdp: add option to disable credentials delegation
2014-02-14 00:43:31 -05:00
Marc-André Moreau
8a44b2baa6
libfreerdp-core: add spn-class option
2014-02-12 00:43:02 -05:00
Marc-André Moreau
e968bb584e
xfreerdp: fix build warnings
2014-02-10 22:23:59 -05:00
Marc-André Moreau
5ff847a6e6
wfreerdp: fix multiple warnings
2014-02-10 01:06:11 -05:00
Marc-André Moreau
e8a9b7ff14
libfreerdp-core: fix ignored port settings for TS Gateway and vmconnect
2014-02-05 11:54:42 -05:00
Mike McDonald
02c9d07bcf
Fixes to process new command line options (autodetect, heartbeat, multitransport), join the MCS message channel and process auto-detect PDUs during the connection sequence.
2014-01-29 22:53:32 -05:00
Marc-André Moreau
eb20d0f770
freerdp: fix order of OrderSupport initialization
2013-12-10 12:30:25 -05:00
Marc-André Moreau
c4492411e4
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-11-14 19:41:59 -05:00
Dan Bungert
d128e44ae3
Add support with new args for client hostname
2013-11-11 17:57:44 -07:00
Marc-André Moreau
fb23f08388
libfreerdp-client: fix possible infinite loop with .rdp file parsing containing freerdp options
2013-11-10 13:29:20 -05:00
Marc-André Moreau
0e1fd4a777
freerdp: merge with master
2013-11-06 13:53:10 -05:00
Marc-André Moreau
4fa03e644e
client: fix loading of external static virtual channels with /vc option
2013-11-06 13:00:10 -05:00
Bernhard Miklautz
a0161a12ac
moved version information to freerdp/version.h
...
fixed #1465
2013-11-06 17:29:33 +01:00
Marc-André Moreau
b8a1f7d6c0
freerdp: implement restricted admin mode pass-the-hash option
2013-11-06 10:02:58 -05:00
Marc-André Moreau
a3d0e271b5
freerdp: add restricted admin option
2013-11-06 01:51:55 -05:00
Marc-André Moreau
d30f66b1b7
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-10-23 14:18:40 -04:00
Daryl Poe
076b8a84c2
commandline session reconnect
2013-10-22 09:14:29 -06:00
Marc-André Moreau
3951a6e1c3
channels/rdpgfx: implement basic negotiation
2013-10-21 23:33:25 -04:00
Marc-André Moreau
0276b095eb
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-10-17 13:08:30 -04:00
Marc-André Moreau
59eccac4e7
libfreerdp-client: refactor and decouple rdpSettings* from client context
2013-10-12 21:07:12 -04:00
Marc-André Moreau
a24d31be31
libfreerdp-core: refactor and add new WLog debug output for graphical orders
2013-10-10 13:00:04 -04:00
Armin Novak
c0a03f48bc
Fixed freerdp_command_line_parse_comma_separated_values, setting
...
count correct now, if there is no data in the list.
2013-10-02 09:48:25 +02:00
Marc-André Moreau
0d7df9ab72
Merge pull request #1509 from akallabeth/smartcard_fixes
...
Smartcard fixes
2013-09-25 08:37:26 -07:00
Marc-André Moreau
f4d1c7890c
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-09-19 16:25:24 -04:00
Marc-André Moreau
e62e78c24b
libfreerdp-client: fix registration of static addin table (don't associate it with command-line parsing)
2013-09-19 16:25:10 -04:00
Armin Novak
2695e906e0
Removed command line parser error return in evaluation of already
...
parsed arguments.
2013-09-18 10:16:58 +02:00
Marc-André Moreau
10f1a898ef
libfreerdp-client: fix command-line parsing with .rdp file
2013-09-17 17:03:35 -04:00
Marc-André Moreau
c4a8fe0064
libfreerdp-core: simplify management and consistency of PerformanceFlags
2013-09-17 14:56:23 -04:00
Marc-André Moreau
3b7994a9a6
Merge pull request #1467 from akallabeth/cmdline_enhanced
...
Cmdline enhanced
2013-09-16 13:33:04 -07:00
Armin Novak
513c963670
Smartcard arguments now optional.
2013-09-12 14:55:25 +02:00
Armin Novak
9455c4fa5d
Fixed smartcard argument checks.
...
Fixed smartcard package reading.
2013-09-12 12:18:35 +02:00
Armin Novak
4274b266c0
Fixed command line parser, now printing help, if an invalid option is detected.
2013-09-09 16:07:14 +02:00
Armin Novak
caecdba4c8
Fixed coverity issue 1047625
2013-09-05 12:14:31 +02:00
Bernhard Miklautz
63856f26cf
cmd line: fixed description
2013-09-02 19:43:57 +02:00
C-o-r-E
e7b0d18b9b
xfreerdp: comment cleanup
2013-07-23 14:47:40 -04:00
C-o-r-E
b0437473f6
merged from upstream
2013-07-17 16:44:27 -04:00
C-o-r-E
89788e154f
fixed CLI issue with /gestures
2013-07-11 17:59:20 -04:00
Marc-André Moreau
b93898e5ec
client: add option for MS-RDPEDISP (/disp)
2013-07-09 16:10:59 -04:00
Marc-André Moreau
5f4f3af98a
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-07-04 20:33:00 -04:00
Marc-André Moreau
bc631c93a8
freerdp: separate GatewayUsageMethod from GatewayEnabled
2013-07-03 15:07:12 -04:00
Bernhard Miklautz
450b64ee73
cmdline: unix/windows return detected error
2013-07-03 16:44:06 +02:00
Bernhard Miklautz
df2aab92c0
client/common: fixed command line parsing issue
...
fixes #1333
2013-07-03 16:41:26 +02:00
Marc-André Moreau
863b51f938
freerdp: merge with master
2013-06-28 12:50:24 -04:00
Marc-André Moreau
1d0a579590
freerdp-client: use 32bpp with NSCodec
2013-06-27 15:39:56 -04:00
C-o-r-E
340c3a4246
merged completely (painful) from awakecoding's tree
2013-06-25 20:41:32 -04:00
C-o-r-E
20dc2fc968
xfreerdp-client: made MultiTouchGestures CLI option
2013-06-19 18:43:24 -04:00
Marc-André Moreau
95a129eb69
libfreerdp-client: start splitting termination and printing logic for CLI parsing
2013-06-15 15:13:38 -04:00
Bernhard Miklautz
8748cfc57f
Added auth-only parameter to new command line syntax
...
auth-only only authenticates. This can be used for credential testing.
Username and password are required for auth-only
2013-06-13 14:51:25 +02:00
Bernhard Miklautz
ce17a827c4
Added play-rfx command line option.
...
PCAP dumps can now be played with /play-rfx:path_to_file again.
2013-06-13 14:51:25 +02:00
Marc-André Moreau
2bd6808432
freerdp: merge with master
2013-06-05 10:31:01 -04:00
Marc-André Moreau
e9edd489df
mfreerdp: fix build on Mac OS X
2013-05-31 15:45:55 -04:00
Benoit LeBlanc
bda6acbf3f
Updated with changes from awakecoding repository.
2013-05-31 14:54:15 -04:00
Marc-André Moreau
e9d362b58e
channels/printer: fix printer redirection and test with cups-pdf
2013-05-20 15:50:22 -04:00
Marc-André Moreau
73f782b871
libfreerdp-client: add AudioCapture flag with microphone is in use
2013-05-17 09:29:53 -04:00
Vic Lee
6599e1f2a3
cmdline: add max-fast-path-size argument.
2013-05-14 16:24:05 +08:00
Marc-André Moreau
ba0b4ee524
libfreerdp-client: load rdpdr when rdpsnd is loaded
2013-05-10 16:39:16 -04:00
Marc-André Moreau
99c821357d
freerdp: add /multitouch option
2013-05-08 22:14:16 -04:00
Marc-André Moreau
12ec6c60db
xfreerdp: add support for selecting individual monitors
2013-04-28 18:48:27 -04:00
Marc-André Moreau
24573ef08d
xfreerdp: add /monitor-list option
2013-04-28 17:10:43 -04:00
Benoit LeBlanc
a5bcb8bc21
Smart sizing, dual monitor in client app
...
Scaling functions: do not scale with a ratio > 1.
2013-04-25 15:42:40 -04:00
Benoit LeBlanc
e98bb31d27
RDP file writing optimization
...
removed function freerdp_get_connection_type
TODO:
- validate presence of all fields
- update cmdline.c to use set_param functions to modify settings.
2013-04-22 18:39:18 -04:00
Benoit LeBlanc
3eebd2edf2
Implemented writing RDP file to disk
...
TODO: Optimize by only writing the fields that have a value i.e
~((size_t) file->FieldName) != 0
Fixed wfi leak.
Fixed insufficient mem alloc.
2013-04-22 16:08:47 -04:00
Marc-André Moreau
914ac31cbf
xfreerdp: fail differently if no hostname is given
2013-04-22 08:33:41 -04:00
Marc-André Moreau
d0e989a549
libfreerdp-core: add support for load balance info
2013-04-11 11:51:10 -04:00
Marc-André Moreau
bb733db683
wfreerdp: integrating benoit's latest code
2013-04-10 16:58:19 -04:00
Hardening
7701c9d934
Replace printf(...) by fprintf(stderr, ...)
2013-03-28 23:06:34 +01:00
Marc-André Moreau
92114d1d38
freerdp: merging with master
2013-03-27 13:13:22 -04:00
Marc-André Moreau
1df8049c08
libfreerdp-core: started async transport
2013-03-27 13:03:41 -04:00
David Barth
96290efd76
add wm-class option
2013-03-26 17:33:09 +01:00
Bernhard Miklautz
37f29ebcce
Fixed command line with .rdp file
...
Now clients can be called with a .rdp file again like xfreerdp test.rdp
2013-03-16 00:33:58 +01:00
Bernhard Miklautz
77df254265
Fixed some build warnings
2013-03-15 18:22:49 +01:00
Christian Hofstaedtler
1dbdfc155d
Add the ECHO dynamic virtual channel
2013-03-13 00:24:24 +01:00
Stefan Giermair
c0ac6e13d5
added parameter for toggle fullscreen (Alt+Ctrl+Enter) so it is deactivatable
2013-02-28 17:32:46 +01:00
Marc-André Moreau
ddf4c6e0ff
Merge branch 'master' of github.com:FreeRDP/FreeRDP
2013-02-27 09:38:39 -05:00
Christian Hofstaedtler
559522e346
Fix out of bounds memory access with /printer:foo
...
Printer redirection command line parser was checking the wrong way if
a printer driver name was specified, causing the to segfault if no driver
name was given.
2013-02-24 15:33:32 +01:00
Marc-André Moreau
470cdb2570
xfreerdp: add async-channels command-line argument
2013-02-19 12:29:15 -05:00
Marc-André Moreau
801708297a
libwinpr-rpc: fix windows build
2013-02-18 19:29:50 -05:00
Marc-André Moreau
7d3d2abd17
client/common: fix help and compatibility helper
2013-02-18 07:49:52 -05:00
Marc-André Moreau
bfd5ebc298
client/common: added simplified command-line options for each channel
2013-02-18 07:32:15 -05:00
Marc-André Moreau
cfa706cace
libfreerdp-common: added new command-line options
2013-02-14 19:38:45 -05:00
Marc-André Moreau
cca810aa4c
libfreerdp-core: refactor bitmap codec guid handling
2013-02-12 21:25:49 -05:00
Marc-André Moreau
10a35a9224
libfreerdp-core: add +async-update and +async-input command-line options
2013-01-27 18:22:46 -05:00
Marc-André Moreau
b274133b86
libfreerdp-client: add /vmconnect option for hyper-v
2013-01-08 17:18:34 -05:00
Marc-André Moreau
f9ad678a51
libfreerdp-client: fix /pcb and /pcid
2012-12-22 02:39:39 -05:00
Marc-André Moreau
8267f2cb88
libfreerdp-core: fix usage of proper gateway credentials
2012-12-18 10:51:43 -05:00
Marc-André Moreau
cfa2e169c1
libfreerdp-core: added missing codec GUIDs
2012-12-13 23:33:24 -05:00
Marc-André Moreau
3e7824f393
libfreerdp-core: adding more monitor options
2012-12-13 14:38:02 -05:00
Marc-André Moreau
47b98ec00e
libfreerdp-common: fix /admin (issue #835 )
2012-12-13 07:39:49 -05:00
Marc-André Moreau
875c556d13
libfreerdp-core: change interlocked singly-linked list to synchronized Queue
2012-12-05 16:04:01 -05:00