We have a server which listens on port X. The server has a large number of clients, from time to time the process gets hung, I am seeing SYN flooding messages in the log. I have been trying to tune relevant tcp configuration params.
I would like a way to count number of incoming connections to that particular port using tcpdump or another command.