|
| void | connopen_reset () |
| |
| int | connopen_check_host (char *, char *, int) |
| |
| bool | connopen_clean_table () |
| |
| void | connopen_print_table (int) |
| |
| bool | smtprate_init (size_t, size_t) |
| |
| void | smtprate_free () |
| |
| bool | smtprate_resize (size_t, size_t) |
| |
| bool | smtprate_cleanup_table (time_t now, time_t win) |
| |
| int | smtprate_update_table (time_t) |
| |
| void | smtprate_log_table () |
| |
| void | smtprate_print_table (int, int, int, int, time_t, uint32_t, int) |
| |
| void | smtprate_save_table (char *) |
| |
| int | smtprate_read_table (char *) |
| |
| uint32_t | smtprate_str2flags (char *) |
| |
| int | smtprate_add_entry (int, char *, char *, int, time_t) |
| |
| int | smtprate_check (int, char *, time_t) |
| |
Control and limit various rates during SMTP session
◆ DEFAULT_WINDOW
| #define DEFAULT_WINDOW -1 |
◆ RATE_AUTH_CONN
| #define RATE_AUTH_CONN 13 |
◆ RATE_AUTH_MSGS
| #define RATE_AUTH_MSGS 14 |
◆ RATE_AUTH_RCPT
| #define RATE_AUTH_RCPT 15 |
◆ RATE_BOUNCE
◆ RATE_CONN
◆ RATE_DIM
◆ RATE_FROM_CONN
| #define RATE_FROM_CONN 10 |
◆ RATE_FROM_MSGS
| #define RATE_FROM_MSGS 11 |
◆ RATE_FROM_RCPT
| #define RATE_FROM_RCPT 12 |
◆ RATE_HAM
◆ RATE_MSGS
◆ RATE_RCPT
◆ RATE_SCORE
◆ RATE_SPAM
◆ RATE_SVCTIME
◆ RATE_VOLUME
◆ RATE_XFILES
◆ USE_SMTPRATE
◆ connopen_check_host()
| int connopen_check_host |
( |
char * |
, |
|
|
char * |
, |
|
|
int |
|
|
) |
| |
◆ connopen_clean_table()
| bool connopen_clean_table |
( |
| ) |
|
◆ connopen_print_table()
| void connopen_print_table |
( |
int |
| ) |
|
◆ connopen_reset()
◆ smtprate_add_entry()
| int smtprate_add_entry |
( |
int |
, |
|
|
char * |
, |
|
|
char * |
, |
|
|
int |
, |
|
|
time_t |
|
|
) |
| |
◆ smtprate_check()
| int smtprate_check |
( |
int |
, |
|
|
char * |
, |
|
|
time_t |
|
|
) |
| |
◆ smtprate_cleanup_table()
| bool smtprate_cleanup_table |
( |
time_t |
now, |
|
|
time_t |
win |
|
) |
| |
◆ smtprate_free()
◆ smtprate_init()
| bool smtprate_init |
( |
size_t |
, |
|
|
size_t |
|
|
) |
| |
◆ smtprate_log_table()
| void smtprate_log_table |
( |
| ) |
|
◆ smtprate_print_table()
| void smtprate_print_table |
( |
int |
, |
|
|
int |
, |
|
|
int |
, |
|
|
int |
, |
|
|
time_t |
, |
|
|
uint32_t |
, |
|
|
int |
|
|
) |
| |
◆ smtprate_read_table()
| int smtprate_read_table |
( |
char * |
| ) |
|
◆ smtprate_resize()
| bool smtprate_resize |
( |
size_t |
, |
|
|
size_t |
|
|
) |
| |
◆ smtprate_save_table()
| void smtprate_save_table |
( |
char * |
| ) |
|
◆ smtprate_str2flags()
◆ smtprate_update_table()
| int smtprate_update_table |
( |
time_t |
| ) |
|
◆ smtprate_interval
| unsigned int smtprate_interval |
◆ smtprate_window
| unsigned int smtprate_window |