Linux Kernel TCP/IP Stack — L3 Layer — netfilter 框架

netfilter是Linux内核中的一个框架,用于实现数据包的控制、过滤和修改功能。它在L3层设置了5个HOOK点,包括PREROUTING、INPUT、FORWARD、OUTPUT和POSTROUTING,用于数据包的拦截、过滤或处理。netfilter包含表、链和规则三个概念,其中表是规则的组织形式,链是规则的执行顺序,规则则是数据包处理的依据。iptables是利用netfilter进行网络控制的工具,提供了filter、nat、mangle、raw和conntrack五种表,分别对应不同的网络操作。
摘要由CSDN通过智能技术生成

目录

netfilter 框架

Netfilter is a framework provided by the Linux kernel that allows various networking-related operations to be implemented in the form of customized handlers. Netfilter offers various functions and operations for packet filtering, network address translation, and port translation, which provide the functionality required for directing packets through a network and prohibiting packets from reaching sensitive locations within a network.

netfilter 是 Linux Kernel 中的一个对数据包进行控制、修改和过滤(Manipulation and Filtering)的框架。netfilter 是最古老的内核框架之一,自 1998 年开始开发,2000 年合并到 2.4.x 内核主线版本中。

netfilter 在 Kernel TCP/IP Stack L3 Layer 实现中设置了若干 Hook

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

范桂飓

文章对您有帮助就请一键三连:)

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值