码迷,mamicode.com
首页 >  
搜索关键字:mac泛洪 攻击 防御 port security    ( 38153个结果
mysql配置主从复制 第一篇
安装好一个mysql到D盘。然后把D盘的mysql文件夹复制到另外一个盘。我这里选择E盘之后修改 根目录下的 my.ini 端口号[mysqld]port = 3307ps:一定要和另外一个区分开。安装服务mysqld install mysql启动mysql服务net start mysql删除....
分类:数据库   时间:2014-07-11 11:30:15    阅读次数:211
Elastix GOIP 网关配合
方案一 Gatewaydisallow=allallow=alaw&ulawcanreinvite=nodtmfmode=rfc2833host=192.168.1.108insecure=port,inviteusername=adasecret=123adafrom-user=adatype=p...
分类:其他好文   时间:2014-07-11 09:33:06    阅读次数:382
将cocos2dx+lua创建的游戏port到windows phone
在整个Port的过程中遇到的问题总结如下 1、一定要使用最新版本的cocos2dx,原因大家看一下changelog就知道了,最近的cocos2dx版本都是在修windows phone上的bug,所以为了避免少出问题,还是直接升级到最新版本吧 2、如果你使用的是cocos2dx + lua方式,目前的project-creator并不支持lua版本的windows phone平台,但是cpp...
分类:Windows程序   时间:2014-07-11 00:49:46    阅读次数:289
Could not open Selected VM debug port (8700)
在运行项目的时候,eclipse弹出提示框“Could not open Selected VM debug port (8700). Make sure you do not have another instance of DDMS or of the eclipse plugin running. If it's being used by something else, choose a new port number in the preferences.” 在终端输入:netstat -ano ...
分类:其他好文   时间:2014-07-10 23:03:07    阅读次数:432
使用milang出错:LookupError: unknown encoding: idna
今天同事pvuTraceback (most recent call last):  File "F:\vmid.py", line 11, in     vmiddle.connect((host, port))LookupError: unknown encoding: idna...
分类:其他好文   时间:2014-07-10 21:17:06    阅读次数:365
Socket 编程
使用TCP的服务器客户机举例 服务器 设置一个简单的TCP服务器涉及下列步骤: 调用 socket()建立套接字调用Binding 把套接字绑定到一个监听端口上。在调用 bind()之前, 程序必须声明一个 sockaddr_in 结构体,用 memset()清除, and the sin_family (AF_INET), and fill its sin_port (the...
分类:其他好文   时间:2014-07-10 20:21:58    阅读次数:278
C# 调用API接口处理公共类 自带JSON实体互转类
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Security; using System.Security.Cryptography.X509Certificates; using System.Text;...
分类:Windows程序   时间:2014-07-10 20:02:05    阅读次数:289
linux 防爆破方法
利用pam认证模块锁定多次登陆失败的用户pam模块存放在/lib/security/pam_*****.so编辑/etc/pam.d/sshd添加以下内容authrequiredpam_tally2.sodeny=5lock_time=60当用户通过ssh尝试登陆系统密码输错5次,系统就锁定该账户60S验证:手动解除锁定命令pam_tally2--reset-u用户
分类:系统相关   时间:2014-07-10 18:55:47    阅读次数:500
python MySQLdb 常用操作
我采用的是MySQLdb操作的MYSQL数据库。先来一个简单的例子吧:importMySQLdb try: conn=MySQLdb.connect(host=‘localhost‘,user=‘root‘,passwd=‘root‘,db=‘test‘,port=3306) cur=conn.cursor() cur.execute(‘select*fromuser‘) cur.close() conn.close() exceptMySQLdb.Error,e..
分类:数据库   时间:2014-07-10 18:20:40    阅读次数:282
rsyslog的还本溯源
日志的分离1)初学syslogvoidopenlog(constchar*ident,intoption,intfacility);voidsyslog(intpriority,constchar*format,...);voidcloselog(void);facilityThefacilityargumentisusedtospecifywhattypeofprogramisloggingthemessage.Thisletstheconfigurationfilespecifythatm..
分类:其他好文   时间:2014-07-10 18:03:51    阅读次数:386
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!