【发布时间】:2021-09-20 00:15:13
【问题描述】:
是指向紧急数据的最后一个字节,还是指向紧急数据后面的字节?
更新: RFC 6093:
2.2. Semantics of the Urgent Pointer
RFC 1011 [RFC1011] clarified this ambiguity in RFC 793 stating that
"Page 17 is wrong. The urgent pointer points to the last octet of
urgent data (not to the first octet of non-urgent data)". RFC 1122
[RFC1122] formally updated RFC 793 by stating, in Section 4.2.2.4
(page 84), that "the urgent pointer points to the sequence number of
the LAST octet (not LAST+1) in a sequence of urgent data".
TCP/IP 图解:
There is continuing debate about whether the urgent pointer points
to the last byte of urgent data, or to the byte following the last byte
of urgent data. The original TCP specification gave both interpretations
but the Host Requirements RFC identifies which is correct:
the urgent pointer points to the last byte of urgent data.
The problem, however, is that most implementations
(i.e., the Berkeley-derived implementations) continue to use the wrong
interpretation. An implementation that follows the specification in the
Host Requirements RFC might be compliant, but might not communicate
correctly with most other hosts.
【问题讨论】:
标签: linux networking tcp