commit cf102fcbb3af64c65479d71094845dadf5c62453
Author: Sam Roberts <sam@strongloop.com> Date: Sat Feb 28 20:37:02 2015 -0800 sample: fix incorrect sizof() in sebek commit 4369b87da2b63426cdd5131cd491fa8df6d775a5 Author: Roberto Larcher <roberto.larcher@libero.it> Date: Fri Feb 27 10:50:23 2015 -0800 win32 support: move declarations to start-of-block commit ffd7fab744a9ad2893169a8fb6244074604d5d0d Author: rofl0r <retnyg@gmx.net> Date: Tue Aug 12 21:51:39 2014 +0200 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 commit 8ed6092e07837f8418a180d5b4cf40c9d48c30a9 Author: pnHKIN <szalaidavid960721@gmail.com> Date: Fri Aug 8 22:51:48 2014 +0200 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. commit c9390bf8f3379c280ba8ceec67fbd8e908675d96 Author: Sam Roberts <sam@strongloop.com> Date: Wed Jan 29 21:33:03 2014 -0800 Reset global cq state after destroying it commit 91e0458e16390489bc8800ab7ce96ea921a38a0b Author: Sam Roberts <sam@strongloop.com> Date: Wed Jan 29 21:44:54 2014 -0800 Prepare for 1.2 release candidate 3 commit 522e0429afafb41baefc70b52ee3aa1554ed3f79 Author: Sam Roberts <sam@strongloop.com> Date: Wed Jan 29 21:54:29 2014 -0800 Remove obsolete SYMBOL_CACHE_SIZE from doxygen.conf commit bab878a5892b66de85857f0e4044983d235718c9 Author: Sam Roberts <sam@strongloop.com> Date: Tue Oct 8 11:45:20 2013 -0700 For samples, netinet/in.h is not on windows commit 0717d9c0697dddfbea4b91704deaf4af5970f4e6 Author: Sam Roberts <sam@strongloop.com> Date: Tue Oct 8 10:22:39 2013 -0700 Fix errors with missing IPPROTO_MH on windows Use of IPPROTO_MH was introduced with a89f0f10de, but definition was conditionalized to non-windows platforms. commit 83c84a92a2c8bd49a7c103c7edfcdc74df4c28e0 Author: Eric Leblond <eric@regit.org> Date: Fri Sep 13 13:56:46 2013 +0200 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. commit 651af979838fe13dae59db57ee943e29dddbd7de Author: allfro <ndouba@gmail.com> Date: Wed Sep 18 22:04:56 2013 -0400 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. commit a4693ae62c6eaced9fcc849d87f5fd3b98eb8998 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Aug 20 20:33:18 2013 -0700 Insource comments and whitespace cleanups commit a89f0f10de9b70c0bcc0ab31552a12e1a8b83921 Author: Alexander Koeppe <format_c@online.de> Date: Mon Aug 19 21:24:23 2013 +0200 Fix #34 correct checksum caculation when IPv6 extension headers being used commit 408fa2266a4af402152cc0f1e9a40b56477b995a Author: Thomas Habets <thomas@habets.se> Date: Sun Jun 30 11:14:54 2013 +0100 Make libnet_get_hwaddr() work with 802.1q interfaces in bpf (BSD). This fixes a regression in introduced in 27282bb5a1ab78210245e226c4c82605b00a12bb. commit 305e58689d14f8f758ac675167428718c6b6a203 Author: dlwdlw <david@williamsons.net> Date: Mon Jun 24 14:20:58 2013 -0600 Update libnet_dll.c Missing ".h" breaks VS2012 builds commit 430fc3007723a3972663b8f0aa26dda021037bdf Author: dlwdlw <david@williamsons.net> Date: Mon Jun 24 14:46:10 2013 -0600 Update libnet_raw.c Missing ; blows up VS2012 builds. commit f913af7d9e0a44b63a6e15b4c1946cc2a9958293 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue May 28 20:14:23 2013 -0700 Update CHANGELOG commit f3060a265a2bfb96c9dfb7216d0156946c4c1da0 Author: Gilles Espinasse <g.esp@free.fr> Date: Sun May 26 22:07:19 2013 +0200 libnet: Remove unneeded trailing -Wl from -version-info line Signed-off-by: Gilles Espinasse <g.esp@free.fr> commit 1a1242702fd56a91178b8d77d1ee8d5bfa90a986 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Apr 15 13:54:07 2013 -0700 Notes on how to build from a git checkout. create mode 100644 BUILD-FROM-GIT.txt commit 06d758b1c7d14515b4b1d40bd17726a11c972da0 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Apr 9 15:20:58 2013 -0700 Prepare for 1.2 release candidate 2 commit bf867b93a5fa3bd8af4a3c352bd8b18f771204ba Author: Gilles Espinasse <g.esp@free.fr> Date: Sat Mar 30 13:35:28 2013 +0100 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> commit a44a4f7164d7dbfa10ac67cd92a64f1efd76c6fa Author: Gilles Espinasse <g.esp@free.fr> Date: Sat Mar 30 11:34:03 2013 +0100 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> commit ae8a8437f2ef0c75a7aef8e44953168f78ed09e7 Author: Gilles Espinasse <g.esp@free.fr> Date: Sat Mar 30 11:14:56 2013 +0100 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> commit 5e65d8ae93577a268b72781b373fd39260aadb80 Author: Thomas Habets <thomas@habets.se> Date: Sun Apr 14 12:52:40 2013 -0700 Some samples need #include<netinet/in.h> for IPPROTO_* on OpenBSD 5.2 commit 472cc66d26ad91132bd0b6254198d1ba0de892ba Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Mar 18 14:12:50 2013 -0700 Unstow all variants of libnet package name. commit 029c82bef9e7375b8617b92cb70889de35d86251 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Mar 18 14:12:16 2013 -0700 Better description of .so revioning. commit af867b18aaebbe7d499302a6e9cc538c5c323626 Author: Stefanos Harhalakis <v13@v13.gr> Date: Mon Mar 18 12:48:22 2013 -0700 Fix gcc warnings. This is just to make -Werror succeed as the samples are not that important. commit 2577e6cfd55937fad323e6001ddeb535415fb214 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Mar 18 12:31:16 2013 -0700 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. commit 9678b58ac5f8bf26b507da6d9722ce8793ebc946 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Mar 18 10:35:40 2013 -0700 Hide undocumented in auto-generated documentation. commit beea6b0260e8d0b4689d16dc7dc80f07fd854768 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Mar 18 10:33:07 2013 -0700 Check for socklen_t (suggested by g.esp and Stefanos Harhalakis) commit e4e69f683658bc9bd1736ecd439496654a878fe1 Author: Sam Roberts <vieuxtech@gmail.com> Date: Fri Mar 15 14:55:12 2013 -0700 Update to doxygen 1.8 commit e686b9ac71d98c659aa490b95e5392da72f28859 Author: Sam Roberts <vieuxtech@gmail.com> Date: Fri Mar 15 22:03:09 2013 -0700 Only distribute man pages for libnet headers. (Reported by g.esp) Doxygen link files for directories were being packages up as man pages. commit 790e4b0b1b137a5c036a0407f864bf71bc69bf5d Author: Gilles Espinasse <g.esp@free.fr> Date: Fri Mar 15 23:03:00 2013 +0100 libnet: update for obsolete INCLUDE directive Signed-off-by: Gilles Espinasse <g.esp@free.fr> Using autoreconf (with automake-1.12.6) show those warnings autoreconf: running: automake --add-missing --copy --force-missing Makefile.am.common:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Makefile.am:9: 'Makefile.am.common' included from here Makefile.am.common:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') include/Makefile.am:3: 'Makefile.am.common' included from here Makefile.am.common:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') include/libnet/Makefile.am:3: 'Makefile.am.common' included from here Makefile.am.common:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') sample/Makefile.am:9: 'Makefile.am.common' included from here Makefile.am.common:14: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am:9: 'Makefile.am.common' included from here autoreconf: Leaving directory `.' Just follow the advice and replace INCLUDES with AM_CPPFLAGS commit 007f884bd5b386a5b50cfd47bda74a8ef3d53871 Author: Gilles Espinasse <g.esp@free.fr> Date: Fri Mar 15 22:44:05 2013 +0100 Fix warning inside comment Signed-off-by: Gilles Espinasse <g.esp@free.fr> Fix this warning seen with -Wall libnet_if_addr.c:277:1: warning: "/*" within comment commit b62b44f5e45f127ad8cca32223e20fad3ad37949 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 14 13:11:28 2013 -0700 Prepare for 1.2 release candidate. commit 2010b4da9ccee3662a9bfdd6e761c2e91fc4f5f2 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 14 13:10:25 2013 -0700 Bump libnet versions in preparation for 1.2 release. commit 426f727b11f70cd3541d16757cf0ab414b87ea98 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 14 10:28:14 2013 -0700 Cleaned up references to win32 pre-generated headers Moved pre-generated and static headers used for autotool-less win32 builds out of include/ and into win32/. Centralized the HAVE_CONFIG logic into two common headers, one for src/, and one for test/. All source code should know include headers from the same location, its the responsibility of the build prep system (autotools or msvcbuild.bat) to make sure the correct headers are in place. delete mode 100644 libnet/.gitignore delete mode 100644 libnet/include/win32/Makefile.am delete mode 100644 libnet/include/win32/config.h delete mode 100644 libnet/include/win32/getopt.h delete mode 100644 libnet/include/win32/libnet.h delete mode 100644 libnet/include/win32/stdint.h create mode 100644 libnet/win32/Makefile.am create mode 100644 libnet/win32/config.h create mode 100644 libnet/win32/getopt.h create mode 100644 libnet/win32/libnet.h create mode 100644 libnet/win32/stdint.h commit 6bafa270826560c74a41803ed8c7df49b9164649 Author: Barak A. Pearlmutter <barak+git@cs.nuim.ie> Date: Mon Feb 25 11:55:35 2013 +0000 VERSION is ancient and unused delete mode 100644 libnet/VERSION commit ee6defe6f03417c88d3d94f945beba00b51e9b7a Author: Barak A. Pearlmutter <barak+git@cs.nuim.ie> Date: Mon Feb 25 11:53:32 2013 +0000 autoupdate configure.ac create mode 100644 libnet/configure.ac delete mode 100644 libnet/configure.in commit b9ca8e00339b02ec5542cdc8903e02ace8414b25 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Mar 13 20:14:03 2013 -0700 Simplify autogen.sh (suggested by Barak A. Pearlmutter) commit b440726585419756dd3e65e16654d8f1aca9f4d4 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Mar 13 19:45:24 2013 -0700 Ignore doxygen javascript output commit 672e9a43ff33a85ce929423b31ae9e9155cbdf5d Author: Barak A. Pearlmutter <barak+git@cs.nuim.ie> Date: Mon Feb 25 11:54:30 2013 +0000 remove autoreconf-installed file delete mode 100755 libnet/mkinstalldirs commit f5d853f4f269849cb2d4155d7d7db902be3d1543 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Jan 31 17:04:48 2013 -0800 Use +AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER Apparently, the AM variant is deprecated, and will stop working with suitably recent automake versions. commit 4d378437338f39378931fac2895c9975cb6264cd Author: ThomasVolkert <thomas@homer-conferencing.com> Date: Tue Dec 18 15:35:05 2012 +0100 Automatic link options ("#pragma comment(lib, ...)") are only for MSVC commit 389a2d7e9f375e9d6998078e38a2ab841f18def5 Author: ThomasVolkert <thomas@homer-conferencing.com> Date: Tue Dec 18 15:32:33 2012 +0100 Added guards around definitions of _GNU_SOURCE to avoid redefinitions commit 6618c579da4f90756391af7334ea10e03873af78 Author: ThomasVolkert <thomas@homer-conferencing.com> Date: Tue Dec 18 12:55:12 2012 +0100 Avoids several warnings for MS C/C++ compiler commit 4ba2f0c0749e8216c0742edce8adfc25f1587ced Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Dec 18 21:17:55 2012 -0800 libnet_open_raw4 doesn't return a SOCKET on win32 And on unix, it doesn't return a descriptor. commit ffb9a55cf33050f45cc6d59a173c88550d655ea2 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Dec 18 21:02:36 2012 -0800 Remove unused STDOUT_FILENO, and dead code that used to use it. commit 770722f793ee8290cef57020ade59a33ee636309 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Nov 27 20:57:59 2012 -0800 Removed references to removed win32/in_systm.h commit 95baf213583ff9dfab7ced3e4a41a9b4f043a221 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Nov 27 11:33:59 2012 -0800 git ignore doxygen output commit 8b6c4d98e5a3d256d74558104719bc482381b3c6 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Nov 27 11:32:26 2012 -0800 Remove automake reference to win32 header that has been removed. commit 1f39883bc656605ecde816fc1f5238ff86b83e53 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Nov 15 21:15:42 2012 -0800 Fixes error messages sometimes include newline, sometimes not. commit 2e724b2f5cd614d7362f8dcbc57dc1fca6e437b3 Author: Thomas Habets <thomas@habets.se> Date: Fri Nov 16 10:52:24 2012 +0000 Properly set l->err_buf if libnet_ifaddrlist() fails. commit 0bfd1c210962d38bca5e5f4a8815b5b45e1f69df Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Nov 15 13:00:33 2012 -0800 Pass build errors to caller of batch files. commit 70a3af487c60147af17af6819ec1c7a9e96b2b73 Author: Thomas Habets <thomas@habets.se> Date: Sat Nov 3 17:51:40 2012 +0000 dlpi: Try harder to find the device for the interface. Solaris usually has network devices (with and without unit numbers) in /dev, but if a directory of the same name already exists then it will not create any devices at all directly in /dev. Devices are also created dynamically in /dev/net/. This patch will make libnet look there too, and not fail if it encounteres a directory. Example: In my virtualised setup the network interface is named "net0", and /dev/net/ is a directory, so /dev/net0 isn't created. /dev/net/net0 works fine though. commit cba0dd86aaffa8d38c265f516c4822f615841bea Author: Thomas Habets <thomas@habets.se> Date: Sat Nov 3 16:46:40 2012 +0000 dlpi: Correctly extract the unit number from devices with numbers in their name. Bug: https://github.com/sam-github/libnet/issues/20 Example: e1000g0 would be parsed as device "e" unit "1000g0", and then fail. This fix will treat any trailing digits as the unit number. commit 9c744c8e212184571ee804cc9f580f9704325bc8 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Nov 1 13:08:55 2012 -0700 Make interface selection work for interfaces with multiple addresses on them. Windows supports IPv4 and IPv6 by default, so interfaces will have two addresses, and libnet failed when the first address was IPv6. commit 18cbe497dd84afc471a5320e4ef3a7cde87c2c4e Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Oct 31 15:15:56 2012 -0700 memory leak fixed, device list needs to freed after use commit 008c9945ce6f4295196872b85ea28c783f68db4a Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Oct 31 15:14:18 2012 -0700 uint32 address properly initialized with an address Previous code converted address to presentation format, and then strduped it, and assigned it to the uint32_t address field... that can't have been right, I hope the current implementation is. commit 8d227679012650faa954a37a36c66e4ca2ec2d84 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Oct 31 15:13:25 2012 -0700 Reformatted and commented win32 specific code. commit d5e11ff432ef8333a33b07d1e9c01525186675b3 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Oct 31 15:11:57 2012 -0700 Interface selection was ignoring interfaces with ipv6. commit 06087af56b4440b55c1af114a1085b07dc711b34 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Oct 31 10:48:50 2012 -0700 Use simple batch file to build for win32. The project files are a painful and unmaintainable mess, they are replaced with a batch file, msvcbuild.bat, and the redundant version handling code is removed. create mode 100644 libnet/README.win32 delete mode 100644 libnet/include/win32/in_systm.h create mode 100644 libnet/msvcbuild.bat delete mode 100644 libnet/version.h.in delete mode 100644 libnet/win32/.gitignore delete mode 100644 libnet/win32/Libnet-1.1.1-2002.sln delete mode 100644 libnet/win32/Libnet-1.1.1-2003.ncb delete mode 100644 libnet/win32/Libnet-1.1.1-2003.sln delete mode 100644 libnet/win32/Libnet-1.1.1-2003.suo delete mode 100644 libnet/win32/Libnet-1.1.1.vcproj delete mode 100755 libnet/win32/Libnet-2010.sln delete mode 100644 libnet/win32/Libnet-latest.ncb delete mode 100644 libnet/win32/Libnet-latest.opt delete mode 100644 libnet/win32/Libnet-latest.sln delete mode 100644 libnet/win32/Libnet-latest.suo delete mode 100644 libnet/win32/Libnet-latest.vcproj delete mode 100644 libnet/win32/Libnet.dsp delete mode 100644 libnet/win32/Libnet.dsw delete mode 100755 libnet/win32/Libnet.vcxproj delete mode 100644 libnet/win32/Makefile.am delete mode 100644 libnet/win32/README.txt delete mode 100644 libnet/win32/libnet_dll.def create mode 100644 lua/dnet.h.win32 commit 22b56165c7edabc6c44378402c0a9305f0d0a362 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Oct 31 10:40:39 2012 -0700 Use LIBNET_API on public functions, instead of an export file. commit 34376b0ca1cb2f65e43c4579fba38ceeebb1ae95 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Oct 31 10:38:09 2012 -0700 Note about libnet_get_prand being secure only on windows. commit c24f52acbfa05a785fdd1c0a68b043b9af8ed124 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Oct 30 13:14:57 2012 -0700 Build lua binding on win32. create mode 100644 lua/msvcbuild.bat commit b7bbcd557cb901e16f41f89a889627b96ecbdb59 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Oct 30 12:46:05 2012 -0700 ignore visual studio output artifacts create mode 100644 libnet/win32/.gitignore commit 26c12d203cf4be13fba4b886a78632a8bef77c68 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Oct 30 12:45:11 2012 -0700 Don't need iphlpapi.h included. commit 0c8e5e8a80dee9554b4669429a08b88e174ec396 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Oct 29 13:31:49 2012 -0700 Libnet.vcxproj file gained a ProjectGUID property. Hm. commit 3604b6cd6cefc274fe0bdc9027b033b4bda400b0 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Oct 29 11:41:57 2012 -0700 visual studio 2010 project files create mode 100755 libnet/win32/Libnet-2010.sln create mode 100755 libnet/win32/Libnet.vcxproj commit 3b41127aa2c1cfb63635ede6e86b0dc3ff2815e6 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Oct 29 11:15:47 2012 -0700 Convert uses of non-standard uint to uint32_t. commit d9de9df515a4305582fbd9880055a9705f11cb64 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Oct 25 16:36:48 2012 -0700 Compiled on win32 with Visual Studio 2010. First pass, builds, don't know if it runs. There are remaining problems with functions modifying const arguments, and some hacks around libnet's use of uint. create mode 100644 libnet/include/win32/stdint.h commit f492108cf3ec0d3ca56433932de4a43d7b3f5bc0 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Oct 25 16:28:53 2012 -0700 Add build instructions for Visual Studio 2010 commit 6fd90cd70a085a1e3a37d773d233ef6caad743bd Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Oct 25 16:28:00 2012 -0700 Documentation typo, valid should be invalid. commit 04fca822b1c551c52f2bd3b0176bfc7f7413ba76 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Oct 24 16:37:45 2012 -0700 Replace usage of non-standard uint type with uint32_t. commit 2fd3e50d79a84e67bb1bb76b0f6a45f04baff280 Author: Thomas Habets <thomas@habets.se> Date: Sun Jul 15 21:52:47 2012 +0100 define INET6 on IRIX, making libnet compile cleanly. Turned out to be an easy fix, once I found some time to look into it. I'm not an expert on IRIX and I only have the one box, but the include files (from the IRIX developer tools CDs) seemed to be referencing some other include files that didn't exist on my system. Luckily it turned out that what appears to be a faulty include wasn't actually needed. With the below patch it compiles cleanly for me, and seems like it shouldn't break anything. commit ca16d98bc7b458cf226f09a3da9c19eadbdb45a3 Author: Kimmo Suominen <kimmo@fritz> Date: Mon Jul 9 12:34:56 2012 +0300 Use LIBNET_BSDISH_OS and LIBNET_BSD_BYTE_SWAP on all darwin architectures. commit b659947a9ec3d70832bdfda449256579316a6845 Author: Emilio Escobar <emescobar@users.sf.net> Date: Fri Jun 15 14:27:21 2012 -0400 Added BSD byteswap for Darwin. Otherwise sendto() returns EINVAL commit 7ac7688f428eb994f1beac47f1ec61ce7450be06 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Jun 25 13:17:57 2012 -0700 urgent and ack number fields should be optional commit 77d2a48a11e011e440fcaef7e646ac73e2c63bd3 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Feb 16 10:05:44 2012 -0800 igmp() argument changed from code to reserved commit 980b0f7c2ecc8681b735ad5fcf928a3b62dc2f05 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Apr 24 10:10:47 2012 -0700 Note about ethernet padding being stripped by decode commit f298b0a95d698600ccf2dc66bacc887c240d862d Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Apr 24 10:08:15 2012 -0700 Properly quote filenames to be pushed to sourceforge commit d3f3b6c5b219f57f3b9a3a8358049d7a3f0a6e13 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Apr 23 11:28:20 2012 -0700 Use a common header to trim cut and paste include blocks. create mode 100644 libnet/src/common.h commit 875ae1c0b59c862df6d05abac4535d35485ae884 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Apr 18 16:51:45 2012 -0700 netinet/in.h is needed for IPPROTO_ and sockaddr_in (reported by Dirk Meyer) commit 156360f5baf95ef3b30ac19872dd22cc4e019be6 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 29 14:22:09 2012 -0700 libnet-1.1.6 commit 4a55e370f267bf2e7924b80cc57f24e3c3da0a28 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 29 14:06:25 2012 -0700 Note about why including libnet.h breaks dnet.h/dumbnet.h commit 0255d84ccafc2de3fe082af73e73cd5544ad0750 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 29 13:47:22 2012 -0700 Ignore output pcaps. commit 0024e99bcf9931108529258fc84c16d3eb4df07e Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 29 13:45:53 2012 -0700 Update release scripts and checklist. create mode 100755 Push commit 6d93731b4eb1eb7a3e4a5a2a1faaccb1906fc59b Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 29 13:44:27 2012 -0700 Dump generated packets to pcap as well as to screen. commit 0972737c35c4c677a1d7f5eec680007c120226fa Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 29 13:43:53 2012 -0700 Remove pcap tests from Makefile. commit 5721f9862674e7c647908d9070f9a280c66d92c8 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 29 13:43:24 2012 -0700 Generate a valid IGMP message in test. commit eb2cf3cc42452d709eba89ad478a0d6e71e135bf Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Mar 28 10:37:50 2012 -0700 Prepare for 1.1.6-rc3. commit 5e251c2d3e0be304c916a4e1bd0f87a2695fe760 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Mar 28 10:06:44 2012 -0700 Only use getifaddrs() if it exists. (reported by Dagobert Michelsen) commit 834e7fd2e5c98d8f9f00695cce347d07279e1955 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Mar 27 12:11:38 2012 -0700 Clean up use of single and bracket quotes. commit 008a5e280d90d9440e2fa21031975486415549b0 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Mar 27 12:05:17 2012 -0700 FreeBSD and Solaris volunteers to contibute. commit 1abee928757ddf89cf2917985f9655957effad7a Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Mar 19 13:18:06 2012 -0700 ICMPv6 struct is too long, so use length macro (sickmind@lavabit.com) Struct must contains id/seq for backwards compatibility. commit c7dffedd2377ee4d75e084224965f599ff5348a0 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Mar 19 10:00:33 2012 -0700 ICMPv6 pblock sizes are needed to calculate IPv6's ip_len (reported by sickmind@lavabit.com) commit 292b998e45220cd2065712a14dde609d11d99c0a Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Mar 7 11:57:35 2012 -0800 Prep for 1.1.6 release, such as bumping version commit 776bf0251c9ee57b55eb9df6257f2b43af3ed46d Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Mar 7 11:56:14 2012 -0800 Add people who have volunteered to check release candidates. commit b2d5fce5b5e70523b2ff94c5d4cae34ad0b50de7 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Mar 6 11:09:46 2012 -0800 Rework libnet_autobuild_ipv6() to eliminate code duplication. Use libnet_build_ipv6() to build the packet rather than duplicating it, and use new libnet_in6_is_error() function to check for identity with in6addr_error. commit c91be816ed58d40d8d3f88b6388a21de320bcdb0 Author: repolho <repura0@gmail.com> Date: Wed Nov 9 17:40:45 2011 -0200 Implemented libnet_autobuild_ipv6() commit bdbf78c0d578484b407abcc86ba22808cce2e7d6 Author: repolho <repura0@gmail.com> Date: Wed Nov 9 17:37:26 2011 -0200 Implemented unix version of libnet_get_ipaddr6() commit 96786d4a0652d1649d8f9a9b271582553ed74d54 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Mar 5 15:00:30 2012 -0800 Update old debian packaging. commit d7f3c9626ad183c2d05733477193ea8ba87d1b78 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Mar 5 14:57:29 2012 -0800 Reintroduce libnet_pblock_record_ip_offset() which is empty. This is for backwards compatibility, so symbols don't get removed from libnet. The function does nothing, the information it updated is no longer stored in a pblock. commit a19e21336408966fa2e7c77ae73d7abd0d9cd1d9 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Mar 5 14:42:36 2012 -0800 Prep for 1.1.6 release. commit 805ebf29d3f00588449d9ac6ad17349ba81e8fc6 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Mar 5 14:40:51 2012 -0800 Make clear that all contributions are under libnet copyright. commit f801af4684c96624aba2e1f24622031351ed404b Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Mar 5 14:02:39 2012 -0800 Fix doc comment format errors reported by doxygen. commit fc294dc8eee36092fe2ab2b90fa3e53ab882a834 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Mar 5 14:02:03 2012 -0800 Update for doxygen 1.7.4. commit 3102455cb8d392ad277d4053ce7f19bc04e88500 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Mar 5 13:56:10 2012 -0800 Note that PORTED is no longer maintained. commit 4d32a95273221e52511874e01e159d06348df588 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Mar 5 13:54:07 2012 -0800 Note that CONTRIB is no longer maintained. commit 68e307d859f302824854aa3a8a18cddbceb963dc Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Mar 5 13:50:20 2012 -0800 Prep for upcoming 1.1.6 release. commit 016eeb6ad7cd836616b8d7e2c74a4499263a7671 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Mar 5 13:46:34 2012 -0800 Remove BUGS, it referred to non-existent code. getprotobynumber() is no longer called by libnet. delete mode 100644 libnet/doc/BUGS commit 29e72f7ad1ecf82a8fb5c33786dfe6b4cad4ac9b Author: Sam Roberts <vieuxtech@gmail.com> Date: Sun Nov 20 13:23:15 2011 +0000 Reworked icmpv6 patch to parallel the form of icmpv4 support. Use same calling sequences, identifier names modelled on <netinet/icmp6.h>, etc. commit 508502b8eef27ca194e57f6144d9ad43809154a9 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Mar 5 13:24:35 2012 -0800 Don't depend on netinet/ip.h. It might define ip_len as a macro on AIX, causing compile problems for libnet-headers.h (reported by Alo Bar-Lev <alon.barlev@gmail.com>). In general, libnet should not use system's packet structures, they vary too much across platforms. commit a14ef980b06a034969124c4e35c8723ab988ad10 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Mar 5 13:23:56 2012 -0800 Ignore ~ files. commit cfa4a4a1e326aecc3d805eacab9d66c38a0c231d Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Mar 5 13:23:39 2012 -0800 Remove unused variable. commit 580206f1f65687f58f0d82fb90ea7ca2a187afe4 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Mar 5 13:10:46 2012 -0800 Remove old unmerged patches. delete mode 100644 unmerged/libnet-001-aix.patch delete mode 100644 unmerged/libnet-1.1.4-icmpv6-unreach.patch delete mode 100644 unmerged/libnet-config.1 delete mode 100644 unmerged/libnet-diff.rar commit 434b33d1b06f39125a2d8fa841b0b7d31d85a687 Author: someone <sickmind@lavabit.com> Date: Wed Feb 22 15:42:48 2012 -0800 Support building ICMPv6 packets. Support for building base ICMPv6 header (type/code), as well as echo requests, neighbour solicitation, and neighbour advertisement. commit b973ab894c2f2281802c7fd9f1dd055877934c5b Author: Thomas Habets <thomas@habets.se> Date: Sun Nov 20 12:26:28 2011 +0000 Fixed typo in error message. commit f371f9f88b339090ce286e0d79bb5fac2e54219b Author: someone <sickmind@lavabit.com> Date: Wed Feb 22 13:46:45 2012 -0800 Use SO_BINDTODEVICE to force packets out opened device. SO_BINDTODEVICE is used because the kernel may send our packets to a wrong interface, especially those with link-local addresses. There is no such problem with ipv4 as far as I know. Also, use AF_INET6 instead of PF_INET6 becaue PF_ may not exist. commit 008de3721a3729f49e1bc7dd093bf925567aa64d Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Feb 22 15:05:36 2012 -0800 Always use an IPPROTO of TCP when calculating TCP checksums. This is consistent with how UDP and ICMP checksums are calculated, though it means that the checksum isn't calculated over the actual protocol number in the underlying IP header. commit e961f1520c1f9ddfb327567a801b0abe0a0da527 Author: someone <sickmind@lavabit.com> Date: Wed Feb 22 13:37:49 2012 -0800 Use correct addr type for addrlen calculation. commit 6485e9930260e845025709be8664e99cffdb1db9 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Feb 16 09:52:48 2012 -0800 Autodetect whether dnet.h is provided as dumbnet.h commit 22b428e121d6a8458da79b2aa2f58bf795dfba6a Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Feb 15 17:51:16 2012 -0800 libnet_build_igmp reserved field was mistakenly called 'code' Looks like error occurred because function was a copy of libnet_build_icmp(). commit bdb720c97e96c9dbc0d9d7ed4b8e00a65d7686bc Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Feb 15 17:20:48 2012 -0800 Documentation doesn't include any gif files. commit 0fedce057c2416f50d786ed5d47ec67f61a3ae6a Author: Rich Burridge <rich.burridge@oracle.com> Date: Wed Feb 15 16:50:27 2012 -0800 Enable IPV6 support on Solaris 11. I also suggest adding in support for the next Solaris release (12 a.k.a. 5.12). commit a45969c8552d85d006ca2cd3da7a5b1d52b623b5 Author: Víctor Martínez <knoopx@gmail.com> Date: Wed Jan 18 23:29:19 2012 +0100 Trying to fix write errors commit 5f5a034d217e6beec837b3aafdb6afbb669f648b Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Aug 23 11:48:06 2011 -0700 Presence of linux's PF_PACKET sockets is now detected. The acinclude.m4 merged in from packetfactory's 1.1.3-rc branch mysteriously assumed that that there was no PF_PACKET if the target OS was linux, which is the opposite of what we want. commit 037dc4173ba6b84c212694f07857d6a536e6a4c6 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Aug 10 14:17:02 2011 -0700 Fix libnet_build_igmp() to not reverse the order of the ip address. libnet APIs that take IP addresses as a uint32_t expect them to already be in network byte order. commit 43899aa0ed4b9c1ed1434533b54e3976d2bea45c Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Aug 9 14:53:05 2011 -0700 pblock_append deals with raw memory and structs, so declare it correctly commit 03f46b26b602592faa57653e1bd94db0b94b987a Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Aug 9 14:49:07 2011 -0700 Clarified types and sizes of DHCP/BOOTP chaddr, sname, and file. chaddr is a hardware address, with size specified seperately, whereas sname and file are null terminated strings. commit a798f0f8e2587a76306acd0ebe146506422f8119 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Aug 9 14:40:09 2011 -0700 Explicitly ignore return value of write (some systems now warn about this). commit cf3173abf313690527dad3217e7124218c1973fe Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Aug 9 13:12:02 2011 -0700 Add n:igmp(), a function for building igmp protocol blocks. create mode 100644 lua/test-igmp.lua commit ea04fca6d2b03e605a29fbcccf807f9d82ec16fe Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Aug 9 13:11:05 2011 -0700 Don't use pedantic, it spits warnings about gcc extensions used in libnet's headers. commit 0e5a14bd7fd6a55210dbedb2f6f018ed6e8559eb Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Aug 9 13:10:03 2011 -0700 Synchronize comment about h_len with parameter name in function. commit f0698e1ed77c2d83491a42e5402ac738596c75e6 Author: allfro <ndouba@gmail.com> Date: Sat Jul 30 10:18:28 2011 -0300 Fixes a buffer overflow issue when copying chaddr, file, and sname fields to the DHCP header. commit 31b83cb6c2591be2bd17416d82fcfdcacffb7141 Author: allfro <ndouba@gmail.com> Date: Fri Jul 29 09:11:49 2011 -0300 Fixes improper calculation of header size when libnet_pblock_probe is called. payload_s must be added to the header length in order to accommodate for the existence of a non-NULL payload. Otherwise the user is prompted with a 'memcpy would cause overflow' error and the program exits. commit 0e27fc96951d5a131278a17c88786ce067c3437f Author: allfro <ndouba@gmail.com> Date: Sat Jul 23 19:38:42 2011 -0700 Fixes incorrect memory block size set in the timeexceed and redirect builders. The n variable does not add the size of the payload (payload_s) for proper allocation of the buffer when payload is not NULL and payload_s is greater than 0. This results in a memcpy buffer overflow error when libnet_pblock_append is called exiting the program. commit ea786c2457498e708b0734c233a4292529cc2e2d Author: allfro <ndouba@gmail.com> Date: Sat Jul 23 18:43:19 2011 -0700 Fixes a bug that incorrectly converts the addr, mask, and next_hop fields to network byte order. Users will usually call libnet_name2addr4 to fill these fields and this function already provides a network byte-ordered value. commit e20d0bcb9d3eed803bdcd547dbf88b1954204332 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Jun 9 13:57:33 2011 -0700 snap parameter was getting copied into the dhost field. commit fe9dc0dcec42c1beebe9b0242cd2ccf1464f83d3 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Jun 9 13:53:59 2011 -0700 h_len is no longer used, so pass zero. Coverity noticed that stack garbage was being passed instead of a valid value, its just that the value isn't used, and incluing l->total_size is wrong when the pblock is being updated (though it will work on pblock creation). commit 2018d42aade95aa321b04902cc2b8db098753425 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Jun 9 13:52:54 2011 -0700 Length n should include the value_hdr. commit 8b9e21ed096d67e8ce974e126f9c886c14edaa72 Author: Jiri Popelka <jpopelka@redhat.com> Date: Thu Jun 9 14:57:06 2011 +0200 Coverity: UNINIT libnet_build_icmp.c:403: var_decl: Declaring variable "h" without initializer. libnet_build_icmp.c:433: uninit_use_in_call: Using uninitialized value "h" when calling "libnet_pblock_update". libnet_pblock.c:295: read_parm: Reading a parameter value. commit 59a48ff5ca7f74f29e1eba7838f59f96029e8865 Author: Jiri Popelka <jpopelka@redhat.com> Date: Thu Jun 9 14:45:16 2011 +0200 Coverity: REVERSE_INULL libnet_port_list.c:142: deref_ptr: Directly dereferencing pointer "tmp". libnet_port_list.c:130: check_after_deref: Dereferencing "tmp" before a null check. libnet_port_list.c:197: deref_ptr: Directly dereferencing pointer "plist". libnet_port_list.c:198: check_after_deref: Dereferencing "plist" before a null check. commit dc1db6d44fa86a2cae3f6bec86765172f3f649fa Author: Jiri Popelka <jpopelka@redhat.com> Date: Thu Jun 9 14:37:41 2011 +0200 Coverity: RESOURCE_LEAK libnet_if_addr.c:139: alloc_fn: Calling allocation function "fopen". libnet_if_addr.c:139: var_assign: Assigning: "fp" = storage returned from "fopen("/proc/net/dev", "r")". libnet_if_addr.c:157: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. libnet_if_addr.c:227: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. libnet_if_addr.c:246: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. libnet_if_addr.c:263: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. commit ec8b433775de291cdb7d230dfc0c31eff53001ae Author: Jiri Popelka <jpopelka@redhat.com> Date: Thu Jun 9 14:23:36 2011 +0200 Coverity: OVERRUN_STATIC libnet_build_cdp.c:162: overrun-buffer-arg: Overrunning struct type struct libnet_cdp_value_hdr of size 4 bytes by passing it to a function which indexes it with argument "8U" at byte position 7. libnet_pblock.c:278: access_dbuff_in_call: Calling "memcpy" indexes array "buf" with index "len". commit 51df9a2a6c7b82d2bdbd8593cbcb4d165689f07a Author: Jiri Popelka <jpopelka@redhat.com> Date: Wed Jun 8 19:00:41 2011 +0200 Coverity: OVERRUN_STATIC libnet_build_isl.c:76: overrun-buffer-arg: Overrunning static array "&isl_hdr.isl_dhost" of size 5 bytes by passing it to a function which indexes it with argument "6UL" at byte position 5. commit 5d816a200c021a45641052cecc7a36f9f98eb561 Author: Jiri Popelka <jpopelka@redhat.com> Date: Wed Jun 8 18:56:12 2011 +0200 Coverity: OVERRUN_STATIC libnet_init.c:74: overrun-local: Overrunning static array "l->label", with 64 elements, at position 64 with index variable "sizeof (l->label) /*64*/" libnet_cq.c:119: overrun-local: Overrunning static array "l->label", with 64 elements, at position 64 with index variable "64" libnet_cq.c:150: overrun-local: Overrunning static array "l->label", with 64 elements, at position 64 with index variable "64". commit 4476a3d338c3689137735345f26968a493af3f24 Author: Jiri Popelka <jpopelka@redhat.com> Date: Wed Jun 8 18:36:16 2011 +0200 Coverity: FORWARD_NULL libnet_cq.c:177: var_compare_op: Comparing "l" to null implies that "l" might be null. libnet_cq.c:179: var_deref_model: Passing null variable "l->err_buf" to function "snprintf", which dereferences it. commit 690aa73b12f0e7de5af0bdbc1f8a053cf6f80b29 Author: Jiri Popelka <jpopelka@redhat.com> Date: Wed Jun 8 18:25:47 2011 +0200 Coverity: FORWARD_NULL libnet_checksum.c:210: assign_zero: Assigning: "iph_p" = 0. libnet_checksum.c:277: var_deref_model: Passing null variable "(uint16_t *)&iph_p->ip_src" to function "libnet_in_cksum", which dereferences it. libnet_checksum.c:74: deref_parm: Directly dereferencing parameter "addr". libnet_checksum.c:307: var_deref_model: Passing null variable "(uint16_t *)&iph_p->ip_src" to function "libnet_in_cksum", which dereferences it. commit c2190b9713ebf4419410dcb1a4074d1cdb1f0a1a Author: Jiri Popelka <jpopelka@redhat.com> Date: Wed Jun 8 18:05:20 2011 +0200 Coverity: CHECKED_RETURN libnet_build_tcp.c: check return value of libnet_pblock_append() (as is done elsewhere 143 out of 145 times). commit 4aac7af2c41d3381c424020824b56fdb5baa0706 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Apr 18 11:56:12 2011 -0700 Corrected doc conventions. commit e22a55632c08883566f69a663bcd61a5fb8f9492 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Apr 18 11:53:27 2011 -0700 net:write_link() wasn't erroring on failure like net:write() does. commit 6062e32c2630eaf65e1d6dab90d5fcabf136c2c0 Author: Kelvie Wong <kwong@wurldtech.com> Date: Mon Apr 11 16:21:31 2011 -0700 Use dnet.h instead of dumbnet.h I think this is because of differing versions of Ubuntu; the one on the build server uses dnet.h still. commit 4c4c4c12a8af6e6d8eb08f120411f64f082e42be Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 31 16:57:37 2011 -0700 Remove pcap and netfilter bindings from libnet. delete mode 100755 lua/echoclient delete mode 100755 lua/echoconntracker delete mode 100755 lua/echoserver delete mode 100755 lua/fuzzed-pcap-decoding-test delete mode 100755 lua/nfct-events delete mode 100755 lua/nfct-expect-create-userspace delete mode 100755 lua/nfct-test delete mode 100644 lua/nfct.c delete mode 100644 lua/nflua.h delete mode 100755 lua/nfq-test delete mode 100644 lua/nfq.c delete mode 100755 lua/pcap-recode delete mode 100755 lua/pcap-test delete mode 100644 lua/pcap.c delete mode 100755 lua/recoding-test commit f18c4aff08ae5b8ef3c371434b02b1d4da4e6809 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Mar 29 15:31:47 2011 -0700 Prototype code using nfct to do a userspace conntracker. create mode 100755 lua/echoclient create mode 100755 lua/echoconntracker create mode 100755 lua/echoserver commit c5158ac3433fcbb9f6aed2c9f4f7e79a3306d27c Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Mar 29 15:24:21 2011 -0700 API todo, maybe set with nil can clear an attr. commit c8de01595f1174ee9adcfaba5403e79e965614c5 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Mar 29 12:18:10 2011 -0700 Add flags argument to exp_new(), so expectations can be permanent. commit f3ee74d9cbd802b69d4fc646ce529d421009db7e Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 24 16:16:17 2011 -0700 Line buffer output, and note source of events. commit 7513ec3be7475ba237e33512e0a757ba6bb71407 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 24 15:54:43 2011 -0700 utility to print events from nfct create mode 100755 lua/nfct-events commit 4ca66703872350f420391daac70ecdfbd9b67dee Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 24 15:41:42 2011 -0700 ignore T commit 4c0ece33da33d358883be082220fc94d077588b0 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 24 15:14:45 2011 -0700 Clarify docs. commit d8ce63c712d98fd2f570185c8e279e011ac55d81 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 24 15:09:41 2011 -0700 Support using both subsystems at once, and callbacks for expectations. commit 43db459dd38c580d58c0a16bd6e812f26d356550 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Mar 23 15:51:04 2011 -0700 Pared attributes set down to the minimum. commit 04447cae124d48ac7dee2745457758f3e72df86f Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Mar 23 15:34:25 2011 -0700 API additions to do. commit 0d84a4c5f13178925aeb1ff9302fe1c026cd821e Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Mar 23 11:17:46 2011 -0700 local ctags helper, should not have been added delete mode 100755 lua/T commit 5f54e1df0fd4be7f5d6ce0baec9e92427e7e3d3e Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Mar 22 16:36:50 2011 -0700 rewrite of libnfct's expect_create_userspace utility in lua create mode 100755 lua/nfct-expect-create-userspace commit 089b08195290c04f6fe140103d951d1ba1664dc9 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Mar 22 16:31:39 2011 -0700 Fix bug with arg indexing in exp_new(), and added functions to get string rep of ct and exp objects. commit 7616320c29803eb21b219355a631eaf0c6cfcca3 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Mar 15 17:04:30 2011 -0700 Notes on some problems with this approach. commit cdc7436cd52f499ab2ab879cdd5b4ba76787e1a6 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Mar 15 17:03:42 2011 -0700 Use literal values, so we can decouple ourselves from what values libc knows about. commit 1eb50434f1fec747f4012933cbe1c6f702cc2212 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Mar 15 17:02:54 2011 -0700 Fix assert() that refers to the old name for a global. commit cd02eec853affcacebf0501f166621d82584e6bc Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 10 14:39:37 2011 -0800 Rules to generate options from the system headers commit d54ddd0631df737327e4d22b744bf62bce39cb93 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 10 14:38:41 2011 -0800 nfq's get_payload() changed the sign of its output argument commit abebe7116f3205c7bf22febac11df7aca61fd818 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Feb 14 17:19:44 2011 -0800 Added nfexp_ APIs, and script to build tables of options. create mode 100755 lua/luaopts commit 1cd3c7fe71e6348679d03e61dbe9744ee4e2b102 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Feb 10 15:31:44 2011 -0800 Pathetically incomplete unit test for nfct. create mode 100755 lua/nfct-test commit 316fe8437d3de0b4a218a840b754736c35cfaa87 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Feb 10 15:29:10 2011 -0800 Extended to support real-world use cases. Features include nonblocking, attributes in presentation format and host numeric order, and some general bug-fixing. order commit 5b91379094fe4a155761c77caf7e12c4029184f3 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Feb 10 15:27:54 2011 -0800 Support local customizations in local.mak commit 2616cffc35c19bde082ce2ea550470b981f27e9a Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Feb 8 16:15:47 2011 -0800 Setting blocking was clearing O_NONBLOCK, which is inverted. commit 3ea44c715b7a429022bb0ab58ae30fb51a359f51 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Feb 8 14:41:29 2011 -0800 implemented nfq.setblocking(), and fixed problems with stack structure commit e619a0e8d7eb19a4d5dcd9c31362c75695ca0111 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Feb 3 15:47:14 2011 -0800 mkinstalldirs is replaced by autogen.sh. Maybe it shouldn't be checked in? commit b047caf7402f9f951ebe87d2c7abcea36e667844 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Feb 3 13:58:02 2011 -0800 autogen retries if /sw/... doesn't exist commit 7d5d54e0422f74a9a1ad4ac879823a0739683595 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Feb 3 12:42:05 2011 -0800 nfct and nfq support incremental setup and callbacks create mode 100644 lua/nflua.h commit dce44a9ca28c5863e7661c3534f8983851177e6e Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Feb 3 11:26:25 2011 -0800 notes on continuing problems with lengths not being set correctly commit bad8050307992205aa264def01e6289aea2ab621 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Feb 3 11:23:10 2011 -0800 comment formatted as expected by our doc tools commit 46e8134ab5b7dbf27e401d6d90df041b139217dd Author: Kelvie Wong <kwong@wurldtech.com> Date: Wed Feb 2 16:13:42 2011 -0800 lua: Use pkg-config for the Linux Makefile. This makes it auto-detect the build and link flags on Linux. This is useful especially for cross-compiling. This also enables selection of lua interpreters, e.g. luajit or newer/older versions of lua e.g. make LUA=luajit make LUA=lua5.2 Signed-off-by: Kelvie Wong <kwong@wurldtech.com> commit 08889543fc97144dc524239bc904593e019d4b39 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Feb 2 15:43:21 2011 -0800 Split callback registration and catching of messages. We need to be able to use both nfqueue and nfconntrack at the same time, so setup and catching need to be independent. commit bdfd8f58d6cc159dbd8531c92ca9b0c1ab209a0f Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Feb 1 14:22:45 2011 -0800 Added binding for libnetfilter's conntrack subsystem. create mode 100644 lua/nfct.c commit d19b6c890cf112e78477507e6196bdd199f80673 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Feb 1 14:19:55 2011 -0800 Corrected inconsistent indents. commit f8bb4dfcd44638bacfb749120d00d86f32779896 Author: Ulrich Weber <uweber@astaro.com> Date: Mon Nov 15 11:18:31 2010 +0100 build_ipv6: set higher traffic class bits Signed-off-by: Ulrich Weber <uweber@astaro.com> commit 9c5a9566046a21850f4ab32ed43c58ba8f98b7ce Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Nov 11 10:56:53 2010 -0800 release checklist commit 3baa46ce0fceea10d62b3e8e05a4c80eb98f92d6 Author: Dagobert Michelsen <dam@opencsw.org> Date: Tue Nov 9 13:15:42 2010 +0100 Fix missing uint instead of u_int commit 3dae04408ef0cae96af6910705bf7d4763064294 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Nov 3 13:44:14 2010 -0700 force the tags commit 762e91db9d92570e7054ef31f3d46339f005e20d Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Nov 3 13:42:03 2010 -0700 special push required for tags commit ec4c9f9e6cf804bafb61813b448b7ce56cd68154 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Nov 3 13:36:37 2010 -0700 Corrected the .so version information. commit 6865519afd542839a54cbcaf8048c4807897c9bb Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Nov 2 17:25:16 2010 -0700 Preparation for 1.1.5. commit 86074e9526bb5302e3ddd3243686b47ec391577c Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Nov 2 16:29:50 2010 -0700 Check for installability. create mode 100755 Check commit 4a487cbb40de84c94361e7f7bc50fe983fe652fd Author: Thomas Habets <thomas@habets.pp.se> Date: Sat Apr 3 17:51:15 2010 +0200 IRIX: Get MAC address from ioctl(), not by spawning shell. commit 6d5590adc6cb77cb65678f5f5c0908eda5df294c Author: Thomas Habets <thomas@habets.pp.se> Date: Sat Apr 3 17:48:40 2010 +0200 Compile fix for IRIX (added includes) commit 671742244c20804c9e935326e3649dac3382f17a Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon May 3 16:24:13 2010 -0700 Don't explicitly check for UID 0, we may have capabilities even if not root. (Thomas Habets) Conflicts: libnet/src/libnet_init.c commit 56e3b06a535cfea19ee433510601e40a8facde60 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon May 3 16:07:57 2010 -0700 Cleaned up implementations of libnet_get_hwaddr(), some leaked memory, one returned a pointer to data on the stack, and the others return a pointer to static data. I'm settling on the non-reentrant static data form. commit 4af28fde5db3eae035813af0ad495f69b01d98f9 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Apr 28 10:30:47 2010 -0700 Visual C++ compiler(v9.0) uses bitfield type as a hint to pad the bitfield, so struct was too long. commit 6c62481f944efebc79f552c6fee1a71a23ebde28 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Apr 28 10:30:47 2010 -0700 Visual C++ compiler(v9.0) uses bitfield type as a hint to pad the bitfield, so struct was too long. commit 6953cae7a4590156d4c7a523eeb58d33120e16b8 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Apr 1 13:28:21 2010 -0700 notes about autotools upgrades commit 53e3857740cd7f928cea858778ce67003e6498ad Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Apr 1 13:26:31 2010 -0700 Further simplify autogen.sh commit 8d65a712a8a9831b066c5d0fd8585360824d2bdf Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Apr 1 13:02:03 2010 -0700 Removed dependency on net/bpf.h, and on pcap.h. commit 69f23b7b8cb4997d8a38d1d92dbb548aaff46eb9 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Apr 1 12:42:25 2010 -0700 LBL_ALIGN check is unused, removing. commit 78b49c9ffb3e0b7515add5bd55bac01243ea080c Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Mar 31 19:59:55 2010 -0700 Don't include pcap.h if we've already got net/bpf.h, pcap has it's own bpf. commit 27282bb5a1ab78210245e226c4c82605b00a12bb Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Mar 31 16:52:12 2010 -0700 Make libnet_get_hwaddr work in the last few releases of OpenBSD (stu@spacehopper.org) commit 3f502a1eb0d6e77e3be03183f1577d66f6bbe45a Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Mar 31 15:43:24 2010 -0700 Get DLT types from the source, <pcap.h>. commit ff4a4a7676ba0facc6ba53255cb67e113f27762a Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Mar 31 14:54:54 2010 -0700 Use autoconf -ivf in autogen.sh (suggested by alon.barlev@gmail.com) delete mode 100755 libnet/missing commit 59e5a7c188fef27f59641234762c46bc3c9d59dc Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Mar 31 14:41:21 2010 -0700 Don't distribute libnet.h, it is generated by configure (alon.barlev@gmail.com) commit 90d15fa9106699be9a28d10f41a3a0cac858b9cb Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Mar 31 10:20:42 2010 -0700 todo list update commit 5d639566e14eb81064b788376c664da2232c3faf Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Mar 31 10:14:54 2010 -0700 AIX build failures fixed, cause was inclusion of system headers libnet no longer uses (alon.barlev@gmail.com) commit f910c4d578e5a9c636203e8c9151e1d4f3f3a28f Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Mar 31 10:03:03 2010 -0700 Add a link to the old docs. commit 8ef6d5c9e98b359abb71f7c3d4484fe27cfeb53f Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Mar 31 09:55:39 2010 -0700 Added links to github and sourceforge. commit 1c2212538db55da828d652db3ce6ab7bab8a7649 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 11 15:42:14 2010 -0800 Unmerged patch from Alon, I'd like to find a less globally intrusive way. create mode 100644 unmerged/libnet-001-aix.patch commit 462714d9b6e1cf13d994bc4e50b05d71291721e1 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 11 15:34:49 2010 -0800 Replace C99/C++ comments with traditional C comments. (alon.barlev@gmail.com) commit 4140594136a0d1032366eefab63209a2901b7dd2 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 4 18:46:34 2010 -0800 checksum would segfault if a IP checksum was requested for a non-ipv4 header commit 44c8686aa1dfb5aa6071146d56cdaef3ba47e016 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 4 17:55:04 2010 -0800 Closer backwards compat, assume its ipv4 if it's not ipv6. This seems totally wrong, but so it goes. commit 10e81297a713dbf42f6668a4585bc1de6512d696 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 4 16:44:59 2010 -0800 Try using the ip_len header field to guess the input buffer's size. commit b284eda57b691db7384e128a78871ce98f99c159 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Mar 4 16:18:58 2010 -0800 libnet_do_checksum(), despite being "internal", is used by external code. libnet needs to maintain backwards API compatibility, tcpsic from the isic package is an example of a binary failing when calling the new API with the old arguments. commit 657246088b53891fd86c624b9f690c7723c28618 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Mar 2 14:32:57 2010 -0800 merged icmpv6 patch in, but I believe either it or the sample/icmp6_unreach generates the cksum incorrectly (victor@inliniac.net) create mode 100644 libnet/sample/icmp6_unreach.c delete mode 100644 unmerged/libnet-1.1.3-RC-01-ipv6.diff.gz commit ce400fec6a051a84d614eae801291c65df2c6c9e Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Mar 1 12:50:39 2010 -0800 Use libtool-1 or libtool-2 whatever available (alon.barlev@gmail.com) commit ca24d55801c3c3faec3b15c5a6d313cc375c599e Author: Sam Roberts <vieuxtech@gmail.com> Date: Sat Feb 27 13:06:30 2010 -0800 Avoid looking at /dev and /usr/include when cross-compiling (alon.barlev@gmail.com) Alon: The following code support cross compiling: 1. You CANNOT check for /usr/include stuff as cross compiler is installed else-where. Autoconf know how to do this, use its header detection logic and ask the result. 2. Testing for /dev/ can be done only when not cross compiling... commit 404c785eb729fa586c272f382312866d55ec0cfc Author: Sam Roberts <vieuxtech@gmail.com> Date: Sat Feb 27 12:47:00 2010 -0800 Corrected target_os check, it was broke for linuxgnu, and m4 syntax was invalid (alon.barlev@gmail.com) Alon:The following change is needed in order to solve two issues: 1. linuxgnu and such target os. 2. You cannot set variable with space before '=' as it tries to execute the variable... 3. Print result of test in case of linux commit fa8f9d1148ce5e6c6df141747fcbc905e2d09762 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Feb 23 14:51:55 2010 -0800 --with-link-layer broken, was using wrong macro name, and didn't include all link types commit f78b76f10b30f502961df067528bb08673bea4f0 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Feb 23 14:18:17 2010 -0800 ac_cv_c_bigendian is yes, not "big" (alon.barlev@gmail.com) commit 3ca8446ea90309b19acb97f5137f4e731f009e82 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Feb 23 11:47:50 2010 -0800 Remove dead code. commit 9fda341e00c4a4619e3c2b70c61853b216524cd7 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Feb 23 10:49:59 2010 -0800 Run test-*.lua commit 874928ce64242b422086193cc70409250593dd6d Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Feb 22 17:43:19 2010 -0800 Strip trailing garbage from ethernet frames after IP packets. commit 4311f7765b5627c0d9fc79d237628450fcbb8356 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Feb 22 17:14:43 2010 -0800 Run a corpus of fuzzed pcap files through libnet to verify recoding. delete mode 100755 lua/efence create mode 100755 lua/pcap-recode delete mode 100755 lua/pcap-reencode commit 31d59cf29c4c38c08b6df7686faf492222a92e76 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Feb 22 17:14:11 2010 -0800 Remove pcaps from github. delete mode 100644 lua/dhcp.pcap commit 5b3a91051b4441e0aaf83df6425ba37f3401388b Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Feb 22 17:13:35 2010 -0800 Run efence in multiple runs, so it doesn't run out of memory. create mode 100755 lua/efence-test create mode 100755 lua/efence-wrapper commit 48687119988df2936588401e04034454f6f4598c Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Feb 22 17:10:43 2010 -0800 Roundtrip invalid packets with tcp reserved flags set, and short header lengths. commit ef534a4eb3162c3b0b1ed3ea8e12e2d13e6228b5 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Feb 22 14:12:42 2010 -0800 h_len is calculated for ip, udp, tcp, icmp, and igmp, so is allowed to be zero. commit 4682fcf892605763d027f9318744dee29797848a Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Feb 18 16:41:34 2010 -0800 print type string in human readable, as well as in hex commit 7f404dabce141821219ddebb3fb6535b5aa6a8c3 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Feb 18 16:39:06 2010 -0800 net:tcp() typo caused it to expect an IPv4 pblock commit 69bee641d27fc335e3de89074a2fe27abcee7dbc Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Feb 18 14:42:34 2010 -0800 Factored pcap reencoding out, and implemented reencoding test on pcaps. create mode 100644 lua/dhcp.pcap commit e4093139d5fb9e0e1a6eccfc452120f5d0eccd2b Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Feb 18 13:54:39 2010 -0800 libnet_t's fd should be initialized to an invalid value, or libnet_destroy() will close stdin. commit 3284f581f46eb34e0655e37761d1fa2d0c61e235 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Feb 18 13:49:12 2010 -0800 Corrected pcap's double to struct timeval conversion to be accurate to 6 decimal places. commit 30a0bc1d321ebb76d59810367849f19f7641f515 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Feb 17 17:31:33 2010 -0800 network order long fields were being treated as int, and becoming negative lua numbers commit e301f3287bd33645bdb7593a46b6e174025aa631 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Feb 17 16:49:04 2010 -0800 Remove data_offset, libnet can be used for packet parsing. commit e51d2ca59413e4e4538bfa53689a14385380d036 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Feb 17 16:48:08 2010 -0800 cleanup tcp data payload getting commit 56b5da5518b9ef61e20d803fe88884846fe0436e Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Feb 17 10:12:02 2010 -0800 pcap reencoder, so I can compare with wireshark create mode 100755 lua/fuzzed-pcap-decoding-test delete mode 100755 lua/pcap-dump create mode 100755 lua/pcap-reencode commit 326649e947fcce4af4bcd657543f3025d585d15f Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Feb 16 15:51:05 2010 -0800 Add Rod's failing test cases. commit d62cda7e2c023c7c97839e03cf4f143aff8f3534 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Feb 16 15:50:48 2010 -0800 print text name for pblock type in error message commit 3e78bc959b743a21652f40f333e66b94cec6360a Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Feb 16 15:10:09 2010 -0800 Alon's use of AC_CHECK_HEADERS fails to detect headers. Reverted part of 57acd56f09158decb69f301e7547ce8cde6ac63f commit be04433833d8c867e2ec2a6cf2a67548abd62d86 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Feb 16 15:09:29 2010 -0800 With link_none, the link apis were failing with not error message. commit 64ebd539c1a7bf9e6fc8361426f28a094bfb44ef Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Feb 16 12:00:59 2010 -0800 man doc makefile wasn't correctly referring to the srcdir (alon.barlev@gmail.com) commit 987fc90e63a3b79b844c3c26c077115a88670437 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Feb 15 16:57:59 2010 -0800 Memory bounds checking using electric fence. create mode 100755 lua/efence commit c3964c773de51193f11d80d00a76412695e7b7bc Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Feb 15 16:57:31 2010 -0800 Avoid mallocing zero bytes, it perturbs electric fence. commit 5d6b2c316b2af9d0443054867550eb2ac955814f Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Feb 15 16:57:06 2010 -0800 Avoid push zero-length DATA protocol blocks. commit 57acd56f09158decb69f301e7547ce8cde6ac63f Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Feb 15 15:11:28 2010 -0800 autotools patches for cross compiling and seperate builddir (alon.barlev@gmail.com) delete mode 100644 unmerged/libnet-1.1.4-builddir.patch delete mode 100644 unmerged/libnet-1.1.4-cross.patch commit 3eee8856dd475cf61d7b3aac54c540b7d689a865 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Feb 15 15:04:28 2010 -0800 html doc makefile wasn't correctly referring to the srcdir (alon.barlev@gmail.com) commit 650360ad61590d496b3cb6da43611b27125b6a6c Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Feb 15 13:54:08 2010 -0800 patches from alon.barlev@gmail.com create mode 100644 unmerged/libnet-1.1.4-builddir.patch create mode 100644 unmerged/libnet-1.1.4-cross.patch commit 11bcc2ca89b93b5a73df77ea50f5bb5979a5e549 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Feb 15 13:53:32 2010 -0800 ip_offset is gone, removed debug printfs commit cda8c986efc6503b2870f11a327b3e5e86df2e16 Author: Sam Roberts <vieuxtech@gmail.com> Date: Fri Feb 12 16:43:37 2010 -0800 ignore .test files commit 195e7ba365f2a63fcb14d720100103316cebf925 Author: Sam Roberts <vieuxtech@gmail.com> Date: Fri Feb 12 16:42:35 2010 -0800 ip_offset is now calculated on the fly, and UDP and TCP no longer use h_len commit 0e319a4e6b2b0e3470f7f49ee977d9cc2407711d Author: Sam Roberts <vieuxtech@gmail.com> Date: Fri Feb 12 16:41:52 2010 -0800 test decoding of truncated packets commit 531ac6210e7b9df732a36afd9ab032f244ffb912 Author: Sam Roberts <vieuxtech@gmail.com> Date: Fri Feb 12 16:34:01 2010 -0800 Implemented test target. commit 1b4a2b5a94ff310d7107c53bfa57a2e3f655d47a Author: Sam Roberts <vieuxtech@gmail.com> Date: Fri Feb 12 16:33:34 2010 -0800 Lowered the verbosity of pcap-test commit 6644bf8ff3946b11c57e65509c906cd6cfd39bf3 Author: Sam Roberts <vieuxtech@gmail.com> Date: Fri Feb 12 16:32:43 2010 -0800 net-test doesn't no longer open eth0, so no longer needs to run as root commit e98575a606036a117c91e00debc48dd426235dcf Author: Sam Roberts <vieuxtech@gmail.com> Date: Fri Feb 12 13:34:14 2010 -0800 Builds on Darwin, aka OS X. create mode 100644 lua/Darwin.mak create mode 100644 lua/Linux.mak commit 35db2426d02b34ee304a5677649bbdf944597543 Author: Sam Roberts <vieuxtech@gmail.com> Date: Fri Feb 12 13:31:17 2010 -0800 Split decoding functions out of net.c, they will eventually be part of libnet. create mode 100644 lua/libnet_decode.c create mode 100644 lua/libnet_decode.h commit 25eec26725c56e8495df713f4c9f4f566445fd95 Author: Sam Roberts <vieuxtech@gmail.com> Date: Fri Feb 12 12:59:17 2010 -0800 IP offset calculation should allow nesting of IP protocols. commit 724a0a8ee5d30243d742e6d02f44043052b62992 Author: Sam Roberts <vieuxtech@gmail.com> Date: Fri Feb 12 12:54:21 2010 -0800 Stashing (incomplete) :udp() test code. create mode 100644 lua/test-udp.lua commit 6371ce20c2abedcd3609153d852200fc0bd32ce5 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Feb 11 17:25:11 2010 -0800 pcap binding supports open_dead() and pcap_dump() create mode 100755 lua/pcap-test commit 91b61f83a1f043f825e3dfaf87d71c955c3519f3 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Feb 10 15:45:50 2010 -0800 Updated, getting close to next release. commit c4a98c21f5550af67e2c89d4ae884b014f30b077 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Feb 10 15:40:16 2010 -0800 debian package the lua bindings create mode 100644 debian/libnet1-lua.copyright create mode 100644 debian/libnet1-lua.install commit 4436bedea1431307ab587b2ade7f0500c154a09a Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Feb 10 14:53:23 2010 -0800 Build against ../libnet, so lua bindings can be built and packaged. commit 46a6f3bb9c181281753816d6020d6c8bb60a182e Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Feb 10 14:52:09 2010 -0800 Remove gccisms in bitfield definitions. commit 96bc72648ec77f82cf4830c8e87f28d5436a3329 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Feb 10 13:46:45 2010 -0800 Updated lua bindings, they are a mess, but at least they are here. create mode 100644 lua/.gitignore create mode 100644 lua/netutil.lua create mode 100755 lua/nfq-test create mode 100644 lua/nfq.c create mode 100755 lua/pcap-dump create mode 100644 lua/pcap.c create mode 100755 lua/recoding-test create mode 100644 lua/tostring.lua commit 4d6d155b2d19a64169ca81ccb2f3f0d414fd560f Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Feb 10 12:46:31 2010 -0800 Merged net-test. delete mode 100755 unmerged/net-test commit 79e1a9be511aa9c60036c9f470e75c51a59a8461 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Feb 9 19:09:15 2010 -0800 Adjust Build script to fail, and ignore autotools temp dirs. commit f5c17e01ae2ca285fe0c6b41eb337a466cca6e29 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Feb 9 19:08:51 2010 -0800 Build doc before packaging. commit e699f79034fb57a009e2558d2d8bf3620c437ade Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Feb 9 19:06:33 2010 -0800 injection type of LIBNET_NONE, for packet construction without injection (also, more const correctness) commit d5abe4ee7fbdc0c8203baa76205e9b84919f6e81 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Feb 9 14:16:33 2010 -0800 Notes about checksumming. commit 547de0bdebbe74be4b67f50579121bddeb78f7fb Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Feb 8 18:20:15 2010 -0800 libnet_build_tcp was not returning the ptag. commit 357e472e0469d56f549904668d8ee5c95de82f31 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Feb 8 16:46:32 2010 -0800 Packet boundaries are now passed to _do_checksum(), so it can validate its input. Hopefully, this will end the recurring segmentation faults due to buffer overruns. commit fdaf6abc545f60f501c2db872838f658d0109421 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Feb 8 12:50:36 2010 -0800 TCP building is triggering memory overwrites; closer examination shows the link list manipulation to be wrong, and the checksumming approach to be incapable of working. I reworked code to simplify and clarify how it works currently, in preparation to fixing it. commit c5a37278bf672c215d8c540b67a2eca78e52480f Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Feb 4 17:11:29 2010 -0800 Unstow libnet on clean. commit 892180af8f1fc71208273415078c1513fe76544e Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Feb 4 17:07:47 2010 -0800 Updated comments and notes. create mode 100755 libnet/map-pblock-types commit a09661e6b47c602ddefb3c94ec55f389743aff34 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Feb 4 17:06:24 2010 -0800 Null the pointer in the about-to-be-freed structure, not the one on the stack. commit 259e4454f57d8b4825be94a1778b7bd146c8b420 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Feb 4 17:05:13 2010 -0800 Added missing pblock types, and made strings consistent with definitions. commit 5566c25b7489448d3cbfb992a5123d9447e29663 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Jan 28 13:16:18 2010 -0800 Tweak net.c to sync with upstream, so merging later will be easier. commit 29ab1bfc1be2c97fb32e9564bcf33bba43c14136 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Jan 27 17:11:16 2010 -0800 Added ability to build a debian package directly from git. create mode 100755 Package create mode 100755 debian/build-pkg create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/files create mode 100644 debian/libnet-config.1 create mode 100644 debian/libnet1-dev.README.Debian create mode 100644 debian/libnet1-dev.dirs create mode 100644 debian/libnet1-dev.install create mode 100644 debian/libnet1-dev.manpages create mode 100644 debian/libnet1-doc.doc-base create mode 100644 debian/libnet1-doc.docs create mode 100644 debian/libnet1-doc.examples create mode 100644 debian/libnet1-doc.postinst.debhelper create mode 100644 debian/libnet1-doc.prerm.debhelper create mode 100644 debian/libnet1.dirs create mode 100644 debian/libnet1.docs create mode 100644 debian/libnet1.install create mode 100644 debian/libnet1.postinst.debhelper create mode 100644 debian/libnet1.postrm.debhelper create mode 100644 debian/libnet1.substvars create mode 100644 debian/libnet1.symbols create mode 100644 debian/patches/00-fix_build_process.patch create mode 100644 debian/patches/01-fix_libnet-functions.h.3.patch create mode 100644 debian/patches/02-fix_libnet_802_1q_hdr.3.patch create mode 100644 debian/patches/03-fix_libnet_802_1x_hdr.3.patch create mode 100644 debian/patches/04-fix_libnet_build_ntp.patch create mode 100644 debian/patches/05-fix_libnet_pblock_coalesce_buffer_overrun.patch create mode 100644 debian/patches/06-fix_libnet_pblock_coalesce_leak.patch create mode 100644 debian/patches/07-add_libnet-cq-end-loop.patch create mode 100644 debian/patches/08-fix_libnet_checksum.c.patch create mode 100644 debian/patches/09-fix_hurd-i386_build.patch create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/watch delete mode 100755 unmerged/debian/build-pkg delete mode 100644 unmerged/debian/changelog delete mode 100644 unmerged/debian/compat delete mode 100644 unmerged/debian/control delete mode 100644 unmerged/debian/copyright delete mode 100644 unmerged/debian/files delete mode 100644 unmerged/debian/libnet-config.1 delete mode 100644 unmerged/debian/libnet1-dev.README.Debian delete mode 100644 unmerged/debian/libnet1-dev.dirs delete mode 100644 unmerged/debian/libnet1-dev.install delete mode 100644 unmerged/debian/libnet1-dev.manpages delete mode 100644 unmerged/debian/libnet1-doc.doc-base delete mode 100644 unmerged/debian/libnet1-doc.docs delete mode 100644 unmerged/debian/libnet1-doc.examples delete mode 100644 unmerged/debian/libnet1-doc.postinst.debhelper delete mode 100644 unmerged/debian/libnet1-doc.prerm.debhelper delete mode 100644 unmerged/debian/libnet1.dirs delete mode 100644 unmerged/debian/libnet1.docs delete mode 100644 unmerged/debian/libnet1.install delete mode 100644 unmerged/debian/libnet1.postinst.debhelper delete mode 100644 unmerged/debian/libnet1.postrm.debhelper delete mode 100644 unmerged/debian/libnet1.substvars delete mode 100644 unmerged/debian/libnet1.symbols delete mode 100644 unmerged/debian/patches/00-fix_build_process.patch delete mode 100644 unmerged/debian/patches/01-fix_libnet-functions.h.3.patch delete mode 100644 unmerged/debian/patches/02-fix_libnet_802_1q_hdr.3.patch delete mode 100644 unmerged/debian/patches/03-fix_libnet_802_1x_hdr.3.patch delete mode 100644 unmerged/debian/patches/04-fix_libnet_build_ntp.patch delete mode 100644 unmerged/debian/patches/05-fix_libnet_pblock_coalesce_buffer_overrun.patch delete mode 100644 unmerged/debian/patches/06-fix_libnet_pblock_coalesce_leak.patch delete mode 100644 unmerged/debian/patches/07-add_libnet-cq-end-loop.patch delete mode 100644 unmerged/debian/patches/08-fix_libnet_checksum.c.patch delete mode 100644 unmerged/debian/patches/09-fix_hurd-i386_build.patch delete mode 100644 unmerged/debian/patches/series delete mode 100755 unmerged/debian/rules delete mode 100644 unmerged/debian/watch commit 76f9a66807a8b337a0eb7d8497efc57229a68512 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Jan 27 17:07:39 2010 -0800 Change version policy, we will be 1.1.4 until 1.1.5 is released. commit 99e95ed7edcea673b944ac4a56f70c4da767b69f Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Jan 27 15:46:50 2010 -0800 Bring CHANGELOG up to date with today, and script used to generated it. commit 8ae01bb516b57ac3031c09da51d959fbb3b8b9b5 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Nov 16 22:28:23 2009 -0800 Begin implementation and tests for repairing pblocks after an update. create mode 100644 lua/test-eth.lua delete mode 100644 unmerged/libnet-cant-do-it-write.patch commit ab1ab3bf7e7e62def4c11dd2dc09eee2dadbfdd4 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Nov 12 23:03:02 2009 -0800 Unmerged change to try and fix up ipv4 headers with options block changes. create mode 100644 unmerged/libnet-cant-do-it-write.patch commit 5e9821e8430d983c3ec56bc3195f0bd1cc0f8dfe Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Nov 11 21:51:00 2009 -0800 Unit tests, they fail because ip_offset not being correct when pblock positions are swapped. Argh. commit 30b50e6d7d2fe01c03e9f652d8333061fbb602da Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Nov 11 21:50:20 2009 -0800 Was adding options only if there was payload, caught by unit tests. commit 5c0c799f5236ed622dfc97e5fead9bc1d0f1322d Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Nov 11 21:47:51 2009 -0800 libnet_pblock_insert_before() didn't remove ptag2 from old location commit 7d29de30243e3bae9720b110919c3a51fd1124de Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Nov 11 21:04:58 2009 -0800 Reorganized and merged unit tests. create mode 100755 lua/T create mode 100644 lua/setup.lua create mode 100644 lua/test-decode.lua create mode 100644 lua/test-ipv4.lua create mode 100644 lua/test-misc.lua delete mode 100755 unmerged/net-test-coredumps commit 61f58981e49f04d99d7486bf728e2557d37eccd3 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Nov 11 21:03:42 2009 -0800 If ptag passed in wasn't for an ip block, accessing previous segved. commit 62f3f75293ddb9201032f0c3dbeef66113a25a12 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Nov 11 21:02:38 2009 -0800 Clarifications in document comments. commit a4be029faca1f8dff2d8b4681064eb41d0803ace Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Nov 11 20:03:57 2009 -0800 Ignore .dSYM (mac bundle) output directories commit 852eddfeac0bcb58a12b8ee6073d001e7e69b694 Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Nov 11 20:00:51 2009 -0800 Added library dependencies. commit 753befc787ca52403decdacab6be94cadd6ea84f Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Nov 10 13:09:22 2009 -0800 net-test that core dumps on linux, ip_offset probably broken create mode 100755 unmerged/net-test-coredumps commit 430156a2931e8c047833db31afe3d00f2af09123 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Nov 10 13:08:50 2009 -0800 Don't doxygen process internal header libnet-headers.h commit de091469395240a987a575f08e23c7627fdc56d8 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Nov 10 11:47:44 2009 -0800 Declared many constant arguments as const, const-correct code spews warnings when built against libnet. commit f7da4b67e0b36d67c25fe79f9919a7ec929bb3e3 Author: Sam Roberts <vieuxtech@gmail.com> Date: Tue Nov 10 11:46:46 2009 -0800 Include pcap DLT_ types from correct header, was using an internal one before. commit 9f9a1e4e089b4f859b45964de18d4cc2069a07f0 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Nov 9 23:42:51 2009 -0800 Merged upstream into net.c delete mode 100644 unmerged/net.c commit b295e56c5892b614f9f341fb57a763760f52d7b6 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Nov 9 23:35:12 2009 -0800 Declared many constant arguments as const, const-correct code spews warnings when built against libnet. commit 76af17cc8ef0e2379420f06305582d5f3f11d0b1 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Nov 9 16:25:14 2009 -0800 Unmerged patches from email and newer net.c create mode 100644 unmerged/libnet-1.1.4-icmpv6-unreach.patch create mode 100644 unmerged/libnet-diff.rar create mode 100755 unmerged/net-test create mode 100644 unmerged/net.c commit 5264a95e90132d6bef662a5a4b4708137bb2b905 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Nov 9 16:24:59 2009 -0800 Ignore *.loT commit 9b636845a5779b8ac5e4042ce82c46f4940d86ed Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Nov 9 10:18:19 2009 -0800 Note about build_data, which doesn't update ip_offset, among other problems. commit ee82c3196398dabac3cd3d121e1c8f1132a100c8 Author: Sam Roberts <vieuxtech@gmail.com> Date: Fri Nov 6 17:05:07 2009 -0800 libnet_clear_packet() wasn't clearing all packet context. commit 29a9306d8f01b39f83caef7a59403cd078e0f077 Author: Sam Roberts <vieuxtech@gmail.com> Date: Fri Nov 6 13:55:56 2009 -0800 Why don't TCP and UDP use the DATA pblock type? commit ca3d42dd16aa44c0de202a0a19eb6d72bd7fa5b9 Author: Sam Roberts <vieuxtech@gmail.com> Date: Fri Nov 6 13:55:16 2009 -0800 whitespace cleanup commit 1a240a7a36e15de5f2f48a1b7ba2fec0dcc24d2f Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Nov 5 22:33:08 2009 -0800 ignore the generated libnet.h commit f931d9a9172f6fb9d8c8ec44ed69ab14fc5483a2 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Nov 5 22:26:05 2009 -0800 Add libnet_dll.c as extra, so its there for win32, and build libnet_link.c commit 8ada09e770a13305c9a946a0c01f8953ba187034 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Nov 5 22:25:28 2009 -0800 This file wasn't being built, and needed to include bpf to build. commit d15d705e2e26f753b155f55c46ad7783e6a23472 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Nov 5 22:24:44 2009 -0800 Forgot to make device a const string here, too. commit 55fa4d639001910b3914c444c407351e42c2fd74 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Nov 5 21:26:52 2009 -0800 Makefile for the lua binding create mode 100644 lua/Makefile commit 114d4a146f3e6979caa7a3a4a22efbb28a5f42d4 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Nov 5 21:25:49 2009 -0800 Start to fill out the lua binding. commit c946f9730af191934d5de9fa91ac66e4feea0d94 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Nov 5 21:14:59 2009 -0800 make string argument constant commit 7310727b243cdfd60853872ea7a95662fb40b43e Author: Sam Roberts <vieuxtech@gmail.com> Date: Fri Oct 23 09:59:11 2009 -0700 Remove output of debian build. delete mode 100644 unmerged/debian/libnet1-dbg/DEBIAN/control delete mode 100644 unmerged/debian/libnet1-dbg/DEBIAN/md5sums delete mode 100644 unmerged/debian/libnet1-dbg/usr/lib/debug/usr/lib/libnet.so.1.5.0 delete mode 100644 unmerged/debian/libnet1-dbg/usr/share/doc/libnet1-dbg/changelog.Debian.gz delete mode 100644 unmerged/debian/libnet1-dbg/usr/share/doc/libnet1-dbg/changelog.gz delete mode 100644 unmerged/debian/libnet1-dbg/usr/share/doc/libnet1-dbg/copyright delete mode 100644 unmerged/debian/libnet1-dev/DEBIAN/control delete mode 100644 unmerged/debian/libnet1-dev/DEBIAN/md5sums delete mode 100644 unmerged/debian/libnet1-dev/usr/include/libnet/libnet-asn1.h delete mode 100644 unmerged/debian/libnet1-dev/usr/include/libnet/libnet-functions.h delete mode 100644 unmerged/debian/libnet1-dev/usr/include/libnet/libnet-headers.h delete mode 100644 unmerged/debian/libnet1-dev/usr/include/libnet/libnet-macros.h delete mode 100644 unmerged/debian/libnet1-dev/usr/include/libnet/libnet-structures.h delete mode 100644 unmerged/debian/libnet1-dev/usr/include/libnet/libnet-types.h delete mode 120000 unmerged/debian/libnet1-dev/usr/lib/libnet.so delete mode 100644 unmerged/debian/libnet1-dev/usr/share/doc/libnet1-dev/README.Debian delete mode 100644 unmerged/debian/libnet1-dev/usr/share/doc/libnet1-dev/changelog.Debian.gz delete mode 100644 unmerged/debian/libnet1-dev/usr/share/doc/libnet1-dev/changelog.gz delete mode 100644 unmerged/debian/libnet1-dev/usr/share/doc/libnet1-dev/copyright delete mode 100644 unmerged/debian/libnet1-dev/usr/share/man/man1/libnet-config.1.gz delete mode 100644 unmerged/debian/libnet1-dev/usr/share/man/man3/libnet-functions.h.3.gz delete mode 100644 unmerged/debian/libnet1-dev/usr/share/man/man3/libnet-macros.h.3.gz delete mode 100644 unmerged/debian/libnet1-dev/usr/share/man/man3/libnet.h.3.gz delete mode 100644 unmerged/debian/libnet1-doc/DEBIAN/control delete mode 100644 unmerged/debian/libnet1-doc/DEBIAN/md5sums delete mode 100755 unmerged/debian/libnet1-doc/DEBIAN/postinst delete mode 100755 unmerged/debian/libnet1-doc/DEBIAN/prerm delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc-base/libnet1-doc delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/BUGS delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/CONTRIB delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/DESIGN_NOTES.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/MIGRATION.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/PACKET_BUILDING.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/PORTED delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/RAWSOCKET_NON_SEQUITUR delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/README delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/TODO delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/changelog.Debian.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/changelog.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/copyright delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/arp.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/bgp4_hdr.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/bgp4_notification.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/bgp4_open.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/bgp4_update.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/cdp.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/dhcp_discover.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/dns.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/dot1x.c delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/fddi_tcp1.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/fddi_tcp2.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/get_addr.c delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/gre.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/hsrp.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/icmp6_echoreq.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/icmp_echo_cq.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/icmp_redirect.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/icmp_timeexceed.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/icmp_timestamp.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/icmp_unreach.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/ieee.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/ip_link.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/ip_raw.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/isl.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/libnet_test.h delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/mpls.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/ntp.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/ospf_hello.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/ospf_lsa.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/ping_of_death.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/rpc_tcp.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/rpc_udp.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/sebek.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/smurf.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/stp.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/synflood.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/synflood6.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/synflood6_frag.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/tcp1.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/tcp2.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/test_ipv4.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/test_ipv4_options.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/test_ipv6_icmpv4.c delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/tftp.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/tring_tcp1.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/tring_tcp2.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/udp1.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/examples/udp2.c.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/Makefile.am delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/Makefile.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/Makefile.in.gz delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/doxygen.css delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/doxygen.png delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/files.html delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/globals.html delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/globals_defs.html delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/globals_func.html delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/index.html delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/libnet-asn1_8h-source.html delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/libnet-functions_8h-source.html delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/libnet-functions_8h.html delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/libnet-headers_8h-source.html delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/libnet-macros_8h-source.html delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/libnet-macros_8h.html delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/libnet-structures_8h-source.html delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/libnet-types_8h-source.html delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/libnet_8h-source.html delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/libnet_8h.html delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/tab_b.gif delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/tab_l.gif delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/tab_r.gif delete mode 100644 unmerged/debian/libnet1-doc/usr/share/doc/libnet1-doc/html/tabs.css delete mode 100644 unmerged/debian/libnet1/DEBIAN/control delete mode 100644 unmerged/debian/libnet1/DEBIAN/md5sums delete mode 100755 unmerged/debian/libnet1/DEBIAN/postinst delete mode 100755 unmerged/debian/libnet1/DEBIAN/postrm delete mode 100644 unmerged/debian/libnet1/DEBIAN/shlibs delete mode 120000 unmerged/debian/libnet1/usr/lib/libnet.so.1 delete mode 100644 unmerged/debian/libnet1/usr/lib/libnet.so.1.5.0 delete mode 100644 unmerged/debian/libnet1/usr/share/doc/libnet1/BUGS delete mode 100644 unmerged/debian/libnet1/usr/share/doc/libnet1/CONTRIB delete mode 100644 unmerged/debian/libnet1/usr/share/doc/libnet1/README delete mode 100644 unmerged/debian/libnet1/usr/share/doc/libnet1/TODO delete mode 100644 unmerged/debian/libnet1/usr/share/doc/libnet1/changelog.Debian.gz delete mode 100644 unmerged/debian/libnet1/usr/share/doc/libnet1/changelog.gz delete mode 100644 unmerged/debian/libnet1/usr/share/doc/libnet1/copyright delete mode 100644 unmerged/debian/tmp/usr/include/libnet/libnet-asn1.h delete mode 100644 unmerged/debian/tmp/usr/include/libnet/libnet-functions.h delete mode 100644 unmerged/debian/tmp/usr/include/libnet/libnet-headers.h delete mode 100644 unmerged/debian/tmp/usr/include/libnet/libnet-macros.h delete mode 100644 unmerged/debian/tmp/usr/include/libnet/libnet-structures.h delete mode 100644 unmerged/debian/tmp/usr/include/libnet/libnet-types.h delete mode 120000 unmerged/debian/tmp/usr/lib/libnet.so delete mode 120000 unmerged/debian/tmp/usr/lib/libnet.so.1 delete mode 100755 unmerged/debian/tmp/usr/lib/libnet.so.1.5.0 delete mode 100644 unmerged/debian/tmp/usr/share/man/man3/libnet-functions.h.3 delete mode 100644 unmerged/debian/tmp/usr/share/man/man3/libnet-macros.h.3 delete mode 100644 unmerged/debian/tmp/usr/share/man/man3/libnet.h.3 commit 5e45a495c1a6ab1ee0f43ddb44d0591d8503087f Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Oct 22 15:12:18 2009 -0700 only ignore Makefile in libnet/ commit 66d098d5bf87b4e0b4a63b29b5b650ea9c36fc94 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Oct 22 15:10:06 2009 -0700 only ignore Makefile in libnet/ create mode 100644 libnet/.gitignore commit 55545fff0c44fc1266837c0c0ee1108b3189ff64 Author: Thomas Habets <thomas@habets.pp.se> Date: Tue Oct 6 23:30:06 2009 +0200 Replace u_intX_t with C99 uintX_t. commit 665bd55cd8f8ec5e260da98b4fcab870af3dc63e Author: Thomas Habets <thomas@habets.pp.se> Date: Wed Sep 30 07:32:22 2009 +0200 pclose() following popen(), not fclose() commit 319139f93429593c7b379865d4eadcf83ec057c4 Author: Thomas Habets <thomas@habets.pp.se> Date: Tue Sep 29 22:41:46 2009 +0200 snoof & dlpi: don't free on libnet_link_close() commit 17dcbdcea4237b14199cdb7b3d56b0b14e80e715 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Sep 28 17:13:12 2009 -0700 Summarize changes for log. commit a8bf08feb6fffaf7d79e8f76ca692366612aeb27 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Sep 28 17:06:32 2009 -0700 Reindented, removing hard tabs, and using consistent brace positioning. commit ecc62e9868225bd74f99a10a2fc9c8f5391ea4ac Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Sep 28 17:01:41 2009 -0700 The non-standard types are no longer used. commit ecbf4e4fd287f46eaacc2c52cc1f060ad2948818 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Sep 28 17:00:46 2009 -0700 /sw/.. path doesn't always exist commit 878a88a5cf349cfb9b68251b8edcacb98b50e4b3 Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Sep 28 16:31:56 2009 -0700 ignored commit fa0654dd4325b313025fab37f8451681cebe7f2f Author: Sam Roberts <vieuxtech@gmail.com> Date: Mon Sep 28 16:28:17 2009 -0700 Doesn't apply cleanly, and no response from author after original email. http://www.inliniac.net/blog/2007/10/16/libnet-11-ipv6-fixes-and-additions.html create mode 100644 unmerged/libnet-1.1.3-RC-01-ipv6.diff.gz commit 30e03767b34f56ee8b6b866aee15d47c06411dbb Author: Thomas Habets <thomas@habets.pp.se> Date: Mon Sep 28 23:33:28 2009 +0200 src/libnet_link_snoop.c: Only fclose if f!=NULL commit 3afc7b4520d19a440a7596449cb5431bc577a05d Author: Thomas Habets <thomas@habets.pp.se> Date: Mon Sep 28 23:06:32 2009 +0200 src/libnet_link_snoop.c: fixed snoop-based backend. Works on IRIX. commit 223f4a82cc5c69e9fd311e024c8f4619716ec578 Author: Thomas Habets <thomas@habets.pp.se> Date: Mon Sep 28 22:21:52 2009 +0200 Use uint64_t, not u_int64_t commit e010d7a60cc26343c5d0f20370eaaf123466cb52 Author: Thomas Habets <thomas@habets.pp.se> Date: Mon Sep 28 22:20:07 2009 +0200 define a lying gethostbyname2() if it's not defined commit 1a5cfa8cdb48d83d40b121b273966eed490e8a73 Author: Thomas Habets <thomas@habets.pp.se> Date: Mon Sep 28 22:19:33 2009 +0200 define STDOUT_FILENO if it's not defined commit fc8b352cd5988fb27436305bad4a0988dbcda854 Author: Thomas Habets <thomas@habets.pp.se> Date: Mon Sep 28 22:00:55 2009 +0200 configure.in: check for gethostbyname2 commit f526d7447afdbe651615a582740d3ed582ffd382 Author: Thomas Habets <thomas@habets.pp.se> Date: Mon Sep 28 20:17:46 2009 +0200 configure.in: Check for uint{16,32,64}_t commit f25b6c75de9abe4c13435f7253cdc815b50298e3 Author: Sam Roberts <vieuxtech@gmail.com> Date: Thu Jul 23 22:02:08 2009 -0700 Configure switch to install samples commit 725971372b7e220e1b9cf7c5a88aae63949ca989 Author: Sam Roberts <vieuxtech@gmail.com> Date: Sat Jul 4 14:01:37 2009 -0700 Attempt at applying a patch to get installable samples, which doesn't work. commit 031969f514dbb4be6c7bfb197c3cbabbac210feb Author: Sam Roberts <vieuxtech@gmail.com> Date: Sun Jun 28 18:37:40 2009 -0700 Pointers not cleared after free could lead to double deallocation. commit d95cb3c01290510cb558a90f86e6311599a71f86 Author: Sam Roberts <vieuxtech@gmail.com> Date: Sun Jun 28 17:47:24 2009 -0700 Convert CRLF to LF. commit 02dbe64137b5de664c6b33d8a6d6a5fa5e2aac6b Author: Sam Roberts <vieuxtech@gmail.com> Date: Sun Jun 28 17:41:17 2009 -0700 Auto* changes to work on OS X from git checkout. commit 8d6b4810e88bbd34080ed9c9c69c76abcad29dab Author: Sam Roberts <vieuxtech@gmail.com> Date: Wed Jun 24 14:02:19 2009 -0700 Update autobuild endianness and unaligned checks. (Mike Frysinger) commit cf476025760596be62dc8023b64386ac37db1eb4 Author: Sam Roberts <vieuxtech@gmail.com> Date ... |