![]() |
ucspi-ssl
0.12.7
ucspi-ssl
|
IPv6 enabled sslclient. More...
#include <unistd.h>
#include <sys/types.h>
#include <sys/param.h>
#include <netdb.h>
#include <arpa/inet.h>
#include "ucspissl.h"
#include "sig.h"
#include "exit.h"
#include "getoptb.h"
#include "uint_t.h"
#include "fmt.h"
#include "scan.h"
#include "str.h"
#include "ip.h"
#include "socket_if.h"
#include "fd.h"
#include "stralloc.h"
#include "buffer.h"
#include "getln.h"
#include "logmsg.h"
#include "pathexec.h"
#include "timeoutconn.h"
#include "remoteinfo.h"
#include "dnsresolv.h"
#include "byte.h"
#include "ndelay.h"
#include "wait.h"
#include "auto_cafile.h"
#include "auto_cadir.h"
#include "auto_ciphers.h"
Go to the source code of this file.
Macros | |
#define | WHO "sslclient" |
Functions | |
void | nomem (void) |
void | env (const char *s, const char *t) |
void | usage (void) |
void | read_passwd () |
int | passwd_cb (char *buf, int size, int rwflag, void *userdata) |
int | main (int argc, char *const *argv) |
Variables | |
int | verbosity = 1 |
int | flagdelay = 0 |
int | flagremoteinfo = 0 |
int | flagremotehost = 1 |
int | flag3 = 0 |
int | flagsslenv = 0 |
int | flagtcpenv = 0 |
int | flagsni = 0 |
unsigned long | itimeout = 26 |
unsigned long | ctimeout [2] = { 2, 58 } |
unsigned int | progtimeout = 3600 |
uint32 | netif = 0 |
const char * | loopback = "127.0.0.1" |
char | iplocal [16] = { 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 } |
uint16 | portlocal = 0 |
const char * | forcelocal = 0 |
char | ipremote [16] |
uint16 | portremote |
const char * | hostname |
int | flagname = 1 |
int | flagservercert = 1 |
char | seed [128] |
char | bspace [16] |
buffer | b |
SSL_CTX * | ctx |
const char * | certfile = 0 |
const char * | keyfile = 0 |
const char * | cafile = auto_cafile |
const char * | cadir = auto_cadir |
const char * | ciphers = auto_ciphers |
stralloc | password = {0} |
int | match = 0 |
int | verifydepth = 1 |
int | pi [2] |
int | po [2] |
int | pt [2] |
IPv6 enabled sslclient.
Definition in file sslclient.c.
#define WHO "sslclient" |
Definition at line 37 of file sslclient.c.
void env | ( | const char * | s, |
const char * | t | ||
) |
int main | ( | int | argc, |
char *const * | argv | ||
) |
void nomem | ( | void | ) |
Definition at line 39 of file sslclient.c.
int passwd_cb | ( | char * | buf, |
int | size, | ||
int | rwflag, | ||
void * | userdata | ||
) |
Definition at line 127 of file sslclient.c.
void read_passwd | ( | void | ) |
Definition at line 117 of file sslclient.c.
void usage | ( | void | ) |
Definition at line 46 of file sslclient.c.
buffer b |
Definition at line 101 of file sslclient.c.
char bspace[16] |
Definition at line 100 of file sslclient.c.
const char* cadir = auto_cadir |
Definition at line 107 of file sslclient.c.
const char* cafile = auto_cafile |
Definition at line 106 of file sslclient.c.
const char* certfile = 0 |
Definition at line 104 of file sslclient.c.
const char* ciphers = auto_ciphers |
Definition at line 108 of file sslclient.c.
unsigned long ctimeout[2] = { 2, 58 } |
Definition at line 74 of file sslclient.c.
SSL_CTX* ctx |
Definition at line 103 of file sslclient.c.
int flag3 = 0 |
Definition at line 69 of file sslclient.c.
int flagdelay = 0 |
Definition at line 66 of file sslclient.c.
int flagname = 1 |
Definition at line 87 of file sslclient.c.
int flagremotehost = 1 |
Definition at line 68 of file sslclient.c.
int flagremoteinfo = 0 |
Definition at line 67 of file sslclient.c.
int flagservercert = 1 |
Definition at line 88 of file sslclient.c.
int flagsni = 0 |
Definition at line 72 of file sslclient.c.
int flagsslenv = 0 |
Definition at line 70 of file sslclient.c.
int flagtcpenv = 0 |
Definition at line 71 of file sslclient.c.
const char* forcelocal = 0 |
Definition at line 81 of file sslclient.c.
const char* hostname |
Definition at line 86 of file sslclient.c.
char iplocal[16] = { 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 } |
Definition at line 79 of file sslclient.c.
char ipremote[16] |
Definition at line 83 of file sslclient.c.
unsigned long itimeout = 26 |
Definition at line 73 of file sslclient.c.
const char* keyfile = 0 |
Definition at line 105 of file sslclient.c.
const char* loopback = "127.0.0.1" |
Definition at line 78 of file sslclient.c.
int match = 0 |
Definition at line 110 of file sslclient.c.
uint32 netif = 0 |
Definition at line 76 of file sslclient.c.
stralloc password = {0} |
Definition at line 109 of file sslclient.c.
int pi[2] |
Definition at line 113 of file sslclient.c.
int po[2] |
Definition at line 114 of file sslclient.c.
uint16 portlocal = 0 |
Definition at line 80 of file sslclient.c.
uint16 portremote |
Definition at line 84 of file sslclient.c.
unsigned int progtimeout = 3600 |
Definition at line 75 of file sslclient.c.
int pt[2] |
Definition at line 115 of file sslclient.c.
char seed[128] |
Definition at line 98 of file sslclient.c.
int verbosity = 1 |
Definition at line 65 of file sslclient.c.
int verifydepth = 1 |
Definition at line 111 of file sslclient.c.