Chinaunix首页 | 论坛 | 博客
  • 博客访问: 9267865
  • 博文数量: 1669
  • 博客积分: 16831
  • 博客等级: 上将
  • 技术积分: 12594
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-25 07:23
个人简介

柔中带刚,刚中带柔,淫荡中富含柔和,刚猛中荡漾风骚,无坚不摧,无孔不入!

文章分类

全部博文(1669)

文章存档

2023年(4)

2022年(1)

2021年(10)

2020年(24)

2019年(4)

2018年(19)

2017年(66)

2016年(60)

2015年(49)

2014年(201)

2013年(221)

2012年(638)

2011年(372)

分类: 云计算

2017-10-26 15:00:55

iptables、ebtables、arptables

发表于2014/9/16 17:40:46  2409人阅读

分类: linux Command


都采用netfilter实现。


Ebtables即是以太网桥防火墙,以太网桥工作在数据链路层,Ebtables来过滤数据链路层数据包。 2.6内核内置了Ebtables,要使用它必须先安装Ebtables的用户空间工具(ebtables-v2.0.6),安装完成后就可以使用ebtables来过滤网桥的数据包。


Main features of ebtables.

  • Usage analogous to iptables. 
  • Ethernet filtering. 
  • MAC NAT: ability to alter the MAC Ethernet source and destination address. This can be useful in some very strange setups (a real-life example is available). 
  • Brouting: decide which traffic to bridge between two interfaces and which traffic to route between the same two interfaces. The two interfaces belong to a logical bridge device but have their own IP address and can belong to a different subnet. 
  • Pass packets to userspace programs, using netlink sockets (the ulog watcher). 

iptables --- ip层
arptables --- arp报文
阅读(1636) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~