From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,c54d70a9a6aa5141,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 2003-07-04 04:00:19 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!feedwest.aleron.net!aleron.net!news.alt.net!cola.stump.algebra.com!robomod!not-for-mail From: Michael Bellion and Thomas Heinz Newsgroups: comp.os.linux.announce Subject: [ANNOUNCE] nf-hipac: High Performance Packet Classification for Netfilter Date: 4 Jul 2003 11:00:19 GMT Organization: University of Saarland, Computing Center, Germany. Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-Path: X-COLA-Policy: http://stump.algebra.com/~cola X-COLA-Info-1: Send submissions to cola@stump.algebra.com X-COLA-Info-2: Send complaints to cola-admin@stump.algebra.com X-Comment: moderators do not necessarily agree or disagree with this article. X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030524 X-Accept-Language: en-us, en X-Enigmail-Version: 0.74.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-Auth: PGPMoose V1.1 PGP comp.os.linux.announce iQBVAwUAPwVd6iFvAtx2nXvNAQHI7AH9HGZNTSGx9cMBD3g855TndCR5N7dA5PJF e0tPp7gGJ8suF2wlPJUqDjVV5OIzzCfQFJCDpZjYPNzL55FszFza5A== =gXPz X-Spam-Status: No, hits=-12.9 required=10.0 tests=BAYES_01,USER_AGENT_MOZILLA_UA autolearn=ham version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) Xref: archiver1.google.com comp.os.linux.announce:3457 Hi We have released a new version of nf-hipac. We rewrote most of the code and added a bunch of new features. The main enhancements are user-defined chains, generic support for iptables targets and matches and 64 bit atomic counters. For all of you who don't know nf-hipac yet, here is a short overview: nf-hipac is a drop-in replacement for the iptables packet filtering module. It implements a novel framework for packet classification which uses an advanced algorithm to reduce the number of memory lookups per packet. The module is ideal for environments where large rulesets and/or high bandwidth networks are involved. Its userspace tool, which is also called 'nf-hipac', is designed to be as compatible as possible to 'iptables -t filter'. The official project web page is: http://www.hipac.org The releases can be downloaded from: http://sourceforge.net/projects/nf-hipac Features: - optimized for high performance packet classification with moderate memory usage - completely dynamic: data structure isn't rebuild from scratch when inserting or deleting rules, so fast updates are possible - very short locking times during rule updates: packet matching is not blocked - support for 64 bit architectures - optimized kernel-user protocol (netlink): improved rule listing speed - libnfhipac: netlink library for kernel-user communication - native match support for: + source/destination ip + in/out interface + protocol (udp, tcp, icmp) + fragments + source/destination ports (udp, tcp) + tcp flags + icmp type + connection state + ttl - match negation (!) - iptables compatibility: syntax and semantics of the userspace tool are very similar to iptables - coexistence of nf-hipac and iptables: both facilities can be used at the same time - generic support for iptables targets and matches (binary compatibility) - integration into the netfilter connection tracking facility - user-defined chains support - 64 bit atomic counters - kernel module autoloading - /proc/net/nf-hipac/info: + dynamically limit the maximum memory usage + change invokation order of nf-hipac and iptables - extended statistics via /proc/net/nf-hipac/statistics/* We are currently working on extending the hipac algorithm to do classification with several stages. The hipac algorithm will then be capable of combining several classification problems in one data structure, e.g. it will be possible to solve routing and firewalling with one hipac lookup. The idea is to shorten the packet forwarding path by combining fib_lookup and iptables filter lookup into one hipac query. To further improve the performance in this scenario the upcoming flow cache could be used to cache recent hipac results. Enjoy, +-----------------------+----------------------+ | Michael Bellion | Thomas Heinz | | | | +-----------------------+----------------------+ ########################################################################## # Send submissions for comp.os.linux.announce to: cola@stump.algebra.com # # PLEASE remember a short description of the software and the LOCATION. # # This group is archived at http://stump.algebra.com/~cola/ # ##########################################################################