FreeBSD Bugzilla – Attachment 5838 Details for
Bug 13639
incorrect handling of TCP reset connection in libalias
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.08 KB, created by
david
on 1999-09-08 13:00:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
david
Created:
1999-09-08 13:00:01 UTC
Size:
1.08 KB
patch
obsolete
>*** /usr/src/lib/libalias/alias.c Wed Mar 24 17:12:00 1999 >--- libalias/alias.c Wed Jul 28 10:58:32 1999 >*************** >*** 139,144 **** >--- 139,148 ---- > case ALIAS_TCP_STATE_NOT_CONNECTED: > if (tc->th_flags & TH_SYN) > SetStateIn(link, ALIAS_TCP_STATE_CONNECTED); >+ if (tc->th_flags & TH_RST) { >+ SetStateIn(link, ALIAS_TCP_STATE_DISCONNECTED); >+ SetStateOut(link, ALIAS_TCP_STATE_DISCONNECTED); >+ } > break; > case ALIAS_TCP_STATE_CONNECTED: > if (tc->th_flags & TH_FIN >*************** >*** 160,165 **** >--- 164,173 ---- > case ALIAS_TCP_STATE_NOT_CONNECTED: > if (tc->th_flags & TH_SYN) > SetStateOut(link, ALIAS_TCP_STATE_CONNECTED); >+ if (tc->th_flags & TH_RST) { >+ SetStateIn(link, ALIAS_TCP_STATE_DISCONNECTED); >+ SetStateOut(link, ALIAS_TCP_STATE_DISCONNECTED); >+ } > break; > case ALIAS_TCP_STATE_CONNECTED: > if (tc->th_flags & TH_FIN
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 13639
: 5838 |
5839