Can somebody give me ideas about following situation (Linux 2.6.18-348.4.1.el5 ):
- At some point tcpdump shows [FIN, ACK] packet sent from server port to local client
- strace log shows no socket activity performed on that socket handle for that port near that moment (strace log properly shows the rest of communication for that client)
- Firewall and SELinux are stopped
- Problem is 100% reproducible with complex conditions which require the Server to perform network request for Kerberos authentication of another client connection.
What are potential causes which may lead tcpdump to show packet which missing in strace? Does it look more like server problem, TCP settings problem or some firewall service problem?
strace
? Could there perhaps be an 3rd (malicious) client sending spoofed FIN packages?strace
. You might see a call toshutdown()
orclose()
on the socket, and the kernel would end up closing the connection, but you can't see individual packets in the TCP stream instrace
.shutdown
on the socket. You may not be seeing this instrace
simply because you are not looking at the right thread. Withlsof
it should be possible to find out, which processes has file descriptors for that socket.