Project

General

Profile

Actions

Bug #5158

closed

TCP RST ⇒ Transport endpoint is not connected

Added by Junxiao Shi over 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Faces
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

NFD crashes if it receives the following sequence of packets:

  1. NFD receives a TCP packet with SYN,ECN,CWR flags, Seq=x.
  2. NFD responds a TCP packet with SYN and ACK flags, Seq=y.
  3. NFD receives a TCP packet with ACK flag, Seq=x+1, Ack=y+1.
  4. NFD receives a TCP packet with RST,ACK flags, Seq=x+1, Ack=y+1.

Error message:

Apr 13 13:30:35 bbb nfd[1644]: 1618320635.134788 FATAL: [nfd.Main] Throw location unknown (consider using BOOST_THROW_EXCEPTION)
Apr 13 13:30:35 bbb nfd[1644]: Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >
Apr 13 13:30:35 bbb nfd[1644]: std::exception::what: remote_endpoint: Transport endpoint is not connected
Apr 13 13:30:35 bbb systemd[1]: nfd.service: Main process exited, code=exited, status=1/FAILURE
Apr 13 13:30:35 bbb systemd[1]: nfd.service: Failed with result 'exit-code'.

NFD version:

Apr 13 13:30:36 bbb nfd[5978]: NFD version 0.7.1-18-g22085365 starting
Apr 13 13:30:36 bbb nfd[5978]: Built with GNU C++ version 8.3.0, with GNU libstdc++ version 20190406, with Boost version 1.67.0, with libpcap version 1.8.1, with WebSocket++ version 0.8.1, with ndn-cxx version 0.7.1-13-gaef53b6c

Files

bug5158.pcap (340 Bytes) bug5158.pcap packet trace that triggers the crash Junxiao Shi, 04/14/2021 01:14 PM
reproduce5158.tar (10 KB) reproduce5158.tar program to transmit packets for reproducing the bug Junxiao Shi, 04/14/2021 01:18 PM
Actions

Also available in: Atom PDF