![]() |
Mads
Multi-Agent Distributed System
|
Client-side CURVE credentials for a probe socket: the same key_dir/client/server naming convention every mads-* executable's –crypto/–keys_dir/–key_client/–key_broker flags configure (and that Mads::CurveAuth::setup_curve_client() reads). More...
#include <broker_probe.hpp>
Public Attributes | |
| std::filesystem::path | key_dir |
| std::string | client_key_name = "client" |
| std::string | server_key_name = "broker" |
Client-side CURVE credentials for a probe socket: the same key_dir/client/server naming convention every mads-* executable's –crypto/–keys_dir/–key_client/–key_broker flags configure (and that Mads::CurveAuth::setup_curve_client() reads).
Every probe below takes this as an optional: unset means "probe in the clear", which is right only against a broker started without –crypto. A CURVE-secured broker drops a plain peer during the ZMTP handshake, before a single application frame is exchanged, so an unencrypted probe against an encrypted broker cannot distinguish that broker from a dead one – it simply never gets an answer.
Definition at line 44 of file broker_probe.hpp.
| std::string Mads::ProbeCurveKeys::client_key_name = "client" |
Definition at line 46 of file broker_probe.hpp.
| std::filesystem::path Mads::ProbeCurveKeys::key_dir |
Definition at line 45 of file broker_probe.hpp.
| std::string Mads::ProbeCurveKeys::server_key_name = "broker" |
Definition at line 47 of file broker_probe.hpp.