Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 01-09-2011, 05:36 PM   #1
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

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.

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

Rep: Reputation: Disabled

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


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 Error for time matching in iptable rules baig Linux - Networking 1 04-19-2009 02:03 PM
How actually packet traverse in IPTables priyadarshan Linux - Networking 3 02-10-2009 11:26 AM
IPTable rules RecoilUK Linux - Security 1 05-27-2005 07:25 PM
Verifying IPTable rules... Ateo Linux - Networking 1 02-02-2005 03:33 PM
Help with IPtable Rules aqoliveira Linux - Security 3 12-10-2003 10:00 AM

All times are GMT -5. The time now is 11:22 PM.

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