Skip to content
Commits on Feb 18, 2016
  1. Merge pull request #62 from DronMDF/master

    Error determining the hwaddr for a large number of interfaces.
    committed Feb 18, 2016
Commits on Feb 10, 2016
  1. Error determining the hwaddr for a large number of interfaces.

    igb1: flags=8a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> metric
    0 mtu 1500
            ether d4:3d:7e:09:0d:63
    igb10: flags=8a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST>
    metric 0 mtu 1500
            ether 44:8a:5b:3a:a0:86
    igb11: flags=8a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST>
    metric 0 mtu 1500
            ether 44:8a:5b:3a:a0:87
    
    Under FreeBSD libnet_get_hwaddr return hwaddr for igb1 instead igb1?...
    Andrey Valyaev committed Feb 10, 2016
Commits on Mar 1, 2015
Commits on Feb 27, 2015
  1. win32 support: move declarations to start-of-block

    Roberto Larcher committed with Feb 27, 2015
Commits on Aug 13, 2014
  1. @rofl0r

    Support musl libc, remove support for glibc < 2.1

    The workarounds for glibc < 2.1 (was released february 1999) break the
    build with musl libc.
    
    It is very unlikely that 2.0 or earlier is still in use, and if so,
    1) that's a big security hole
    2) code wouldnt compile anyway since noone tested build in the last decade
    3) user of it wouldn't expect anyway to get bleeding edge sw built on it,
       so he would just use the latest version that works for him.
    
    Closes #52
    rofl0r committed with Aug 12, 2014
Commits on Aug 11, 2014
  1. @DavidSzalai

    Fix error in win32 get_ipaddr4 causing buf overrun

    In libnet_get_ipaddr4 (__WIN32__ defined) the
    PacketGetNetInfoEx(l->device, &ipbuff, &npflen) takes a pointer to the
    count of buffers in the last parameter, not to the size of one buffer.
    This causes buffer overruns (tested in MSVC 2013 ultimate), changing the
    npflen to 1 solves this issue.
    DavidSzalai committed with Aug 8, 2014
Commits on Feb 6, 2014
Commits on Jan 30, 2014
Commits on Oct 8, 2013
  1. Fix errors with missing IPPROTO_MH on windows

    Use of IPPROTO_MH was introduced with a89f0f1, but definition
    was conditionalized to non-windows platforms.
    committed Oct 8, 2013
Commits on Oct 2, 2013
  1. @regit

    Factorize socket setup code for socket opening

    This patch is factorizing the socket opening code between IPv4 and IPv6.
    Socket option are the same for IPv4 and IPv6, so we can factorize the code.
    As a side effect this patch brings output device selection to IPv4.
    regit committed with Sep 13, 2013
Commits on Sep 19, 2013
  1. @allfro

    Fix build error in Mac OS X

    The IFT_FASTETHER, IFT_FASTETHERFX, IFT_GIGABITETHERNET constants are not defined in Mac OS X Mountain Lion. Only IFT_ETHER and IFT_L2VLAN are. This patch checks for the existence of these definitions.
    allfro committed Sep 18, 2013
Commits on Aug 21, 2013
  1. Merge pull request #36 from sam-github/fix-ip6-checksum

    Fix ip6 checksum
    committed Aug 20, 2013
Commits on Aug 19, 2013
  1. @koeppea
Commits on Jul 9, 2013
  1. Merge pull request #32 from ThomasHabets/get-vlan-mac

    Make libnet_get_hwaddr() work with 802.1q interfaces in bpf (BSD).
    committed Jul 8, 2013
Commits on Jun 30, 2013
  1. @ThomasHabets

    Make libnet_get_hwaddr() work with 802.1q interfaces in bpf (BSD).

    This fixes a regression in introduced in
    27282bb.
    ThomasHabets committed Jun 30, 2013
Commits on Jun 26, 2013
  1. @dlwdlw

    Update libnet_dll.c

    Missing ".h" breaks VS2012 builds
    dlwdlw committed with Jun 24, 2013
Commits on Jun 24, 2013
  1. @dlwdlw

    Update libnet_raw.c

    Missing ; blows up VS2012 builds.
    dlwdlw committed Jun 24, 2013
Commits on May 29, 2013
  1. Update CHANGELOG

    committed May 28, 2013
  2. libnet: Remove unneeded trailing -Wl from -version-info line

    Signed-off-by: Gilles Espinasse <g.esp@free.fr>
    Gilles Espinasse committed with May 26, 2013
Commits on Apr 15, 2013
  1. libnet: libnet_build_snmp fix warning

    Usign -Wstrict-prototypes show:
    libnet_build_snmp.c:36:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
    
    Signed-off-by: Gilles Espinasse <g.esp@free.fr>
    Gilles Espinasse committed with Mar 30, 2013
  2. libnet: use LIBNET_*RESOLVE const in libnet_name2addr*

    and fix tab vs space issue in that changed line
    
    Signed-off-by: Gilles Espinasse <g.esp@free.fr>
    Gilles Espinasse committed with Mar 30, 2013
  3. libnet: fix i486 sample synflood6 warning

    synflood6.c: In function 'main':
    synflood6.c:157: warning: format '%ld' expects type 'long int', but argument 2 has type 'unsigned int'
    
    Signed-off-by: Gilles Espinasse <g.esp@free.fr>
    Gilles Espinasse committed with Mar 30, 2013
Commits on Apr 14, 2013
  1. @ThomasHabets
Commits on Mar 18, 2013
  1. @sharhalakis

    Fix gcc warnings.

    This is just to make -Werror succeed as the samples are not that
    important.
    sharhalakis committed with Mar 18, 2013
  2. Use @retval for correct man page formatting.

    When using @return instead of @retval, -1 formats as the beginning of
    emphasis in the man pages.  The need for this was deduced from the
    fix-manpages patch to debian libnet 1.1.6+dfsg-1.
    committed Mar 18, 2013
  3. Update to doxygen 1.8

    committed Mar 15, 2013
Something went wrong with that request. Please try again.