Emulates Ident daemon. More...
#include <string>
#include <vector>
#include <stack>
#include <list>
#include <map>
#include <stdlib.h>
#include <time.h>
#include "utils/memleak.h"
#include "utils/my_assert.h"
#include "utils.h"
#include "sock.h"
#include "log.h"
#include "stats.h"
#include "match.h"
#include "identd.h"
#include "compat.h"
#include "params.h"
#include "utils/precomp.h"
Go to the source code of this file.
Functions | |
void | identd4_shutdown () |
Shuts down IDENT daemon (IPv4). | |
void | identd6_shutdown () |
Shuts down IDENT daemon (IPv6). | |
bool | identd_check (const string &ident_string, unsigned short local_port, unsigned short remote_port) |
Checks and handles IDENT request. | |
void | identd_error_log (int io_error) |
Writes OS's socket I/O error to log file. | |
void | identd_renew () |
Resets IDENT daemon (both IPv4 and IPv6). | |
void | identd_shutdown () |
Shuts down IDENT daemon (both IPv4 and IPv6). | |
bool | identd_startup (in_addr bind, unsigned short port) |
Starts IDENT daemon. | |
bool | identd_startup (char *bind_ipv6, unsigned short port) |
Starts IDENT daemon. | |
Variables | |
my_time_t | ident_last_response |
Timestamp of last response. | |
c_socket | identd_client |
Socket of IDENTD client. | |
c_socket | identd_client_ipv6 |
Socket of IDENTD client for IPv6 connections. | |
c_socket | identd_sock |
Stores socket handle of IDENT daemon. | |
c_socket | identd_sock_ipv6 |
Stores socket handle of IDENT daemon for IPv6 connections. |
Emulates Ident daemon.
Definition in file identd.cpp.