summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
|
* Generate a valid IGMP message in test.Sam Roberts2012-03-291-2/+2
|
* Prepare for 1.1.6-rc3.v1.1.6-rc3libnet-1.1.6-rc3Sam Roberts2012-03-282-16/+7
|
* Only use getifaddrs() if it exists. (reported by Dagobert Michelsen)Sam Roberts2012-03-282-2/+3
|
* Clean up use of single and bracket quotes.Sam Roberts2012-03-271-1/+1
|
* FreeBSD and Solaris volunteers to contibute.Sam Roberts2012-03-271-0/+2
|
* ICMPv6 struct is too long, so use length macro (sickmind@lavabit.com)Sam Roberts2012-03-191-1/+1
| | | | Struct must contains id/seq for backwards compatibility.
* ICMPv6 pblock sizes are needed to calculate IPv6's ip_len (reported by ↵Sam Roberts2012-03-191-0/+4
| | | | sickmind@lavabit.com)
* Prep for 1.1.6 release, such as bumping versionv1.1.6-rc2libnet-1.1.6-rc2Sam Roberts2012-03-075-9/+17
|
* Add people who have volunteered to check release candidates.Sam Roberts2012-03-071-1/+7
|
* Rework libnet_autobuild_ipv6() to eliminate code duplication.v1.1.6-rc1libnet-1.1.6-rc1Sam Roberts2012-03-063-61/+23
| | | | | | 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.
* Implemented libnet_autobuild_ipv6()repolho2012-03-052-4/+67
|
* Implemented unix version of libnet_get_ipaddr6()repolho2012-03-052-1/+53
|
* Update old debian packaging.Sam Roberts2012-03-052-2/+0
|