[CentOS] help please , How SYN and ACK packets counted by the server(centos)

Fri May 22 14:45:26 UTC 2015
Gordon Messmer <gordon.messmer at gmail.com>

On 05/22/2015 04:36 AM, Ibrahim Celikbilek wrote:
> where total_syn_count and total_ack_count are variables to be defined and
> will be increased
>
> Which files to be used ????

Rather than modifying your kernel, you could just create iptables rules 
that match TCP SYN and ACK packets.  When printed with "iptables -L -v", 
you'll get a count for packets that match.