Share

libdnet

Code

Programming Languages: C, C++, Python

License: BSD License

Repositories

browse code, statistics, last commit on 2007-01-14 cvs -d:pserver:anonymous@libdnet.cvs.sourceforge.net:/cvsroot/libdnet login

cvs -z3 -d:pserver:anonymous@libdnet.cvs.sourceforge.net:/cvsroot/libdnet co -P modulename

Show:

What's happening?

  • ip_checksum() segfaults when payload is 0 or 1 bytes

    The ip_cksum_add() function (called by the exported function "ip_checksum()") has a bug: Duff's device, used here for loop unrolling, assumes at least 1 iteration. In the case of the length of the payload being 0 or 1 bytes, the number of iterations will be 0. This will cause "cksum += *sp++" 16 times, whereas it should not have been executed at all. Thus, the code will walk off the end of...

    2009-08-24 18:37:28 UTC by nobody

  • Support IPv6-as-primary network address on Linux.

    Fix libdnet to support IPv6-as-primary network address. Libdnet has a bug where its intf_loop() routine fails if an interface has only a single IPv6 address bound to it. This change corrects that.

    2008-12-17 23:43:14 UTC by rbeasley

  • missing prerequisite headers?

    I'm trying to configure 1.11 on OSX 10.5.2, and experienced a number of warnings about missing headers. configure: WARNING: net/if.h: present but cannot be compiled configure: WARNING: net/if.h: check for missing prerequisite headers? configure: WARNING: net/if.h: see the Autoconf documentation configure: WARNING: net/if.h: section "Present But Cannot Be Compiled" configure...

    2008-05-26 09:31:47 UTC by andrew_rojek

  • Comment: configure failed on Fedora Core 6

    Configure works fine on my Fedora Core 6: checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E ... Maybe the submitter didn't have g++ support installed, since his configure reports (lib/cpp) for C++ preprocessor? This is from...

    2007-11-02 14:49:48 UTC by nobody

  • configure failed on Fedora Core 6

    checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check (as reported by ./configure && make) BLAG60001 distro.

    2007-08-19 19:13:22 UTC by nobody

  • mispackaged libdnet 1.12

    The 1.12 tarball has a copy of trunk inside of it. So, you end up with libdnet-1.12/src and libdnet-1.12/trunk/src . Funky!

    2007-07-03 22:20:13 UTC by jnathan

  • Comment: Broken heap when compiled with MSVC

    Patch submitted by Rush, please contact me if you want to create MSVC project for libdnet rush dog rush dot nov dot ru.

    2007-02-16 11:34:23 UTC by nobody

  • Broken heap when compiled with MSVC

    Problems in intf-win32.c: 1. Heap is broken when libdnet 1.11 compiled on MSVC (Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86) after call any of folow functions: intf_get intf_get_src intf_get_dst intf_loop 2. Function snprintf not exists in MSVC headers, so we must use _snprintf. 3. Constant MIB_IF_TYPE_MAX defined as 32, but must be equal to...

    2007-02-16 11:31:29 UTC by nobody

  • libdnet

    dugsong committed patchset 623 of module libdnet to the libdnet CVS repository, changing 1 files.

    2007-01-14 08:13:08 UTC by dugsong

  • libdnet

    dugsong committed patchset 622 of module libdnet to the libdnet CVS repository, changing 1 files.

    2007-01-14 08:10:27 UTC by dugsong

Our Numbers