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.

20 lines
318 B

8 years ago
#ifndef F2B_JAIL_H_
#define F2B_JAIL_H_
#include "logfile.h"
8 years ago
#include "ipaddr.h"
8 years ago
#define LOGLINE_MAX 2048
typedef struct f2b_jail_t {
char name[32];
8 years ago
time_t bantime;
size_t tries;
char glob[PATH_MAX];
8 years ago
f2b_logfile_t *logfiles;
8 years ago
f2b_ipaddr_t *pending;
f2b_ipaddr_t *banned;
8 years ago
};
#endif /* F2B_JAIL_H_ */