> > Ah..how stupid ;-() I indeed mixed up the server/client here.
> > I;ll look later today exactly what my application (being mirror) wanted
> > to send to the other side because that should not have happened at all.
>
> I checked why my mirror sent these 6 bytes. What happened was that
> wcarchive had reached its maximum number of anonymous ftp users and
> after howing the banner just closed the control connection. Before
> my system got the FIN it tried to send a 'QUIT\r\n' which caused
> the RST from wcarchive.
FWIW, qpopper has a similar problem. If you use an APOP command
to authenticate, and it has problems locking the database, it
"-ERR"'s the APOP, but then immediately "+OK"'s a disconnect,
even if you didn't ask for it.
The correct behaviour (according to the RFC, but who's counting?)
is to "-ERR" and allow the user to attempt a "USER/PASS" authentication
instead (or "QUIT", if they are afraid of sending their password in
the clear).
Terry Lambert
terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message