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.
19 lines
318 B
19 lines
318 B
#ifndef F2B_JAIL_H_ |
|
#define F2B_JAIL_H_ |
|
|
|
#include "logfile.h" |
|
#include "ipaddr.h" |
|
|
|
#define LOGLINE_MAX 2048 |
|
|
|
typedef struct f2b_jail_t { |
|
char name[32]; |
|
time_t bantime; |
|
size_t tries; |
|
char glob[PATH_MAX]; |
|
f2b_logfile_t *logfiles; |
|
f2b_ipaddr_t *pending; |
|
f2b_ipaddr_t *banned; |
|
}; |
|
|
|
#endif /* F2B_JAIL_H_ */
|
|
|