记录关于Devops运维,虚拟化容器云计算,数据库,网络安全等各方面问题。
Web服务器如何防CC攻击? CC攻击是DDOS(分布式拒绝服务)的一种,相比其它的DDOS攻击CC似乎更有技术含量一些。这种攻击你见不到虚假IP,见不到特别大的异常流量,但造成服务器无法进行正常连接,听说一条ADSL足以搞掂一台高性能的Web服务器。由此可见其危害性,称其为“Web杀手”也毫不为过。最让站长们忧虑的是这种攻击技术含量低,利用工具和一些IP代理一个初、中级的电脑水平的用户就能够实施攻击。因此,大家有必要了解CC攻击的原理及如果发现CC攻击和对其的防范措施。 1、攻击原理 CC攻击的原理就是攻击者控制某些主机不停地发大量数据包给对方服务器造成服务器资源耗尽,一直到宕机崩溃。CC主要是用来攻击页面的,每个人都有这样的体验:当一个网页访问的人数特别多的时候,打开网页就慢了,CC就是模拟多个用户(多少线程就是多少用户)不停地进行访问那些需要大量数据操作(就是需要大量CPU时间)的页面,造成服务器资源的浪费,CPU长时间处于100%,永远都有处理不完的连接直至就网络拥塞,正常的访问被中止。 2、攻击症状 CC攻击有一定的隐蔽性,那如何确定服务器正在遭受或者曾经遭受CC攻击呢?我们可以通过以下三个方法来确定。 (1).命令行法 一般遭受...
Timer_MinBytesPerSecond,Timer_ConnectionIdle解决办法问题描述:这个错误是由于服务器连接被中断导致的。 If you check out the C:"Windows"system32"LogFiles"HTTPERR"httperr*.log files on the distribution server, you'll likely see either Timer_MinBytesPerSecond errors or Timer_ConnectionIdle errors. These are caused by IIS' default settings, contained within its metabase, which define the minimum traffic flow rate for a connection o be kept alive and the maximum idle time allowed before a connection is dropped. For some reason, SUS servers seem to take their good old time while downloading updates, and these ...
开源虚拟化管理平台Ovirt简介和配置环境搭建一Ovirt简介Ovirt是什么?Ovirt是一个开源的虚拟化管理平台,是redhat 虚拟化管理平台RHEV的开源版本。Ovirt的构架是什么样的?Ovirt由两部分组成,客户端ovirt-node 类似于vmware esxi,是由fedaro 16订制而成。也可以在linux系统上安装vdsm服务而得到一个ovirt客户端。管理端overt-engine 类似于 vmware vcenter,但是是基于web页面的。Ovirt能做什么,不能做什么?Ovirt现在已有的功能:1. 对宿主机节点的管理,支持基于数据中心,集群的管理,比较有特色的一个功能是可以管理ilo idarc等硬件管理卡;2. 对虚拟机的管理,可以完成虚拟机的创建、快照、删除、基于模版的克隆等常见操作;3. 迁移,在线及离线迁移虚拟机;4. 高可用,当一台宿主机宕机,在另外一台宿主机上自动开启虚机;5. 宿主机、虚拟机性能查看及统计;6. 支持nfs,iscsi,fc等存储方式;7. 支持多端口的网口绑定;8. 提供一个命令行,可以完成图形界面的大部分功能;9. 活动目录集成;10. 提供python api接口,可以api编程;11. 没有授权限制;和vmware相比,目前没有的功能:1. 稳定目前较差,经常出现崩溃,连接出现问题;2. 易用性较差,设计不人性化;3. 没有...
如何在QOMO4的grub.cfg添加windows启动项?#yum install os-prober#grub-mkconfig -o /boot/grub/grub.cfg再重启,就可以看到windows的启动选项了。
Linux 下解压 xz文件先下载XZ 解压工具软件。http://tukaani.org/xz/xz-4.999.9beta.tar.bz2$tar -jxvf xz-4.999.9beta.tar.bz2$./configure --prefix=/opt/gnu/xz$make$sudo make install$ln -s /opt/gnu/xz/bin/xz /bin/xz (前面那个路径可能有差异,自己进去看看)$xz -d ***.tar.xz$tar -xvf ***.tarok!
ubuntu 12.04 x64 开启 root 登录,并解决root用户后没有声音的问题 先设定一个root的密码,sudo passwd rootroot 登陆,su rootcp -p /etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf.bakvi /etc/lightdm/lightdm.conf在lightdm.conf最后增加一行:greeter-show-manual-login=true重启后,即可用root登入。Ubuntu在root用户下,为了安全考虑默认是关闭了声音系统的。如果要开很简单,因为root登录后pulseaudio没有启动。所以要先启动它将root加到pulse和pulse-access组:sudo usermod -a -G pulse-access rootgpasswd -a root pulsegpasswd -a root pulse-access然后:编辑/etc/default/pulseaudio文件cp -p /etc/default/pulseaudio/etc/default/pulseaudio.bakvim /etc/default/pulseaudio修改以下两处PULSEAUDIO_SYSTEM_START=1DISALLOW_MODULE_LOADING=0改为1和0,表示允许运行在system环境
vsphere client 上传文件:Failed to log into NFC ServerFailed to log into NFC Server: 用户通过vCenter 向某一个ESXi 4.1主机上的数据存储,上传任何文件,都会报错:“Failed to log into NFC Server”。 但是,如果通过 vSphere Client 直接登录ESXi 4.1主机,上传文件却没有任何问题。故障分析:因此,怀疑是vCenter 的问题,而且,也有资料显示,有可能是vCenter 的问题。 vCenter连接ESXi主机时是用的主机名而不是主机的IP,所以可能是使用vSphere Client的PC对ESXi主机的域名解析有问题,最后在C:\Windows\System32\drivers\etc\hosts文件中加入ESXi主机名和其IP的对应关系,保存。最测试,上传文件,文件夹没有问题。
红旗Linux SP3 正确配置cmi8738声卡安装红旗Linux SP3 系统 后,原来的独立PCI CMI8738 声卡没法驱动,后来直接安装 linux 3.6.5 内核后。却可以正常识别硬盘,但是系统 还是没有声音。因为声卡配置重新配置后才能使用。点击系统 的喇叭图标。然后 点击 -混音器 - 开关 Line-in mode 选项为 Rear-out最后再点击打开: Four Channel Mode 关闭 选项: Exchange DAC然后就可以正常使用声卡了。
Compiling the Realtek RTL8111 driver on XenServerPosted on March 3, 2010 I have been using Citrix XenServer for a short while now and it has become my virtual(is/iz)ation solution of choice.Things were going great until I started to have problems after upgrading… It seems my onboard Realtek network interface (Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)) was not officially supported in XenServers HCL and became subjected to known driver problems.RX packets:97840 errors:0 dropped:1203654335 overruns:0 frame:0Although the network interface is still usable, as you can imagine – things are incredibly slow… especially if you rely on Remote Desktops/VNC/Terminal Services etc…The solution was to use the Citrix XenServer Driver Development Kit (DDK) to compile the kernel module for the network interface card.First we need to download the DDK VM, burn it to disk and then import it using XenCenter (this may seem an odd ...
fsockopen函数被PHPDDOS利用攻击的解决办法 通用解决方法: 找到程序里的fsockopen 函数,替换为:pfsockopen,即可解决所有问题,两个函数的区别在于pfsockopen 保持keep-alive,使得黑客无法进行 连接数攻击。已知使用fsockopen 函数的程序文件路径(在fsockopen 前加p, 即fsockopen 修改为pfsockopen 即可 )[其他程序可通过错误提示的文件路径查看更改]:Discuz X2 安装提示不支持fsockopen:将/include/install_var.php 文件里的$func_items = array(‘mysql_connect’, ‘fsockopen‘, ‘gethostbyname’, ‘file_get_contents’, ‘xml_parser_create’);替换为:$func_items = array(‘mysql_connect’, ‘pfsockopen‘, ‘gethostbyname’, ‘file_get_contents’, ‘xml_parser_create’);即可正常安装。X2全部包含fsockopen的文件(如果用邮件只修改邮件即可,其他文件都是自动判断pfsockopen): \api\manyou\Manyou.php\api\trade\api_alipay.php\install\include\install_function.php\install\include\install_lang.php\install\include\install_var.php\source\admincp\admincp_addons.php\source\admincp\admincp_checktools.p...
最新评论