This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

About the TCP connection state changes

0

Hi: Ask about the state of the TCP protocol changes:

  1. After the client sends a SYN packet, received RST packet on the server side, connection status changes and subsequent behavior?
  2. After the client sends a SYN packet, did not receive any packets,connection status changes and subsequent behavior?
  3. After the client sends a SYN packet received from the server-side packet SYN flag bit is not set,connection status changes and subsequent behavior?
  4. When the server-side in the SYN-RVCD state,received from the client-side packet RST flag bit is set,connection status changes and subsequent behavior?
  5. When the server-side in the SYN-RVCD state,Has not received a follow-up packet,connection status changes and subsequent behavior?
  6. When the server-side in the ESTABLISHED state,received from the client-side packet RST flag bit is set,connection status changes and subsequent behavior?
  7. When the server-side in the CLOSE-WAIT state,received from the client-side packet RST flag bit is set,connection status changes and subsequent behavior?
  8. When the server-side in the LAST-ACK state,received from the client-side packet RST flag bit is set,connection status changes and subsequent behavior?
  9. When the client-side in the FIN-WAIT-1 state,received from the server-side packet RST flag bit is set,connection status changes and subsequent behavior?
  10. When the client-side in the FIN-WAIT-2 state,received from the server-side packet RST flag bit is set,connection status changes and subsequent behavior?

Thanks

asked 28 Mar '13, 05:38

mengsunny's gravatar image

mengsunny
11446
accept rate: 0%

edited 28 Mar '13, 05:45

grahamb's gravatar image

grahamb ♦
19.8k330206


2 Answers:

2

I doubt anyone here is going to do that much work for you on an obvious homework assignment... you should install Wireshark and start testing connections to sites that work, sites that do not have ports open etc.

Find that stuff out yourself, and ask questions about specific findings that you do not understand, but don't expect to get your paper handed to you just by asking a quoted exercise instruction.

answered 28 Mar '13, 05:43

Jasper's gravatar image

Jasper ♦♦
23.8k551284
accept rate: 18%

1

@Jasper, I guess we're getting old. Our generation tried to find out things for themselves. Then we had the generation that googled for stuff and now it seems we have a generation that asks other people to google for them ;-)

(28 Mar '13, 05:49) SYN-bit ♦♦

To accept criticism, to find the answer.

(28 Mar '13, 05:56) mengsunny

Well then, accept the feedback that you should find the answers yourself first ;-)

(28 Mar '13, 06:29) Jasper ♦♦

it seems we have a generation that asks other people to google for them ;-)

that usually makes me answer with a link to http://lmgtfy.com/ :-)

(28 Mar '13, 14:59) Kurt Knochner ♦

Is it just me, or are there no real questions?

Or, what is the meaning of the following?

connection status changes and subsequent behavior?

(28 Mar '13, 15:02) Kurt Knochner ♦

Presumably you're supposed to insert "what are the" before each of those items.

Hopefully mengsunny can drink from the firehose I pointed in their direction.

(28 Mar '13, 21:11) Guy Harris ♦♦

I'm guessing the original homework assignment is in a language other than English, and there is an attempt to translate it. The question I expect is "what happens to the connect state, and what is the subsequent behaviour of the communicating systems?" (or something like that ;-) )

(29 Mar '13, 00:01) martyvis

I am Chinese, English is not good, so the question expression unclear.

(29 Mar '13, 00:10) mengsunny

Have you tried using Scapy to simulate these scenarios? You can script any traffic flow with scapy.

(29 Mar '13, 03:08) SYN-bit ♦♦
showing 5 of 10 show 5 more comments

0

See this.

answered 28 Mar '13, 11:37

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%