My company concerns security, request us to deploy the newest patches on our servers in time, even we have firewall/encryption internally.With the num...
一、配置防火墙,开启80端口、3306端口CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。1、关闭firewall:systemctl stop firewalld.service #停止firewallsystemctl disable firewall...
分类:
数据库 时间:
2014-10-14 14:18:18
阅读次数:
351
我需要700至800之间的端口都能tcp访问 代码如下 复制代码 -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 700 -j ACCEPT -A RH-Firewall-1-INPUT -m state --sta...
分类:
系统相关 时间:
2014-10-11 22:29:26
阅读次数:
263
1、启用windows防火墙 计算机管理----->服务----->Windows Firewall(双击进入,启动类型改为自动,点击应用,点击启动)2、启动gpedit.msc打开“本地组策略编辑器”,按如下设置:计算机配置----->管理模板----->网络----->网络连接----->Win...
arp :查询arp缓存表内容 -a:显示缓存表内容 -N:显示指定借口(IP地址)的ARP缓存表 -d:删除tracert :跟踪路由 -d:指定不讲地址解析为计算机名 -h:指定搜索目标的最大跃点数ping -t:ping指定计算机直到中断 -a:将地址解析为计算机名 -n:发送指定数据包 -l:发送指定数据量的..
分类:
其他好文 时间:
2014-10-07 21:36:44
阅读次数:
207
# Firewall configuration written by system-config-firewall# Manual customization of this file is not recommended.*filter:INPUT ACCEPT [0:0]:FORWARD AC...
分类:
其他好文 时间:
2014-10-05 09:35:18
阅读次数:
222
pimpl idiom
flyfish 2014-9-30
pimpl是Pointer to implementation的缩写
为什么要使用pimpl
1最小化编译依赖
2接口与实现分离
3可移植
pimpl idiom也被称作Cheshire Cat , Compiler Firewall idiom.,d-pointer
这个技术在设计模式中作为桥接模式(Brid...
分类:
其他好文 时间:
2014-09-30 19:29:39
阅读次数:
199
CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 2、安装...
分类:
系统相关 时间:
2014-09-26 21:40:48
阅读次数:
232
反馈:1."selinux--disabled"inkickstart2.确保@admin-toolsorsystem-config-firewall在安装包之列结果:ErrorcreatingLiveCD:UnabletodisableSELinuxbecausetheinstalledpackagesetdidnotincludethefile/usr/sbin/lokkit总结:selinux--disabledrequiressystem-config-firewal..
分类:
系统相关 时间:
2014-09-25 12:16:19
阅读次数:
231