FreeBSD Bugzilla – Attachment 184680 Details for
Bug 217637
One TCP connection accepted TWO times
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to not send acks in this case
file_217637.txt (text/plain), 672 bytes, created by
Richard Russo
on 2017-07-24 22:09:05 UTC
(
hide
)
Description:
patch to not send acks in this case
Filename:
MIME Type:
Creator:
Richard Russo
Created:
2017-07-24 22:09:05 UTC
Size:
672 bytes
patch
obsolete
>--- sys/netinet/tcp_input.c (revision 321101) >+++ sys/netinet/tcp_input.c (working copy) >@@ -2455,7 +2455,11 @@ > case TCPS_LAST_ACK: > if (SEQ_GT(th->th_ack, tp->snd_max)) { > TCPSTAT_INC(tcps_rcvacktoomuch); >- goto dropafterack; >+ // This violates RFC 793, which says an unacceptable segment >+ // must elicit only an empty acknowledgment segment, but likely >+ // indicates spoofing or a desynchronized TCP state, sending >+ // empty acks won't be helpful in either case >+ goto drop; > } > if ((tp->t_flags & TF_SACK_PERMIT) && > ((to.to_flags & TOF_SACK) ||
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 217637
:
180626
|
180691
|
180692
|
180814
|
180829
|
180996
|
180997
|
180999
|
181000
| 184680