Results 1 to 2 of 2

Thread: libnet

  1. #1
    Junior Member
    Join Date
    Nov 2003
    Posts
    14

    libnet

    Hi i am currently installing Snort and Libnet 1.1.2...
    unfortunatlly i am having trouble installing Libnet
    If anyone is will to help here is my current standing

    I'm using Visual C++ 6.0 with SDK
    I have WinPcap 3.01alpha

    I have my Include files pointing to
    c:\wpdpack\include
    c:\program files\microsoft sdk\include

    and my Library files
    c:\wpdpack\lib
    c:\program files\microsoft sdk\lib

    but when i try to compile libnet.dsw

    i keep getting "various" errors
    such as libnet.h is not a valid directory or file exension
    or in my debug screen i get
    (path)fatal error C1083: Cannot open include file: 'pcap.h': No such file or directory
    Generating Code...
    as well as
    c:\program files\microsoft sdk\include\iphlpapi.h(183) : error C2146: syntax error : missing ')' before identifier 'pStats'
    c:\program files\microsoft sdk\include\iphlpapi.h(183) : error C2061: syntax error : identifier 'pStats'
    c:\program files\microsoft sdk\include\iphlpapi.h(183) : error C2059: syntax error : ';'
    c:\program files\microsoft sdk\include\iphlpapi.h(183) : error C2059: syntax error : ','
    c:\program files\microsoft sdk\include\iphlpapi.h(185) : error C2059: syntax error : ')'

    I know pcap has to do with my WinPcap (include)?
    and iphlpapi is with the SDK?
    but i have no idea how to fix the problem

    Any suggestion will welcomed

    P.S. I also started from scratch riped everything out and reinstalled (winpcap,sdk,libnet 1.1.2 that order)

  2. #2
    Senior Member
    Join Date
    Dec 2003
    Location
    Pacific Northwest
    Posts
    1,675
    Good Day,

    I went to sourceforge to check on platform/compiler support for you and....

    http://libnet.sourceforge.net/


    Libnet supports the following platforms and compilers:

    * Unix (gcc) -- tested with Linux, FreeBSD and OSF/1
    * DOS (djgpp)
    * Windows (djgpp+RSXNTDJ, Mingw32, or MSVC)



    edit: Hopefully the Win32 port of Snort installed easily. The lastest port included all the libraries etc.:

    http://www.datanerds.net/~mike/snort.html

    "The snort-1.7-win32 source code now contains all version of snort-win32 and contains all needed header files and libraries. Compilation should be as simple as running 'nmake' in the WIN32-PRJ directory because there is now a WIN32 Makefile present."

    And another one I like: http://www.winsnort.com/index.php?module=Downloads


    cheers




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •