#include "tls_tunnel.h"Classes | |
| class | tls_tunnel::_SessionPtrDestuctor |
Namespaces | |
| namespace | tls_tunnel |
Defines | |
| #define | return_val_if_neg(C, val) { if (C < 0) {return val;} } |
| #define | MIN_CLIENT_PORT 50000 |
| #define | MAX_CLIENT_PORT 50100 |
| #define | TUNNEL_BUFFER_SIZE 4096 |
| #define | LOCAL_BUFFER_SIZE 4096 |
| #define | TRANSPORT_ERROR "Transport exception: " |
| #define | TLS_SETUP_ERROR "Error setting up TLS connection" |
| #define | TLS_CREDENTIALS_ERROR "Error setting up TLS connection" |
| #define | TLS_VERIFY_PEER_ERROR "Error verifying peer" |
| #define | TLS_VERIFY_HOSTNAME_ERROR "Error verifying hostname" |
| #define | TLS_CANT_GET_PEER_CERT_ERROR "Failed to get peer certificate" |
Typedefs | |
| typedef boost::shared_ptr < asio::ip::tcp::socket > | tls_tunnel::socket_ptr_t |
| typedef boost::shared_ptr < gnutls_session_t > | tls_tunnel::session_ptr_t |
| typedef boost::shared_ptr < std::vector< char > > | tls_tunnel::buffer_ptr_t |
Functions | |
| static ssize_t | tls_tunnel::read (gnutls_transport_ptr_t ptr, void *buffer, size_t size) |
| static ssize_t | tls_tunnel::write (gnutls_transport_ptr_t ptr, const void *buffer, size_t size) |
| #define LOCAL_BUFFER_SIZE 4096 |
Referenced by tls_tunnel::Proxy::tunnel().
| #define MAX_CLIENT_PORT 50100 |
Referenced by tls_tunnel::ClientProxy::setup().
| #define MIN_CLIENT_PORT 50000 |
Referenced by tls_tunnel::ClientProxy::setup().
| #define return_val_if_neg | ( | C, | ||
| val | ||||
| ) | { if (C < 0) {return val;} } |
| #define TLS_CANT_GET_PEER_CERT_ERROR "Failed to get peer certificate" |
Referenced by tls_tunnel::ClientProxy::setup_tls_session().
| #define TLS_CREDENTIALS_ERROR "Error setting up TLS connection" |
| #define TLS_SETUP_ERROR "Error setting up TLS connection" |
| #define TLS_VERIFY_HOSTNAME_ERROR "Error verifying hostname" |
Referenced by tls_tunnel::ClientProxy::setup_tls_session().
| #define TLS_VERIFY_PEER_ERROR "Error verifying peer" |
Referenced by tls_tunnel::ClientProxy::setup_tls_session().
| #define TRANSPORT_ERROR "Transport exception: " |
Referenced by tls_tunnel::ClientProxy::setup().
| #define TUNNEL_BUFFER_SIZE 4096 |
Referenced by tls_tunnel::Proxy::tunnel_().
1.7.1