Commit Graph

130 Commits

Author SHA1 Message Date
Henrik Andersson
eced6ca821 Reconnect upon network failure, retry as long the autoreconnect
cookie is valid.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1707 423420c4-83ab-492f-b58f-81f9feb106b5
2013-04-12 06:46:07 +00:00
Henrik Andersson
51014c91df Initial implementation of kerberos server autentication with CredSSP,
disabled by default and is enabled using argument --enable-credssp
to configure script.

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1676 423420c4-83ab-492f-b58f-81f9feb106b5
2012-11-15 11:21:01 +00:00
Peter Åstrand
5cb7910413 Indented with indent-all.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1670 423420c4-83ab-492f-b58f-81f9feb106b5
2012-10-23 11:38:27 +00:00
Henrik Andersson
0f5824d414 Rename of internal ssl_ wrapper functions/defines to
rdssl_ to prevent nameclashing with openssl library now
when we link against ssl library.

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1665 423420c4-83ab-492f-b58f-81f9feb106b5
2012-07-02 11:36:39 +00:00
Henrik Andersson
c44025aa18 Added support for protocol negotiation, this is a part of
adding Enhanced RDP Security support to rdesktop and brings
support for TLSv1 tunnel functionality.

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1659 423420c4-83ab-492f-b58f-81f9feb106b5
2012-06-15 05:16:20 +00:00
Peter Åstrand
c5415ded44 Try to fix 3428380 - session redirection broken in 1.7.0. We must not
call sizeof or strlen on a new dynamically allocated string. 



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1639 423420c4-83ab-492f-b58f-81f9feb106b5
2011-10-26 10:53:39 +00:00
Peter Åstrand
b638882347 Include emails in copyright statements.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1615 423420c4-83ab-492f-b58f-81f9feb106b5
2011-04-13 11:13:04 +00:00
Peter Åstrand
27068f53f8 Updated the copyright notices for the things we have been working on.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1612 423420c4-83ab-492f-b58f-81f9feb106b5
2011-04-13 08:55:42 +00:00
Peter Åstrand
42f4ca28d5 Committed load balancing fixes from Daniel Drown. Hopefully fixes bug
#2845414.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1557 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-21 09:24:40 +00:00
Peter Åstrand
6ee9faeffc Added RandR support: If the specified geometry depends on the screen
size, and the screen size is changed, rdesktop will automatically
reconnect using the new screen size. This feature uses the previously
implemented autoreconnect feature. 

The new UI function ui_seamless_end() has been introduced, to make it
possible to resize in seamless mode as well. 



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1556 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-20 09:59:47 +00:00
Peter Åstrand
0983e771c8 Only try to use automatic reconnect if we have earlier recieved the
reconnect random. It seems to work anyway, but let's take care.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1541 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-12 15:00:49 +00:00
Peter Åstrand
46499078e1 Need to include ssl.h now that we are using ssl_hmac_md5.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1540 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-12 14:52:04 +00:00
Peter Åstrand
1b4c36a45f Implemented support for "Client Auto-Reconnect". This means that the
client can re-connect using a cookie, instead of going through the
normal authentication. This patch saves those cookies, and uses them
during logon. 

Note that this feature is currently unused. It remains to add support
for, say, detecting when the TCP connection has gone done and restart
a new one. 



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1539 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-12 10:34:38 +00:00
Peter Åstrand
281d7c9f06 Changed license to GPLv3
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1534 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-12 08:31:06 +00:00
Peter Åstrand
4c6424c1d4 Commented DaylightBias and clientSessionId fields.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1531 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-12 07:50:36 +00:00
Peter Åstrand
dddbfd93d8 Added comments about the TS_EXTENDED_INFO_PACKET variables.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1530 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-11 13:11:19 +00:00
Peter Åstrand
440542c535 Elminate code duplication in rdp_reconnect and sec_connect.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1528 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-07 20:01:58 +00:00
Peter Åstrand
cf715c225c Indented on Fedora 11
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1527 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-07 18:52:26 +00:00
Jay Sorg
fdcd8d7591 added new pointers
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1520 423420c4-83ab-492f-b58f-81f9feb106b5
2009-10-25 21:36:17 +00:00
Jay Sorg
6bc8c23da3 send the correct num_caps in rdp_send_confirm_active, re-enable glyph cache
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1519 423420c4-83ab-492f-b58f-81f9feb106b5
2009-10-19 23:02:52 +00:00
Peter Åstrand
ea46f1729d process_data_pdu never returns True nowadays, so the comment about the
disc variable is incorrect. Removed the variable, since it's always
False.



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1508 423420c4-83ab-492f-b58f-81f9feb106b5
2009-08-27 07:30:32 +00:00
Peter Åstrand
c7feab2840 Ran indent-all
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1484 423420c4-83ab-492f-b58f-81f9feb106b5
2008-11-25 08:05:25 +00:00
Jay Sorg
c3dc159869 brush cache for > 2 color brushes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1482 423420c4-83ab-492f-b58f-81f9feb106b5
2008-11-01 02:37:10 +00:00
Peter Åstrand
b64678c9ee Temporarily disabled the recently added brush cache feature, due to
bug 2167833.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1481 423420c4-83ab-492f-b58f-81f9feb106b5
2008-10-20 07:16:43 +00:00
Peter Åstrand
27388283ad Removed the hardcoded limit of the username length.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1478 423420c4-83ab-492f-b58f-81f9feb106b5
2008-09-26 11:40:54 +00:00
Jay Sorg
88855ddcbf update the copyright year
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1474 423420c4-83ab-492f-b58f-81f9feb106b5
2008-07-11 03:51:23 +00:00
Jay Sorg
b59c4b92a6 added brush cache
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1473 423420c4-83ab-492f-b58f-81f9feb106b5
2008-07-11 03:35:24 +00:00
Peter Åstrand
f6e5fe5f38 Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1428 423420c4-83ab-492f-b58f-81f9feb106b5
2008-01-24 08:06:02 +00:00
Matt Chapman
2e16fa661d Add some more warnings and sanity checks.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1425 423420c4-83ab-492f-b58f-81f9feb106b5
2008-01-05 05:43:02 +00:00
Jay Sorg
b7fa2fb4da remove extra word at end of logon blob
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1423 423420c4-83ab-492f-b58f-81f9feb106b5
2007-12-23 07:07:50 +00:00
Jay Sorg
e16245fb2d rdp endian is always le
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1422 423420c4-83ab-492f-b58f-81f9feb106b5
2007-12-23 06:45:47 +00:00
Jay Sorg
6091381a81 prefix BOOL with RD_
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1371 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-08 04:47:06 +00:00
Jay Sorg
797df4fa02 copyright year update
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1364 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-04 05:39:39 +00:00
Jay Sorg
b670bdacfa RD_ prefix and win32 compatibility for core files
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1363 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-04 04:55:56 +00:00
Michael Gernoth
082031280a 64bit fix from Jennings Jared <jared.jennings.ctr@eglin.af.mil>
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1307 423420c4-83ab-492f-b58f-81f9feb106b5
2006-11-01 18:38:40 +00:00
Matt Chapman
797a7c980c Windows Vista Beta 2 sends a disconnect PDU with reason 0 when reconnecting
to a disconnected session (I do not know if this is a bug or a feature).
Previously we would drop the connection.

I suspect that in general we shouldn't be dropping the connection in
response to the disconnect PDU; we should treat it as informative like the
logon PDU and just save the status.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1237 423420c4-83ab-492f-b58f-81f9feb106b5
2006-06-14 08:59:03 +00:00
Peter Åstrand
c05dbc98b1 When synchronizing numlock, send 0 if not using numlock synchronizing,
since that's what our local state variable is initialized to.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1216 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-07 14:41:34 +00:00
Peter Åstrand
acffcd7e9c Applied patch #1390148 from Ilya Konstantinov: Refactoring of color depth code.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1041 423420c4-83ab-492f-b58f-81f9feb106b5
2006-01-24 12:40:24 +00:00
Peter Åstrand
75ea7d9148 Applied patch #1247780 (slightly modified) from Brian Chapeau: Session Directory support.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@976 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-08 19:15:57 +00:00
Peter Åstrand
e4f0ee6f7d rdp_process_server_caps should be static.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@944 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-02 09:29:41 +00:00
Jeroen Meijer
003ecba935 Fix immediate disconnect when connecting to Windows XP RTM
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@906 423420c4-83ab-492f-b58f-81f9feb106b5
2005-05-31 18:49:05 +00:00
Jeroen Meijer
154a1c895a Tell the server to stop sending window updates when the rdesktop window is unmapped
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@904 423420c4-83ab-492f-b58f-81f9feb106b5
2005-05-20 22:09:32 +00:00
Jeroen Meijer
696ea0c4f1 Add alternative mppc decompression code with 64kB history buffer from Vahur Sinijärv, and reenable rdp5 (persistent) bitmap cache 2 (64x64)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@888 423420c4-83ab-492f-b58f-81f9feb106b5
2005-04-17 23:14:20 +00:00
Michael Gernoth
87d8eefba0 Enable rdp-compression for all bpps.
Many thanks to Vahur Sinijärv <vahur.sinijarv@cydonia.ee> for
finding the fix.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@885 423420c4-83ab-492f-b58f-81f9feb106b5
2005-04-16 11:42:34 +00:00
Peter Åstrand
f5bce2e0a9 Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@878 423420c4-83ab-492f-b58f-81f9feb106b5
2005-04-03 18:08:05 +00:00
Michael Gernoth
81ff5d29b9 C error/warning fixes from Jeremy Meng <voidfoo@cwazy.co.uk>
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@865 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-19 15:30:14 +00:00
Michael Gernoth
4cca15390d remove C++-style comments
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@864 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-15 11:25:50 +00:00
Michael Gernoth
fe3011d666 handle iconv-failure more gracefully
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@863 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-14 18:02:24 +00:00
Michael Gernoth
76526ecffe use UTF-16LE instead of UTF-16 => let iconv swab the bytes for us
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@862 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-14 17:47:46 +00:00
Michael Gernoth
99e123f63a indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@860 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-13 17:40:51 +00:00