From: Guilherme Maciel Ferreira Date: Tue, 9 Aug 2011 01:28:50 +0000 (-0300) Subject: Adding a remark about sequence number from RST X-Git-Tag: v1.1^2~25 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=9f70f46833bbc22beb907219ae0ffb71ce5a0626;p=pingcheck Adding a remark about sequence number from RST --- diff --git a/src/tcp/tcppinger.cpp b/src/tcp/tcppinger.cpp index 34d4580..ca22f07 100644 --- a/src/tcp/tcppinger.cpp +++ b/src/tcp/tcppinger.cpp @@ -303,8 +303,8 @@ void TcpPinger::handle_receive_tcp_segment( const size_t &bytes_transferred ) TcpHeader tcp_header; is >> ipv4_header >> tcp_header; - // filter out only the TCP reset (RST) replies that match the our expected - // sequence number. + // filter out only the TCP reset (RST) replies. Note that the sequence + // number from RST does not match the sent ACK's sequence number. if ( is && tcp_header.reset() && ipv4_header.get_source_address() == DestinationEndpoint.address() )