-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CmdMess access voilation on Send #2
Comments
In CmdMess you should use the LUID (Locally Unique Identifier) to send a message. When the peer connects you will see the LUID in the console. You also need to specify the number of times to send at the end. So the command is |
I was able to repro the issue; it was an issue that would occur in the 32-bit version of CmdMess due to an incorrect formatting option. You can see the changes in commit 5798e29. The peer LUID is a 64-bit number and requires the You can apply those two small changes yourself or sync with master branch to get the latest updates. Thanks for reporting. Do keep in mind that the way CmdMess is written, it requires the peer LUID when using the Because there are no limits for a peer to use the same UUID as another peer, or to try to spoof another peer by using the same UUID, you should only rely on the UUID if authentication is enabled. That way it's impossible for someone to spoof another peer with the same UUID unless they also have the private (secret) key associated with that UUID. If they try to use someone else's UUID and don't have the private key, authentication will fail and the connection will not be accepted (if QuantumGate is configured to require authentication). There are ways for an app or extender that you write to check if a connection to a peer is authenticated. For example, the |
I made these small changes and it works fine and thanks for the fix and clear explanation of the platform . |
You're welcome. :) |
When I run the CMDMess on 2 different machines I am able to connect the two machines. But when I do
send UUID_of_remote "hello"
it throws exceptionException thrown at 0x528E175F (ucrtbased.dll) in CmdMess.exe: 0xC0000005: Access violation reading location 0x00000001.
Is it due to
auto m_Extender = std::make_shared<TestExtender::Extender>(nullptr);
beingnullptr
I have all the libraries working well. This is we try to run in Debug/Release 32 mode and I have changed UUID at line
params.UUID.Set
of one machine so that two of them dont have same UUIDThe text was updated successfully, but these errors were encountered: