diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-06-11 11:19:09 +0100 |
---|---|---|
committer | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-06-11 11:19:09 +0100 |
commit | 65907a433ac0ca450c4408080f24c6e4743386b2 (patch) | |
tree | 086656bf856f17038ca040a9bfb8e4c63e3707a3 /arch/mips/basler | |
parent | 1e2f0e5e8376f2a0ada8760fc9d3104e1a81382b (diff) | |
download | blackbird-op-linux-65907a433ac0ca450c4408080f24c6e4743386b2.tar.gz blackbird-op-linux-65907a433ac0ca450c4408080f24c6e4743386b2.zip |
dccp ccid-2: Bug-Fix - Ack Vectors need to be ignored on request sockets
This fixes an oversight from an earlier patch, ensuring that Ack Vectors
are not processed on request sockets.
The issue is that Ack Vectors must not be parsed on request sockets, since
the Ack Vector feature depends on the selection of the (TX) CCID. During the
initial handshake the CCIDs are undefined, and so RFC 4340, 10.3 applies:
"Using CCID-specific options and feature options during a negotiation
for the corresponding CCID feature is NOT RECOMMENDED [...]"
And it is not even possible: when the server receives the Request from the
client, the CCID and Ack vector features are undefined; when the Ack finalising
the 3-way hanshake arrives, the request socket has not been cloned yet into a
full socket. (This order is necessary, since otherwise the newly created socket
would have to be destroyed whenever an option error occurred - a malicious
hacker could simply send garbage options and exploit this.)
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Diffstat (limited to 'arch/mips/basler')
0 files changed, 0 insertions, 0 deletions