问题描述: CentOS 6.5安装完成 Tomcat 后,访问本地:http://localhost:8080/正确,但局域网内无法访问?。 原因: /etc/init.d/iptables status Table: filter Chain INPUT (policy ACCEPT) num? target???...
分类:
系统相关 时间:
2014-09-25 18:36:17
阅读次数:
278
cat /etc/sysconfig/iptables*filter:INPUT ACCEPT [0:0]:FORWARD ACCEPT [0:0]:OUTPUT ACCEPT [28:4192]-A INPUT -p tcp -m tcp --dport 22 -m state --state N...
分类:
其他好文 时间:
2014-09-25 12:18:48
阅读次数:
346
反馈:1."selinux--disabled"inkickstart2.确保@admin-toolsorsystem-config-firewall在安装包之列结果:ErrorcreatingLiveCD:UnabletodisableSELinuxbecausetheinstalledpackagesetdidnotincludethefile/usr/sbin/lokkit总结:selinux--disabledrequiressystem-config-firewal..
分类:
系统相关 时间:
2014-09-25 12:16:19
阅读次数:
231
Linux 开机提示kernel panic - not syncing: Attempted to kill init! 解决方法:系统启动的时候,按下‘e’键进入grub编辑界面,编辑grub菜单,选择“kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/v...
分类:
系统相关 时间:
2014-09-25 01:08:47
阅读次数:
890
一,如果同事反映网站访问慢,有攻击情况发生的话,我们启用BBS问题验证,用户需要在第一次访问我们BBS时输入正确问题之后,才能继续访问网站。这会增加用户访问的繁琐度,权宜之计。二,分析发生攻击时间段的日志,将产生特异请求的URL加入IPTABLES防火墙。命令如下:awk '$4>"[24/Sep/...
分类:
其他好文 时间:
2014-09-24 20:46:47
阅读次数:
184
1:查看环境:[root@10-4-14-168 html]# cat /etc/redhat-release CentOS release 6.5 (Final)2:关掉防火墙[root@10-4-14-168 html]# chkconfig iptables off3:配置CentOS 6.0...
分类:
其他好文 时间:
2014-09-24 18:11:17
阅读次数:
238
原文地址:http://www.phpthinking.com/archives/427
登录到你的服务器以root用户执行下面的命令,使用它你可以检查你的服务器是在DDOS攻击与否:
netstat -anp |grep 'tcp\|udp' | awk '{print $5}' |
cut -d: -f1 | sort | uniq -c | sort –n
该命令将显示已登录的...
分类:
系统相关 时间:
2014-09-24 01:35:15
阅读次数:
407
理论基础:l--操作系统:windows linux unix mac OSa--网页发布软件:apache nginx iism--数据库:mysql pgsql oracle...p--网页语言:php jsp xml配置:系统环境: rhel6 x86_64 iptables and seli...
分类:
其他好文 时间:
2014-09-23 23:59:07
阅读次数:
365
去年有台Linux服务器被黑了,看了500万行日志(现在觉得当时好厉害呀),反正当时的日志文件有700Mb以上大。前两天师兄告诉我,信息中心的老师给他说我们有台服务器应该是被人入侵了,当作内网的跳板,经常对内网中的其他服务器发出攻击的数据。于是我连夜就去服务器上看了。 这是我第一次上这个服务器,.....
分类:
其他好文 时间:
2014-09-23 21:52:15
阅读次数:
328
如果你的IPTABLES基础知识还不了解,建议先去看看. 开始配置 我们来配置一个filter表的防火墙. (1)查看本机关于IPTABLES的设置情况 [root@tp ~]# iptables -L -n Chain INPUT (policy ACCEPT) target?????? ...
分类:
系统相关 时间:
2014-09-23 20:06:55
阅读次数:
396