hitch  1.5.2
About: Hitch is a libev-based high performance SSL/TLS proxy that terminates TLS/SSL connections and forwards the unencrypted traffic to some backend.
  Fossies Dox: hitch-1.5.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

hitch.h File Reference
#include "config.h"
#include <arpa/inet.h>
#include <ev.h>
#include <stdio.h>
#include <syslog.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <openssl/asn1.h>
#include <openssl/engine.h>
#include <openssl/evp.h>
#include <openssl/err.h>
#include <openssl/ssl.h>
#include <openssl/ocsp.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>
#include "configuration.h"
#include "ringbuffer.h"
#include "foreign/asn_gentm.h"
#include "foreign/miniobj.h"
#include "foreign/vas.h"
#include "foreign/vqueue.h"
#include "foreign/vsb.h"
Include dependency graph for hitch.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  sni_name_head
 
struct  sslctx_s
 
struct  sslstaple_s
 
struct  sni_name_s
 
struct  proxystate
 

Macros

#define SSLCTX_MAGIC   0xcd1ce5ff
 
#define SSLSTAPLE_MAGIC   0x20fe53fd
 
#define SNI_NAME_MAGIC   0xb0626581
 
#define PROXYSTATE_MAGIC   0xcf877ed9
 

Typedefs

typedef struct sslstaple_s sslstaple
 
typedef struct sslctx_s sslctx
 
typedef struct sni_name_s sni_name
 
typedef struct proxystate proxystate
 

Functions

X509 * Find_issuer (X509 *subj, STACK_OF(X509) *chain)
 

Variables

sni_namesni_names
 

Macro Definition Documentation

◆ PROXYSTATE_MAGIC

#define PROXYSTATE_MAGIC   0xcf877ed9

Definition at line 120 of file hitch.h.

◆ SNI_NAME_MAGIC

#define SNI_NAME_MAGIC   0xb0626581

Definition at line 98 of file hitch.h.

◆ SSLCTX_MAGIC

#define SSLCTX_MAGIC   0xcd1ce5ff

Definition at line 70 of file hitch.h.

◆ SSLSTAPLE_MAGIC

#define SSLSTAPLE_MAGIC   0x20fe53fd

Definition at line 88 of file hitch.h.

Typedef Documentation

◆ proxystate

typedef struct proxystate proxystate

◆ sni_name

typedef struct sni_name_s sni_name

◆ sslctx

typedef struct sslctx_s sslctx

Definition at line 82 of file hitch.h.

◆ sslstaple

typedef struct sslstaple_s sslstaple

Copyright 2016 Varnish Software

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY BUMP TECHNOLOGIES, INC. `‘AS IS’' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BUMP TECHNOLOGIES, INC. OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition at line 62 of file hitch.h.

Function Documentation

◆ Find_issuer()

X509* Find_issuer ( X509 *  subj,
STACK_OF(X509) *  chain 
)

Definition at line 877 of file hitch.c.

References AN.

Referenced by hocsp_mkreq(), and HOCSP_verify().

Variable Documentation

◆ sni_names

sni_name* sni_names

Definition at line 107 of file hitch.h.

Referenced by cert_commit(), dcert_commit(), and init_certs().