[ANNOUNCE] nf-hipac: High Performance Packet Classification for Netfilter

This is a discussion on [ANNOUNCE] nf-hipac: High Performance Packet Classification for Netfilter within the Linux Security forums, part of the System Security and Security Related category; Hi We have released a new version of nf-hipac. We rewrote most of the code and added a bunch ...


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-30-2003
Michael Bellion and Thomas Heinz
 
Posts: n/a
Default [ANNOUNCE] nf-hipac: High Performance Packet Classification for Netfilter

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 |
| <mbellion@hipac.org> | <creatix@hipac.org> |
+-----------------------+----------------------+

Reply With Quote
  #2 (permalink)  
Old 06-30-2003
Nick Austin
 
Posts: n/a
Default Re: [ANNOUNCE] nf-hipac: High Performance Packet Classification for Netfilter

On Mon, 30 Jun 2003 13:58:18 +0200, Michael Bellion and Thomas Heinz
wrote:

> Hi
>
> We have released a new version of nf-hipac.


Thanks!

<..snip..>

> The official project web page is:
> http://www.hipac.org


This site seems to be down.

[~]$ host hipac.org
hipac.org has address 134.96.65.18
[~]$ telnet 134.96.65.18 80
Trying 134.96.65.18...

Hangs until I kill it.

Perhaps nf-hipac still has some rough edges? :)
Reply With Quote
  #3 (permalink)  
Old 06-30-2003
Michael Bellion
 
Posts: n/a
Default Re: [ANNOUNCE] nf-hipac: High Performance Packet Classification forNetfilter

Nick Austin wrote:

>>The official project web page is:
>> http://www.hipac.org

>
>
> This site seems to be down.
>
> [~]$ host hipac.org
> hipac.org has address 134.96.65.18
> [~]$ telnet 134.96.65.18 80
> Trying 134.96.65.18...
>
> Hangs until I kill it.
>
> Perhaps nf-hipac still has some rough edges? :)


Thanks for the report.
Actually it's me having still some rough edges as i messed up the
firewall rules some hours ago ;-)
The problem is fixed now.

Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:19 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0