File: README.rawsockets

package info (click to toggle)
libnet 1.0-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,792 kB
  • ctags: 853
  • sloc: ansic: 8,738; sh: 1,793; makefile: 407
file content (14 lines) | stat: -rw-r--r-- 784 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
===============================================================================
    LIBNET          (c) 1998, 1999  Mike D. Schiffman <mike@infonexus.com>
                                    http://www.packetfactory.net/libnet
===============================================================================

    Raw sockets are horribly non-standard across implementations.  Solaris,
    for example, has terrible support for this packet interface.  Older OpenBSD
    versions and recent FreeBSD versions have the BSD_BYTE_SWAP issue where
    the ip_len and ip_frag fields need to be in little endian order.  Linux
    apparently doesn't allow for the injection of broadcast IP datagrams.
    Whenever complete control over the IP header is desired, use the link
    layer API.

EOF