Re: tcp bug on reeBSD

[ Available lists | Index of freebsd-hackers | Month of Dec 1998 | Week of 18 Dec 1998 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Terry Lambert <tlambert@primenet.com>
Date
18 Dec 1998 14:11:36
Subject
Re: tcp bug on reeBSD
Message-ID
199812182211.PAA12736@usr09.primenet.com


[ Hide this part ]
> > 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


Elapsed time: 0.224 seconds