Comments (4)
Hi @christofmuc ,
Reading the doc, I created a file named RandomNumbers.bin in the /common subdirectory (on local and remote host, with the same shared secret).
But now I see my /CMakeLists.txt contains:
set(CRYPTO_FILE "${CMAKE_CURRENT_LIST_DIR}/common/resources/RandomNumbers.bin")
(it was before you commited)
So I mouved my RandomNumbers.bin files in /common/resources on each host, and I works now !
The pb was in the doc...
from jammernetz.
I got it working now : next step for me is to build for Windows (needed to have test session with my band members...).
Thank you !
from jammernetz.
You're correct, that is the message that is emitted when the shared secret from random.bin doesn't allow decoding, normally I have seen this only with a mismatch secret pair.
Did you test a localhost client server build on the same machine? If that works and the error message comes up at two different machines only probably double check the RandomNumbers.bin, because it will be autogenerated by the CMake process.
If that doesn't work, you could try to get it to run without encryption first to see if the Blowfish really is the problem. Looking at the code (it's been awhile) that would be lines 84ff in Client.cpp and lines 43ff of DataAcceptThread.cpp of the client package, and line 71ff of the AcceptThread.cpp and line 75ff in SendThread.cpp of the server package. Looking at this, I should a) add a #define to enable and disable encryption and refactor the code into common to centralize the code for it.
Let me know how it proceeds!
from jammernetz.
Oh, I just merged into master with changes piled up for months. Surprised it works ;-)
The latest master has externalized the shared secret file (it is still the same 72 bytes for Blowfish) - you have a UI to select the file for the client, and specify it on the command line for the server. Makes it easier to change. This is brand new, I haven't really tested it, so go with your version in case you want to test drive a more stable (i.e. hung to dry) software!
from jammernetz.
Related Issues (20)
- Setup.exe generated should have version number in it HOT 1
- Want to specify which port to use HOT 1
- Need to be able to resample to allow mixing 44100 and 48000
- Need to allow to mix different buffer sizes. Currently you need an interface that does 128
- Want to see channels of others (including peak meter?) HOT 1
- Want to be able to control local mix HOT 2
- Choirs: Large number of participants. Would like to have submixers
- Want to be able to control other peoples volume slider.
- Startup is really slow when you have too many Audio interfaces. HOT 1
- Could add better error concealment HOT 1
- Want local monitoring HOT 1
- Client starts in background, users don't see window, open it a second time HOT 1
- Should split session control and audio packets to reduce bandwidth requirement
- SERVER: Port 0 is accepted when no "=" sign is used in specifying command line param HOT 2
- DOC: Hint on creating a random secret HOT 1
- Perhaps oneTBB needs an update HOT 2
- Linux compile error (when compiling oneTBB) HOT 6
- Explanation please - on jitter and buffer sizes HOT 11
- Rename Input Channel HOT 3
- cannot connect with Yamaha MG-XU usb mixers on Windows HOT 32
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jammernetz.