1.查询数据包的指令:
tcpdump 命令:显示传输中的TCP数据包的信息。
注:du 命令:显示每个文件的磁盘使用空间,对目录同样可以适用。
traceroute 命令:追踪网络数据包的路由途径,默认数据包大小为40Bytes。
dig 命令:是一个功能类似nslookup命令的工具。能得到更详细的DNS解析报告。在使用上要比 nslookup方便。可以作为网络故障的诊断工具
2.双链表优点
(1)对链表的遍历更加灵活,不仅可以向前遍历,也可以向后遍历。
(2)直接删除数据元素,不用遍历其它数据。
3.应用层协议:DHCP,DNS,FTP,HTTP,SMTP,SSH,TELENT等
传输层协议:TCP,UDP,DCCP,SCTP,RTP,RSVP,PPTP等
网络层协议:IP,ARP,RARP,ICMP(Internet Control Message Protocol ),RIP(路由协议)等
数据链路层协议:802.11,WiFi,WiMax,ATM,GPRS等
应用层
·
DHCP(
动态主机分配协议
)
·
DNS (
域名解析)
·
FTP
(
File Transfer Protocol
)文件传输协议
·
Gopher
(英文原义:
The Internet Gopher Protocol
中文释义:
(
RFC-1436
)
网际
Gopher
协议)
·
HTTP
(
Hypertext Transfer Protocol
)超文本传输协议
·
IMAP4 (Internet Message Access Protocol 4)
即
Internet
信息访问协议的第
4
版本
·
IRC
(
Internet Relay Chat
)网络聊天协议
·
NNTP
(
Network News Transport Protocol
)
RFC-977
)网络新闻传输协议
·
XMPP
可扩展消息处理现场协议
·
POP3 (Post Office Protocol 3)
即邮局协议的第
3
个版本
·
SIP
信令控制协议
·
SMTP
(
Simple Mail Transfer Protocol
)即简单邮件传输协议
·
SNMP (Simple Network Management Protocol,
简单网络管理协议
)
·
SSH
(
Secure Shell
)安全外壳协议
·
TELNET
远程登录协议
·
RPC
(
Remote Procedure Call Protocol
)
(
RFC-1831
)远程过程调用协议
·
RTCP
(
RTP Control Protocol
)
RTP
控制协议
·
RTSP
(
Real Time Streaming Protocol
)实时流传输协议
·
TLS
(
Transport Layer Security Protocol
)安全传输层协议
·
SDP( Session Description Protocol
)会话描述协议
·
SOAP
(
Simple Object Access Protocol
)简单对象访问协议
·
GTP
通用数据传输平台
·
STUN
(
Simple Traversal of UDP over NATs
,
NAT
的
UDP
简单穿越)是一种网络协议
·
NTP
(
Network Time Protocol
)网络校时协议