首页 > 其他 > 详细

iptables 内核编译 layer7

时间:2019-07-02 18:14:24      阅读:102      评论:0      收藏:0      [点我收藏+]
内核编译 :
2.6 ----> 3.0
单内核 : 模块化(文件系统,驱动,安全)
配置 : ./config 保存配置文件 (/proc/cpuinfo,lspci ,lsusb,hal-device)
make menuconfig
make gconfig
make kconfig
make config
make oldconfig
编译
make
只编译部分源码
make SUBDIR=arch/
make dirvers/net/pcnet32.ko
转存编译结果
make O=/path/to/somewhere
安装内核模块
make modules_install
安装内核
make install

make clean
make mrproper
会清空./config配置文件,操作时请备份

busybox + kernel =Linux

netfilter : rules, iptables
七层过滤 :
I7-filter
编译安装
技术分享图片

iptables 打补丁
技术分享图片

-m time
--datestart
--datestop
--timestart
--timestop
iptables脚本
技术分享图片

开机要执行某个脚本可以rc.local下
技术分享图片

IDS :
nids : snort + iptables = NIPS
hids :

iptables 内核编译 layer7

原文:https://blog.51cto.com/14087650/2416356

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!