(1) Hub, Switch, Router, Gateway
Hub: like center
it can not choose which directions to go
Switch: choose which direction they send in the LAN
Router: forward from LAN to LAN
Gateway: can communicate between LAN and other networks
Gateway vs Router:
from here
1. 概念上不是一回事。路由器是负责选择数据包转发路径的设备;而网关就是充当网络出口的设备,相当于上网要经过的关卡。这样说来,网关就是路由器的一个子模块而已。
2. 事实上很多厂家的路由和网关都是一种设备。叫法不同,是他们根据应用场景来的。
(2) Firewalls
special gateway
protect from inappropriate access
(3) Network Protocols
data exchange between computers to communicate and share
(4) Network Layer Security
packet switching:
messages are divided into fixed-size,numbered packets
IP sec:
goals: secure traffic between two IP systems.
保证在转发的路上是安全的
(5) Transport Layer Security
SSL secure socket layer
https: secure communications between browser and server
SSL
SSL:
data exchange and encryption
SSL session:
between browser and server
created by three-hand shake protocol
SSL connection:
(6) IPsec VS SSL
(7) Network Security Threats