[e2e] Early FIN/close for query-response TCP connections like DNS's

Fernando Gont fernando at gont.com.ar
Thu Oct 14 23:51:17 PDT 2010


On 30/09/2010 05:24 p.m., Stefanos Harhalakis wrote:

>>From what I understand, the FINs are problematic for this kind of traffic so I 
> was wondering: Why not transform this to:
> 
> * Client connects
> * Client queries
> * Client closes
> * Server responds
> * Server closes
> 
> IOW: Since we know that this connection will have a Query and a Response, why 
> not half-close the connection after the query is sent? This requires no 
> modifications to TCP's behavior and will save at least RTT/2 because the 
> server side will not wait for a FIN before closing. (no?)

Are you aiming at reducing state on servers?

If that's the case, one might argue that you still need to handle this
(and any other) sequence gracefully... or else expect that you might be
the subject of DoS attacks....

Thanks,
-- 
Fernando Gont
e-mail: fernando at gont.com.ar || fgont at acm.org
PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1






More information about the end2end-interest mailing list