Files
bpfire/lfs
Adolf Belka 3192cd3036 libnet: Update to version 1.3
- Update from version 1.1.6 to 1.3
- Update of rootfile
- sobump gives suricata and arping as dependencies so those packages also need to be
   shipped.
- Changelog
    1.3
	### Changes
		- License change of critical files from 4-clause BSD to 3-clause and
		  2-clause BSD.  This fixes issue #85: "GPL license compatibility".
		- Migrate from Travis-CI (Linux) and Appveyor (Win32) to GitHub Actions
		- Win32 changes:
		  - switch to npcap from winpcap
		  - Simplify and update build scripts
		  - Encode version in DLL instead of in filename
		- Add support for LLDP, mandatory TLVs.
		- Add support for Cisco UniDirectional Link Detection (UDLD), RFC5171
		- Initial support for unit tests:
		  - `libnet-build_ethernet()`
		  - Complete UDLD API tests
		- Initial "devcontainer": provide VS Code development environment for
		  rapid setup of a development environment
		- Run unit tests in GitHub Actions
		- New  GitHub Action for FreeBSD 13 clang/gcc
		- Calling `libnet_init()` with a RAW type no longer sets a TX buffer max
		  size.  Use the new `libnet_setfd_max_sndbuf()` instead when needed.
		- Remove support for `SOCK_PACKET` sockets causing invalid builds on,
		  e.g., musl libc.  We assume everyone on Linux has `PF_PACKET` now.
	### Fixes
		- Fix #139: fail-to-build-from-source on FreeBSD
		- Fix #122: unused parameter warnings
		- Fix #123: potential memory leak in `libnet_cq_add()`
		- Fix #124: potential name conflict with C++ keyword `new`
		- Fix #96: pointer type warnings when dumping raw data with `%p`
		- Fix #97: non-standard types:
		  - `int64_t` instead of `__int64_t` for mingw cross build
		  - `uint32_t` instead of `u_int` and `uint16_t` instead of `u_short`
		- Fix #98: lots of signed vs unsigned comparisons
		- Fix #102: possible buffer overflows in `libnet_plist_chain_dump_string()`
		- Reproducible build fixes for man-page generation, use LC_ALL=C and UTC
		- Simplify `fixmanpages`
		- Fix #120: possible NULL pointer dereference in `libnet_cq_add()`
		- Fix #120: memory leak in `libnet_plist_chain_new()`
		- Fix segmentation fault in `libnet_ifaddrlist()`
		- Fix #150: segfault when number of IPs > 512
    1.2
	### Changes
		- Removed Lua bindings from repo and dist files, now available separately
		- Removed generated HTML and Nroff (man pages) documentation files, must
		  be regenerated with Doxygen using `make doc`
		- Add `pkg-config` support with `libnet.pc`, replaces `libnet-config`
		  tool, although it is kept for compatibility for now
		- Factorize socket setup code for socket opening to provide output
		  device selection for IPv4
		- Make `libnet_get_hwaddr()` work with 802.1q interfaces in bpf (BSD)
		- New API for OSPF HELLO messages, with neighbor
	### Fixes
		- Use `getifaddrs()` on OpnBSD and Linux
		- For samples, `netinet/in.h` is not on windows
		- Fix errors with missing `IPPROTO_MH` on windows
		- Fix build error on Mac OS X
		- Fix #34 checksum caculation when IPv6 extension headers being used
		- Remove unneeded trailing `-Wl` from `-version-info` line
		- `libnet_build_snmp()` fix warning
		- Use `LIBNET_*RESOLVE` const in `libnet_name2addr*`
		- Fix i486 sample synflood6 warning
		- Some samples need `#include<netinet/in.h>` for `IPPROTO_*` on OpenBSD 5.2
		- Fix gcc warnings
		- Check for `socklen_t`.  Suggested by g.esp and Stefanos Harhalakis
		- libnet: update for obsolete INCLUDE directive
		- Fix warning inside comment
		- Automatic link options `#pragma comment(lib, ...)` are only for MSVC
		- Fix several warnings for MS C/C++ compiler
		- `libnet_open_raw4()` doesn't return a SOCKET on win32
		- Fixes error messages sometimes include newline, sometimes not
		- Properly set `l->err_buf` if `libnet_ifaddrlist()` fails
		- dlpi: Try harder to find the device for the interface
		- dlpi: Correctly extract unit number from devices with numbers in their
		  name
		- Make interface selection work for interfaces with multiple addresses
		- Fix memory leak, device list needs to freed after use
		- Fix file descriptor leak in `libnet_ifaddrlist()`
		- Fix `libnet_get_hwaddr()` for large(!) number of interfaces
		- Fix to support musl libc, removes support for GLIBC <2.1
		- Fix win32 buffer overrun in `libnet_get_ipaddr4()`
		- Interface selection was ignoring interfaces with IPv6
		- Use `LIBNET_API` on public functions, instead of an export file
		- Add Visual Studio 2010 project files, with build instructions
		- Define INET6 on IRIX, making libnet compile cleanly
		- Check for FreeBSD pre-11 before enabling `LIBNET_BSD_BYTE_SWAP`
		- Use `LIBNET_BSDISH_OS` and `LIBNET_BSD_BYTE_SWAP` on Darwin
		- Add BSD byteswap for Darwin. Otherwise `sendto(` returns `EINVAL`
		- `netinet/in.h` is needed for `IPPROTO_` and `sockaddr_in`

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-09 14:21:42 +00:00
..
2023-04-18 21:16:10 +00:00
2024-01-31 10:27:12 +00:00
2023-04-18 21:16:24 +00:00
2022-04-02 14:19:25 +00:00
2023-12-19 11:45:26 +01:00
2024-07-22 15:21:21 +00:00
2023-04-24 18:59:23 +00:00
2023-04-18 21:17:23 +00:00
2023-04-18 21:18:54 +00:00
2024-01-23 13:57:29 +00:00
2022-04-02 14:19:25 +00:00
2023-04-18 21:19:49 +00:00
2023-12-06 11:18:29 +00:00
2023-04-18 21:20:11 +00:00
2024-05-07 05:51:18 +00:00
2024-01-31 10:27:43 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2024-07-02 09:18:29 +00:00
2024-02-10 11:48:19 +00:00
2024-08-03 09:41:57 +00:00
2022-04-02 14:19:25 +00:00
2023-09-12 16:10:14 +00:00
2022-04-02 14:19:25 +00:00
2024-01-29 16:03:31 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2024-07-22 15:21:21 +00:00
2023-01-26 23:19:05 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2024-01-03 21:11:17 +00:00
2024-02-10 11:52:39 +00:00
2023-01-26 23:17:12 +00:00
2023-03-05 14:15:52 +00:00
2024-08-06 14:17:39 +00:00
2024-07-22 15:21:21 +00:00
2024-06-14 07:47:54 +02:00
2024-03-20 17:49:27 +01:00
2023-12-06 11:18:29 +00:00
2022-07-27 09:49:36 +00:00
2024-07-02 09:06:23 +00:00
2024-08-06 09:13:42 +00:00
2023-11-21 19:01:09 +00:00
2022-04-05 05:54:38 +00:00
2022-11-28 13:04:55 +01:00
2022-04-02 14:19:25 +00:00
2022-10-10 18:39:31 +00:00
2024-06-27 15:51:47 +02:00
2024-02-01 16:05:44 +00:00
2022-04-02 14:19:25 +00:00
2024-01-23 11:35:15 +00:00
2024-05-25 10:59:33 +02:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2024-07-22 15:21:21 +00:00
2023-07-26 16:08:59 +00:00
2024-06-14 07:54:03 +02:00
2023-03-04 14:02:05 +00:00
2024-03-12 10:11:53 +00:00
2023-03-05 15:00:03 +00:00
2022-04-02 14:19:25 +00:00
2024-07-02 09:07:32 +00:00
2022-04-02 14:19:25 +00:00
2024-03-14 18:37:58 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2024-07-02 09:04:41 +00:00
2024-01-31 17:04:48 +00:00
2024-07-22 15:21:21 +00:00
2022-04-02 14:19:25 +00:00
2022-11-29 13:44:15 +01:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2024-07-22 15:21:21 +00:00
2023-06-15 09:37:19 +00:00
2023-07-26 16:09:00 +00:00
2023-09-12 16:12:53 +00:00
2022-04-24 14:07:44 +00:00
2024-03-30 12:14:51 +00:00
2023-07-26 16:09:00 +00:00
2023-11-21 19:09:32 +00:00
2024-07-22 15:21:20 +00:00
2022-04-02 14:19:25 +00:00
2024-03-12 10:12:13 +00:00
2022-04-02 14:19:25 +00:00
2024-07-22 15:21:21 +00:00
2024-06-04 15:03:34 +02:00
2023-07-31 09:23:21 +00:00
2024-02-10 11:50:54 +00:00
2023-08-08 16:02:35 +00:00
2022-04-02 14:19:25 +00:00
2024-07-02 09:05:03 +00:00
2023-06-25 13:49:34 +00:00
2022-04-02 14:19:25 +00:00
2024-02-29 10:21:54 +00:00
2023-06-15 09:30:34 +00:00
2023-07-31 09:23:03 +00:00
2022-07-09 09:08:22 +00:00
2023-09-12 16:13:34 +00:00
2024-01-23 11:37:02 +00:00
2023-11-21 19:12:54 +00:00
2023-01-18 23:30:15 +00:00
2024-01-31 17:05:40 +00:00
2024-08-07 09:32:57 +00:00
2022-04-02 14:19:25 +00:00
2024-07-02 09:07:58 +00:00
2024-01-16 12:35:30 +00:00
2022-07-11 13:04:01 +00:00
2024-07-22 15:21:21 +00:00
2022-04-02 14:19:25 +00:00
2023-01-26 22:50:22 +00:00
2024-03-26 07:36:02 +00:00
2023-04-24 18:41:52 +00:00
2022-04-02 14:19:25 +00:00
2023-01-05 10:48:21 +00:00
2024-01-03 21:12:45 +00:00
2024-03-14 14:07:58 +00:00
2024-01-23 13:52:57 +00:00
2023-12-30 07:37:04 +00:00
2022-04-02 14:19:25 +00:00
2024-01-23 13:59:39 +00:00
2022-04-24 19:02:42 +00:00
2024-07-02 09:14:20 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2024-06-26 15:14:26 +02:00
2022-12-31 10:56:10 +00:00
2023-08-29 09:51:28 +00:00
2024-06-26 15:20:48 +02:00
2023-08-15 16:46:57 +00:00
2023-01-09 18:36:05 +00:00
2024-04-28 17:23:41 +00:00
2024-03-12 10:12:29 +00:00
2023-08-29 09:54:23 +00:00
2022-04-02 14:19:25 +00:00
2022-09-15 19:45:26 +00:00
2023-12-30 07:33:44 +00:00
2024-07-22 15:21:21 +00:00
2022-04-30 08:56:30 +00:00
2024-08-09 10:38:14 +00:00
2024-08-09 10:38:43 +00:00
2023-06-15 09:35:38 +00:00
2024-08-09 10:39:37 +00:00
2022-12-29 11:22:22 +00:00
2022-12-26 08:30:22 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2022-12-27 16:26:45 +00:00
2024-02-29 10:22:01 +00:00
2024-08-09 10:41:05 +00:00
2023-09-12 16:06:26 +00:00
2024-04-28 17:23:41 +00:00
2024-07-02 09:07:19 +00:00
2024-01-23 14:00:08 +00:00
2024-08-09 10:40:03 +00:00
2024-08-09 10:40:29 +00:00
2024-04-21 20:09:40 +00:00
2022-04-02 14:19:25 +00:00
2022-04-10 10:18:40 +00:00
2022-12-27 16:34:44 +00:00
2024-02-25 02:03:24 +01:00
2022-04-02 14:19:25 +00:00
2024-08-09 14:21:42 +00:00
2023-12-30 07:31:01 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2023-05-03 07:28:37 +00:00
2024-03-12 10:12:58 +00:00
2024-02-29 10:23:49 +00:00
2022-12-17 17:20:45 +00:00
2024-01-03 21:19:41 +00:00
2022-04-02 14:19:25 +00:00
2023-11-22 21:35:32 +00:00
2024-01-11 11:59:09 +00:00
2024-01-23 13:53:38 +00:00
2022-11-28 13:09:53 +01:00
2023-09-12 16:15:41 +00:00
2023-02-10 09:27:02 +00:00
2023-01-26 23:11:22 +00:00
2023-03-05 15:13:24 +00:00
2022-12-26 08:36:06 +00:00
2022-11-21 11:02:10 +00:00
2024-02-07 11:21:49 +00:00
2022-05-30 19:45:10 +00:00
2023-07-26 16:08:59 +00:00
2024-01-03 21:07:37 +00:00
2024-08-06 09:12:58 +00:00
2022-04-02 14:19:25 +00:00
2024-01-25 10:23:03 +00:00
2024-08-06 09:11:59 +00:00
2022-04-02 14:19:25 +00:00
2023-12-30 07:30:29 +00:00
2022-12-27 16:31:49 +00:00
2023-03-05 14:53:06 +00:00
2024-01-23 13:53:58 +00:00
2023-12-30 07:29:51 +00:00
2023-11-21 19:27:56 +00:00
2024-01-23 14:00:41 +00:00
2024-04-28 17:23:41 +00:00
2023-01-26 23:17:50 +00:00
2024-06-26 15:24:59 +02:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2023-03-05 15:14:51 +00:00
2023-11-26 09:40:17 +00:00
2024-07-22 15:21:21 +00:00
2024-01-30 17:49:46 +00:00
2023-11-21 19:30:01 +00:00
2024-07-02 09:06:51 +00:00
2024-01-23 13:54:10 +00:00
2024-03-14 14:08:54 +00:00
2023-11-21 19:31:28 +00:00
2022-04-02 14:19:25 +00:00
2024-06-27 15:55:52 +02:00
2022-04-02 14:19:25 +00:00
2024-02-25 02:02:27 +01:00
2023-08-24 13:42:04 +00:00
2022-04-29 18:58:17 +00:00
2024-05-19 10:02:10 +02:00
2024-07-22 15:21:21 +00:00
2024-08-03 09:41:32 +00:00
2023-07-26 16:09:00 +00:00
2023-09-12 16:17:48 +00:00
2024-07-22 15:21:21 +00:00
2022-04-02 14:19:25 +00:00
2024-08-09 10:41:05 +00:00
2023-06-15 09:36:10 +00:00
2024-03-12 10:13:06 +00:00
2024-01-03 21:04:20 +00:00
2024-07-22 15:21:21 +00:00
2023-07-26 16:08:59 +00:00
2024-01-03 21:26:40 +00:00
2023-07-26 16:09:00 +00:00
2024-06-27 15:48:35 +02:00
2024-06-04 15:07:20 +02:00
2023-07-26 16:09:00 +00:00
2024-03-12 10:13:32 +00:00
2023-08-07 09:19:13 +00:00
2024-07-02 09:19:48 +00:00
2024-08-06 09:10:28 +00:00
2024-06-08 14:30:07 +00:00
2024-03-14 14:09:02 +00:00
2023-12-30 07:25:59 +00:00
2024-06-26 15:22:23 +02:00
2024-03-06 21:32:13 +00:00
2023-04-24 18:54:21 +00:00
2022-04-02 14:19:25 +00:00
2024-03-06 21:33:49 +00:00
2022-04-02 14:19:25 +00:00
2024-07-22 15:21:21 +00:00
2022-09-01 21:16:49 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2022-09-01 21:16:49 +00:00
2022-04-10 10:05:27 +00:00
2022-09-01 21:16:49 +00:00
2024-03-30 12:09:14 +00:00
2022-04-02 14:19:25 +00:00
2022-06-17 10:22:31 +00:00
2024-03-06 21:34:21 +00:00
2022-04-02 14:19:25 +00:00
2023-07-31 09:27:27 +00:00
2024-03-14 14:10:15 +00:00
2023-08-08 16:07:28 +00:00
2024-06-04 15:06:34 +02:00
2022-04-02 14:19:25 +00:00
2023-09-12 16:18:08 +00:00
2024-06-27 07:56:29 +02:00
2022-11-10 15:13:51 +00:00
2023-10-30 09:53:48 +00:00
2023-11-21 19:21:02 +00:00
2024-03-06 21:34:48 +00:00
2023-08-19 14:30:31 +00:00
2023-03-05 14:15:52 +00:00
2023-07-31 13:47:31 +00:00
2024-08-03 09:42:07 +00:00
2023-05-18 11:24:29 +00:00
2024-06-04 15:04:50 +02:00
2024-02-17 19:46:34 +01:00
2023-03-04 13:54:40 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2024-07-10 14:28:48 +00:00
2024-06-26 15:23:45 +02:00
2024-03-14 14:10:49 +00:00
2022-11-21 11:05:13 +00:00
2024-07-22 15:21:21 +00:00
2023-04-18 21:15:28 +00:00
2022-04-02 14:19:25 +00:00
2024-06-27 15:53:41 +02:00
2024-07-02 09:09:08 +00:00
2023-08-15 09:27:19 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2023-02-10 09:26:37 +00:00
2023-06-15 09:38:39 +00:00
2024-07-22 15:21:20 +00:00
2024-04-28 17:23:41 +00:00
2024-01-23 13:56:42 +00:00
2024-01-03 21:25:57 +00:00
2024-07-02 09:18:57 +00:00
2022-11-23 12:25:36 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2022-11-29 13:42:35 +01:00
2023-10-09 08:17:23 +00:00
2024-07-02 09:14:10 +00:00
2023-08-07 09:17:38 +00:00
2024-03-14 14:11:22 +00:00
2023-05-03 07:28:22 +00:00
2022-04-02 14:19:25 +00:00
2023-11-22 21:41:02 +00:00
2024-07-02 09:15:40 +00:00
2024-07-02 09:10:40 +00:00
2024-07-02 09:15:48 +00:00
2024-07-22 15:21:21 +00:00
2024-04-28 17:23:41 +00:00
2023-11-22 21:38:11 +00:00
2023-10-30 09:53:48 +00:00
2024-05-25 10:55:20 +02:00
2022-04-02 14:19:25 +00:00
2023-11-21 19:23:58 +00:00
2024-02-10 12:00:18 +00:00
2024-02-05 11:05:02 +01:00
2024-02-05 11:06:29 +01:00
2024-02-05 11:07:03 +01:00
2024-06-27 08:02:51 +02:00
2022-04-02 14:19:25 +00:00
2024-01-30 17:49:57 +00:00
2022-04-02 14:19:25 +00:00
2024-01-23 13:57:03 +00:00
2024-03-14 14:15:03 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2024-06-27 08:07:23 +02:00
2022-04-02 14:19:25 +00:00
2024-07-02 09:06:09 +00:00
2024-07-02 09:15:58 +00:00
2023-09-01 10:30:33 +00:00
2022-04-02 14:19:25 +00:00
2024-03-30 11:58:24 +00:00
2022-04-02 14:19:25 +00:00
2022-04-02 14:19:25 +00:00
2024-01-31 10:29:47 +00:00
2024-07-02 09:16:27 +00:00