LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 01-09-2011, 06:36 PM   #1
akshaynm87
LQ Newbie
 
Registered: Apr 2009
Location: Bengaluru
Distribution: Ubuntu 8.10
Posts: 10

Rep: Reputation: 0
Measuring the time taken by a packet to traverse iptable rules


Hi
I am trying to measure the time taken by a packet to traverse the iptable rules and report an accept/reject. The rules in iptables are generally stored linearly in one chain. We have tried to extract the common values among the rules and re-organize the chains to reflect a tree structure. Now, we have to see what is the performance gain we achieve by creating new chains and re-ordering rules. So we need to measure the time taken by a packet to traverse the rules and report a match or otherwise. This needs to be compared with the time taken when the rules are just stored linearly.

Thanks
 
Old 10-01-2011, 09:25 AM   #2
Linuxusernew
LQ Newbie
 
Registered: Oct 2011
Posts: 1

Rep: Reputation: Disabled
Hello,

I am working in a similar project that I need to finish in few days!!!!
does any one have an idea please on how to measure the processing time to match a rule?
I will be very grateful for any help

Thanks a lot
 
  


Reply

Tags
iptables, packets, performance


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
libipt_time.so Error for time matching in iptable rules baig Linux - Networking 1 04-19-2009 03:03 PM
How actually packet traverse in IPTables priyadarshan Linux - Networking 3 02-10-2009 12:26 PM
IPTable rules RecoilUK Linux - Security 1 05-27-2005 08:25 PM
Verifying IPTable rules... Ateo Linux - Networking 1 02-02-2005 04:33 PM
Help with IPtable Rules aqoliveira Linux - Security 3 12-10-2003 11:00 AM


All times are GMT -5. The time now is 07:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration