[置顶] 浅谈原始套接字 SOCK_RAW 的内幕及其应用(port scan, packet sniffer, syn flood, icmp flood)
一、SOCK_RAW内幕首先在讲SOCK_RAW之前,先来看创建socket的函数:intsocket(intdomain,inttype,intprotocol);domain:指定通信协议族(protocolfamily/address)/usr/include/i386-linux-gnu/bits/socket.h C++Code 12345678910111213/* Supported