calculate "new connections per second"
Hello,
I am trying to find out a way to calculate the rate of "new connections per second" for the ip_conntrack module. What would be a good approach for this problem? Also is there an explaination available for the various statistics for ip_conntrack listed undet '/proc/net/stat/ip_conntrack'.
Your will be really appreciated.
Thanks.
Gaurav.
Re: calculate "new connections per second" (nfcan: addressed to exclusive sender for this address)
Quoted 6 lines · On 2006.03.15 10:13, Gaurav Sharma - [email protected] wrote:
Hello,
I am trying to find out a way to calculate the rate of "new connections per second" for the
ip_conntrackmodule.
What would be a good approach for this problem?
Are you asking how to determine the time each connection is established or are you asking, given this data, how to estimate this rate.
Can you explain how you want to use the measurement?
Signature · 4 lines
Jim Laurino [email protected] Please reply to the list. Only mail from the listserver reaches this address.
Re: calculate "new connections per second" (nfcan: addressed to exclusive sender for this address)
Thanks for the reply Jim.
I am using the ip_conntrack module to mark connections on a linux bridge to shape traffic. Sometimes if there is a DOS attack the ip_conntrack table overflows and the kernel starts dropping packets. I want to measure the rate at which the connections are being made and being entered in the ip_conntrack table so if there is a spike in the rate I will know that there is a DOS attack going on. I hope you can now understand my situation. I you need more information please let me know.
Appreciate your help.
Regards,
Gaurav.
Quoted 14 lines · Jim Laurino
Quoted 6 lines · On 2006.03.15 10:13, Gaurav Sharma - [email protected] wrote:
Hello,
I am trying to find out a way to calculate the rate of "new connections per second" for the
ip_conntrackmodule.
What would be a good approach for this problem?Are you asking how to determine the time each connection is established or are you asking, given this data, how to estimate this rate.
Can you explain how you want to use the measurement?
$iptstate may hele you !
Quoted 7 lines · Gaurav Sharma
Hello,
I am trying to find out a way to calculate the rate of "new connections per second" for the
ip_conntrackmodule. What would be a good approach for this problem? Also is there an explaination available for the various statistics forip_conntracklisted undet '/proc/net/stat/ip_conntrack'.
Quoted 6 lines
Your will be really appreciated.
Thanks.
Gaurav.
--
Syed Kashif Ali Bukhari
+92-300-4295604
Network Engineer
Beaconhouse IT Services, Lahore Pakistan