You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
412 B

8 years ago
#ifndef F2B_JAIL_H_
#define F2B_JAIL_H_
#include "log.h"
8 years ago
#include "logfile.h"
8 years ago
#include "ipaddr.h"
#include "config.h"
8 years ago
typedef struct f2b_jail_t {
bool enabled;
8 years ago
time_t bantime;
size_t tries;
char name[CONFIG_KEY_MAX];
char backend[CONFIG_KEY_MAX];
char backend_init[CONFIG_VAL_MAX];
8 years ago
char glob[PATH_MAX];
8 years ago
f2b_logfile_t *logfiles;
f2b_ipaddr_t *ipaddrs;
} f2b_jail_t;
8 years ago
#endif /* F2B_JAIL_H_ */