一.说明 我一直不明白为什么拒绝服务,初学着喜欢拿来装逼.媒体喜欢吹得神乎其神.公司招聘也喜欢拿来做标准,因为我觉得拒绝服务和社会工程学就是最名不副实的两样东西.当然由于自己不明确拒绝服务在代码上是怎么个实现过程,所以虽然如此认为但不免底气不足.趁着有时间来考究一番. 二.拒绝服务定义 Denial of Service,简写DoS,拒绝服务是英文名直接翻译,指的是正常用户无法得到服务的现像.广义上包括通过缓冲区溢出等漏洞进行攻击使服务挂掉.发送大量数据包占用完系统分配给服务的资源.发送大量数据…