net.bridge.bridge-nf-call-iptables对Netfilter中数据包的影响...
分类:
Web程序 时间:
2015-04-13 19:00:42
阅读次数:
219
实验目标:构建及使用日志集中管理导言:红色字体为重点,必须关闭防火墙,不然会影响实验报错。有色字体为注释,便于理解实验步骤:在客户端A中的操作:[root@localhost~]#iptables–F//首先关闭防火墙[root@localhost~]#serviceiptablessave//保存关闭防火墙的设置[root@loc..
分类:
其他好文 时间:
2015-04-12 06:51:42
阅读次数:
130
执行脚本和命令来更新防火墙配置需求:zabbix-agent服务需调整防火墙,增加端口10050
[root@mastersalt]#catfirewall/init.sls
/home/ops/bin/firewall_add_dport.sh:
file.managed:
-source:salt://firewall/bin/firewall_add_dport.sh
-mode:755
iptables-add-dport:
cmd.r..
分类:
其他好文 时间:
2015-04-10 20:23:01
阅读次数:
250
iptables网段分段处理24指的是32-24共2^8-2台主机32是只单独的纯IPiptables禁止IP段划分1.#屏蔽单个IP的命令是2.iptables-IINPUT-s123.45.6.7-jDROP3.#封整个段即从123.0.0.1到123.255.255.254的命令4.iptables-IINPUT-s123.0.0.0/8-jDROP5.#封IP段即从123.45.0.1到123.45.255...
分类:
其他好文 时间:
2015-04-10 20:22:04
阅读次数:
184
概念利用BPF(Berkeley Packet Filter)工具集结合iptables的xt_bpf模块可以实现高性能包过滤,从而应对大规模的ddos攻击。BPF Tools包含一组简单的python脚本,一部分用于分析pcap文件,其它主要用于生成bpf字节码。一、下载并安装bpftools在h...
分类:
其他好文 时间:
2015-04-09 15:02:45
阅读次数:
398
mysql -uroot -p root GRANT ALL PRIVILEGES ON *.* TO ‘root‘@‘%‘ IDENTIFIED BY ‘root‘ WITH GRANT OPTION; /sbin/iptables -I INPUT -p tcp --dport 3306 -j ACCEPT...
分类:
数据库 时间:
2015-04-09 10:45:57
阅读次数:
123
centos IPTables 配置方法 CentOS 配置防火墙操作实例(启、停、开、闭端口)
分类:
其他好文 时间:
2015-04-08 18:21:08
阅读次数:
311
#uname-r
2.6.32-504.el6.x86_64下载kernel-2.6.32-504.el6.src.rpm和iptables-1.4.7-14.el6.src.rpmhttp://ftp.redhat.com/redhat/linux/enterprise/6Server/en/os/SRPMS/下载iptables-1.4.20.tar.bz2ftp://ftp.netfilter.org/pub/iptables下载netfilter-layer7-v2.22.tar.gzh..
分类:
其他好文 时间:
2015-04-08 16:48:50
阅读次数:
466
iptables是Linux内核中内置的防火墙,可以允许管理员通过设置table,chain以及相关的规则来进行数据包过滤和NAT。一般来讲,iptables防火墙已经内置于CentOS6及其他Linux版本中,而且iptables服务默认都是启动的。iptables应用于IPv4,如果要用IPv6,需要使用ip6tables.查看当前..
分类:
系统相关 时间:
2015-04-08 16:43:49
阅读次数:
192
[root@i-d99cdn63~]#vi/etc/iptables_settings.sh
[root@i-d99cdn63~]#more/etc/iptables_settings.sh
#!/bin/sh-e
#----------------------------------------------------------
#iptablessettings
#----------------------------------------------------------
#Connectio..
分类:
Web程序 时间:
2015-04-08 16:43:21
阅读次数:
208