aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/SSecurityVeNCrypt.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Remove unneeded NULL checksPierre Ossman2021-06-111-5/+1
| | | | | It's perfectly safe to delete NULL pointers, so simplify things by removing these checks.
* Change streams to be asynchronousPierre Ossman2020-05-211-6/+9
| | | | | | | | | | 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).
* Strongly bind security objects to connection objectPierre Ossman2018-09-211-4/+5
| | | | | There is already an implicit connection between them, so let's make it explicit. This allows easy lookup outside of the processMsg() function.
* Delete underlying ssecurity in SSecurityVeNCrypt.Michal Srb2017-03-291-0/+2
| | | | Otherwise it gets leaked which would allow even not authenticated clients to exhaust server memory.
* Make sure attributes propagate through security wrappersPierre Ossman2014-12-021-0/+13
| | | | | | Both SSecurityVeNCrypt and SSecurityStack are wrappers around other security objects, so they need to delegate the properties of those sub-objects properly.
* Always log chosen security typePierre Ossman2014-11-111-1/+1
| | | | | It's often useful to see if encryption was used, and how the user authenticated (if at all).
* [Development] Move Get{C,S}Security from Security class to separate classes.Adam Tkac2010-10-011-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4156 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Cleanup] Ensure all files use LF as newline control character, not CR+LF.Adam Tkac2010-08-111-173/+173
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4119 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Implement X509 VeNCrypt subtypes on the server side.Adam Tkac2010-07-211-10/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4105 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Create VeNCrypt security types in Security class.Adam Tkac2010-07-201-26/+1
| | | | | | | 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
* [Development] Use SecurityType also as configuration for VeNCrypt.Adam Tkac2010-07-201-85/+5
| | | | | | | 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
* [Development] Pass Security instance to {C,S}SecurityVeNCrypt.Adam Tkac2010-07-201-1/+1
| | | | | | | 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
* [Development] Add more debug logging into {C,S}SecurityVeNCrypt.Adam Tkac2010-07-201-0/+2
| | | | | | | 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
* Use {C,S}Security instead of {C,S}SecurityStack objects in VeNCrypt routines.Adam Tkac2010-07-201-3/+3
| | | | | | | 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
* [Bugfix] Compile VeNCrypt extension only when gnutls is enabled and available.Adam Tkac2010-04-281-0/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4049 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Implement VeNCrypt type support on client side. Currently onlyAdam Tkac2010-04-231-1/+1
| | | | | | | 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
* [Development] Implement VeNCrypt security type on server side. Currently onlyAdam Tkac2010-04-231-0/+282
TLSNone and TLSVnc VeNCrypt subtypes are implemented. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4045 3789f03b-4d11-0410-bbf8-ca57d06f2519