Show rejectcache/throttle in /testline output.
This adds more RPL_TESTLINE numerics with code '!'. Different from the other results, the I/K line or RESV will be shown as well.
This commit is contained in:
parent
16ef24cf38
commit
83235e9ed5
3 changed files with 63 additions and 0 deletions
|
@ -32,12 +32,14 @@
|
|||
void init_reject(void);
|
||||
int check_reject(rb_fde_t *F, struct sockaddr *addr);
|
||||
void add_reject(struct Client *, const char *mask1, const char *mask2);
|
||||
int is_reject_ip(struct sockaddr *addr);
|
||||
void flush_reject(void);
|
||||
int remove_reject_ip(const char *ip);
|
||||
int remove_reject_mask(const char *mask1, const char *mask2);
|
||||
unsigned long delay_exit_length(void);
|
||||
|
||||
int throttle_add(struct sockaddr *addr);
|
||||
int is_throttle_ip(struct sockaddr *addr);
|
||||
unsigned long throttle_size(void);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue