BIND 10 #234: Receive of partial DNS message on TCP does not buffer properly
BIND 10 Development
do-not-reply at isc.org
Thu Jun 10 01:56:14 UTC 2010
#234: Receive of partial DNS message on TCP does not buffer properly
----------------------+-----------------------------------------------------
Reporter: shane | Owner:
Type: defect | Status: new
Priority: major | Milestone: feature backlog item
Component: b10-auth | Resolution:
Keywords: | Sensitive: 0
----------------------+-----------------------------------------------------
Comment(by jinmei):
Replying to [ticket:234 shane]:
> When we receive TCP data in the auth-srv, we parse it right away. If we
only have a partial DNS message, the query fails. We should handle this
properly, by buffering the data somehow.
Is that true? From a quick look at the TCPClient class implementation
it doesn't seem to call AuthSrv::processMessage() until it receives a
complete message. (At least that was my intent of the
implementation).
(Yeah we need an abstract layer and unit tests for such cases,
regardless)
--
Ticket URL: <https://bind10.isc.org/ticket/234#comment:1>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list