Pierre Ossman
ad0f0618fa
Change streams to be asynchronous
Major restructuring of how streams work. Neither input nor output
streams are now blocking. This avoids stalling the rest of the client or
server when a peer is slow or unresponsive.
Note that this puts an extra burden on users of streams to make sure
they are allowed to do their work once the underlying transports are
ready (e.g. monitoring fds).
4 vuotta sitten
Pierre Ossman
ad2b3c4aa3
Strongly bind security objects to connection object
There is already an implicit connection between them, so let's make
it explicit. This allows easy lookup outside of the processMsg() function.
5 vuotta sitten
Pierre Ossman
b993ea78d7
Use better security method description when using VeNCrypt
The sub-modules generally provide a better description than just the
short security method name.
6 vuotta sitten
Pierre Ossman
daf3d88aa1
Display security state when asking for password
Indicate to the user how secure the transport channel is so they
can avoid entering their password for untrusted sites.
6 vuotta sitten
Pierre Ossman
71d6666398
Always log chosen security type
It's often useful to see if encryption was used, and how the user
authenticated (if at all).
9 vuotta sitten
Adam Tkac
ccb92454bf
[Bugfix] Improve r4300 - also honor server's sectype order for VeNCrypt subtypes.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4302 3789f03b-4d11-0410-bbf8-ca57d06f2519
13 vuotta sitten
Adam Tkac
bfd66c1e8c
[Development] Move Get{C,S}Security from Security class to separate classes.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4156 3789f03b-4d11-0410-bbf8-ca57d06f2519
13 vuotta sitten
Adam Tkac
5522d61b7a
[Cleanup] Ensure all files use LF as newline control character, not CR+LF.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4119 3789f03b-4d11-0410-bbf8-ca57d06f2519
13 vuotta sitten
Adam Tkac
707d361a50
[Development] Create VeNCrypt security types in Security class.
Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4103 3789f03b-4d11-0410-bbf8-ca57d06f2519
14 vuotta sitten
Adam Tkac
814fa8972e
[Development] Use SecurityType also as configuration for VeNCrypt.
Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4102 3789f03b-4d11-0410-bbf8-ca57d06f2519
14 vuotta sitten
Adam Tkac
a032593f99
[Development] Pass Security instance to {C,S}SecurityVeNCrypt.
Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4101 3789f03b-4d11-0410-bbf8-ca57d06f2519
14 vuotta sitten
Adam Tkac
db062b6b51
[Development] Add more debug logging into {C,S}SecurityVeNCrypt.
Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4100 3789f03b-4d11-0410-bbf8-ca57d06f2519
14 vuotta sitten
Adam Tkac
c86db213d7
Use {C,S}Security instead of {C,S}SecurityStack objects in VeNCrypt routines.
Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4095 3789f03b-4d11-0410-bbf8-ca57d06f2519
14 vuotta sitten
Adam Tkac
b10489b039
[Development] Implement VeNCrypt type support on client side. Currently only
TLSNone and TLSVnc VeNCrypt subtypes are implemented.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4046 3789f03b-4d11-0410-bbf8-ca57d06f2519
14 vuotta sitten