Search found 27 matches

by acDev
Tue Feb 04, 2014 6:28 am
Forum: Support - RCF
Topic: RCF-OpenSSL with JSON doesn't work on Debian 7
Replies: 4
Views: 7461

Re: RCF-OpenSSL with JSON doesn't work on Debian 7

VladimirD wrote:SSL3_GET_CLIENT_HELLO:no shared cipher
Probably what the cipher algorithm is no longer supported.
How to generate PEM-file ?
by acDev
Tue Feb 04, 2014 6:14 am
Forum: Support - RCF
Topic: [RCF-OPENSSL] Error in client
Replies: 2
Views: 5017

Re: [RCF-OPENSSL] Error in client

Expecting: TRUSTED CERTIFICATE # 1. Create Root private key openssl genrsa -out rcf_root.key 2048 # 2. Create self-signed Root certificate openssl req -new -key rcf_root.key -x509 -out rcf_root.crt -days 5000 -sha256 # 3. Create CA private key openssl genrsa -out rcf_ca.key 2048 # 4. Create CA CSR ...
by acDev
Thu Jan 23, 2014 6:24 am
Forum: Support - RCF
Topic: [RCF::OpenSSL] Memory Leak !
Replies: 2
Views: 5343

Re: [RCF::OpenSSL] Memory Leak !

Requered call fuctions: CONF_modules_free(); ERR_remove_state(0); ENGINE_cleanup(); CONF_modules_unload(1); ERR_free_strings(); EVP_cleanup(); CRYPTO_cleanup_all_ex_data(); sk_free(SSL_COMP_get_compression_methods()); Fix sources. DynamicLib.hpp #define RCF_LOAD_LIB_FUNCTION(funcName) \ pfn_##funcNa...
by acDev
Wed Jan 22, 2014 3:05 pm
Forum: Support - RCF
Topic: [RCF::OpenSSL] Memory Leak !
Replies: 2
Views: 5343

[RCF::OpenSSL] Memory Leak !

Visual Leak Detector: src\rcf\opensslencryptionfilter.cpp (269): Server.exe!RCF::Globals::getOpenSslCryptoDll + 0x28 bytes src\rcf\opensslencryptionfilter.cpp (778): Server.exe!RCF::OpenSslEncryptionFilterImpl::OpenSslEncryptionFilterImpl + 0x66 bytes src\rcf\opensslencryptionfilter.cpp (643): Serve...
by acDev
Tue Jan 14, 2014 9:26 am
Forum: Support - RCF
Topic: [RCF::getRootMutex] Memory Leak ?
Replies: 1
Views: 3661

[RCF::getRootMutex] Memory Leak ?

Original:

Code: Select all

    Mutex & getRootMutex()
    {
        static Mutex * gpRootMutex = new Mutex;
        return *gpRootMutex;
    }
My way:

Code: Select all

    Mutex gRootMutex;

    Mutex & getRootMutex()
    {
        return gRootMutex;
    }
by acDev
Fri Jan 10, 2014 9:17 am
Forum: Support - RCF
Topic: [RCF::Session] How call disconnect on other session?
Replies: 2
Views: 5217

Re: [RCF::Session] How call disconnect on other session?

Then later on you can check whether a session is present for a given client ID, and take appropriate action: RCF::RcfSessionPtr sessionPtr = g_sessionMap[clientId].lock(); if (sessionPtr) { // This client already has a session. // Disconnect it. sessionPtr->disconnect(); // RcfSession1 } How to ens...
by acDev
Thu Jan 09, 2014 5:52 am
Forum: Support - RCF
Topic: [RCF::Session] How call disconnect on other session?
Replies: 2
Views: 5217

[RCF::Session] How call disconnect on other session?

Scenario: 1) Client1 call rpc-method "Login" with parameters: login = "user", password = "123". 2) RcfServer create "RcfSession1" with parameters: login = "user". 3) RcfServer create TokenId and send this to Client1. 4) Client2 call rpc-method "Login" with parameters: login = "user", password = "123...
by acDev
Fri Dec 27, 2013 9:56 am
Forum: Wish List
Topic: [RCF::OpenSSL] Load certificate on server initialization.
Replies: 1
Views: 7545

[RCF::OpenSSL] Load certificate on server initialization.

Need the ability to load certificate on server initialization.

Now the certificate is loaded to its necessity.
by acDev
Fri Dec 20, 2013 7:15 am
Forum: Support - RCF
Topic: [RCF::CallbackConnection] When to destroy ClientPtr ?
Replies: 4
Views: 7301

[RCF::CallbackConnection] When to destroy ClientPtr ?

Example from tutorial: // Server-side - taking control of callback connections. RCF::Mutex gCallbackClientMapMutex; typedef RcfClient<I_HelloWorld> HelloWorldClient; typedef boost::shared_ptr<HelloWorldClient> HelloWorldClientPtr; std::map<std::string, HelloWorldClientPtr> gCallbackClientMap; void o...
by acDev
Sat Nov 30, 2013 8:53 am
Forum: Support - RCF
Topic: [RCF::OpenSSL] Need help. Traffic is not encrypted.
Replies: 3
Views: 6327

Re: [RCF::OpenSSL] Need help. Traffic is not encrypted.

You need to set SSL as the transport protocol on the client stub: client->getClientStub().setTransportProtocol(RCF::Tp_Ssl); Thank you. It's work. Patch for use OpenSSL static link (LIB-files). Index: ./RcfLib/src/RCF/OpenSslEncryptionFilter.cpp =====================================================...