lkml.org 
[lkml]   [1998]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectLinux recvfrom() broken (was: DNS problems)


---------- Forwarded message ----------
Date: Tue, 18 Aug 1998 09:57:51 -0700
From: Paul A Vixie <paul@vix.com>
To: Dax Kelson <dkelson@inconnect.com>
Cc: Mark.Andrews@dms.csiro.au,
halley@vix.com
Subject: Re: More from BIND maintainers (fwd)

> From: D. J. Bernstein <djb@cr.yp.to>
>
> Bullshit. The recvfrom() return value is limited to the size of the
> supplied buffer.

better fix those kernels then.

> This means, for example, that if some version of res_mkquery() sets
> the query rcode to 2, and the server legitimately responds with an
> 1147-byte UDP packet, but the buffer size is only 512, then the return
> value from res_send() will be 512, not 1147, and the suggested ``fix''
> will fail.

a legitimate 1147-byte DNS UDP packet is an interesting concept.




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

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.041 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site