设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客

NPF,NetBSD的新包过滤器

2010-9-27 09:32| 发布者: walkerxk| 查看: 2650| 评论: 0|来自: LUPA社区

摘要: NPF(new packet filter),是NetBSD一个新的包过滤系统。它的设计是为了满足多处理器的高性能以及更简易的扩展。它是继IP Filter和PF后第三个在数据包监控引擎中使用字节码解释器的包过滤系统。以下是NetBSD基金会的 ...

NPF(new packet filter),是NetBSD一个新的包过滤系统。它的设计是为了满足多处理器的高性能以及更简易的扩展。

它是继IP Filter和PF后第三个在数据包监控引擎中使用字节码解释器的包过滤系统。

以下是NetBSD基金会的申明原文:


The NetBSD Foundation is pleased to announce NPF, a new packet filter
by Mindaugas Rasiukevicius. NPF is designed for high performance on
multiprocessor machines, and for easy extensibility.

Highlights of NPF features include

* MP-safety and locklessness for scalable MP performance: no longer is
the packet filter the bottleneck in your multicore router

* Fast hash-table and red-black tree lookups

* Stateful packet filtering, Network Address Port Translation (NAPT),
and Application-Level Gateways (ALGs) for, e.g., traceroute

* The N-Code processor, a packet-inspection engine inspired by BPF:
the N-Code processor is programmed to match packets using generic,
RISC-like instructions and a few CISC-like instructions for common
patterns such as IPv4 addresses

* Familiar configuration syntax and utilities

* Modularity and extensibility: users extend NPF by loading a kernel
module. NPF provides developers with an extensions API. NPF rules
can embed a hook that invokes an extension

By the end of January, NPF should have all of the capabilities that
NetBSD users have come to expect by using the other filters in the
kernel:

* IPv4 reassembly support
* Bi-directional NAT and port forwarding (re-direction)
* FTP proxy support
* IP header flags cleansing
* ICMP packets and TCP RST packet blocking
* Save/restore state
* Packet logging, configurable using filter rules

Rasiukevicius will also write documentation and configuration examples.

Beyond that, NPF needs code for IPv6 support. Rasiukevicius agrees to
provide technical support to developers who will add IPv6 support to
NPF. An outline of the steps to IPv6 support will be forthcoming.

NPF is the third packet filter in NetBSD, after IP Filter and PF. NPF
is unique for using a bytecode interpreter in its packet-inspection
engine, and for answering the question, “What does a packet filter
designed from the bottom up for multiprocessor systems look like?”

NPF development is sponsored by the NetBSD Foundation.


David Young
On Behalf of The NetBSD Foundation


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部