Pierre Ossman
							
						 
						
							 
							
							
							
								
							
								92c7695981 
								
							
								 
							
						 
						
							
							
								
								Create common base classes for buffered streams  
							
							 
							
							... 
							
							
							
							Most streams are backed by a memory buffer. Create common base classes
for this functionality to avoid code duplication. 
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Pierre Ossman
							
						 
						
							 
							
							
							
								
							
								7f90205cf2 
								
							
								 
							
						 
						
							
							
								
								Add stream avail() methods  
							
							 
							
							... 
							
							
							
							Makes it more readable to write code that needs to know how much
data/space is available in a stream. 
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Pierre Ossman
							
						 
						
							 
							
							
							
								
							
								910fd8fa3e 
								
							
								 
							
						 
						
							
							
								
								Remove unused stream methods  
							
							 
							
							... 
							
							
							
							They were accidentally left unused in fbad8a9 so they haven't been used
in some time. 
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Pierre Ossman
							
						 
						
							 
							
							
							
								
							
								c97828471c 
								
							
								 
							
						 
						
							
							
								
								Use proper constants for socket shutdown()  
							
							 
							
							... 
							
							
							
							For readability. 
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Pierre Ossman
							
						 
						
							 
							
							
							
								
							
								c5b7137f2b 
								
							
								 
							
						 
						
							
							
								
								Flush data on close  
							
							 
							
							... 
							
							
							
							There might be some final handshake data that is still stuck in the
buffers, so make a best effort attempt at getting it to the client. 
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Pierre Ossman
							
						 
						
							 
							
							
							
								
							
								a3c0ce55c9 
								
							
								 
							
						 
						
							
							
								
								Support calling methods from timers  
							
							 
							
							... 
							
							
							
							We can't safely use the normal timers in base classes as we cannot
guarantee that subclasses will call the base class' handleTimeout()
properly if the subclass overrides it. 
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								1632f4888d 
								
							
								 
							
						 
						
							
							
								
								Enable basicauth by default, remove the option to supply it on the command line  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								matt
							
						 
						
							 
							
							
							
								
							
								93d3bf052d 
								
							
								 
							
						 
						
							
							
								
								Removed old line  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								matt
							
						 
						
							 
							
							
							
								
							
								7b3f6876b4 
								
							
								 
							
						 
						
							
							
								
								Fixed syntax error  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								matt
							
						 
						
							 
							
							
							
								
							
								46e03289be 
								
							
								 
							
						 
						
							
							
								
								Manually merged region changes  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								c3e30dcea1 
								
							
								 
							
						 
						
							
							
								
								Add support for DLP_Region  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								fed991d697 
								
							
								 
							
						 
						
							
							
								
								Return 401 unauth for non-owner trying /api/  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								1269fddadf 
								
							
								 
							
						 
						
							
							
								
								Add a more specific error for a nonexistent screenshot  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								688e749fda 
								
							
								 
							
						 
						
							
							
								
								Tentative build fix for newer gccs  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								980eedd33b 
								
							
								 
							
						 
						
							
							
								
								Add HTTP GET APIs for creating, removing users and giving control  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								3f6524ee30 
								
							
								 
							
						 
						
							
							
								
								Add support for owner screenshot HTTP GET API  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Dmitry Maksyoma
							
						 
						
							 
							
							
							
								
							
								101695970b 
								
							
								 
							
						 
						
							
							
								
								Reapply "Use crypt_r in threaded code"  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Dmitry Maksyoma
							
						 
						
							 
							
							
							
								
							
								9084409a20 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'users' into packages_and_multiuser_passwd  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Dmitry Maksyoma
							
						 
						
							 
							
							
							
								
							
								fbe05cee86 
								
							
								 
							
						 
						
							
							
								
								Fix random 401 Forbidden on Ubuntu 20 and other newer releases  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Dmitry Maksyoma
							
						 
						
							 
							
							
							
								
							
								90101a7e91 
								
							
								 
							
						 
						
							
							
								
								Rpm: CentOS dfart. Rpm building isn't automated yet.  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Dmitry Maksyoma
							
						 
						
							 
							
							
							
								
							
								c32137fa17 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' into create_ubuntu20_package  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								0d47d4890a 
								
							
								 
							
						 
						
							
							
								
								Enable TLS 1.1 and 1.2  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								a4e70ff56b 
								
							
								 
							
						 
						
							
							
								
								Remove less-than-256-colors indexed limit for small rects  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								83c83f43ef 
								
							
								 
							
						 
						
							
							
								
								Add a parameter for separate SSL key  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								481b063eb7 
								
							
								 
							
						 
						
							
							
								
								Fix missing init for DLP timestamps  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								531705c05c 
								
							
								 
							
						 
						
							
							
								
								Remove set-desktop-size perms from read-only clients  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								1f69d1584a 
								
							
								 
							
						 
						
							
							
								
								Prevent read-only clients from changing kasm settings  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								a27744bca6 
								
							
								 
							
						 
						
							
							
								
								Enable TLS 1.1 and 1.2  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								36deba3a75 
								
							
								 
							
						 
						
							
							
								
								Correct non-basicauth and command-line user:pass being read-only  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								0c83a86bc8 
								
							
								 
							
						 
						
							
							
								
								Dynamically apply permissions  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								263d05a296 
								
							
								 
							
						 
						
							
							
								
								Apply read-only perms upon connecting  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								9a5afc5a62 
								
							
								 
							
						 
						
							
							
								
								Handle the new, multi-user kasmpasswd format auth  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								80513c8616 
								
							
								 
							
						 
						
							
							
								
								Change "recent" to be 10s from 60s, and in its own variable  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								1db77ee6bd 
								
							
								 
							
						 
						
							
							
								
								Add some basicauth logging (most debug/verbose only)  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								279c41fc32 
								
							
								 
							
						 
						
							
							
								
								Add option to pass the password in an encrypted file, kasmvncpasswd utility  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								ae07707e66 
								
							
								 
							
						 
						
							
							
								
								Don't log BasicAuth  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								bb71cd4ec4 
								
							
								 
							
						 
						
							
							
								
								Have stats react faster to big cpu lag spikes  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								99fe70bbd6 
								
							
								 
							
						 
						
							
							
								
								Add a debug-level print on the last ~second's maximum encoding time  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								b30318a68f 
								
							
								 
							
						 
						
							
							
								
								Change stats format to JSON array style  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Lauri Kasanen
							
						 
						
							 
							
							
							
								
							
								d5bdef121a 
								
							
								 
							
						 
						
							
							
								
								Add support for bottleneck stats  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Pierre Ossman
							
						 
						
							 
							
							
							
								
							
								3528e358cc 
								
							
								 
							
						 
						
							
							
								
								Free memory from getaddrinfo()  
							
							 
							
							... 
							
							
							
							We handled this in the failure scenario, but not in the vastly more
common successful case. 
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Andrew Yoder
							
						 
						
							 
							
							
							
								
							
								c312417d81 
								
							
								 
							
						 
						
							
							
								
								Correction to socket error connection message  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Mark Mielke
							
						 
						
							 
							
							
							
								
							
								80a637c793 
								
							
								 
							
						 
						
							
							
								
								Fix division by zero exception in SSecurityPlain.  
							
							 
							
							... 
							
							
							
							If using SSecurityPlain and the user specifies an empty username
and password, it will invoke InStream::checkNoWait(0) which will
cause a division by zero when calculating the number of available
items.
Enhance InStream::check() to behave properly when asked for
zero items, or zero sized items.
Add comments to InStream::check(), InStream::checkNoWait(),
and InStream::readBytes() to document expected behaviour
when requested to check or read zero items, or an item with
zero size. 
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Pierre Ossman
							
						 
						
							 
							
							
							
								
							
								47bba8a1e6 
								
							
								 
							
						 
						
							
							
								
								Fix JpegCompressor::overrun() type change  
							
							 
							
							... 
							
							
							
							The method it overloads got tweaked some time ago, so we need to make
sure this method follows suit. 
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Pierre Ossman
							
						 
						
							 
							
							
							
								
							
								da406d0cac 
								
							
								 
							
						 
						
							
							
								
								Include error code in getaddrinfo() exceptions  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Pierre Ossman
							
						 
						
							 
							
							
							
								
							
								9240f0b85c 
								
							
								 
							
						 
						
							
							
								
								Avoid using insecure variable length arrays  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Alex Tanskanen
							
						 
						
							 
							
							
							
								
							
								03639406dc 
								
							
								 
							
						 
						
							
							
								
								Throw GAIException() for getaddrinfo errors  
							
							 
							
							... 
							
							
							
							Created a new subclass of Exception called GAIException() that will
handle error messages from getaddrinfo() instead of letting Exception()
handle it. GAIException() will make use of gai_strerror() to map the
error code to text. On Windows, gai_strerrorW() must be used if the text
is encoded with UTF-8. 
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Alex Tanskanen
							
						 
						
							 
							
							
							
								
							
								209712b18f 
								
							
								 
							
						 
						
							
							
								
								Fix typo in SocketException message  
							
							 
							
							
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Alex Tanskanen
							
						 
						
							 
							
							
							
								
							
								57427d5d33 
								
							
								 
							
						 
						
							
							
								
								Make system error messeges in Windows 10 use UTF-8  
							
							 
							
							... 
							
							
							
							The previous error messages did not support Unicode characters. This
commit will use UTF-8 encoding to be able to display error messages in
every language. 
							
						 
						
							5 years ago  
						
					 
				
					
						
							
							
								 
								Pierre Ossman
							
						 
						
							 
							
							
							
								
							
								f38e474993 
								
							
								 
							
						 
						
							
							
								
								Fix error check for zlib calls  
							
							 
							
							... 
							
							
							
							There are multiple "okay" return values, not just Z_OK. Make sure we
don't bail out needlessly. 
							
						 
						
							5 years ago