summaryrefslogtreecommitdiffstats
path: root/common/rfb
Commit message (Collapse)AuthorAgeFilesLines
...
* [Bugfix] Check return codes from gnutls library every time.Adam Tkac2010-08-112-10/+25
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4120 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Cleanup] Ensure all files use LF as newline control character, not CR+LF.Adam Tkac2010-08-119-797/+797
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4119 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Extend encoding range checks to handle negative encodings well.Adam Tkac2010-07-212-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4113 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Rename CSecurityTLSBase class to CSecurityTLS.Adam Tkac2010-07-214-22/+22
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4110 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Merge CSecurityTLS and CSecurityX509 classes into ↵Adam Tkac2010-07-218-336/+137
| | | | | | CSecurityTLSBase class. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4109 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Rename SSecurityTLSBase source/class to SSecurityTLS.Adam Tkac2010-07-214-21/+21
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4108 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Cleanup] Merge SSecurityTLS and SSecurityX509 classes into SSecurityTLSBase ↵Adam Tkac2010-07-218-317/+115
| | | | | | class. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4107 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Implement VeNCrypt X509 subtypes on the client side.Adam Tkac2010-07-214-2/+195
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4106 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Implement X509 VeNCrypt subtypes on the server side.Adam Tkac2010-07-216-14/+158
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4105 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Add "#error" directives to client-side TLS sources to avoid wrong ↵Adam Tkac2010-07-214-11/+12
| | | | | | usage. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4104 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Create VeNCrypt security types in Security class.Adam Tkac2010-07-208-78/+28
| | | | | | | 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-203-111/+15
| | | | | | | 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-205-6/+8
| | | | | | | 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-202-0/+10
| | | | | | | 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
* [Development] Minor fixes in previous commit.Adam Tkac2010-07-201-6/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4099 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Support VeNCrypt Security types in standard security type parser.Adam Tkac2010-07-201-0/+22
| | | | | | | Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at> git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4098 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Use U32 as internal SecurityType type.Adam Tkac2010-07-202-23/+57
| | | | | | | Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at> git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4097 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Move VeNCrypt security subtypes into Security.h.Adam Tkac2010-07-202-9/+9
| | | | | | | Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at> git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4096 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Use {C,S}Security instead of {C,S}SecurityStack objects in VeNCrypt routines.Adam Tkac2010-07-204-8/+8
| | | | | | | 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
* [Development] Client now uses security types from -SecurityTypes parameter ↵Adam Tkac2010-07-202-32/+23
| | | | | | instead of hardcoded list. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4094 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Cleanup] Remove unused CConnection::setClientSecTypeOrder function.Adam Tkac2010-07-202-13/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4093 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Declare d3des.h functions inside `extern "C" {}` block.Adam Tkac2010-06-241-0/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4070 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Not necessary to include windows.h if winsock2.h is already included. If ↵DRC2010-05-201-1/+0
| | | | | | both are included, then winsock2.h must be included first. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4059 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Use AC_CHECK_LIB instead of pkgconfig, it is not available on OS X.Adam Tkac2010-05-131-1/+1
| | | | | | | Enable gnutls by default if it is present. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4053 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Compile VeNCrypt extension only when gnutls is enabled and available.Adam Tkac2010-04-2810-20/+67
| | | | 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-2316-30/+741
| | | | | | | 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-2313-7/+967
| | | | | | | 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
* [Development] Use enhanced Security class by both UNIX and Windows viewers.Adam Tkac2010-04-233-17/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4042 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Enhance Security class to be usable by viewer.Adam Tkac2010-04-233-5/+34
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4041 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Remove rfb/SSecurityFactoryStandard.h and ↵Adam Tkac2010-04-232-136/+0
| | | | | | rfb/SSecurityFactoryStandard.cxx. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4040 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Replace SSecurityFactoryStandard class by simplier Security class.Adam Tkac2010-04-239-51/+30
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4039 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Implement Security class. This class will be used to createAdam Tkac2010-04-233-5/+93
| | | | | | | CSecurity/SSecurity objects for authentication purposes. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4038 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Include Security.h instead of former secTypes.h in Security.cxx.Adam Tkac2010-04-231-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4037 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Move all VncAuth code from SSecurityFactoryStandard class toAdam Tkac2010-04-234-64/+64
| | | | | | | SSecurityVncAuth class. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4036 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove unneeded secTypeEncrypts() function.Adam Tkac2010-04-232-12/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4035 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Define security types as rdr::U8 values.Adam Tkac2010-04-233-25/+26
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4034 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Rename common/rfb/secTypes.{h,cxx} to common/rfb/Security.{h,cxx}.Adam Tkac2010-04-239-8/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4033 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Development] Add possibility to define viewer/server specific parameters viaAdam Tkac2010-04-232-24/+79
| | | | | | | Configuration class. Change needed viewer/server code appropriately. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4032 3789f03b-4d11-0410-bbf8-ca57d06f2519
* iFix VPATH and out-of-tree builds (again)DRC2010-04-111-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4016 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix VPATH and out-of-tree buildsDRC2010-02-141-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3984 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Reverted the second part of 3971. I suspect that this code is actuallyPeter Åstrand2010-02-101-1/+1
| | | | | | | | broken, so let's keep the warning until we know it's correct. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3975 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Eliminated two GCC warnings:Peter Åstrand2010-02-101-4/+3
| | | | | | | | | | | * The return statement in needRenderedCursor was way too complicated, separated into intermediate variable. * Using parenthesis in setStatus bit masks. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3971 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Eliminate GCC warning in ScaleFilters:Peter Åstrand2010-02-102-2/+2
| | | | | | | | "deprecated conversion from string constant to 'char*" git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3970 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Eliminate GCC signed/unsigned warnings related to encodings: ThePeter Åstrand2010-02-1020-61/+61
| | | | | | | | | | | | encoding in the RFB protocol has always been signed, and signed values are also used in the specification (ie DesktopName = -307 etc). In the code, however, unsigned types were used in a number of places, but not all, which causes warnings. This patch fixes the problem by switching to signed values everywhere. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3968 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Eliminate another GCC signed/unsigned warning: Peter Åstrand2010-02-101-1/+1
| | | | | | | * setExtendedDesktopSize reason is signed, but result codes are not. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3967 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Fix memory leak in Tight decoder.Adam Tkac2010-01-271-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3957 3789f03b-4d11-0410-bbf8-ca57d06f2519
* - use unix/configure.ac as top-level configure.ac baseAdam Tkac2009-09-043-7/+7
| | | | | | | | - create stub top-level Makefile.am - make common/ subtree compilable git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/unified_buildsys@3892 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Revert previous commit (r3889). Windows code has to be cleaned before thisAdam Tkac2009-09-0414-47/+47
| | | | | | | change. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3890 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Replace rfb::strDup by safe_strdup and remove rfb::strFree in favor of free()Adam Tkac2009-09-0414-47/+47
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3889 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Declare virtual methods with empty body as pure virtual methods in ↵Adam Tkac2009-06-162-63/+12
| | | | | | | | | rfb::CMsgHandler class. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3842 3789f03b-4d11-0410-bbf8-ca57d06f2519