Commit Graph

609 Commits

Author SHA1 Message Date
Vic Lee
2ee03f035a libfreerdp-core: change channel_send argument in order to be shared with server code. 2011-12-10 16:23:27 +08:00
Marc-André Moreau
904a9a7c6a xfreerdp: add -X option for reparenting window 2011-12-09 13:53:19 -05:00
Marc-André Moreau
a50ef84c21 wfreerdp: fix compilation and warnings 2011-12-03 17:24:18 -05:00
Vic Lee
28d1abdd62 fastpath: refactor fastpath updates and merge fragmented codes. 2011-12-03 14:55:17 +08:00
Vic Lee
667afaa8d3 server: add pointer updates. 2011-12-03 08:54:02 +08:00
Mike Gilbert
bc3f8dfa53 libfreerdp-core: Finish cleanup of constant string arrays. 2011-11-30 17:40:36 -05:00
Mike Gilbert
c676bd0ac8 ber: Add const to ber_write_octet_string input parameter. 2011-11-30 17:36:27 -05:00
Mike Gilbert
5b7fc71b37 security: Add const to table declarations. 2011-11-30 17:33:13 -05:00
Mike Gilbert
c8934ef028 crypto: Add const modifiers to input parameters. 2011-11-30 17:29:40 -05:00
Mike Gilbert
88be3c2184 ntlmssp: Remove accidental ifdef. 2011-11-29 21:26:05 -05:00
Mike Gilbert
4048ddce6d libfreerdp-core: More strings cleanup.
- Comment out unused lookup tables.
- ifdef tables where appropriate.
- Change declarations to produce read-only sections.

See also:
http://blog.flameeyes.eu/2007/12/19/array-of-pointers-and-array-of-arrays
2011-11-29 21:08:07 -05:00
Mike Gilbert
3993f54474 ntlmssp: Optimize storage of constant strings.
Based on information in flameeyes blog.
http://blog.flameeyes.eu/2007/12/19/array-of-pointers-and-array-of-arrays
2011-11-29 21:08:07 -05:00
Mike Gilbert
f176059921 errinfo.c: Cleanup global variables and strings.
This moves constant data into a read-only section and cuts around 7k out
of the resulting object code.
2011-11-29 20:34:25 -05:00
Marc-André Moreau
ac9d584de5 ntlmssp: added more debug output for AV_PAIRS 2011-11-29 19:23:08 -05:00
Marc-André Moreau
37a4ed3859 ntlmssp: add better AV_PAIRS debug output 2011-11-29 18:36:22 -05:00
Marc-André Moreau
28cc3c6f11 ntlmssp: add command-line option to enabled WIP enhanced NTLMv2 security 2011-11-29 18:12:42 -05:00
Matthew Mosesohn
fca9ca8908 Try FDQN for redirect before trying netbios name 2011-11-29 16:32:22 -05:00
Marc-André Moreau
b2515f0729 ntlmssp: got NTLM authentication working with proper definitions 2011-11-29 15:29:59 -05:00
Marc-André Moreau
76f09de778 ntlmssp: refactor NEGOTIATE debug output 2011-11-29 15:16:42 -05:00
Marc-André Moreau
22ca2e06fd ntlmssp: added ALTERNATE_NTLMSSP 2011-11-29 14:41:04 -05:00
Marc-André Moreau
af6e914cf3 update: modify surface frame marker callback 2011-11-25 11:30:15 -05:00
Marc-André Moreau
7f9f2ea7a7 Merge pull request #226 from nfedera/dumpcaconlyfix
core: request RemoteFX-only data if --dump-rfx is specified
2011-11-25 07:08:56 -08:00
Marc-André Moreau
afd2569be0 Merge pull request #225 from nfedera/framemarkerupdate
core: add update callback for the surface frame marker command
2011-11-25 07:08:37 -08:00
Norbert Federa
c918cfb7af codec: support for specifying the RemoteFX mode (image or video) 2011-11-25 13:09:16 +01:00
Norbert Federa
6540b77534 core: request RemoteFX-only data if --dump-rfx is specified
The variable captureFlags was already correctly set if --dump-rfx
was specified but simply not used.
2011-11-25 12:23:44 +01:00
Norbert Federa
c2514dbcae core: add update callback for the surface frame marker command
- clients will need this to present the offscreen to the display
  in the correct state in order to avoid flickering and artefacts
  and to do frame acknowledgement.

- added empty callback to xfreerdp.
2011-11-25 11:48:51 +01:00
Jay Sorg
b32ea1b77e got fast index and fast glyph working 2011-11-24 15:32:49 -08:00
Vic Lee
0d17fbe785 server: add scrblt. 2011-11-25 00:48:53 +08:00
Alexis Moinet
4777d8f021 fix a double free in redirection.c/settings.c and a memory leak in connection.c 2011-11-24 16:45:34 +01:00
Jay Sorg
a5f878b536 got GLYPH_INDEX working 2011-11-23 13:11:28 -08:00
Jay Sorg
873b1fbf62 fix for read negative signed int 2011-11-23 12:48:49 -08:00
Marc-André Moreau
0e234de3ae update: aligning data structures to 4 byte 2011-11-21 22:11:31 -05:00
Marc-André Moreau
4ba59d8fcd update: move alternate secondary window drawing orders to sub-interface 2011-11-21 21:07:03 -05:00
Marc-André Moreau
0a9278bd32 update: move alternate secondary orders to sub-interface 2011-11-21 19:53:38 -05:00
Marc-André Moreau
587cc8eaaf update: move secondary drawing orders to sub-interface 2011-11-21 19:41:49 -05:00
Marc-André Moreau
f17a25e08d update: move primary orders into sub-interface 2011-11-21 18:11:43 -05:00
Marc-André Moreau
7899915c78 freerdp: separate pointer updates into sub-interface 2011-11-21 17:48:03 -05:00
Marc-André Moreau
a63a196f53 types: refactoring to make use of standard data types when available 2011-11-19 12:19:16 -05:00
Marc-André Moreau
666fbb0405 freerdp: pad multiple interfaces for improved ABI stability 2011-11-19 02:33:49 -05:00
Vic Lee
eb66ede91d libfreerdp-core/extension: fix segfaults. 2011-11-17 10:41:42 +08:00
Marc-André Moreau
150ff56f5f wfreerdp: fix compilation warnings and errors 2011-11-12 00:51:41 -05:00
Marc-André Moreau
0e95675da3 libfreerdp-core: add support for Refresh Rect and Suppress Output PDUs 2011-11-11 14:02:59 -05:00
Marc-André Moreau
809dbf7744 libfreerdp-core: fix capability set parsing for Windows XP 2011-11-11 01:24:55 -05:00
Marc-André Moreau
4221065c88 libfreerdp-core: port extension plugin interface (untested) 2011-11-09 15:59:03 -05:00
Marc-André Moreau
0043b16472 libfreerdp-core: started porting extension plugin interface 2011-11-09 15:33:58 -05:00
Marc-André Moreau
a1b8dfd79f libfreerdp-cache: got glyph drawing partially working 2011-11-09 12:16:09 -05:00
Marc-André Moreau
155446d11e libfreerdp-cache: moving glyph to a graphical object 2011-11-09 00:43:56 -05:00
Marc-André Moreau
a67096243b Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-11-08 23:26:53 -05:00
Marc-André Moreau
823e3414d6 libfreerdp-cache: initial glyph cache support 2011-11-08 23:26:44 -05:00
Marc-André Moreau
99a89bfcad xfreerdp-server: resize to server session resolution 2011-11-07 17:20:00 -05:00
Vic Lee
4b6dd6f14d server: follow context_size change. 2011-10-30 13:43:04 +08:00
Eduardo Beloni
6a5f584120 libfreerdp-core/info: [fix] read Length in rdp_recv_logon_info_extended
Now FreeRDP can receive the auto-reconnect cookie from the server
2011-10-28 17:06:59 -02:00
Anthony Tong
6f59d691a2 certstore: update verified certificates, be graceful on filesystem errors 2011-10-28 11:38:45 -04:00
Marc-André Moreau
d0b9478f45 wfreerdp: fix bitmap decompression 2011-10-26 15:38:50 -04:00
Alexis Moinet
a3bbe473d2 add cmake option for redirection debug and fix a segmentation fault in redirection 2011-10-26 10:47:32 +02:00
Marc-André Moreau
12705d36e5 libfreerdp-core: fix bitmap leak (call child destructor from parent destructor in graphics/bitmap) 2011-10-25 23:12:28 -04:00
Eduardo Beloni
b9a008ae8a libfreerdp-core: facilities for storing and retrieving 'error info' 2011-10-25 09:59:18 -02:00
Martin Fleisz
2fdb501458 core: Added missing \0 termination to crypto_print_name 2011-10-24 06:22:44 -07:00
Marc-André Moreau
9165505e0d xfreerdp: improved 8bpp support 2011-10-21 12:17:04 -04:00
Marc-André Moreau
55b32a9ea9 libfreerdp-core: fix credssp check for Authenticate callback 2011-10-21 11:18:11 -04:00
Otavio Salvador
162b33b254 Merge pull request #170 from mfleisz/cryptofix
core: Fixed error in crypto_print_name causing it to always return NULL
2011-10-21 06:42:52 -07:00
Marc-André Moreau
243e1c21ba Merge pull request #172 from mfleisz/authfix
core: correct processing of result from authenticate callback
2011-10-21 06:38:48 -07:00
Martin Fleisz
0c25bd4fd0 core: correct processing of result from authenticate callback 2011-10-21 04:02:46 -07:00
Martin Fleisz
4a6c0602d0 core: Fixed error in crypto_print_name causing it to always return NULL 2011-10-21 01:55:28 -07:00
Marc-André Moreau
488a4161f5 libfreerdp-core: refactoring of callback prefix 2011-10-20 23:15:18 -04:00
Marc-André Moreau
dac75fef83 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-10-20 21:38:21 -04:00
Marc-André Moreau
657fd998e5 xfreerdp: fix bitmap updates after refactoring 2011-10-20 21:34:55 -04:00
Marc-André Moreau
dbdbea9285 libfreerdp-core: added pointer object 2011-10-20 18:18:45 -04:00
Marc-André Moreau
b7e7067176 libfreerdp-core: refactoring of core bitmap objects 2011-10-20 17:28:59 -04:00
Marc-André Moreau
3c0ab49226 Merge pull request #168 from nfedera/pcapsegvfix
pcap: fix several segfaults with NULL pcap file handle
2011-10-20 09:23:25 -07:00
Norbert Federa
12245abfc8 pcap: fix several segfaults with NULL pcap file handle
- pcap_open did not return NULL if fopen failed
- libfreerdp-core, tfreerdp-serer and xfreerdp-server did not check the pcap_open result
- also fixed the sleep calculation in the xfreerdp-server
2011-10-20 14:25:25 +02:00
Martin Fleisz
08bb4aa5c1 transport: Leaking socket on disconnect when using TLS transport layer 2011-10-20 03:50:12 -07:00
Marc-André Moreau
505426e31f Merge pull request #161 from mfleisz/certcallback
settings: Added --ignore-certificates command line
2011-10-19 04:32:43 -07:00
Martin Fleisz
9356337474 Added --ignore-certificates command line 2011-10-19 00:42:53 -07:00
Norbert Federa
e0cf2a83f7 core: handle transport->recv_callback correctly
the boolean return value of transport->recv_callback was directly assigned to "int status" in transport_check_fds.
now status is set to -1 if transport_check_fds returns False.

this was also the reason for the long delays on logoff followed by these messages:
"SSL_read: I/O error" (with --sec nla|tls)
"recv: Connection reset by peer" + "send: Broken pipe" (with --sec rdp)
2011-10-18 23:47:44 +02:00
Martin Fleisz
cc210f5591 core: Added ui callback to verify certificates 2011-10-18 08:02:05 -07:00
Vic Lee
296d5ea753 server: use rdpContext for server-side components. 2011-10-18 15:10:12 +08:00
Anthony Tong
cd9328db4f dont advertise compression support in the vchan capabilities,
as it's not supported yet
2011-10-17 20:41:02 -05:00
Marc-André Moreau
5d9e8b2e28 libfreerdp-core: cleanup of freerdp interface 2011-10-16 21:02:28 -04:00
Marc-André Moreau
0549380c28 libfreerdp-channels: rename from libfreerdp-chanman 2011-10-16 14:57:15 -04:00
Marc-André Moreau
c639ec8593 libfreerdp-core: refactoring of context pointers into rdpContext 2011-10-16 00:50:10 -04:00
Marc-André Moreau
be6d043dd6 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-10-13 15:51:20 -04:00
Marc-André Moreau
8999bd8599 libfreerdp-cache: refactoring of bitmap and offscreen bitmap cache, fix major memory leaks 2011-10-13 15:51:07 -04:00
Marc-André Moreau
a40a971ea3 libfreerdp-core: fix polyline order parsing 2011-10-12 18:10:54 -04:00
Nicolas Graziano
d3652a7251 Indicate its FIRST and LAST PDU for pesistent_key_list.
If first is not indicate, Windows XP reply with ERRINFO_PERSISTENT_KEY_PDU_TOO_MANY_CACHE_KEYS.
2011-10-11 23:53:50 +02:00
Marc-André Moreau
992d0a92e3 Merge pull request #138 from ngraziano/master
2 small fix : color on windows and remove a warning when connecting to XP.
2011-10-10 07:07:59 -07:00
Marc-André Moreau
1e4d6df998 xfreerdp: added support for bitmap cache 2011-10-09 21:23:18 -04:00
Nicolas GRAZIANO
0622ab87cf When connecting to windows XP, the server do not set Blob type for license error message.
So I made the exception more general.
2011-10-08 18:41:19 +02:00
Marc-André Moreau
f6cd71026e xfreerdp: started bitmap caching support 2011-10-04 21:29:01 -04:00
Marc-André Moreau
5e20bbc904 libfreerdp-core: fix licensing when no username is given 2011-10-04 19:06:39 -04:00
Marc-André Moreau
82d5d1b8f1 libfreerdp-core: apply patch from Nicolas Graziano to fix protocol security settings when Standard RDP is negotiated 2011-10-04 18:54:38 -04:00
Marc-André Moreau
07077e2d3d xfreerdp: apply patch from zstegi (would grab window manager key combinations) 2011-10-04 18:46:49 -04:00
Vic Lee
a7544803f4 libfreerdp-core: fix an trivial mistake in reading codec caps. 2011-10-05 01:24:57 +08:00
Marc-André Moreau
24f413c0a0 libfreerdp-core: move bitmap decompression out of the core 2011-10-02 23:09:13 -04:00
Marc-André Moreau
0401f7c17e libfreerdp-codec: merge with libfreerdp-nsc 2011-10-02 20:52:17 -04:00
Marc-André Moreau
3f8ad5e8f9 libfreerdp-nsc: merging 2011-10-02 20:31:52 -04:00
Marc-André Moreau
3297db7062 libfreerdp-codec: merge with libfreerdp-rfx 2011-10-02 20:28:20 -04:00
qubit
16eae52b1e nscodec capability set 2011-10-03 00:36:41 +05:30
Marc-André Moreau
df71487c56 xfreerdp: fix 32bpp cursors 2011-09-29 22:31:13 -04:00
Marc-André Moreau
10331c5c44 libfreerdp-core: added authenticate callback 2011-09-29 01:03:07 -04:00
Marc-André Moreau
6f3696f22b xfreerdp: initial cursor support 2011-09-29 00:33:16 -04:00
Marc-André Moreau
7ee5089a17 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-09-27 13:40:48 -04:00
Marc-André Moreau
c2f0538af2 libfreerdp-utils: fix home path detection for certstore utils 2011-09-27 13:40:29 -04:00
Jay Sorg
78fd201ab8 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-09-26 22:31:11 -07:00
Jay Sorg
769508bd7d code cleanup 2011-09-26 22:30:58 -07:00
Marc-André Moreau
9b9e952501 libfreerdp-utils: avoid relying on HOME environment variable, provide method for hard-coding home path 2011-09-26 22:58:49 -04:00
Marc-André Moreau
e5215158d2 wfreerdp: start Win32 GDI implementation, fix certstore 2011-09-25 16:30:20 -04:00
Marc-André Moreau
347f626a61 wfreerdp: fix tcp non-blocking read 2011-09-25 14:54:07 -04:00
Marc-André Moreau
5de4cdbedc wfreerdp: fix mutex handling 2011-09-25 03:12:29 -04:00
Jay Sorg
123398c419 coding style 2011-09-23 23:38:11 -07:00
Jay Sorg
b773c7e728 move non settings security items out of settings 2011-09-23 23:09:29 -07:00
Marc-André Moreau
3ce1b2fc45 libfreerdp-core: fix segmentation fault in update_reset_state 2011-09-23 23:49:58 -04:00
Marc-André Moreau
17ed282656 wfreerdp: fix compilation on windows 2011-09-23 14:25:38 -04:00
Marc-André Moreau
d60adb8325 Merge pull request #120 from llyzs/cliprdr
Integrate cliprdr with xfreerdp
2011-09-23 07:07:43 -07:00
Marc-André Moreau
c003c5c038 xfreerdp: initial RemoteApp support with --gdi hw (much faster) 2011-09-23 00:06:39 -04:00
Vic Lee
68d0e7db6a libfreerdp-core/vchan: length in header should be total length. 2011-09-22 22:56:26 +08:00
Marc-André Moreau
997ecbd112 libfreerdp-core: fix orders state reset on deactivate all pdu 2011-09-20 17:01:38 -04:00
Marc-André Moreau
6f2575c076 libfreerdp-core: improving parsing if fast index order 2011-09-20 15:30:52 -04:00
Marc-André Moreau
44664c0a48 Merge pull request #114 from llyzs/tsmf
Migrate tsmf plugin
2011-09-20 08:33:38 -07:00
Vic Lee
27a82cccfa libfreerdp-gdi: fix segfault in fast_index. 2011-09-20 20:15:15 +08:00
Marc-André Moreau
437c495144 libfreerdp-core: minor fast-path fix for pointer updates 2011-09-19 14:57:22 -04:00
Marc-André Moreau
71de94a105 libfreerdp-core: add hooks in fast-path PDUs for pointer updates 2011-09-19 14:50:40 -04:00
Anthony Tong
d9f7dec00b Merge branch 'master' of git://github.com/FreeRDP/FreeRDP 2011-09-19 11:59:09 -04:00
Anthony Tong
5dd60ff891 - the x509 modulus & exponent are reversed 2011-09-19 11:56:12 -04:00
Anthony Tong
90d87f130c work on licensing
- get device licensing from rdp5.2 servers (?) to not reject license request
with ERR_INVALID_CLIENT
2011-09-19 11:44:13 -04:00
Martin Fleisz
2f91548a20 tcp: Added correct shutdown of socket in disconnect 2011-09-19 01:34:53 -07:00
Marc-André Moreau
89fd856ad3 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2011-09-18 18:29:34 -04:00
Marc-André Moreau
df3d4d4a80 xfreerdp: initial glyph drawing support 2011-09-18 18:29:23 -04:00
Marc-André Moreau
c635e0aef6 Merge pull request #109 from atong-tcs/master
fix license processing when no server cert is sent
2011-09-18 11:19:39 -07:00
Anthony Tong
6c4efaecf3 Merge branch 'master' of git://github.com/FreeRDP/FreeRDP 2011-09-16 16:39:28 -04:00
Anthony Tong
98d92c794f fix license processing when no server cert is sent 2011-09-16 16:37:20 -04:00
Vic Lee
d7d7c8a352 libfreerdp-core: add more checking in nego phase. 2011-09-16 23:16:16 +08:00
Anthony Tong
052e870597 initial fips encryption work 2011-09-15 18:54:03 -05:00
Jay Sorg
fa4aa9f297 remove some debugging messages 2011-09-14 21:37:37 -07:00
Marc-André Moreau
405026575b libfreerdp-core: merging jsorg71's work on old encryption support 2011-09-14 22:09:33 -04:00
Jay Sorg
a406cd6619 got rdp encryption working 2011-09-14 14:14:50 -07:00
Marc-André Moreau
02ea6de9dc xfreerdp: add support for no-codec bitmaps in X11-GDI 2011-09-14 14:47:04 -04:00
Jay Sorg
2e2875966f client / server random fix 2011-09-13 18:52:10 -07:00
Marc-André Moreau
86d7c1946f libfreerdp-common: initial commit 2011-09-13 15:39:40 -04:00
Jay Sorg
2ac4a5fa96 work on rdp encryption 2011-09-12 23:40:27 -07:00
Martin Fleisz
7d14b6fa98 Added missing include for sockaddr_in 2011-09-12 03:45:38 -07:00
Jay Sorg
fb669dbe32 move bitmap decompress private defines / consts / functions into bitmap.c 2011-09-12 01:40:57 -07:00
Marc-André Moreau
cb8f3dced9 libfreerdp-core: preparing memblt and bitmap cache 2011-09-11 23:35:33 -04:00
Jay Sorg
ede81139c3 mppc fix 2011-09-11 11:08:15 -07:00
Jay Sorg
288ff96ee3 work on rdp4 decompression 2011-09-11 01:32:17 -07:00
Jay Sorg
3d969de59b fix for -z 2011-09-11 00:00:40 -07:00
Vic Lee
58bf3d14ee libfreerdp-core/mppc: fix memory corruption due to incorrect free order. 2011-09-10 19:41:59 +08:00
Vic Lee
4da24ec6a7 libfreerdp-core/orders: fix polyline segfault. 2011-09-10 19:32:09 +08:00
Vic Lee
ee2dc5449f libfreerdp-core/nego: fix segfault when cookie is NULL. 2011-09-10 14:25:08 +08:00
Vic Lee
1c8cbd6d75 libfreerdp-core: fix missing header seeking when mpcc is not active. 2011-09-09 21:50:16 +08:00