Re: Show IP Traffic on a port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Joseph L. Casale wrote:

I am trying to determine the root of an issue I am having.
How can I watch traffic destined to a specific port on my CentOS 5.1

box to see if its even hitting it? It would be udp traffic.

Thanks!
jlc

------------------------------------------------------------------------

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
If you're using IPTABLES on your CentOS box, then you can "watch" the traffic hit your rules using "watch -d iptables -nvL". The -d will highlight changes (so you can spot them) and you should see the number of packets change as each packet is processed by your rules.

If you have a specific chain name that deals with your port, then add that after the -nvL in the command - e.g. "watch -d iptables -nvL myChain"

Ian

<<attachment: smime.p7s>>

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux