Check G/K-Lines before the client has been registered, too
This allows to use "*!<user>@<host>" or "*!*@<host>" masks to reject clients even before receiving PASS, NICK and USER commands and before forking authentication child processes which reduces resource usage.
This commit is contained in:
parent
eba95bb0d2
commit
e0c9931ad8
|
@ -2225,6 +2225,7 @@ cb_Read_Resolver_Result( int r_fd, UNUSED short events )
|
|||
"NOTICE AUTH :*** No ident response");
|
||||
}
|
||||
#endif
|
||||
Class_HandleServerBans(c);
|
||||
}
|
||||
#ifdef DEBUG
|
||||
else Log( LOG_DEBUG, "Resolver: discarding result for already registered connection %d.", i );
|
||||
|
|
Loading…
Reference in New Issue