总图虽然协议族被称为“TCP/IP”,但除了TCP和IP这两个主要协议外,还有许多其他成员。图2-1展示了这些协议的概况。图2-1中同时展示了IPV4和IPV6。从右向左看该图,最右边的5个网络应用在使用IPV6,随后的6个网络应用使用IPV4。最左边名为tcpdump的网络应用或者使用BSD分组过...
分类:
其他好文 时间:
2014-10-11 12:05:35
阅读次数:
314
Problem:Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique lo...
分类:
其他好文 时间:
2014-10-11 02:20:24
阅读次数:
227
将原来的虚拟机文件迁移到另一台机子之后。
ifconfig显示只有一个lo网卡,网上找了一些文章,大多是修改/etc/network/interfaces
原来内容是
# #######################################################
# This file describes the network interfaces available...
分类:
系统相关 时间:
2014-10-10 21:27:14
阅读次数:
226
1.tcpdump;
nginx开启后会占用80端口,此时执行命令:tcpdump tcp port 80
结果如下:
[syswj@host ~]$ sudo tcpdump tcp port 80
[sudo] password for syswj:
tcpdump: verbose output suppressed, use -v or -vv f...
分类:
其他好文 时间:
2014-10-10 17:26:44
阅读次数:
7649
2012年3月11日dlut周赛1002LOVELY-POINTTimeLimit:1 SecondMemoryLimit:32 MegabyteTotalsubmit:154Accepted:42DescriptionLolihunter loves Lolita,To tell while lo...
分类:
其他好文 时间:
2014-10-10 13:03:54
阅读次数:
158
1.安装系统自带的tcpdump工具yuminstalltcpdump-y2.监视主机的数据包[root@centos179min~]#tcpdump-ieth0--监控本机的eth0网卡[root@centos179min~]#tcpdumphost192.168.1.250and\(192.168.1.251or192.168.1.252\)--截获多个IP的数据包[root@centos179min~]#tcpdump-ieth0dstho..
分类:
系统相关 时间:
2014-10-09 19:40:18
阅读次数:
184
原文链接:http://blog.csdn.net/maimang1001/article/details/17048273http://blog.csdn.net/bluetropic/article/details/8984978安装时出现:The System is running in lo...
分类:
其他好文 时间:
2014-10-09 17:30:57
阅读次数:
378
笔者使用的环境为WIN7 64位旗舰版下使用VirtualBox安装的centOS6.5实验环境
建立连接
————————————————————————————————————————————————————————————————
在终端1中进入root权限,键入 tcpdump tcp -vX -i eth2
#使用man手册查看tcpdump的使用方法
#eth2为接口...
分类:
系统相关 时间:
2014-10-08 17:18:15
阅读次数:
180
安装说明 系统环境:CentOS-6.3安装方式:yum install (源码安装容易产生版本兼容的问题)安装软件:系统自动下载SVN软件 检查已安装版本 #检查是否安装了低版本的SVN[root@localhost /]# rpm -qa subversion #卸载旧版本SVN[root@lo...
分类:
其他好文 时间:
2014-10-08 12:31:35
阅读次数:
219
1、tcpdump
-n 使用IP地址表示主机,而不是主机名;使用数字表示端口号,而不是服务名称
-i 指定要监听的网卡接口, “-i any”表示抓取所有网卡接口上的数据包
-v 输出一个稍微详细的信息,例如,显示IP数据报中的TTL和TOS信息
-t 不打印时间戳
-e 显示以太网帧头...
分类:
系统相关 时间:
2014-10-06 16:27:40
阅读次数:
258