From: "Avi Lipa" Subject: Per session rule matching (TC) Date: Sun, 14 Sep 2003 14:33:38 +0000 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: To: netfilter-devel@lists.netfilter.org Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org Dear Mr. Mrs. As a Linux user and (from time to time ... developer) I spent some time studying the connection tracking module with in the netfilter and found it interesting and valuable. I have a question regarding a possible missing feature which might help improving the performance of rule matching in the queuing discipline processing. Today the rule/filter matching in the queuing discipline of each device is done per packet (which is expensive once many rules are configured) with out any assumption on the session / connection which this packet belongs to (although hashing is allowed in the u32 classifier a standard user might find it hard to configure). I saw that for the NAT module in the Netfilter if a rule was found it is stored in a dedicated structure on the ip_conntrack, thus rule matching is done per session and not per packet I think that supporting a dedicated entry in ip_conntrack for cached queuing discipline rule matching is a capability that would improve performance for system where numerous of classifiers are configured and deals with multiple sessions. Regards, Neo .M. _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail