Wiki Wang
beb82f8dde
Add trle decoder
7 years ago
Christian Beier
6814e946e0
libvncclient: rename rfbsasl.[c|h] to sasl.[c|h] to be in line with naming of other files
7 years ago
Christian Beier
df11e806a3
Move HAVE_SASL #ifdefs into header file to have less LOC
7 years ago
Christian Beier
666f37efc0
Fix building whithout SASL
7 years ago
Christian Beier
98e1be528f
Merge branch 'sasl2' of git://github.com/simonwaterman/libvncserver into simonwaterman-sasl2
7 years ago
Christian Beier
1155edec9e
Merge pull request #188 from Cordius/master
...
fix: the function should not return a value
7 years ago
Wu Zongyong
2c2f103304
fix: the function should not return a value
8 years ago
simon
cb4e15c1ae
Added SASL authentication support
...
Added SASL support to OpenSSL
8 years ago
Christian Beier
7362db632a
Merge pull request #161 from jlesage/master-base64-compat
...
websockets: Fixed compilation of websockets on systems where there is no implementation of base64 functions.
8 years ago
Jocelyn Le Sage
e8a1ca2035
Fixed compilation of websockets on system where there is no implementation of base64 functions.
8 years ago
Christian Beier
ada4b4fc5a
Merge pull request #158 from kempniu/gtk-vnc-0.7.0-compat
...
websockets: Ensure compatibility with gtk-vnc 0.7.0+
8 years ago
Christian Beier
051fe2a009
websockets: hide decode debug output per default
8 years ago
Christian Beier
0e76b289c8
websockets: only build tests for a websockets-enabled build
8 years ago
Christian Beier
f48921becf
websockets: restore webSocketCheckDisconnect() to keep API compatibility
8 years ago
Andreas Weigel
ef8d2852f5
remove potential 64 bit len overflow calculation
8 years ago
Andreas Weigel
5d9d6a8712
add decode support for continuation frames
...
use FIN bit and implement opcode 0x00
make consistent use of uint64_t for big frame sizes
8 years ago
Andreas Weigel
8fefdcde27
fix problems in test and requests for cmake build
...
add missing stdarg header
fix hardcoded errno integer values in tests
add dependency to wstestdata and rename to prevent building it as c
source
8 years ago
Andreas Weigel
a90a43cda5
remove Hixie-specific MD5 and check functions
8 years ago
Andreas Weigel
826e0f9e39
add generation wstest to cmake
...
add wstestdata.c, because the python data generation script has too many
dependencies
remove some redundance from jpeg test creation
add support for decoding close messages
8 years ago
Andreas Weigel
f19d6ee225
add ws_decode tests
...
modify automake to include ws_decode test
add python frame generator for decode tests
modify configure to only include ws_decode test if preconditions are
fulfilled
8 years ago
Andreas Weigel
a2322e7006
remove obsolete hixie protocol support
8 years ago
Andreas Weigel
bcefa591cd
factor out hybi decode part to make it testable
...
remove direct dependency on rfbClientPtr structure in hybi decode
function(s)
8 years ago
Andreas Weigel
aac95a9dcf
fix overflow and refactor websockets decode (Hybi)
...
fix critical heap-based buffer overflow which allowed easy modification
of a return address via an overwritten function pointer
fix bug causing connections to fail due a "one websocket frame = one
ws_read" assumption, which failed with LibVNCServer-0.9.11
refactor websocket Hybi decode to use a simple state machine for
decoding of websocket frames
8 years ago
Christian Beier
0fcd4a3b52
Merge pull request #175 from simonwaterman/x509verify
...
Added support for X509 server certificate verification
8 years ago
Christian Beier
edd1acec7c
Merge pull request #176 from simonwaterman/x509verify-openssl
...
X509 certificate verification for OpenSSL
8 years ago
Christian Beier
9485359451
Merge pull request #178 from lioncash/leak
...
font: Fix a small resource leak in a failure case in rfbLoadConsoleFont()
8 years ago
Lioncash
c550e1ac69
font: Fix a small resource leak in a failure case in rfbLoadConsoleFont()
...
The file handle wouldn't be closed in this instance.
8 years ago
simon
2c87a631fa
X509 certificate verification for OpenSSL
8 years ago
simon
cc10eab7eb
Removed comment left over from development
8 years ago
simon
cc69ee96e1
Modified certificate verification for compatibility with GnuTLS 2.12.23
8 years ago
Christian Beier
c80879ee69
CMake: add all function checks that used to be in configure.ac
...
Fixes #174
8 years ago
Christian Beier
81d5b844ed
CMake: properly name rfbconfig.h cmake template
8 years ago
Christian Beier
21ac080383
TravisCI: point OSX CMake to OpenSSL root dir
8 years ago
Christian Beier
5e6a0daed5
Merge branch 'tmcqueengit push origin master-materials-patch-1'
8 years ago
Christian Beier
7ccae55b59
CMake: include a FindFFMPEG module and use it
...
Thankfully taken from https://github.com/robotology/ycm/blob/master/find-modules/FindFFMPEG.cmake
8 years ago
tmcqueen-materials
ecb81d0e75
Update vnc2mpg.c
...
correct mistaken references to update_time...
8 years ago
simon
6c312aaf5b
Added support for X509 server certificate verification as part of the handshake process.
8 years ago
Christian Beier
fc2899af7a
CMake: set LIBVNCSERVER_HAVE_FORK in rfbconfig.h if fork() found
8 years ago
Christian Beier
2197b415f2
CMake: set LIBVNCSERVER_HAVE_LIBSSL in rfbconfig.h if OpenSSL found
8 years ago
Christian Beier
6d4bb07ea6
CMake: detect mmap() and write result to rfbconfig.h
8 years ago
tmcqueen-materials
709c8ea862
Update vnc2mpg.c
...
This update makes the example work on versions of ffmpeg newer than "ancient," fixes a bunch of bugs in the process, and with better documentation of the pitfalls.
8 years ago
Christian Beier
32301cb73f
Merge branch 'dborth-patch-1'
8 years ago
dborth
652f5a4b1c
Set trueColour flag to 1 instead of 255
...
It turns out some server implementations (namely VMware ESXi 6.5) expect
1 as the only non-zero value for the SetPixelFormat message whereas the protocol
states every non-zero value is valid
(https://github.com/rfbproto/rfbproto/blob/master/rfbproto.rst#setpixelformat ).
Anyway, setting this to 1 shouldn't hurt.
Fixes #141
8 years ago
Christian Beier
ef97186023
CMake: automatically build androidvncserver when crosscompiling for Android
8 years ago
Christian Beier
80ad74f761
Fix building for Android and add build instructions to README
8 years ago
Christian Beier
5b920be490
CMake: when crosscompiling for Android, don't look for systemd
8 years ago
Christian Beier
ec6d0f7259
Fix a compiler warning
8 years ago
Christian Beier
0d5d16b4a7
CMake: only build TurboJPEG unit tests if lib has jpeg support
8 years ago
Christian Beier
9d37f15992
AppVeyorCI: change libpng download link to sth that works
8 years ago
Christian Beier
a17a35a834
Merge branch 'ldmnyblzs-circle'
8 years ago