Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bug #2974: always write 17 bytes or more so link doesn't resetfix-short-packets-reset-adapters | Sam Roberts | 2013-03-11 | 1 | -2/+11 |
| | |||||
* | Use +AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER | Sam Roberts | 2013-01-31 | 1 | -1/+1 |
| | | | | | Apparently, the AM variant is deprecated, and will stop working with suitably recent automake versions. | ||||
* | Merge remote-tracking branch 'origin/master' | Sam Roberts | 2013-01-31 | 1 | -0/+1 |
|\ | |||||
| * | git ignore doxygen output | Sam Roberts | 2012-11-27 | 1 | -0/+1 |
| | | |||||
| * | Remove automake reference to win32 header that has been removed. | Sam Roberts | 2012-11-27 | 1 | -1/+1 |
| | | |||||
* | | Automatic link options ("#pragma comment(lib, ...)") are only for MSVC | ThomasVolkert | 2012-12-18 | 1 | -0/+3 |
| | | |||||
* | | Added guards around definitions of _GNU_SOURCE to avoid redefinitions | ThomasVolkert | 2012-12-18 | 1 | -0/+2 |
| | | |||||
* | | Avoids several warnings for MS C/C++ compiler | ThomasVolkert | 2012-12-18 | 4 | -8/+8 |
| | | |||||
* | | libnet_open_raw4 doesn't return a SOCKET on win32 | Sam Roberts | 2012-12-18 | 1 | -8/+0 |
| | | | | | | | | And on unix, it doesn't return a descriptor. | ||||
* | | Remove unused STDOUT_FILENO, and dead code that used to use it. | Sam Roberts | 2012-12-18 | 2 | -23/+1 |
| | | |||||
* | | Removed references to removed win32/in_systm.h | Sam Roberts | 2012-11-27 | 2 | -2/+1 |
|/ | |||||
* | Merge branch 'win32' | Sam Roberts | 2012-11-27 | 43 | -1646/+617 |
|\ | | | | | | | | | | | | | | | | | | | Conflicts were in error message formatting, master has removed new lines from end of all error messages. Conflicts: libnet/src/libnet_if_addr.c libnet/src/libnet_link_win32.c libnet/src/libnet_resolve.c | ||||
| * | Pass build errors to caller of batch files. | Sam Roberts | 2012-11-15 | 2 | -2/+6 |
| | | |||||
| * | Make interface selection work for interfaces with multiple addresses on them. | Sam Roberts | 2012-11-01 | 1 | -26/+39 |
| | | | | | | | | | | Windows supports IPv4 and IPv6 by default, so interfaces will have two addresses, and libnet failed when the first address was IPv6. | ||||
| * | memory leak fixed, device list needs to freed after use | Sam Roberts | 2012-10-31 | 1 | -0/+2 |
| | | |||||
| * | uint32 address properly initialized with an address | Sam Roberts | 2012-10-31 | 1 | -4/+1 |
| | | | | | | | | | | | | 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. | ||||
| * | Reformatted and commented win32 specific code. | Sam Roberts | 2012-10-31 | 1 | -10/+11 |
| | | |||||
| * | Interface selection was ignoring interfaces with ipv6. | Sam Roberts | 2012-10-31 | 1 | -1/+3 |
| | | |||||
| * | Use simple batch file to build for win32. | Sam Roberts | 2012-10-31 | 30 | -1804/+53 |
| | | | | | | | | | | | | 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. | ||||
| * | Use LIBNET_API on public functions, instead of an export file. | Sam Roberts | 2012-10-31 | 3 | -10/+157 |
| | | |||||
| * | Note about libnet_get_prand being secure only on windows. | Sam Roberts | 2012-10-31 | 1 | -1/+5 |
| | | |||||
| * | Build lua binding on win32. | Sam Roberts | 2012-10-30 | 3 | -0/+34 |
| | | |||||
| * | ignore visual studio output artifacts | Sam Roberts | 2012-10-30 | 1 | -0/+3 |
| | | |||||
| * | Don't need iphlpapi.h included. | Sam Roberts | 2012-10-30 | 1 | -3/+5 |
| | | |||||
| * | Libnet.vcxproj file gained a ProjectGUID property. Hm. | Sam Roberts | 2012-10-29 | 1 | -0/+1 |
| | | |||||
| * | visual studio 2010 project files | Sam Roberts | 2012-10-29 | 2 | -0/+227 |
| | | |||||
| * | Convert uses of non-standard uint to uint32_t. | Sam Roberts | 2012-10-29 | 6 | -11/+9 |
| | | |||||
| * | Compiled on win32 with Visual Studio 2010. | Sam Roberts | 2012-10-25 | 7 | -18/+291 |
| | | | | | | | | | | | | 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. | ||||
| * | Add build instructions for Visual Studio 2010 | Sam Roberts | 2012-10-25 | 1 | -7/+21 |
| | | |||||
| * | Documentation typo, valid should be invalid. | Sam Roberts | 2012-10-25 | 1 | -1/+1 |
| | | |||||
| * | Replace usage of non-standard uint type with uint32_t. | Sam Roberts | 2012-10-24 | 2 | -26/+26 |
| | | |||||
* | | Fixes error messages sometimes include newline, sometimes not. | Sam Roberts | 2012-11-16 | 26 | -136/+136 |
| | | |||||
* | | Properly set l->err_buf if libnet_ifaddrlist() fails. | Thomas Habets | 2012-11-16 | 1 | -2/+1 |
| | | |||||
* | | dlpi: Try harder to find the device for the interface. | Thomas Habets | 2012-11-10 | 1 | -74/+79 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | dlpi: Correctly extract the unit number from devices with numbers in their name. | Thomas Habets | 2012-11-10 | 1 | -2/+34 |
|/ | | | | | | | | | 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. | ||||
* | define INET6 on IRIX, making libnet compile cleanly. | Thomas Habets | 2012-08-08 | 2 | -1/+4 |
| | | | | | | | | | | | | | 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. | ||||
* | Use LIBNET_BSDISH_OS and LIBNET_BSD_BYTE_SWAP on all darwin architectures. | Kimmo Suominen | 2012-08-08 | 1 | -19/+3 |
| | |||||
* | Added BSD byteswap for Darwin. Otherwise sendto() returns EINVAL | Emilio Escobar | 2012-08-08 | 1 | -0/+2 |
| | |||||
* | urgent and ack number fields should be optional | Sam Roberts | 2012-06-25 | 1 | -4/+4 |
| | |||||
* | igmp() argument changed from code to reserved | Sam Roberts | 2012-04-24 | 1 | -6/+10 |
| | |||||
* | Note about ethernet padding being stripped by decode | Sam Roberts | 2012-04-24 | 1 | -0/+5 |
| | |||||
* | Properly quote filenames to be pushed to sourceforge | Sam Roberts | 2012-04-24 | 1 | -1/+1 |
| | |||||
* | Use a common header to trim cut and paste include blocks. | Sam Roberts | 2012-04-23 | 57 | -437/+121 |
| | |||||
* | netinet/in.h is needed for IPPROTO_ and sockaddr_in (reported by Dirk Meyer) | Sam Roberts | 2012-04-18 | 4 | -0/+12 |
| | |||||
* | libnet-1.1.6v1.1.6libnet-1.1.6releasedlibnet-1.1-branch | Sam Roberts | 2012-03-29 | 3 | -15/+6 |
| | |||||
* | Note about why including libnet.h breaks dnet.h/dumbnet.h | Sam Roberts | 2012-03-29 | 1 | -0/+5 |
| | |||||
* | Ignore output pcaps. | Sam Roberts | 2012-03-29 | 1 | -0/+1 |
| | |||||
* | Update release scripts and checklist. | Sam Roberts | 2012-03-29 | 3 | -3/+10 |
| | |||||
* | Dump generated packets to pcap as well as to screen. | Sam Roberts | 2012-03-29 | 1 | -1/+25 |
| | |||||
* | Remove pcap tests from Makefile. | Sam Roberts | 2012-03-29 | 1 | -1/+1 |
| |