Date: Thu, 15 Oct 2020 08:15:45 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 250360] [tcp] connections should be closed if a same packet without FIN is received after FIN received Message-ID: <bug-250360-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250360 Bug ID: 250360 Summary: [tcp] connections should be closed if a same packet without FIN is received after FIN received Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: yonghaoz1994@gmail.com The connection should be closed with the following packetdrill script `` // Establish a connection. 0 socket(..., SOCK_STREAM, IPPROTO_TCP) = 3 +0 setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 +0 bind(3, ..., ...) = 0 +0 listen(3, 1) = 0 +0 < S 0:0(0) win 32792 <mss 1000,sackOK,nop,nop,nop,wscale 7> +0 ~ +1 > S. 0:0(0) ack 1 <...> +.1 < . 1:1(0) ack 1 win 32792 +0 accept(3, ..., ...) = 4 +0 fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0 +0 < . 1:3962(3961) ack 1 win 28535 +0 < F. 3962:6683(2721) ack 1 win 45489 +0.1 read(4, ..., 177) = 177 +0.1 write(4, ..., 177) = 177 +0.1 write(4, ..., 113) = 113 +0 < . 3962:7468(3506) ack 1 win 29046 +0.1 write(4, ..., 113) = -1 // current we got 113 ``` -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250360-227>
