File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / libnet / doc / BUGS
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 22:14:23 2012 UTC (13 years, 4 months ago) by misho
Branches: libnet, MAIN
CVS tags: v1_1_2_1, HEAD
libnet

    1: ===============================================================================
    2:     $Id: BUGS,v 1.1.1.1 2012/02/21 22:14:23 misho Exp $
    3:     LIBNET 1.1 (c) 1998 - 2004 Mike D. Schiffman <mike@infonexus.com>
    4:                                http://www.packetfactory.net/libnet
    5: ===============================================================================
    6: 
    7: 
    8:     1.1.0 KNOWN BUG LIST
    9:  
   10:     - It appears as though getprotobynumber() is broken in some linux
   11:       distributions.  The /etc/protocols file should be of the format:
   12:       protocol name protocol number proctocol symbolic constant comment
   13:       Most of the file (in my redhat 7.1) distro complies with this format
   14:       until you get to the end of the file:
   15:       #       134-254                 # Unassigned  
   16:       #       255                     # Reserved
   17:       This will cause getprotobynumber() and presumably getprotobyname() to
   18:       segfault.  If you get this behavior in your program and you're calling
   19:       __libnet_file_dump(), this could be the reason.  Caveat Emptor.

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>