summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bug #2974: always write 17 bytes or more so link doesn't resetfix-short-packets-reset-adaptersSam Roberts2013-03-111-2/+11
|
* Use +AC_CONFIG_HEADERS instead of AM_CONFIG_HEADERSam Roberts2013-01-311-1/+1
| | | | | Apparently, the AM variant is deprecated, and will stop working with suitably recent automake versions.
* Merge remote-tracking branch 'origin/master'Sam Roberts2013-01-311-0/+1
|\
| * git ignore doxygen outputSam Roberts2012-11-271-0/+1
| |
| * Remove automake reference to win32 header that has been removed.Sam Roberts2012-11-271-1/+1
| |
* | Automatic link options ("#pragma comment(lib, ...)") are only for MSVCThomasVolkert2012-12-181-0/+3
| |
* | Added guards around definitions of _GNU_SOURCE to avoid redefinitionsThomasVolkert2012-12-181-0/+2
| |
* | Avoids several warnings for MS C/C++ compilerThomasVolkert2012-12-184-8/+8
| |
* | libnet_open_raw4 doesn't return a SOCKET on win32Sam Roberts2012-12-181-8/+0
| | | | | | | | And on unix, it doesn't return a descriptor.
* | Remove unused STDOUT_FILENO, and dead code that used to use it.Sam Roberts2012-12-182-23/+1
| |
* | Removed references to removed win32/in_systm.hSam Roberts2012-11-272-2/+1
|/
* Merge branch 'win32'Sam Roberts2012-11-2743-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 Roberts2012-11-152-2/+6
| |
| * Make interface selection work for interfaces with multiple addresses on them.Sam Roberts2012-11-011-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 useSam Roberts2012-10-311-0/+2
| |
| * uint32 address properly initialized with an addressSam Roberts2012-10-311-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 Roberts2012-10-311-10/+11
| |
| * Interface selection was ignoring interfaces with ipv6.Sam Roberts2012-10-311-1/+3
| |
| * Use simple batch file to build for win32.Sam Roberts2012-10-3130-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 Roberts2012-10-313-10/+157
| |
| * Note about libnet_get_prand being secure only on windows.Sam Roberts2012-10-311-1/+5
| |
| * Build lua binding on win32.Sam Roberts2012-10-303-0/+34
| |
| * ignore visual studio output artifactsSam Roberts2012-10-301-0/+3
| |
| * Don't need iphlpapi.h included.Sam Roberts2012-10-301-3/+5
| |
| * Libnet.vcxproj file gained a ProjectGUID property. Hm.Sam Roberts2012-10-291-0/+1
| |
| * visual studio 2010 project filesSam Roberts2012-10-292-0/+227
| |
| * Convert uses of non-standard uint to uint32_t.Sam Roberts2012-10-296-11/+9
| |
| * Compiled on win32 with Visual Studio 2010.Sam Roberts2012-10-257-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 2010Sam Roberts2012-10-251-7/+21
| |
| * Documentation typo, valid should be invalid.Sam Roberts2012-10-251-1/+1
| |
| * Replace usage of non-standard uint type with uint32_t.Sam Roberts2012-10-242-26/+26
| |
* | Fixes error messages sometimes include newline, sometimes not.Sam Roberts2012-11-1626-136/+136
| |
* | Properly set l->err_buf if libnet_ifaddrlist() fails.Thomas Habets2012-11-161-2/+1
| |
* | dlpi: Try harder to find the device for the interface.Thomas Habets2012-11-101-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 Habets2012-11-101-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 Habets2012-08-082-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 Suominen2012-08-081-19/+3
|
* Added BSD byteswap for Darwin. Otherwise sendto() returns EINVALEmilio Escobar2012-08-081-0/+2
|
* urgent and ack number fields should be optionalSam Roberts2012-06-251-4/+4
|
* igmp() argument changed from code to reservedSam Roberts2012-04-241-6/+10
|
* Note about ethernet padding being stripped by decodeSam Roberts2012-04-241-0/+5
|
* Properly quote filenames to be pushed to sourceforgeSam Roberts2012-04-241-1/+1
|
* Use a common header to trim cut and paste include blocks.Sam Roberts2012-04-2357-437/+121
|
* netinet/in.h is needed for IPPROTO_ and sockaddr_in (reported by Dirk Meyer)Sam Roberts2012-04-184-0/+12
|
* libnet-1.1.6v1.1.6libnet-1.1.6releasedlibnet-1.1-branchSam Roberts2012-03-293-15/+6
|
* Note about why including libnet.h breaks dnet.h/dumbnet.hSam Roberts2012-03-291-0/+5
|
* Ignore output pcaps.Sam Roberts2012-03-291-0/+1
|
* Update release scripts and checklist.Sam Roberts2012-03-293-3/+10
|
* Dump generated packets to pcap as well as to screen.Sam Roberts2012-03-291-1/+25
|
* Remove pcap tests from Makefile.Sam Roberts2012-03-291-1/+1
|