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

How monitor disconnection of a program.

0

Hi everyone,

We have a program like telnet, the wireshark installation is on the host machine. ¿How I can monitor the client and how I can filter this connections (client to host) to know then a network or program disconnect from the host server?

I ready tryed with tcp.flags.reset==1 or tcp.flags.fin==1 but this is not usefull to me, i'm looking a way to get more deep info like what port the client app opens to the host server, etc.

Another thing related is how i can simply detect a network disconnect.

Hope you can understand what i'm trying to say.

Thanks.

asked 18 Jun '12, 04:08

cavemanweb's gravatar image

cavemanweb
1111
accept rate: 0%


One Answer:

0

I ready tryed with tcp.flags.reset==1 or tcp.flags.fin==1 but this is not usefull to me,

why is that not usefull for you?

Did you try to combine those filters with the port number?

tcp.port == 1234 and (tcp.flags.reset==1 or tcp.flags.fin==1)

where 1234 is the port of your application on the server.

Regards
Kurt

answered 18 Jun '12, 05:01

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 18 Jun '12, 05:03