CVSROOT: /cvs Module name: src Changes by: e...@cvs.openbsd.org 2012/11/02 13:30:57
Modified files: usr.sbin/smtpd : smtp_session.c smtpd.h Log message: Add a "kick counter" that gets incremented on each command, to detect clients that don't do their best to do something useful, and just hog the session. When that kick counter reaches the limit, the client is disconnected. The counter is reset after the first HELO/EHLO command, after tls is established, after a succesful authentication, and after a message is accepted. It is decremented when a RCPT is accepted. ok gilles@