README
上传用户:bobuwen
上传日期:2007-01-07
资源大小:10k
文件大小:1k
- RAW sockets example code
- ------------------------
- The code included will hopefully act as a guide to those wanting to use
- raw sockets.
- Use one of the makefiles to compile on your system.
- The following operating systems are supported:
- Makefile.bsd4 BSD4.4 Derived Systems: (OpenBSD 2.1 needs to tweak this
- since they dont need a bug
- workaround other BSD
- systems do).
- Makefile.sco SCO Openserver 5.0
- Makefile.sol Solaris 2.4/2.5 (Solaris 2.6 may not need a bug
- workaround used in it).
- Makefile.linux Linux 2.0.29
- Three binaries should be created:
- tcp : Basically sends out an empty TCP packet with the FIN flag set.
- udp : Sends out a udp packet with zeroed out data, of 12 bytes.
- ipicmp : Sends out an ICMP echo request.
- Without any time information on it.
- If anyone has bug fixes, additional ports, please send me the patches. I
- like keeping seperate makefiles for each operating system, so if you can,
- just roll one up with your port.
- Thamer Al-Herbish <shadows@whitefang.com>