1.新安装一台RHEL6.x或CentOS6.x虚拟机1)关闭防火墙、SELinux[root@localhost~]#serviceiptablesstop//关闭防火墙iptables:清除防火墙规则:[确定]iptables:将链设置为政策ACCEPT:filter[确定]iptables:正在卸载模块:[确定][root@localhost~]#chkconfigiptablesoff[root@..
分类:
系统相关 时间:
2014-07-08 10:10:44
阅读次数:
298
request处理:Breakpoint 6, SQUID_MD5Final ( digest=0x764d00 "\021dZcaFe\270\273a\020,\304j\222\347\227\372\364\206%B\245#\203\352\275It\357\266\343\00...
分类:
其他好文 时间:
2014-07-07 12:15:47
阅读次数:
223
当我编译完内核参数后,#/sbin/sysctl-perror:"net.bridge.bridge-nf-call-ip6tables"isanunknownkeyerror:"net.bridge.bridge-nf-call-iptables"isanunknownkeyerror:"net.bridge.bridge-nf-call-arptables"isanunknownkey去网上一查,发现缺少bridge这个模块文件通过执行:mo..
分类:
其他好文 时间:
2014-07-05 23:05:49
阅读次数:
234
snat:iptables -t nat -A POSTROUTING -s 192.168.1.14 -j SNAT --to-source 10.32.15.34其中,-s 192.168.1.14是想要访问外网的内网主机的ip,--to-source 10.32.15.34为做nat的serv...
分类:
其他好文 时间:
2014-07-05 20:16:40
阅读次数:
265
#!/bin/bashwhiletruedo badip=$(lastb-i-a|awk‘/ssh:notty/{print$NF}‘|sort|uniq-c|awk‘($1>3){print$2}‘) foriin$badip do iptables-tfilter-IINPUT-s$i-ptcp--dport22-jDROP done :>/var/log/btmp sleep10sdone
分类:
移动开发 时间:
2014-07-04 06:22:09
阅读次数:
364
一、简介代理服务器英文全称是Proxy Server,其功能就是代理网络用户去取得网络信息。Squid是一个缓存Internet 数据的软件,其接收用户的下载申请,并自动处理所下载的数据。当一个用户想要下载一个主页时,可以向Squid 发出一个申请,要Squid 代替其进行下载,然后Squid 连接...
分类:
其他好文 时间:
2014-07-03 23:27:02
阅读次数:
388
1.配置网卡IP地址#ifconfigeth0192.168.186.1882.关闭防火墙#iptables-F3.安装软件所需要的软件:bind和caching-name#rpm-ivhbind-9.3.6-4.P1.el5#rpm-ivhcaching-nameserver-9.3.6-4.P1.el54.修改named.conf配置文件修改named.caching-nameserver.conf#cp/etc/named.caching-n..
分类:
其他好文 时间:
2014-07-02 15:52:02
阅读次数:
209
本文档来学习实验环境,内容实验结果全部在机房校验,全部正确无误。系统环境:RHEL6 x86_64 selinux and iptables disabled软件下载:http :// poptop . sourceforge . net / yum / stable / rhel 6/ftp://...
分类:
数据库 时间:
2014-07-01 12:22:09
阅读次数:
280
iptables组件是一种工具,也称为用户空间(userspace),它使插入、修改和除去信息包过滤表中的规则变得容易。分为四个表和五个链,其中表是按照对数据包的操作区分的,链是按照不同的Hook点来区分的,表和链实际上是netfilter的两个维度。4个表:filter,nat,mangle,raw,默认表..
分类:
其他好文 时间:
2014-07-01 09:42:19
阅读次数:
410