louyihua
0684df1ae4
Fix a compilation error under WIN32.
2012-02-19 02:00:34 +08:00
Marc-André Moreau
8cab067498
libfreerdp-auth: move authentication code out of libfreerdp-core
2012-02-17 17:12:21 -05:00
Marc-André Moreau
4fe4cd35e3
libfreerdp-server: added server-side CredSSP stubs
2012-02-13 22:27:59 -05:00
Marc-André Moreau
d37e6091b0
libfreerdp-core: verify TLS certificate with both TLS and NLA
2012-02-12 12:46:53 -05: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
521f956c00
libfreerdp-core: merging certificate.c with certstore.c
2012-02-02 18:20:17 -05:00
Pawel Jakub Dawidek
609d177412
Handle short writes properly in transport_write().
...
Before this change if short write (send) occured, we were trying to
resend without updating length variable, so we were trying to send
too much and the following undefined data were causing the other
side to terminate connection.
2012-01-24 11:46:35 +01:00
Marc-André Moreau
a63a196f53
types: refactoring to make use of standard data types when available
2011-11-19 12:19:16 -05:00
Martin Fleisz
08bb4aa5c1
transport: Leaking socket on disconnect when using TLS transport layer
2011-10-20 03:50:12 -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
Marc-André Moreau
e4c7662148
libfreerdp-core: initial server redirection support
2011-09-03 17:02:26 -04:00
Marc-André Moreau
ac128313a9
libfreerdp-core: further improvements to server redirection code
2011-09-03 16:36:27 -04:00
Vic Lee
7b23ed6f97
libfreerdp-core/transport: prevent further read/write when socket is dropped.
2011-08-25 13:30:17 +08:00
Vic Lee
258db78efb
libfreerdp-core/transport: remove unused transport state.
2011-08-25 13:28:29 +08:00
Vic Lee
ca52da15cd
server: handle disconnection.
2011-08-23 16:14:32 +08:00
Vic Lee
719f521a39
libfreerdp-coree/tranport: minimum fastpath packet size is 3.
2011-08-23 15:36:03 +08:00
Vic Lee
11f10b2bb8
libfreerdp-core/transport: fix a bug in nonblocking mode that would break connection sequence.
2011-08-20 20:30:18 +08:00
Vic Lee
10f8aab40b
server: accept TLS connection from the client.
2011-08-19 13:35:29 +08:00
Vic Lee
720860b581
Merge branch 'master' into server
2011-08-19 01:16:52 +08:00
Marc-André Moreau
19217d51ba
libfreerdp-core: added --no-auth option to skip authentication entirely
2011-08-18 13:07:52 -04:00
Vic Lee
8cced27d17
libfreerdp/peer: initial protocol negotiation.
2011-08-18 23:15:28 +08:00
Marc-André Moreau
23794b38c3
libfreerdp-utils: started sleep utils
2011-08-16 16:04:28 -04:00
Marc-André Moreau
8292fc08f4
libfreerdp-rfx: fix windows build
2011-08-16 15:35:29 -04:00
Marc-André Moreau
0efc0c5a44
windows: start fixing windows compilation
2011-08-15 17:05:48 -04:00
Vic Lee
47e0eb5464
libfreerdp-core/transport: check buffer even no bytes received in nonblocking.
2011-08-12 23:09:58 +08:00
Vic Lee
236c41dac1
libfreerdp-core: add fastpath receiving layer.
2011-08-09 23:28:02 +08:00
Vic Lee
9d12c25fd3
libfreerdp-core:transport: fix nonblocking fregmented packet receiving.
2011-08-08 14:54:46 +08:00
Vic Lee
8387380035
libfreerdp-core/transport: add stream_seal when a packet is received.
2011-08-03 09:54:30 +08:00
Vic Lee
699c601579
libfreerdp-core/transport: add hexdump when debugging is on.
2011-08-03 09:34:23 +08:00
Vic Lee
b380423cfb
libfreerdp-core: add Fast Path header parsing.
2011-08-02 00:19:39 +08:00
Vic Lee
04f58fedde
libfreerdp-core: remove unused codes.
2011-08-01 23:39:45 +08:00
Vic Lee
9b3cc19648
libfreerdp-core: move blocking read control in transport layer.
2011-08-01 22:21:06 +08:00
Vic Lee
f33fe89a9d
libfreerdp-core: move blocking-send checking in transport.
2011-08-01 15:04:48 +08:00
Vic Lee
a4ec778f02
libfreerdp-core: add non-blocking read.
2011-08-01 14:45:28 +08:00
Marc-André Moreau
72b48585fb
dfreerdp: start working on file descriptors
2011-07-28 17:44:09 -04:00
Brad Hards
2601d110aa
Various minor warning fixes and unittest fixes.
2011-07-27 09:14:11 +10:00
Bernhard Miklautz
749c4ee6e6
Moved define for MSG_NOSIGNAL to tcp.h
2011-07-11 20:30:27 +02:00
Marc-André Moreau
a7ecabdb20
libfreerdp-core: refactoring of transport module
2011-07-10 15:34:43 -04:00
Marc-André Moreau
a0ff7ce581
libfreerdp-core: sending of client info packet
2011-07-10 12:10:24 -04:00
Marc-André Moreau
2199475153
libfreerdp-core: fix negotiation module
2011-07-07 13:37:48 -04:00
Marc-André Moreau
0582b26592
libfreerdp-core: adapting NTLMSSP and CredSSP modules to FreeRDP 1.0
2011-07-05 23:18:00 -04:00
Marc-André Moreau
a35f1e81cb
cmake: fix Mac OS X compilation
2011-07-05 20:44:26 -04:00
Marc-André Moreau
25a5bc53b1
types/base.h: rename FRDP_BOOL to boolean
2011-07-04 20:10:25 -04:00
Vic Lee
8afa7cf227
libfreerdp-core/transport: process PDU (if any) only after sending has completed.
2011-07-04 10:11:14 +08:00
Vic Lee
2fe93a9799
libfreerdp-core/transport: check receiving data during send blocking.
...
When sending is blocking, it's necessary to check if there's any data available for receiving to avoid infinite lock.
2011-07-04 09:24:23 +08:00
Vic Lee
fb687f2f9e
libfreerdp-core/transport: enable receiving more PDU in receiving buffer.
2011-07-04 09:07:34 +08:00
Marc-André Moreau
27bca27636
libfreerdp-core: establish TLS connection
2011-07-03 19:27:02 -04:00
Marc-André Moreau
347863ffa5
libfreerdp-core: moving TCP out of transport module
2011-07-03 15:34:15 -04:00
Marc-André Moreau
0da3be6e53
libfreerdp-core: improved protocol security negotiation
2011-07-03 13:49:06 -04:00
Marc-André Moreau
ccaa0d33ed
libfreerdp-core: protocol security negotiation partially working
2011-07-03 12:42:35 -04:00