1

I have weird problem with one of my applications (servers ), its suddenly starts to read socket and before it written back, the connection is closed this is what I see in my logs. Is there any tool in Linux centos that let me see what is happening in this time frame some tools to debug the network ?

0

Use tcpdump or wireshark. tcpdump is a common packet analyzer that runs under the command line. Wirehark is GUI application.

Also you can use strace to trace system call.

0

Along with wireshark and tcpdump, you can also log everything through iptables. Depending on how your firewall is set up, a log rule would look something like "-A INPUT -j LOG"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.