免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5472 | 回复: 4
打印 上一主题 下一主题

[FreeBSD] 求龙飞BSD的ipfw3的ipfwsync的用法 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2016-03-11 23:50 |只看该作者 |倒序浏览
公司使用ipfw,但是很希望有pfsync类似的功能,最近看到ipfwsync来自龙飞BSD的Ipfw3,有人试下吗,求经验分享

论坛徽章:
0
2 [报告]
发表于 2016-03-11 23:51 |只看该作者
英文的,求翻译

Ipfwsync
Ipfwsync or 'Ipfw3sync' is the facility in ipfw3 which can synchronize firewall states between machines running ipfw3 firewall for high availability. It can be used together with CARP to make ensure a backup firewall has the same states as the main firewall. When the master machine in the firewall cluster dies, the slave machine will be able to takeover the service and accept current connections without loss. the firewall need to configured into ipfwsync "centre" and ipfwsync "edge". the centre will continuously sync the states to the edges using UDP protocol.

Use below commands to configure an ipfwsync edge. The edge will listen on the UDP port 5000.

ipfw3 sync edge 5000
ipfw3 sync start edge
Below command to configure an ipfwsync centre, and this ipfwsync centre will automatically sync the states to edge 192.168.1.1:5000 and edge 192.168.1.2:5001.

ipfw3 sync centre 192.168.1.1:5000,192.168.1.2:5001
ipfw3 sync start centre
Below command to verify whether the ipfw3 centre can send the test message to all the configured edges.

ipfw3 sync test centre 1

论坛徽章:
54
2017金鸡报晓
日期:2017-02-08 10:39:42操作系统版块每日发帖之星
日期:2016-03-08 06:20:00操作系统版块每日发帖之星
日期:2016-03-07 06:20:00操作系统版块每日发帖之星
日期:2016-02-22 06:20:00操作系统版块每日发帖之星
日期:2016-01-29 06:20:00操作系统版块每日发帖之星
日期:2016-01-27 06:20:00操作系统版块每日发帖之星
日期:2016-01-20 06:20:00操作系统版块每日发帖之星
日期:2016-01-06 06:20:0015-16赛季CBA联赛之江苏
日期:2015-12-21 20:00:24操作系统版块每日发帖之星
日期:2015-12-21 06:20:00IT运维版块每日发帖之星
日期:2015-11-17 06:20:002015亚冠之广州恒大
日期:2015-11-12 10:58:02
3 [报告]
发表于 2016-03-12 08:16 |只看该作者
看你发的原文,像ha的那一套。

另外DragonFly明明是蜻蜓嘛,人家也是一个蜻蜓的图标,你为什么非要叫它龙飞呢?

论坛徽章:
54
2017金鸡报晓
日期:2017-02-08 10:39:42操作系统版块每日发帖之星
日期:2016-03-08 06:20:00操作系统版块每日发帖之星
日期:2016-03-07 06:20:00操作系统版块每日发帖之星
日期:2016-02-22 06:20:00操作系统版块每日发帖之星
日期:2016-01-29 06:20:00操作系统版块每日发帖之星
日期:2016-01-27 06:20:00操作系统版块每日发帖之星
日期:2016-01-20 06:20:00操作系统版块每日发帖之星
日期:2016-01-06 06:20:0015-16赛季CBA联赛之江苏
日期:2015-12-21 20:00:24操作系统版块每日发帖之星
日期:2015-12-21 06:20:00IT运维版块每日发帖之星
日期:2015-11-17 06:20:002015亚冠之广州恒大
日期:2015-11-12 10:58:02
4 [报告]
发表于 2016-03-13 09:44 |只看该作者
ipfw还真需要一个sync的功能,FreeBSD的ipfw开发最近几年非常不活跃。

论坛徽章:
0
5 [报告]
发表于 2016-03-14 13:08 |只看该作者
因为龙飞听起来比较屌,飞龙更屌!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP