Re: ack number in a connection-refused RST

From: Peter H. Ruegg (lkml+nospam@incense.org)
Date: Fri Oct 06 2000 - 03:29:14 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 5 Oct 2000, Alan Curry wrote:

> Questions:
>
> 1. Could/should the Linux kernel be patched to recognize the one-off sequence
> number and return ECONNREFUSED?

Nope, the sequence number could be correct for another Connection.

> 2. If the BADHOST behavior is incorrect, can a TCP expert please explain
> exactly why, so a bug report can be filed...

Quoting from W. Richard Stevens:
"Since every byte that is exchanged is numbered, the acknowledgment number
contains the next sequence number that the sender of the acknowledgment
expects to receive. This is therefore the sequence number plus 1 of the last
successfully received byte of data. This field is valid only if the ACK
flag is on."

> 3. Does anybody know where to file a bug report on the Sega Dreamcast TCP?

;-)

Greets

Peter H. Ruegg

- --8<-------------------------------------------------------------------------
main(){char*s="O_>>^PQAHBbPQAHBbPOOH^^PAAHBJPAAHBbPA_H>BB";int i,j,k=1,l,m,n;
for(j=0;j<7;j++)for(l=0;m=l-6+j,i=m/6,n=j*6+i,k=1<<m%6,l<41-j;l++)
putchar(l<6-j?' ':l==40-j?'\n':k&&s[n]&k?'*':' ');}

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQA/AwUBOd2NYFcv4X0c4GKrEQImfACfdi5YEYCuVbiCSV0PdaGqGdrOy1gAoJ73
kp2mbq7xnJajJ+PHQoxAXhoa
=NKVF
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Oct 07 2000 - 21:00:18 EST