使用思科模拟软件Cisco Packet Tracer Student,软件功能有限,只能架设简单的网络架构,适合初学者使用。
分类:
其他好文 时间:
2016-01-21 18:30:09
阅读次数:
125
Erlang Port 小心换行(金庆的专栏)Erlang的Port接口使用cin, cout与外部Port进程通信。一般open_port()用binary模式打开。 Port = open_port({spawn, PortExe}, [{packet, 4}, binary, use_stdio]),此时须小心Port进程在Windows上输出 ...
分类:
其他好文 时间:
2016-01-21 14:00:44
阅读次数:
168
一、在main()函数中1 /* check if any packet received */2 if (ETH_CheckFrameReceived())3 { 4 /* process received ethernet ...
分类:
其他好文 时间:
2016-01-20 09:49:53
阅读次数:
499
下载bin-DVD版的才有packet目录,方便搭建yum本地源。CentOS-6.7-x86_64-bin-DVD1.iso1,yum本地源[base]
name=base
baseurl=file:///mnt/
enabled=1
gpgcheck=02,换为外网源wgethttp://mirrors.163.com/.help/CentOS6-Base-163.repo
[root@localhost~]#cd/etc/yum.repos.d/
[..
分类:
其他好文 时间:
2016-01-17 21:49:07
阅读次数:
210
在sql 文件头部,写入这几个信息即可set global max_allowed_packet=100000000;set global net_buffer_length=100000;SET GLOBAL interactive_timeout=28800000;SET GLOBAL wa.....
分类:
其他好文 时间:
2016-01-17 13:28:27
阅读次数:
167
想必大家在用MySQL时都会遇到连接超时的问题,如下图所示: 就是这个异常(com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:Communications link failure Last packet sent to the serv...
分类:
数据库 时间:
2016-01-07 18:12:47
阅读次数:
157
http://www.xianren.org/blog/net/wireshark-q.html 抓到的包数据中常见的错误。。待细看,先记下。tcpdump 抓包后发现,出现大量如上标志,=、=嘿嘿,以下复制别人的,还外国朋友的 mail,zan!,图是自己的。1)、tcpdump的情况是需要加 -...
分类:
Web程序 时间:
2016-01-04 22:22:09
阅读次数:
477
数据包过滤 LSF(Linux socket filter)起源于BPF(Berkeley Packet Filter),基础从架构一致,但使用更简单。其核心原理是对用户提供了一种SOCKET选项:SO_ATTACH_FILTER。允许用户在某个sokcet上添加一个自定义的filter,只有满足该filter指定条件的数据包才会上发到用户空间。因为sokket有很多种,你可以在各个维度的so...
分类:
系统相关 时间:
2016-01-01 15:01:27
阅读次数:
514
showVARIABLESlike‘%max_allowed_packet%‘;显示的结果为:+--------------------+---------+|Variable_name|Value|+--------------------+---------+|max_allowed_packet|1048576|+--------------------+---------+修改max_allowed_packet值:1048576/1024/1024=1M
分类:
数据库 时间:
2015-12-30 19:59:44
阅读次数:
227
mysql根据配置文件会限制server接受的数据包大小。有时候大的插入和更新会被max_allowed_packet 参数限制掉,导致失败。查看目前配置show VARIABLES like '%max_allowed_packet%';显示的结果为:+--------------------+-...
分类:
数据库 时间:
2015-12-28 10:13:58
阅读次数:
164