Commit Graph

1679 Commits

Author SHA1 Message Date
Mike Carifio
19c6f93e2d xfreerdp: Adds switch --from-stdin.
This switch will prompt username, password, domain and connection
host if not specified at the command line.

Signed-off-by: Rex Tsai <chihchun@kalug.linux.org.tw>
(cherry picked from commit a31f0c62e6)

Conflicts:
	client/X11/xfreerdp.1.xml
	client/X11/xfreerdp.c
	include/freerdp/settings.h
	libfreerdp-core/settings.c
	libfreerdp-utils/args.c
2012-10-27 15:28:47 +02:00
Ying-Chun Liu (PaulLiu)
69dd64c5b7 Init extensions in pre_connect stage.
Due to the client is parsing the args in pre_connect,
we should start loading the extensions after client parsing the args.

Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@canonical.com>
(cherry picked from commit 48ad5feb0a)

Conflicts:
	libfreerdp-core/rdp.c
2012-10-27 14:59:18 +02:00
Dorian Johnson
eecb39b5a7 svc_plugin: ignore CHANNEL_FLAG_SUSPEND/CHANNEL_FLAG_RESUME
These server flags tell the SVC layer to temporarily stop sending
data, but are currently not implemented. This patch purposefully
ignores them so they don't cause a crash.
(cherry picked from commit 4bda6b5cbc)
2012-10-27 14:35:59 +02:00
Pawel Jakub Dawidek
a8b9767d91 Remove some redundant code.
(cherry picked from commit e03734be30)
2012-10-27 14:35:45 +02:00
Marc-André Moreau
a3396a121b libfreerdp-gdi: add PatBlt DPa operation 2012-10-26 22:29:43 -02:00
Pieterjan Camerlynck
7dded76f0e libfreerdp-core: do not send SynchronizeEvent during connection finalization 2012-10-26 22:13:27 -02:00
Mads Kiilerich
58c36d60cb cache: fix off-by-one-of-the-wrong-kind in BITMAP_CACHE_WAITING_LIST_INDEX handling 2012-03-30 15:48:06 -04:00
Anthony Tong
43204d7d2e cache: fix BITMAP_CACHE_WAITING_LIST_INDEX handling 2012-03-27 15:59:57 -04:00
Mads Kiilerich
024b93933e core: reset crypto key counters when the keys are initialized
This fixes --sec rdp --salted-checksum in combination with farm redirect.

The counters are implicitly set to 0 in rdp_new, but they also has to be reset
after redirects. Resetting the counters when the keys are reset seems like the
cleanest solution.
2012-03-25 07:26:26 -05:00
Jay Sorg
dd0d0f0bdb libfreerdp-core: fix for cursor hot spot out of range 2012-03-25 07:26:26 -05:00
Mads Kiilerich
6752fb4983 core: terminate redirect cookies correctly 2012-03-25 07:26:26 -05:00
Mads Kiilerich
b5133db680 core/redirect: be aware that transport used in transport_check_fds might become invalid 2012-03-25 07:26:26 -05:00
Vic Lee
2950ccf670 core: register audio device only if plugins are registered. 2012-03-25 07:26:25 -05:00
Norbert Federa
633ef183ee xfreerdp: Fixed PIC base address corruption by inline assembly
EBX (or RBX on x86_64) is used for the PIC base address.
The current cpuid inline assembly only saved ebx which is fine
under i386 but only half of the fun on x86_64.
2012-03-25 07:26:25 -05:00
Philippe Auphelle
cb72647866 Restore not-in-place bitmap flip (saves one memcpy() per flipped scanline) 2012-03-25 07:03:27 -05:00
Michael Osborne
2c4a63e180 fix getting state when in remote app mode 2012-03-25 07:02:43 -05:00
Anthony Tong
fcd3b4a130 rdpsnd: follow rdpdr and free the stream from svc_plugin 2012-03-25 07:02:29 -05:00
Marc-André Moreau
999582ae76 xfreerdp: apply X2GO patch 2012-03-25 07:02:22 -05:00
Pawel Jakub Dawidek
a46154e231 Accept both TLSv1 and SSLv3 as a server.
This fixes SSL connections from Microsoft RDC for Mac OS X to FreeRDP server.
2012-03-25 07:00:08 -05:00
Pawel Jakub Dawidek
78a4aa83c4 For salted checksums we need separate counters, as the
encrypt_use_count and decrypt_use_count counters are reset during key
regeneration and we need counters that are never reset.
2012-03-25 06:59:56 -05:00
Anthony Tong
9ffdb7d0d3 rdpdr/scard: dont incorrectly set SCARD_STATE_IGNORE 2012-03-25 06:59:00 -05:00
Mads Kiilerich
93f0dad21b libfreerdp-core: don't add sec_bytes in fastpath_send_input_pdu
fastpath_input_pdu_init already reserved space for fastpath_get_sec_bytes()
which thus already was included in stream_get_length() in
fastpath_send_input_pdu(). Adding sec_bytes again just added extra invalid (but
correctly hashed/encrypted) bytes to the PDU.
2012-03-25 06:58:35 -05:00
Mads Kiilerich
c46cdaf3fb libfreerdp-core: fastpath_send_input_pdu can handle fastpath PDUs up to 32k 2012-03-25 06:58:35 -05:00
Anthony Tong
32aaa99541 libfreerdp-core: disable fp input if FIPS is negotiated 2012-03-25 06:57:16 -05:00
Pawel Jakub Dawidek
0a12057b1c If HOME environment variable is not configured, use / as home. Having NULL home_path will crash freerdp. 2012-03-25 06:56:32 -05:00
Asbjørn Heid
8139fdb392 xfreerdp-server: Fixed deadlock issue in event queue.
Writing to the pipe may block if the pipe is full. Holding the mutex while writing prevents listeners from
aquiring the mutex and unblocking the write. This leads to a deadlock situation.
2012-03-25 06:55:47 -05:00
Slava Dubrovskiy
967d14224e Fix not linked with libpulse (issue 418)
Signed-off-by: Slava Dubrovskiy <dubrsl@altlinux.org>
2012-03-25 06:55:14 -05:00
Pawel Jakub Dawidek
c8d961a55c Write fingerprint to proper descriptor. 2012-03-25 06:53:00 -05:00
Pawel Jakub Dawidek
9f744fc8d2 Advertise persistent bitmap cache only if it is enabled. 2012-03-25 06:46:00 -05:00
Marc-André Moreau
96dccad6fa libfreerdp-core: don't call freerdp_context_free() from freerdp_free() 2012-03-25 06:44:03 -05:00
Jay Sorg
45e5f5e713 libfreerdp-core: fix memory leaks and double free 2012-03-25 06:43:18 -05:00
Marc-André Moreau
8e627212a0 changelog: update for 1.0.1 2012-02-09 21:01:42 -05:00
Marc-André Moreau
fdfc817fb6 xfreerdp: fix segfault with --gdi sw on disconnect 2012-02-09 21:01:13 -05:00
Marc-André Moreau
8e88983a62 libfreerdp-utils: re-introduce free(NULL) check in xfree() 2012-02-09 20:32:08 -05:00
Marc-André Moreau
717b37fd48 channels/rdpdr: cleanup 2012-02-09 20:04:27 -05:00
Marc-André Moreau
7a6c813fcf libfreerdp-utils: extend plugin utils 2012-02-09 19:48:52 -05:00
Marc-André Moreau
aaaafcc4b7 libfreerdp-utils: improve freerdp_load_plugin 2012-02-09 17:48:30 -05:00
Marc-André Moreau
bffda2747b libfreerdp-channels: refactoring 2012-02-09 16:57:14 -05:00
Marc-André Moreau
549faa6d87 libfreerdp-gdi: optimize line drawing 2012-02-08 22:34:37 -05:00
Marc-André Moreau
c38c0f9001 libfreerdp-utils: fix file utils 2012-02-08 21:56:50 -05:00
Marc-André Moreau
2bde041788 wfreerdp: fix RemoteFX 2012-02-08 21:44:22 -05:00
Marc-André Moreau
66ebfb0e9f wfreerdp: fix compilation and warnings 2012-02-08 21:16:37 -05:00
Marc-André Moreau
caae69e980 libfreerdp-core: change source descriptor from MSTSC to FREERDP 2012-02-08 14:45:24 -05:00
Marc-André Moreau
9951cdce12 Merge pull request #408 from pjd/fixes
The fastpath header can be two or three bytes long. Check also for the latter case.
2012-02-08 07:29:11 -08:00
Pawel Jakub Dawidek
e73a525ad5 Move the comment into correct place. 2012-02-08 12:47:22 +01:00
Pawel Jakub Dawidek
e9f89af8a5 The fastpath header can be two or three bytes long. Check also the latter case. 2012-02-08 12:03:39 +01:00
Marc-André Moreau
58e08a7726 Merge pull request #407 from hcgpalm/master
Fix info_packet misalignment
2012-02-07 20:27:16 -08:00
Marc-André Moreau
0975c0f07e libfreerdp-core: improve error checking in certificate validation 2012-02-07 22:16:57 -05:00
Otavio Salvador
986890b8b9 Merge pull request #404 from pjd/server_slow_path_input
Implement server-side support for slow-path Input Event PDU.
2012-02-07 05:01:53 -08:00
Otavio Salvador
2f5ae364dc Merge pull request #403 from pjd/fixes
Modify the UnicodeKeyboardEvent callback to also include flags argument and simplify code by using per_read_length() instead of reimplementing it.
2012-02-07 05:00:49 -08:00